Spindle speed - path motion
The spindle must reach the programmed speed before a machining motion begins. The parameter P-CHAN-00081 (s_synch) defines a synchronisation type for speed.
Notice
The synchronisation method of the S function has no effect if a spindle M function is programmed in the same NC block. Synchronisation only takes place based on the settings for the spindle M function. The following priority sequence applies:
M19 > M3/M4/M5 > S
Example
1: Spindle asynchronous to path motion
spindel[i].s_synch 0x00000002 Output before, sync. before block
spindel[i].m3_synch 0x00000001 No synchronisation
N10 X0 Y0 G0
N20 X40 Y40 G1 F1500 M3 S500 ;Due to M3 no synchronisation
;Motion starts immediately
N30 M3 S100 X0 Y0 ;Path executes motion without waiting
;until spindle speed is reached
Example
2: Spindle synchronous with path motion
spindel[i].s_synch 0x00000002 Output before, sync. before block
spindel[i].m3_synch 0x00000001 No sync.
N10 M3 X0 Y0 G0
N20 X40 Y40 G1 F1500 S500 ;Path motion only starts when
;spindle speed is reached
N30 S100 X0 Y0 ;Path waits before executing motion
;until spindle speed is reached