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

    M-Codes compatibility mode for CNC

    Scheduled Pinned Locked Moved
    Hardware wishlist
    2
    2
    651
    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.
    • Catalin_ROundefined
      Catalin_RO
      last edited by

      This is another take on the CNC support tests. For now there are just two issues to consider:

      1. While testing with CNCjs I have found out a rather peculiar behavior and the developer pointed me the return of the M105 command. Of course, I have not defined any extruder in config.g. M105 returns, in this very specific case, "ok T" and this reply is completely unexpected by CNCjs. This result is "by design" or is it just because so far no one used M105 with no extruders defined?

      2. M0 is specified as "The firmware finishes any moves left in its buffer, then RepRapFirmware executes macro file stop.g before all motors and heaters are turned off". Could we have if for CNC mode to leave the motors on? Pausing for cleaning the cutting tool, for example, is not unusual when milling and no one likes to have small offsets or loose master/slave axis alignment because of that. Not to mention that M18 could be the last thing to be done in stop.g if really wanting to turn the steppers off in CNC mode.

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

        1. Yes there are people using RRF with no heaters. Why would a program for sending CNC GCode send M105?

        2. You can configure the response of RRF to M0 by providing a stop.g file. If stop.g is provided, it doesn't turn the motors off.

        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