Simple tool change

  • Hi All I now have the hardware and wiring sorted for my new switching extruder. It uses a servo to move tool0 or tool1 into position. So in Tpre0.g I have
    M117 "Selecting Extruder0"
    M280 P64 S40
    And Tpre1.g has
    M117 "Selecting Extruder0"
    M280 P64 S132
    Simple enough the servo moves to 40deg or 132deg and moved the tool nozzles.
    If I send the commands in the Gcode console or macro that works fine, provided all axes are homed.
    However I am unable to get my simply3d gcode to call Tpre0 or Tpre1.
    Start of Gcode file.
    M106 S0
    M140 S55
    M190 S55
    M104 S205 T1
    M109 S205 T1
    G28 ; home all axes
    G29 ; bed leveling
    G1 Z5 F3000 ; lift
    G1 X30 Y20 F1500 ; move to prime
    G1 Z0.2 F3000 ; get ready to prime
    G92 E0 ; reset extrusion distance
    G1 Y80 E30 F600 ; prime nozzle
    G1 Y100 F5000 ; quick wipe

    This should be simple enough but I can't find the issue.
    Any help appreciated.

  • administrators

    @lyndon said in Simple tool change:

    M104 S205 T1
    M109 S205 T1
    those are not valid RRF Gcode but AFAIK will probably not cause this specific issue (Use G10 to set temperatures, not sure how to get S3D to do this).

    When a specific tool is selected (using Tn) the the TfreeN.g from the previously selected tool is run, followed by the TpreN.g of the tool being selected, followed by the TpostN.g of the now selected tool. So far so good, however did you have T0 or no tool selected when you started? if T1 is already active then sending the command again wont run the macros.

    To test, from the console send T0, T1, T0 etc and confirm that the macros do what is expected.

Log in to reply