make an additional function

Friends, I want to make an additional function
Help to make additional engine rotation, which I plugged into an available slot extruder No. 2. I need to run the motor at 100 millimeters and immediately back to 100 millimeters.
I tried to use "Extra Motor Driver" - but dismissed the idea.
I asked the same 100mm in one direction and 100 mm in the opposite direction, but the motor is rotating at a different value.

The codes set out in slic3r to perform each layer.

T1

G1 E-100 F1600

G1 E-100 F1600

T0



Comments

  • Your gcode has both times E-100 so second move is ignored if in absolut mode and moves twice in same direction if relative. Assuming absolue mode you should use
    T1
    G92 E0
    M302 S1 ; allow cold extrusion
    G1 E-100 F1600
    G1 E0 F1600 ; back to origin
    M302 S0
    T0

    also make sure to not exceed max. extrusion length or move will be ignored. Also you might need to enable cold extrusion M302 S1 to allow them to succeed
  • Thanks for the help.
    Your code is perfect!
    PS and my gratitude is not limited to words! 
Sign In or Register to comment.