1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
; the G0 commands here are just to see the sequencing of commands coming out of task
g0 x1
; this will update the spindle speed via SPINDLE_ON with state False
s123
g0 x1.5
; this will update the spindle speed via another SPINDLE_ON with state False
s234
g0 x2
; this M3 will result in the SPINDLE_ON sent to Motion with state True
m3
g0 x3
; this will update the spindle speed via another SPINDLE_ON with state True
s321
s432
g0 x4
; this will update the spindle via SPINDLE_OFF
m5
; this will update the spindle speed via SPINDLE_ON with state False
s1234
g0 x5
m2
|