Duet3D Logo

    Duet3D

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

    External G-Code control

    General Discussion
    2
    3
    553
    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.
    • JoergS5
      JoergS5 last edited by

      I want to discuss how an external process like data from an Arduino can send and receive G-Code to Duet best. Examples are new sensors to control printing behavior (pause e.g.), timers to turn on /off LEDs at specified times, coordination of multiple printers by timing g-code execution etc.

      I see two possible solutions: executing DWC commands through the Ajax JavaScript in the command window or cloning this behavior. Or inserting the hardware into the SPI wire of the PanelDue and executing the G-Code the way PanelDue does it.

      Are those methods ok and are there other possibilities?

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

        The firmware can accept commands received via USB, the Panel Due serial port, http and Telnet. So take your pick. If you don't have a Panel Due connected, sending commands through the Panel Due port is probably easiest. The signal level is 3.3V and the protocol is standard 8-bit asynchronous without flow control. The default baud rate is 57600.

        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
        • JoergS5
          JoergS5 last edited by JoergS5

          Thanks a lot David, so there are some options.

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