The machine
Duet board (RepRapFirmware)
Connect a Duet board over HTTP: state read four times a second, jobs uploaded and run by the board itself, pause and resume macros, message boxes and STOP.
HTTP network (Duet) connection: the board’s address (name or IP address, followed by :port if it is not 80) and its password if it has one (M551 in config.g). Dusty opens a session (rr_connect): a wrong password, or an address that is not a Duet board, is reported straight away.
- State and positions: read from the board’s object model four times per second (state, axes, job, spindle).
- Jogging, zero, homing, probing: sent as commands (
rr_gcode); the board’s answer (rr_reply) shows in the console, an error on an incident card. There is no continuous jog: steps only. - Job: Dusty checks the G-code, then sends it to the board (
0:/gcodes/<name>), which runs it itself (M32): machining goes on even if the computer goes to sleep. Progress and remaining time come from the board; if the board has simulated the file (M37), its simulated duration is noted in the console. - Pause:
M25(the board runs itspause.gmacro: retract, spindle); Resume:M24(resume.g); Stop Job: pause, then cancel (M0). - Board messages outside commands (an error while running the file,
M118…): in the console. A file abandoned by the board (limit switch hit, line refused) stops the job with its cause, like a GRBL error. - Message boxes (
M291, for instance at a tool change of a board macro): shown in the Machine panel; OK (or Cancel if the board offers it) answers withM292. A blocking box stops the board until it is answered. - STOP:
M112thenM999; the board restarts and Dusty opens the session again. Home the machine again. - Feed overrides go through
M220; rapid and spindle overrides do not exist. The board’s settings stay inconfig.g(no$$).
In Dusty Studio (browser), the page reaches the board with fetch: the page must be opened from an http:// address (Dusty Link, local network; an https:// page cannot reach an unencrypted local board), and the board must accept the page: send it M586 C"*" once (or add this line to config.g). Without it, the browser refuses the answers (“page refused by the board”). The desktop app, the Mac and the iPad do not need this setting.
This manual is also built into Dusty: press F1, or open the Help menu, to read the topic for what you are doing. A mistake, a missing answer? Tell us
Try it in Dusty, for free.
Free CNC milling software: design, toolpaths and machine control. Mac, iPad, iPhone, Windows and Linux.