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

    M408 for CNC

    Scheduled Pinned Locked Moved
    CNC
    2
    2
    133
    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.
    • doigalundefined
      doigal
      last edited by

      Hi All,

      I am almost finished building my CNC (a lowrider) which has a duet 2 mounted onto one of the gantries. The duet has made many things super easy (multi steppers/endstops have been a breeze), and is a massive step up against RAMPS. The long term aim is for this to be controlled by a raspberry pi running a browers and talking via wifi in AP mode.

      Id like to have a physical display (7 segment LEDs) for the machine and work coordinates, spindle status, leds for the homed status, etc.

      My understanding is that sending M408 (probably with S2) would give me most of this info, but not all of it at this stage.

      Questions:
      Is there a way to get this from DWC directly rather than making another call to the duet?
      Is there a flag in M408 that says what the current WCS is?
      Any chance spindle data (on/off, speeds/etc) will be supported on a future edition of M408?
      Can anyone see a better way to do this?

      Thanks in advance!

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

        I suggest you use RRF3 and either M409 or the equivalent HTTP call which is rr_model. The WCS and spindle info are not yet available in the object model, but I will add them.

        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