Technical data
Falsifying the statistical data
Certain events can cause problems when recording the cycle length of
the current cycle and can lead to incorrect values. In these situations,
the statistical data for the cycle affected are not updated.
These events include the following:
•• WARM RESTART
•• Starting the cycle monitoring time by calling OB 221
•• Restarting the cycle monitoring time by calling OB 222
•• Cycle errors
CURCYC
CURCYC
---
1)
---
CURCYC
(n+1)
LASTCYC
Cycle time
(n-2)
Cycle time
(n-1)
Cy cle time
(n-1)
no
Cycle time
(n-1)
MINCYC
incl. cyc. (n-2) incl. cyc. (n-1) incl. cyc. (n-1)
no
incl. cyc. (n-1)
MAXCYC
incl. cyc. (n-2) incl. cyc. (n-1) incl. cyc. (n-1)
no
incl. cyc. (n-1)
AVERAGE
incl. cyc. (n-2) incl. cyc. (n-1) incl. cyc. (n-1)
no
incl. cyc. (n-1)
CYCLE C n-2 n-1 n-1 no n-1
1) The value of CURCYC corresponds to the time T that has elapsed since the occurrence of the "problem" in the
current cycle. This is not the length of the whole cycle. To indicate this situation, the RLO is set to "1" in addition
to the values transferred to ACCU-1-L and ACCU-2-L.
Cycle
(n-1)
Update
(n)
(n+1)
OB 152:
"read stat."
OB 152:
"read stat."
OB 152:
"read stat."
Interruption by:
WARM
RESTART
OB 221/222
cycle error
Update
6
OB 152: Cycle Statistics
CPU 928B Programming Guide
C79000-B8576-C898-01
6 - 47