Example 1a: CNC spindle, internally synchronized
Initialization in the axis parameter list
kenngr.achstyp 0x00000004 Spindle
Initialization in the channel parameter list
spindel[0].m3_synch 0x00000002 MVS_SVS
spindel[0].m4_synch 0x00000004 MVS_SNS
spindel[0].m5_synch 0x00000004 MVS_SNS
spindel[0].m19_synch 0x00000004 MVS_SNS
Programming example Main spindle
The feed motion X100 is started after the spindle has confirmed execution of the M3 command. The M function is not output to the PLC.
Programming example
The same example in axis-specific syntax for a further spindle:
N10 S2[M3 REV1000] G01 F100 X100