Duet3D Logo

    Duet3D

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

    disallow non-travel moves while spindle is off?

    CNC
    3
    5
    116
    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.
    • oliof
      oliof last edited by

      topic covers my question: Is there a way to disallow non-travel moves while the spindle is off in CNC mode?

      <>Creality CR-20 IDEX Duet3 mini 5+<>RatRig V-Minion SKR RRF 1.1<>

      T3P3Tony 1 Reply Last reply Reply Quote 0
      • T3P3Tony
        T3P3Tony administrators @oliof last edited by

        @oliof Not AFAIK so this would need to be added to the firmware wishlist. Is there an existing convention in CNC gcode for this functionality?

        www.duet3d.com

        rjenkinsgb 1 Reply Last reply Reply Quote 0
        • rjenkinsgb
          rjenkinsgb @T3P3Tony last edited by

          @t3p3tony said in disallow non-travel moves while spindle is off?:

          Is there an existing convention in CNC gcode for this functionality?

          There is no fixed convention with CNCs, it's down to how the machine tool builder chooses to make it work via the machine PLC.

          It's quite common for CNCs to use an inspection "tool" that is actually a precision measuring probe (eg. Renishaw), which requires feedrate movements without spindle rotation.
          eg. like this:
          https://www.ebay.co.uk/itm/313573040514

          Older non-CNC machines generally had separate jog controls, that work regardless, and Feed start/stop, where feed can only be started if the spindle is running.

          The only thing that we always include is a feed stop trigger pulse when the spindle stops and any axis movement is in progress. Everything else is down to individual customer / operator preferences.

          Robert J.

          Printers: Overlord pro, Kossel XL+ with Duet 6HC and "Frankentron", TronXY X5SA Pro converted to E3D toolchange with Duet 6HC and 1LC toolboards.

          T3P3Tony 1 Reply Last reply Reply Quote 0
          • T3P3Tony
            T3P3Tony administrators @rjenkinsgb last edited by

            @rjenkinsgb thanks, so this would need to be configurable on a tool by tool basis (which tool change macros could do).

            The feed stop trigger would come from a tacho or similar on the spindle or from a spindle off gcode being sent (or both)?

            www.duet3d.com

            rjenkinsgb 1 Reply Last reply Reply Quote 0
            • rjenkinsgb
              rjenkinsgb @T3P3Tony last edited by rjenkinsgb

              @t3p3tony said in disallow non-travel moves while spindle is off?:

              so this would need to be configurable on a tool by tool basis (which tool change macros could do).
              The feed stop trigger would come from a tacho or similar on the spindle or from a spindle off gcode being sent (or both)?

              That sounds reasonable. Possible have a dedicated global flag/variable that permits or blocks G1 moves without spindle rotation?
              Or, add a "tool type" variable for each tool, that can be used for multiple flag bits.

              The feed stop at spindle stop could be triggered by M5 or any manual spindle stop control.

              Any fault signal from the drive should cause a complete program stop.

              Another normal interlock is that feed hold is asserted (or the M Code complete is not set to allow the NC to continue) during an M3/M4, until the spindle has reached its set speed; either by monitoring a drive signal such as "at speed" or "not ramping" , or just a time delay to allow the speed to settle.

              That is sometimes also done on an M5, typically for safety at a program end, so everything has stopped before the CNC acknowledges end of program and the operator can intervene.

              Robert J.

              Printers: Overlord pro, Kossel XL+ with Duet 6HC and "Frankentron", TronXY X5SA Pro converted to E3D toolchange with Duet 6HC and 1LC toolboards.

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