Pre-output of H-functions (P-CHAN-00107)

This parameter is used with synchronization types MET_SVS and MEP_SVS. The parameter h_pre_outp[i] defines the prediction value of H-code output time depending on type path to go or time to go before path interpolator processes the H code at block transition in programmed sequence. With type MET_SVS the parameter is time to go, with MEP_SVS the parameter is path to go (see also chapter 2.1.1.1.9).

Variable name

Type

Permitted range

Dimension

h_pre_outp[i]

UNS32

0 - MAX_UNS32

0.1 µm or µs

i

UNS16

0 ... [H_FKT_ANZ-1]

----

Value H_FKT_ANZ

Significance

application-dependent

Maximum number of H-functions

EXAMPLE: The output of the user specific H-function M96 to PLC must be executed 10 mm before reaching the synchronization position in the block sequence.

The output of the user specific H-function M97 to PLC must be executed 40 milliseconds before reaching the time of synchronization in the block sequence.

Extract from channel parameters list:

# Definition of H-functions and synchronisation types 
# ===================================================
:
h_synch[96] 0x01000000 MEP_SVS
h_synch[97] 0x02000000 MET_SVS
#
# Definition of pre-output time, pre-output path with MET_SVS, MEP_SVS
# ====================================================================
h_pre_outp[96] 100000 in 0.1 um
h_pre_outp[97] 40000 in us