Synchronisation
Synchronisation methods
The synchronisation types of spindle M functions M3, M4, M5, M19 and of spindle function S are defined spindle-specifically. The following synchronisation types are permissible:
Constant | Value | Meaning |
NO_SYNCH | 0x00000000/ | No output of S/M function to PLC |
MOS | 0x00000001/ | Output of S/M function to PLC without synchronisation. |
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 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 synchronisation, output of S/M function to PLC in the block, synchronisation on transition to G01/G02/G03 (implicit synchronisation) |
MVS_SLP | 0x00008000/ | Late synchronisation, output of S/M function to PLC in the block, |
PLC_INFO | 0x00020000/ | Output to PLC, acknowledgement by PLC required, additive bit |
PLC_INFO
It only makes sense to use the PLC_INFO bit with NC spindles (position-controlled spindles). In addition to the synchronisation type, the PLC_INFO bit can be set for every spindle M function. This determines whether a spindle M function is output to the PLC or not and whether it must be acknowledged by the PLC.
If the PLC_INFO bit is not set, no output is sent to the PLC and internal synchronisation only takes place based on window monitoring for the position or speed..
With PLC spindles please observe the following:
In general, with every spindle M function, an output of the M function is also sent to the PLC automatically. It is therefore not necessary to additionally set the PLC_INFO bit.
Notice
The synchronisation method of the S function has no effect if a spindle M function is programmed in the NC block. Synchronisation only takes place based on the settings for the spindle M function. The following priorities apply:
M19 > M3/M4/M5 > S