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

P-CHAN-00027

Synchronisation type of H functions

Description

The synchronisation type of the corresponding H function is defined in the array ‘h_synch[i]’. Here, the array index ‘i’ defines the number of the H function. This value indicates the synchronisation type of the H function, i.e. when a check is made for the presence of a PLC acknowledgement. A movement is not executed or stopped at block end at the latest if no acknowledgement is received from the PLC at the time of the check. The synchronisation type is defined as a string constant or a hexadecimal value.

Parameter

h_synch[i] where i = 0 999 (maximum number of H functions, application-specific)

Data type

STRING or UNS32

Data range

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

Dimension

----

Default value

NOT_VALID (-1)

Remarks

H functions are consumption information and they must be fetched (read) from the PLC. This also applies to H functions of the type MOS, MEP_MOS and MET_MOS. Otherwise this results in a blocked interface to the HLI in the CNC and as a consequence to an unexpected processing stop.

 

Caution:

The following applies to synchronisation types with associated time and path-related pre-output (MET_SVS, MET_MOS, MEP_SVS, MEP_MOS):

If one of these synchronisation types is later changed into one which requires no pre-output value, P-CHAN-00107 (m_pre_outp[i]) must be assigned to 0. Otherwise a license error is generated in case of microwebs if this function is not licensed or not enabled (see P-STUP-00060).

Constant

Value

Meaning

NOT_VALID

-1

No valid H function

NO_SYNCH

0x00000000

No output of H function to PLC

MOS

0x00000001

Output of H function to PLC without synchronisation.
Fetch H function from PLC!

MVS_SVS

0x00000002

Output of H function to PLC before motion block,
synchronisation before motion block

MVS_SNS

0x00000004

Output of H function to PLC before motion block,
synchronisation after motion block

MNS_SNS

0x00000008

Output of H function to PLC after motion block,
synchronisation after motion block

MNE_SNS

0x00000020

Output of H function to PLC after (measurement) event,
synchronisation after motion block
(for edge bending option only)

MEP_MOS

0x00100000

Pre-output of H function with specified path, without synchronisation.
Fetch H function from PLC!

MET_MOS

0x00200000

Pre-output of H function with specified time, without synchronisation.
Fetch H function from PLC!

BWD_SYNCH

0x00400000

Synchronisation of H function during backward motion with MVS_SVS

FWD_SYNCH

0x00800000

Synchronisation of H function during 'Simulated forward motion' with associated synchronisation type

MEP_SVS

0x01000000

Output of H function with specified path, synchronisation before next block

MET_SVS

0x02000000

Output of H function with specified time, synchronisation 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 are completed. FAW_SYNCH can be set in addition to other synchronisation types. H functions with FAW_SYNCH may not be used during active tool radius compensation (WRK), polynomial contouring and HSC mode.

Application: see section Examples of synchronisation of M functions