@o_lampe said in on-off control of router using M3 and M5 g-code commands:

@woodcarver I'm wondering if you have to switch the Duet to CNC-mode to allow M3 and M5 commands?

That's correct in firmware 3.4.x and earlier. In firmware 3.5 you should be able to use M3 and M5 in FDM mode too.