Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Communication with S3D

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    3
    4
    360
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • E1ixirundefined
      E1ixir
      last edited by E1ixir

      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

      1 Reply Last reply Reply Quote 0
      • Phaedruxundefined
        Phaedrux Moderator
        last edited by

        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?

        Z-Bot CoreXY Build | Thingiverse Profile

        E1ixirundefined 1 Reply Last reply Reply Quote 0
        • zaptaundefined
          zapta
          last edited by

          As @phaedrux said. This may help https://forum.simplify3d.com/viewtopic.php?f=8&t=1959 . Notice that they use square brackets.

          1 Reply Last reply Reply Quote 1
          • E1ixirundefined
            E1ixir @Phaedrux
            last edited by

            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

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Unless otherwise noted, all forum content is licensed under CC-BY-SA