Technical data

Table Of Contents
SFCs for Diagnostics
System Software for S7-300/400 System and Standard Functions - Volume 1/2
A5E00709327-01
13-15
Parameter Declaration Data type Memory area Meaning
LAST_RT OUTPUT DINT I, Q, M, D, L Runtime (in microseconds) of the most
recent execution of the specified OB.
If the OB for which you request the
runtimes is currently being processed:
After the first call of SFC 78 during the
current execution of the required OB,
LAST_RT outputs the last total
execution runtime of the OB.
With each subsequent call of SFC 78
during the current execution of the
required OB, Last_RT
indicates DW#16#FFFF FFFF, if
the required OB has already called
SFC 78-when OB_NR=0.
indicates the last execution runtime
of the required OB, if this OB has
not called SFC 78 with OB_NR=0.
Note: Interrupt times caused by OBs
with higher priority are not included in
LAST_RT.
LAST_ET OUTPUT DINT I, Q, M, D, L Time interval (in microseconds)
between the call and the end of
execution of the specified OB, namely
for the last completed processing of the
specified OB.
When the OB for which you request the
runtimes is currently being processed:
After the first call of SFC 78 while the
required OB is being processed,
LAST_ET indicates the time interval
between the last completed call of the
OB and the end of execution of the
specified OB.
With each subsequent call of SFC 78
during current execution of the required
OB, Last_ET
indicates DW#16#FFFF FFFF, if
the required OB has already called
SFC 78-when OB_NR=0.
indicates the time interval between
the last completed call of the OB
and the end of execution of the
required OB, if this OB has not
called an SFC 78 with OB_NR=0..
Note: Interrupt times caused by OBs
with higher priority are included in
LAST_ET.
CUR_T OUTPUT DINT I, Q, M, D, L Time of the OB request (relative time
value in microseconds) of the specified,
currently processed OB. CUR_T = 0 if
the specified OB is not being
processed.
Note: The system time is a counter that
counts from 0 to 2.147.483.647
(microseconds). The counter restarts at
0 after overflow.