Example 2a: PLC spindle

For PLC spindles, the M functions are always output to the PLC. The PLC_INFO bit need not be set here.

For details of configuration of a PLC spindle, see [Spindle].

Initialization in the axis parameter list

kenngr.achstyp   0x00000004  Spindle
achs_mode        0x00040000  External controlled spindle
antr_typ         0x00000004  Simulation

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

Example 2a: PLC spindle 1: