Technical data

Example of ERAB
Other bit condition codes
RLO Result of logic operation
This is the result of bit logic operations. It is the truth statement for
comparison operations (refer to operations list, binary logic
operations or comparison operations).
STA Status
For bit operations, this indicates the logical status of the bit just
scanned or set. The status is updated in binary logic operations -
except for A(, O(,), O and for set/reset operations.
OR Or
Internal CPU bit for handling "AND before OR" logic operations.
Word condition codes
OV Overflow
This indicates whether the permissible number range was exceeded
during the arithmetic operation just completed.
OS Stored overflow
It can be used in several arithmetic operations to indicate whether an
overflow occurred at any point during the operations.
:S Q 7.7 Last operation of the pre-
vious logic operation
sequence
:A I 1.0
ERAB is set to1’,
: the new RLO is formed by
: an AND operation
:O I 6.3 The RLO is influenced by
: an OR operation
:AN I 2.1 The RLO is influenced by
: an AND NOT operation.
:S Q 2.4
ERAB is set to0’,
: the sequence is now complete
:JC FB 150 The function block is called
: dependent on the RLO.
:
:
3
STEP 5 Operations with Examples
CPU 928B Programming Guide
C79000-B8576-C898-01
3 - 17