Example 2a: PLC spindle

Programming Example

PLC spindle

Initialisation in the axis parameter list

kenngr.achstyp           0x00000004  Spindle
achs_mode                 0x00040000 externally controlled
                                      Spindle
antr_typ                  0x00000004  Simulation

Initialisation 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
Example 2a: PLC spindle 1:
PLC spindle