Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    G1 with S2 parameter

    Tuning and tweaking
    2
    3
    604
    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.
    • Alex9779
      Alex9779 last edited by

      Hi there,
      previously I used G1 with S2 parameter on my IDEX cartesian machine in the tfreeX and tpostX scripts to be able to move both axis with X and U.
      Now I wanted to move the opposite axis to its min/max when moveing the other and that in one move so both carriages move at the same time.
      To move one axis to its min/max I use G1 X-999 and G1 U999 in other scripts without the S2 command.
      The firmware respects the limits and moves just to the min/max.
      But when using that with S2 the head crashes because S2 does not seem to look at the limits.
      Is that by intention?

      BTW the docs on reprap.org for the G1 with S2 paramter are not really helpful as S2 is not really explained and just mentioned regarding a delta machine and the difference between S1 and S2 is not given…

      1 Reply Last reply Reply Quote 0
      • dc42
        dc42 administrators last edited by

        Yes it's intentional that a move with the S2 parameter is a raw move that does not do limit checking.

        Thanks for pointing out that the documentation needs to be improved. We'll be adding S3 shortly, so I'll update the description of S1 and S2 at the same time,.

        Duet WiFi hardware designer and firmware engineer
        Please do not ask me for Duet support via PM or email, use the forum
        http://www.escher3d.com, https://miscsolutions.wordpress.com

        1 Reply Last reply Reply Quote 0
        • Alex9779
          Alex9779 last edited by

          Ahhh ok well then I have to do two moves unfortunately…
          Though it won't be possible for me to move X to min when U tool is selected because then X and U move U.
          Unless I use the real min value but for convenience I wanted to have those values only at one point in the scripts when I have to change them I have to do that only once and not in every script...

          A command to move an axis to one of its ends is not out there by any chance?

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