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

    Laser/ CNC Support in RRF - gCode Semantics

    Scheduled Pinned Locked Moved
    Laser Cutters
    9
    22
    3.8k
    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.
    • resamundefined
      resam @dc42
      last edited by

      @dc42 said in Laser/ CNC Support in RRF - gCode Semantics:

      This is what I am thinking of implementing:

      1. Add an extra parameter letter to G1 commands with the same meaning as S currently has. Possibly H, because S1 or H1 indicates a Homing move. This letter would be supported in all modes.

      2. When M452 is used to set the machine to Laser mode, if the M452 command includes the S parameter then the meaning of S in G1 commands changes to laser power.

      3. For G0 commands, the laser power will always be zero and any S parameter will be ignored.

      4. A G1 command with no S parameter will be executed with the laser power set according to the most recent M3 command.

      5. The number that follows the S parameter in the M452 command is the S value in G1 commands that corresponds to full power.

      Comments?

      @dc42 any progress on this? I didn't see anything about this in the 2.0RC's - is it going to make it, or do you target this for a possible future 2.1 release?

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

        @resam said in Laser/ CNC Support in RRF - gCode Semantics:

        @dc42 said in Laser/ CNC Support in RRF - gCode Semantics:

        This is what I am thinking of implementing:

        1. Add an extra parameter letter to G1 commands with the same meaning as S currently has. Possibly H, because S1 or H1 indicates a Homing move. This letter would be supported in all modes.

        2. When M452 is used to set the machine to Laser mode, if the M452 command includes the S parameter then the meaning of S in G1 commands changes to laser power.

        3. For G0 commands, the laser power will always be zero and any S parameter will be ignored.

        4. A G1 command with no S parameter will be executed with the laser power set according to the most recent M3 command.

        5. The number that follows the S parameter in the M452 command is the S value in G1 commands that corresponds to full power.

        Comments?

        @dc42 any progress on this? I didn't see anything about this in the 2.0RC's - is it going to make it, or do you target this for a possible future 2.1 release?

        Firmware 2.0 is for the switch to RTOS and for bug fixes, so major enhancements like the laser support will have to wait for 2.01.

        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
        • First post
          Last post
        Unless otherwise noted, all forum content is licensed under CC-BY-SA