ABB AC500-S Safety User Manual page 241

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

Advertisement

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
VAR_INPUT
TIMER
BYTE
RESET
BOOL
VAR_OUTPUT
SF_APPL_MEAS
BOOL
URE_BEGIN
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);
30.03.2017
Initial Value
Description, Parameter Values
16#00
Timer identification. The allowed range is from 0
to 31.
FALSE
If TRUE, then MAX and MIN results of time
profiling will be deleted. Otherwise, the observed
values are kept.
FALSE
Return value is TRUE if the TIMER value is within
the allowed range (0 ... 31), otherwise the return
value is FALSE.
AC500-S
Configuration and programming
AC500-S Libraries > SafetyExt_AC500_V22.lib
241

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents