Synchronization type of H-functions (P-CHAN-00027)

In the array "h_synch[i]", the synchronization type of the corresponding H-function is defined. Here, the field index "i" defines the number of the H-function. The value states the synchronization type of the H-function, this means the time for the check of the existence of a PLC-acknowledgement. A motion is not executed or stopped at block end, if at the time for the check from PLC no acknowledgement is received.

Variable name

Type

Permitted range

Dimension

h_synch[i]

SYNCHRO_ART

NO_SYNCH, MOS, MVS_SVS, MVS_SNS, MNS_SNS, MNE_SNS, MEP_SVS, MET_SVS, BWD_SYNCH, FWD_SYNCH, FAW_SYNCH

----

i

UNS16

0 ... [H_FKT_ANZ-1]

----

Value H_FKT_ANZ

Significance

application-dependent

Maximum number of H-functions

Constant

Value

Significance

NO_SYNCH

0x00000000

No output of H-function to PLC

MOS

0x00000001

Output of H-function to PLC without synchronization

MVS_SVS

0x00000002

Output of H-function to PLC before the motion block,
Synchronization before the motion block

MVS_SNS

0x00000004

Output of H-function to PLC before the motion block,
Synchronization after the motion block

MNS_SNS

0x00000008

Output of H-function to PLC after the motion block,
Synchronization after the motion block

MNE_SNS

0x00000020

Output of H-function to PLC after (measurement-)signal,
Synchronization after the motion block
(only for option edge banding)

BWD_SYNCH

0x00400000

Synchronization of H-function during backward on path as MVS_SVS

FWD_SYNCH

0x00800000

Synchronization of H-function during "Simulated forward on path" based on the defined synchronization type

MEP_SVS

0x01000000

Output of H-function before specified path, synchronization before next block

MET_SVS

0x02000000

Output of H-function before specified time, synchronization before next block

FAW_SYNCH

0x10000000

Stop of decoding (Flush and Wait): Output of H-function to PLC and stop of program decoding at block end until all NC blocks in NC-channel were executed. FAW_SYNCH can be set in addition to other synchronization types. H-functions with FAW_SYNCH may not be used during active tool radius correction (WRK), polynomial contouring and HSC-mode.

Examples see chapter 2.1.1.1 - Synchronization types of M-functions.