Synchronization
Synchronization methods
The synchronization methods of the spindle M functions M3, M4, M5, M19 and of the spindle function S are defined in relation to each specific spindle. The following synchronization methods are available:
Constant | Value | Meaning |
---|---|---|
NO_SYNCH | 0x00000000 | No output of the S/M function to the PLC |
MOS | 0x00000001 | Output of the S/M function to the PLC without synchronization |
MVS_SVS | 0x00000002 | Output of the S/M function to the PLC before the motion block, |
MVS_SNS | 0x00000004 | Output of the S/M function to the PLC before the motion block, |
MNS_SNS | 0x00000008 | Output of the S/M function to the PLC after the motion block, |
MNE_SNS | 0x00000020 | Output of the S/M function to the PLC after a (measurement) event, |
MVS_SLM | 0x00004000 | Late synchronization, output of the S/M function to the PLC in the block, synchronization at the transition to G01/G02/G03 (implicit synchronization) |
MVS_SLP | 0x00008000 | Late synchronization, output of the S/M function to the PLC in the block, synchronization in the case of the NC command #EXPL SYN (explicit synchronization) |
PLC_INFO | 0x00020000 | Informing the PLC |
PLC_INFO
The PLC_INFO bit, which can be set in addition to the existing synchronization methods, defines whether the PLC is also to be informed. Observe the following:
In the case of PLC spindles, the PLC is generally also informed in the case of every spindle M function. There is therefore no need to additionally set the PLC_INFO bit.
It makes sense to use the PLC_INFO bit with NC spindles. In addition to the synchronization mode, the PLC_INFO bit can be set here for output of information to the PLC.