Communication with S3D

  • I can't manage to use my Duet with Simplify3D.

    Seems that Duet does not understand S3D Scripts, when they include variables.
    For exemple, my FFF profile is using that code in its start script:
    M190 S{print_bed_temperature}
    M109 S{print_temperature}
    This code doesn't work because both variables {print_bed_temperature} and {print_temperature} are not reconized by the Duet.

    Could you tell me how to proceed?
    Thank you very much

  • Double check that you have the right variables in S3D. Simplify should be replacing those values with actual numbers in the exported Gcode. If it's not, the variables may be incorrect and it doesn't recognize them.

    Are you printing over USB or via SD card?

  • As @phaedrux said. This may help . Notice that they use square brackets.

  • Thank you for your help.
    Seems that variables with square brackets works, when variables with {} are ignored.

    For example, this tool change script won't work:

    {IF NEWTOOL=0}M104 S165 T1; set T1, inactive extruder to 165 C
    {IF NEWTOOL=0}M109 S220 T0; Set T0, new active extruder to 220 and wait for it to reach temperature before proceeding.
    {IF NEWTOOL=1}M109 S220 T1; set T1, Heat T1 to 220
    {IF NEWTOOL=1}M104 S165 T0; Cool T0 to 165


Looks like your connection to Duet3D was lost, please wait while we try to reconnect.