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

is it possible to send GCode via python?

Scheduled Pinned Locked Moved
Duet Web Control
2
2
109
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.
  • undefined
    andreasMch
    last edited by 18 Sept 2024, 12:30

    I am using a "duet3 mb6hc (3.4.5)" to build a hangprinter Ver4. https://hangprinter.org/doc/v4/

    I tried to send GCode commands following this github wiki: https://github.com/Duet3D/RepRapFirmware/wiki/HTTP-requests

    But I haven't received a response. I know that the Python code is okay because I have used the same technique in different Duet3 hanging printer builds.

    Can anyone help me? How can I send GCODE commands programmatically with my current setup?" to build

    undefined 1 Reply Last reply 18 Sept 2024, 13:01 Reply Quote 0
    • undefined
      chrishamm administrators @andreasMch
      last edited by 18 Sept 2024, 13:01

      @andreasMch In standalone mode you must query rr_reply as well if you need the G-code response. To know when a new response is available, you should monitor seqs from rr_model as documented in the documentation article.

      Duet software engineer

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