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

    G-code command over ethernet (TCP)

    Scheduled Pinned Locked Moved
    Duet Web Control
    ethernet communication
    4
    6
    638
    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.
    • Gustav_Seasonyundefined
      Gustav_Seasony
      last edited by

      Duet3d Duet 3 questions

      Hello Duet3d.

      I am from a company called Seasony, where we are building a robot for indoor farming. After looking at your board, is has the perfect hardware for the purpose. Concerning the hardware, I am left with a couple of questions:

      Ethernet :

      I see that the board has an ethernet cable, and that you are able to use it as a communication link for a computer. The trouble is the examples I have come across all show the user communicating through the GUI.

      Is the system able the read a G-code command over ethernet (TCP)?

      Is the system able to run a script over Ethernet (TCP)?

      General

      Will the board be able to respond with the current positioning?

      Is the board able to give the position the end stop was activated?

      What would be the fastest way to get the board up and running, without using the GUI for communication?

      I look forward to hearing from you.

      Best Regards Gustav Wrisberg Kristensen.

      Guk@seasony.dk

      www.seasony.dk

      Betafactory, Bådehavnsgade 42K, 2450 København

      jay_s_ukundefined T3P3Tonyundefined 2 Replies Last reply Reply Quote 0
      • jay_s_ukundefined
        jay_s_uk @Gustav_Seasony
        last edited by

        @gustav_seasony you may want to look here https://github.com/Duet3D/RepRapFirmware/wiki/HTTP-requests

        Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

        Gustav_Seasonyundefined 1 Reply Last reply Reply Quote 1
        • T3P3Tonyundefined
          T3P3Tony administrators @Gustav_Seasony
          last edited by

          @gustav_seasony as @jay_s_uk already pointed you to it is possible to use the HTTP API to send and receive all the information you need over the network interface directly with then Duet. This can do all you can do via the GUI.

          There is also the option to connect a SBC like a Raspberry Pi to the Duet 3 mainboards which then provides you with even more options for interacting with the Duet and running gcode.

          over the network:
          https://github.com/Duet3D/DuetSoftwareFramework/wiki/REST-API

          or via the IPC API from programmes running on the SBC itself:
          https://github.com/Duet3D/DuetSoftwareFramework/wiki/API-Overview

          www.duet3d.com

          Gustav_Seasonyundefined 1 Reply Last reply Reply Quote 1
          • Gustav_Seasonyundefined
            Gustav_Seasony @jay_s_uk
            last edited by

            @jay_s_uk Thanks, it answers alot of the questions

            1 Reply Last reply Reply Quote 0
            • Gustav_Seasonyundefined
              Gustav_Seasony @T3P3Tony
              last edited by

              @t3p3tony
              An SBC is unfurtunatly not an option, but the reference to the rest api, answers all the questions.
              Thanks for the help.

              I look foward to testing it out in person

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

                @gustav_seasony the REST API is only applicable when you have a SBC connected to the Duet. When running the Duet in standalone mode, use this API https://github.com/Duet3D/RepRapFirmware/wiki/HTTP-requests.

                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