Formbot T-Rex 3

Ok, the flash went, but still this error

Oh yes, it’s a new Klipper version.

Try this for M300

[gcode_macro M300]
gcode:
  {% set S = params.S|default(1000)|int %}
   #default_parameter_S=1000
  {% set P = params.P|default(100)|int %}
   #default_parameter_P=100
  SET_PIN PIN=BEEPER_pin VALUE={S}
  G4 P{P}
  SET_PIN PIN=BEEPER_pin VALUE=0

Thanks, I’ll try tomorrow

1 Like

Ok no more error at M300, but now it stops at M355
Sorry to bother you, but I don’t know anything about coding.

Ok no more error at M355. I have mi this:

[gcode_macro M355]
gcode:
{% set S = params.S|default(1)|int %}
#default_parameter_S=1
gcode:
SET_PIN PIN=LIGHT_pin VALUE={S}

1 Like

Nice, looks like mine :slight_smile:

[gcode_macro M355]
gcode:
  {% set S = params.S|default(1)|int %}
  #default_parameter_S=1
  SET_PIN PIN=LIGHT_pin VALUE={S}

I also modified these parts
Can you tell me if this is correct?

[gcode_macro PARK_MACRO_0]
gcode:
{% set X = params.X|default(0)|int %}
#default_parameter_X: 0
{% set Y = params.Y|default(0)|int %}
#default_parameter_Y: 0
{% set Z = params.Z|default(30)|int %}
#default_parameter_Z: 30
#gcode:
M117 Parking E 0
G91
G1 E-3.14 F1500
G1 Z{Z}
G90
G1 X{X} Y{Y} F3000

[gcode_macro PARK_MACRO_1]
gcode:
{% set X = params.X|default(400)|int %}
#default_parameter_X: 400
{% set Y = params.Y|default(0)|int %}
#default_parameter_Y: 0
{% set Z = params.Z|default(30)|int %}
#default_parameter_Z: 30
#gcode:
M117 Parking E 1
G91
G1 E-3.14 F1500
G1 Z{Z}
G90
G1 X{X} Y{Y} F3000

So now I have this. This must be because my card is not in the machine and no connector is plugged in. Can you confirm it to me ?

My park macros are these:

[gcode_macro PARK_extruder]
gcode:
    SAVE_GCODE_STATE NAME=park0
    G90
    G1 X-43 F3000
    RESTORE_GCODE_STATE NAME=park0

[gcode_macro PARK_extruder1]
gcode:
    SAVE_GCODE_STATE NAME=park1
    G90
    G1 X443 F3000
    RESTORE_GCODE_STATE NAME=park1

If yours work, it’s fine.

Yes, you must have a connection to the T-Rex

Thanks again EddyMI3D for all your help.
The printer works under Klipper just one or two small messages telling me that it’s obsolete, but nothing blocking.
Now I need to find my star in end gcode for my slicer (Simplify3D) or Cura.
The nozzle fan spins as soon as the print starts, I’ll find.
If you have any leads, I’m all ears.
:wink:

1 Like

Here are the posts

Valeur modifiée par : Générique 3950

Hello
How to calibrate the right head extrusion (T1)
The G1 T1 E100 F25 command does not work. Does this tell me that a minimum temperature is required when it is 210°?
An idea ?
Thanks for your comments.

Did you change to the right extruder with a simple

T1

command beforehand?

Yes, I tried
T1
G1 E100 F10

But it doesn’t work

As far as I remember, T0 has to be heated to…
Try again with T0 at 180°C or so.

Hello,
In fact, this puts it in error, because the macro “[gcode_macro T0]” requests a parking of the primary head and it cannot do it because the origins (G28) are not done. Cura coding starts with T0.
The same concern for the second head.
I don’t know how to solve this problem.

Have you checked the start code in Cura?

This thread came active perfect timing for me. Could i see your start code for cura and possibly your config as it is now?

Here is my startup script in Cura

In my macro “T0” or “T1” I have the first line that worries me, and I wonder what it is for. Here is the line in question:
PARK_{printer.toolhead.extruder}
If I comment it, my error disappears.
Will this affect the operation of my printer?