Example 2a: PLC spindle

Programing Example

prg_example

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 [FCT-S1].

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

PLC spindle
PLC spindle