EasyManua.ls Logo

Siemens CPU 948 - Page 89

Siemens CPU 948
548 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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
The overflow bit is stored. It can be used in several arithmetic
operations to indicate whether an overflow occurred at any point
during the operations.
:A I 1.0 ERAB is set to ’1’,
: 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 to 0’,
: the sequence is now complete
:JC FB 150 The function block is called
: dependent on the RLO.
:
:
STEP 5 Operations with Examples
CPU 948 Programming Guide
C79000-G8576-C848-04
3 - 17

Table of Contents

Related product manuals