ABB AC500-S Safety User Manual page 242

Safety programmable logic controllers system
Hide thumbs Also See for AC500-S:
Table of Contents

Advertisement

Configuration and programming
AC500-S Libraries > SafetyExt_AC500_V22.lib
4.6.4.5
SF_APPL_MEASURE_END
Defining the end point of time profiling
This function defines the end point of time profiling within safety application program and shall be used
together with SF_APPL_MEASURE_BEGIN 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 and saved in the timer identified with the value set for input
parameter TIMER.
NOTICE!
SF_APPL_MEASURE_END 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 19: FUN Name: SF_APPL_MEASURE_END
Name
Data Type
VAR_INPUT
TIMER
BYTE
VAR_OUTPUT
SF_APPL_MEAS
BOOL
URE_END
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);
242
Initial Value
Description, Parameter Values
16#00
Timer identification. The allowed range is from 0
to 31.
FALSE
Return value is TRUE if the TIMER value is within
the allowed range (0 .. 31), otherwise the return
value is FALSE.
AC500-S
30.03.2017

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents