Technical data

Table Of Contents
SFCs for Diagnostics
System Software for S7-300/400 System and Standard Functions - Volume 1/2
13-16
A5E00709327-01
Parameter Declaration Data type Memory area Meaning
CUR_RT OUTPUT DINT I, Q, M, D, L Expired execution runtime
(microseconds) of the specified OB.
CUR_RT = 0 if the OB is not or not yet
being processed. After processing, the
runtime data are applied in LAST_RT
and CUR_RT is set to zero.
Note: Interrupt times caused by OBs
with higher priority are not included in
CUR_RT.
CUR_ET OUTPUT DINT I, Q, M, D, L Time expired since the specified and
currently processed OB was
called(runtime in microseconds).
CUR_ET = 0 if the specified OB is not
being processed. After processing, the
runtime data are applied in LAST_ET
and CUR_ET is set to 0.
Note: Interrupt times caused by OBs
with higher priority are included in
CUR_ET.
NEXT_ET OUTPUT DINT I, Q, M, D, L If further calls of the specified OB are
queued before the current request has
been completed, NEXT_ET indicates
the time-to-go between the actual time
and the time of execution of the next
request (in microseconds. NEXT_ET =
0 if no other start event exists besides
the currently queued or processed start
events for this OB .
WinLC RTX does not use this
parameter.
Note: Interrupt times caused by OBs
with higher priority are included in
NEXT_ET.
The times also include the run times for any nested processing of synchronous
error interrupts (OB 121, OB 122).
Note
When you declare an OB number in OB_NR that exists in the dynamic project data
on your CPU without the OS having called the corresponding OB, or you have not
downloaded it to the CPU, RET_VAL contains the specified OB number, PRIO
contains the configured (default, if required) priority of the specified OB and
LAST_RT contains the value DW#16#FFFF FFFF.