Possible errors and
warnings
If an error occurs, the system program stops processing OB 125 and
continues program execution at the next STEP 5 operation. It also sets
the RLO to ’1’ and writes an ID to ACCU-1-LL (refer to Table 6-7).
If the function is aborted with a warning, it may be possible to achieve
correct execution of OB 125 by re-calling the special function
(possibly several times).
In the following case, OB 125 is aborted with a warning:
During the last 10 ms OB 124, OB 125, OB 254 or OB 255 has been
called. (Only one call for these special functions is allowed within 10
ms. This avoids multiple calls for the OBs listed above blocking the
interface to the PG so that it can no longer be processed.)
Condition code bits
After calling OB 125, you can check whether the special function has
been executed correctly or was aborted with an "error" or "warning"
using the result of logic operation and the condition code bits CC 1
and CC 0. The result can be evaluated with conditional jump
operations.
Result bits
RLO CC 1 CC 0 Meaning Scan
0 0 0 Special function was
processed correctly
JC
JZ
1 1 0 Processing of special
function aborted with
"warning"
JC
JP
JN
1 0 1 Processing of special
function aborted with "error"
JC
JM
JN
Table 6-6 Result bits of OB 125
OB 125: Generate STEP 5 Blocks
CPU 948 Programming Guide
6 - 18 C79000-G8576-C848-04