STEP 5 Operations
S5-95F
8.1.1
Boolean Logic Operations
Table 8-1 provides an overview of Boolean logic operations. Examples follow the table.
Table 8-1. Overview of Boolean Logic Operations
1
If the scan follows directly after an RLO-reloading operation (first scan), the scan result is reloaded as new
RLO.
Operation
Meaning
Scan operand for “1" and combine with RLO through logic
AND
The result is “1" when the operand in question carries signal state
“1". Otherwise the scan results in “0". Combine this result with the
RLO in the processor through logic AND
1
.
Parameter
0.0 to 127.7
0.0 to 127.7
0.0 to 255.7
0
to 127
0
to 127
Operand
A
O
Scan operand for “1" and combine with RLO through logic OR
The result is “1" when the operand in question has signal state “1".
Otherwise the scan results in “0". Combine this result with the RLO
in the processor through logic OR
1
.
Scan operand for “0" and combine with RLO through logic AND
The result is “1" when the operand in question has signal state “0".
Otherwise the scan results in “0". Combine this result with the RLO
in the processor through logic AND
1
.
Scan operand for “0" and combine with RLO through logic OR
The result is “1" when the operand in question has signal state “0".
Otherwise the scan results in “0". Combine this result with the RLO
in the processor through logic OR
1
.
ID
I
Q
F
T
C
AN
ON
O
A(
O(
)
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
Combine expression enclosed in parentheses through logic OR
Combine the RLO of the expression enclosed in parentheses with the
previous RLO through logic OR.
Combine AND operations through logic OR
Combine the result of the next AND logic operation (RLO) with the
previous RLO through logic OR.
Combine expression encl. in parentheses through logic AND
Combine the RLO of the expression enclosed in parentheses with the
previous RLO through logic AND.
Close parenthesis
Conclude the expression enclosed in parentheses.
8-2
EWA 4NEB 812 6210-02