![ABB AC500-S Safety User Manual Download Page 241](http://html.mh-extra.com/html/abb/ac500-s/ac500-s_safety-user-manual_2916241.webp)
4.6.4.4
SF_APPL_MEASURE_BEGIN
Defining the start point of time profiling
This function defines the start point of time profiling within safety application program and shall be used
together with SF_APPL_MEASURE_END function. The time profiling results can be seen only using
“applinfo” PLC Browser command and cannot be used within safety application program.
The time between the calls of SF_APPL_MEASURE_BEGIN and SF_APPL_MEASURE_END functions in
the safety application program is measured (including within one SM560-S cycle) and saved in the timer
identified with the value set for input parameter TIMER.
NOTICE!
SF_APPL_MEASURE_BEGIN function was developed for measuring short time intervals only, which
means that for time intervals of ~ 10 minutes and longer, it produces invalid results.
Table 18: FUN Name: SF_APPL_MEASURE_BEGIN
Name
Data Type
Initial Value
Description, Parameter Values
VAR_INPUT
TIMER
BYTE
16#00
Timer identification. The allowed range is from 0
to 31.
RESET
BOOL
FALSE
If TRUE, then MAX and MIN results of time
profiling will be deleted. Otherwise, the observed
values are kept.
VAR_OUTPUT
SF_APPL_MEAS
URE_BEGIN
BOOL
FALSE
Return value is TRUE if the TIMER value is within
the allowed range (0 … 31), otherwise the return
value is FALSE.
Call in ST
SF_APPL_MEASURE_BEGIN_VALUE :=
SF_APPL_MEASURE_BEGIN(SF_APPL_MEASURE_BEGIN_TIMER,
SF_APPL_MEASURE_BEGIN_RESET);
…
…
SF_APPL_MEASURE_END_VALUE := SF_APPL_MEASURE_END(SF_APPL_MEASURE_END_TIMER);
Configuration and programming
AC500-S Libraries > SafetyExt_AC500_V22.lib
30.03.2017
AC500-S
241