I added the iot relay and Break out Board. Works great thanks to the above instructions.
Question: When the router starts up, the tool path is pretty much ready to go and starts immediately. I would like to have a short pause, maybe 1 or 2 seconds, to make sure the router is fully up to speed before it starts. What is the g code for that?
The pause, or G4 dwell works, but not in the sequence I would have thought. The dwell of 2 seconds happens before the router turns on. As soon as the pause finishes, the router is activated and the tool paths happen. I would have thought having the pause after the M3 line would pause after the start of the router?
Do I need to add a G00 line for the x to move up a little, then pause, then let the program run?
This is my output from F360 pp. The controller pauses cutting for 10 seconds after the spindle has been initiated
“N25 S8000 M3 → spindle on
N30 G4 P10” → 10 second pause
Actual gcode is below.
%
(TEST2)
(ANDY PROGRAMME COMMENT)
(MACHINE)
( VENDOR KIRBRE ENTERPRISES INC)
( MODEL WOODWORKER)
( DESCRIPTION ONEFINITY COMMUNITY V43242.4)
(T1 D=6.35 CR=0 - ZMIN=-12 - FLAT END MILL)
N10 G90 G94 G17 G91.1
N15 G21
(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
(2D CONTOUR1)
(T1)
N25 S8000 M3
N30 G4 P10
N35 G54
N40 G0 X146.307 Y99.487
Thanks for the reply. I tried to code in the G4 line again, with a 2 second pause. It is still pausing without turning on the router and vac, starting to move and then turning on.
Here is a video of the start sequence, you can see the line of code, hear the machine start to move, and then the router and vac turn on, which is still out of sequence I feel.
Spooky - sometimes it helps to test extreme cases to expose an error - experiment with a +10-second delay. It may be that your spindle needs more than 2 seconds to get going.
Great idea Andy. I tried that this morning. The pause was for 10 seconds, and then the router started right up AFTER the pause, not before like one would think it should.
Update - the issue just is not at the beginning of the run. I ran a really run just now, and between every move, in other words between each G0 move, the router is turning off and then back on before the cut. So during any given job, it will turn on and off several times. Very unsettling, I plugged the router back into a non switched outlet for now until I can figure it out.
SOLVED: I remember seeing a YouTube video of another person using the code to turn the router on and off. You need to deselect rapid-auto-off and dynamic-power under tool setting. Duh.
Not sure which one was causing my issue, but solved now!!! It turns out without delay, perfect.