Spindle-specific synchronisation types

The synchronisation type of spindle function S and the spindle M functions M3, M4, M5 and M19 are defined spindle-specific. 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 S/M function to PLC before motion block,
synchronisation before motion block

MVS_SNS

0x00000004

Output of S/M function to PLC before motion block,
synchronisation after motion block

MNS_SNS

0x00000008

Output of S/M function to PLC after motion block,
synchronisation after motion block

MNE_SNS

0x00000020

Output of S/M function to PLC after (measurement event,
synchronisation after motion block
(for edge banding option only)

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, synchronisation by NC command #EXPL SYN (explicit synchronisation)

PLC_INFO

0x00020000

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. It defines whether the spindle M function must also be output to the PLC and acknowledged by the PLC.

If the PLC_INFO bit is not set, no output to PLC is sent to the PLC and internal synchronisation only takes place based on window monitoring for the position or speed.

For PLC spindles (speed-controlled spindles) please note 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.

BWD_SYNCH

0x00400000

Synchronisation of S/M function during backward movement with MVS_SVS

FWD_SYNCH

0x00800000

Synchronisation of S/M function during 'Simulated forward movement' with the corresponding synchronisation type

FAW_SYNCH

0x10000000

Decoding stop (Flush and Wait): Output of S/M function to PLC and stop of program decoding at block end until program run is completed. FAW_SYNCH can be set in addition to other synchronisation types. S/M functions with FAW_SYNCH may not be used with active tool radius compensation (TRC), polynomial contouring or HSC mode.

NOT_VALID

0x80000000

Blocking the S/M function. Programming one of the S/M functions using this synchronisation generates an error message. This synchronisation may only be set exclusively.

For examples, see Section Synchronisation type of M functions.

Notice

notice

The synchronisation type 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