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
Содержание CPU 948
Страница 10: ...Contents CPU 948 Programming Guide 1 2 C79000 G8576 C848 04 ...
Страница 32: ...Contents CPU 948 Programming Guide 2 2 C79000 G8576 C848 04 ...
Страница 72: ...Data Blocks CPU 948 Programming Guide 2 42 C79000 G8576 C848 04 ...
Страница 74: ...Contents CPU 948 Programming Guide 3 2 C79000 G8576 C848 04 ...
Страница 154: ...Contents CPU 948 Programming Guide 4 2 C79000 G8576 C848 04 ...
Страница 200: ...Contents CPU 948 Programming Guide 5 2 C79000 G8576 C848 04 ...
Страница 308: ...Contents CPU 948 Programming Guide 7 2 C79000 G8576 C848 04 ...
Страница 324: ...Examples of Parameter Assignment CPU 948 Programming Guide 7 18 C79000 G8576 C848 04 ...
Страница 326: ...Contents CPU 948 Programming Guide 8 2 C79000 G8576 C848 04 ...
Страница 370: ...Addressable System Data Area CPU 948 Programming Guide 8 46 C79000 G8576 C848 04 ...
Страница 372: ...Contents CPU 948 Programming Guide 9 2 C79000 G8576 C848 04 ...
Страница 404: ...Operations with the Base Address Register BR Register CPU 948 Programming Guide 9 34 C79000 G8576 C848 04 ...
Страница 486: ...Contents CPU 948 Programming Guide 11 2 C79000 G8576 C848 04 ...
Страница 522: ...PG Functions via the S5 Bus CPU 948 Programming Guide 11 38 C79000 G8576 C848 04 ...
Страница 524: ...Contents CPU 948 Programming Guide 12 2 C79000 G8576 C848 04 ...
Страница 538: ...Contents CPU 948 Programming Guide 13 2 C79000 G8576 C848 04 ...
Страница 546: ...List of Key Words CPU 948 Programming Guide Index 6 C79000 G8576 C848 04 ...