Hi,
I am considering using a Duet 2 board to control a machine which is not a 3D printer, but is driven by a bunch of stepper motors. G-Code commands will be sent in real time from a PC to the Duet 2 to move the steppers. It will not be running a pre-defined program.
The machine has several sensors (switches), which the PC will need to be able to read.
My question: Is the Duet 2 capable of reading the state of sensors and feeding those back to the PC somehow? Is there a G-code command to read back the state of sensors connected to it?
Many thanks
Hugo