Example 1b: CNC spindle, internal and synchronised by the PLC

Programming Example

CNC spindle, internal and synchronised by the PLC

Initialisation in the axis parameter list

kenngr.achstyp           0x00000004      Spindle

Initialisation in the channel parameter list

spindel[0].m3_synch       0x00020002    MVS_SVS, PLC_INFO
spindel[0].m4_synch       0x00020004    MVS_SNS, PLC_INFO
spindel[0].m5_synch       0x00000004    MVS_SNS
spindel[0].m19_synch      0x00000004    MVS_SNS
Example 1b: CNC spindle, internal and synchronised by the PLC 1:
CNC spindle, internal and synchronised by the PLC

The feed motion X100 is started after both the spindle and the PLC confirm execution of the M3 command.