Sending gcode commands to the duet
Shaqour last edited by
I have duet3d and i wish to send gcode commands to the duet while its connected through the serial port.
I need to send commands using matlab. From my knowladge, i can use it to send data over the serial port. However, i am not sure if the duet can directly accept the gcode commands from matlab when its connected through the usb.
gtj0 last edited by
Yes it can.
Danal last edited by Danal
Connect Matlab's TX wire to Duet 3 6HC io0.in. No specific configuration is required (just don't assign io0 to any other use). If I recall 115200 baud, 8,N,1. If that doesn't' work, try a couple of other typical 'fast' baud rates.
3.3V TTL SERIAL
If those words don't already mean something to you, ask here...
bearer last edited by
I believe the default configuration for the uart on IO0 is 57k6 and cheksums enabled.
M575 P1 S0to disable cheksums if needed.
However, i am not sure if the duet can directly accept the gcode commands from matlab when its connected through the usb.
If you can get MATLAB to generate Gcode commands and then send them to USB then the Duet will execute them.