When it ran, it appears as if both loads (router and vacuum) are turning on AFTER the first pause. I am sure I have something messed up here and I suspect it will be something easy.
Here is the beginning of my code:
%
(DUST TOP)
(MACHINE)
( VENDOR AUTODESK)
( DESCRIPTION GENERIC 3-AXIS)
(T1 D=0.25 CR=0 - ZMIN=-0.8 - FLAT END MILL)
N10 G90 G94 G17 G91.1
N15 G20
(WHEN USING FUSION 360 FOR PERSONAL USE, THE FEEDRATE OF)
(RAPID MOVES IS REDUCED TO MATCH THE FEEDRATE OF CUTTING)
(MOVES, WHICH CAN INCREASE MACHINING TIME. UNRESTRICTED RAPID)
(MOVES ARE AVAILABLE WITH A FUSION 360 SUBSCRIPTION.)
N20 G53 G0 Z0
Doesnât the s param need to be after the m3? Also it may be a simulate vs actual controller difference. I use the tool enable pins on the breakout and not the load circuits though too. Also not using a spindle so speed settings donât apply.
That is on the machine itself. I was the one who posted that video and solution. I am not in front of my machine at the moment, but if you open the side menu on the controller interface, go to tool settings and you will find them there.
This would be the case if with your relays, you have connected the router and the dust collection on âload-1â and/or âload-2â instead of âtool-enableâ pin. Is this the case? In your G-code example, the âM3 spindle forward runâ command is before the first âG4 Pxâ pause and the âM8 workpiece flood coolant onâ command is after this pause.
The âload-1â and âload-2â outputs on Buildbotics & Onefinity Controllers are for workpiece coolant because they are switched on with the commands âM7 mist coolant onâ and âM8 flood coolant onâ. However turning the milling motor on is done with âM3Sxxxâ command. On Buildbotics & Onefinity Controller, the latter works out-of-the-box for ModBus-controlled VFDs, and for milling motors on a relay, it is supported by them via the âtool-enableâ pin, which is switched on by âM3Sxxxâ too.
By the way, the spindle coolant pump always has to be controlled via a relay attached to VFD, not to CNC Controller. This is because the VFD knows whether the spindle runs (and needs cooling) or not.
So if the relay with which your router is switched on and off is connected to âload-xâ pins of CNC Controller (instead of âtool-enableâ pin), then it is switched on with M7 or M8 commands instead of (correctly) M3Sxxx â thus the first pause is not honored then.