Bit Logic Instructions with Parenthetical Expressions
28
S7-400 Instruction List
A5E00267845-01
Bit Logic Instructions with Parenthetical Expressions
Saving the RLO and OR bits and the relevant function identifier (A, AN, ...) to the nesting stack. Seven nesting levels are possible per
block. After the right parenthesis, the logic operation indicated by the function identifier is performed on the saved RLO and the current
RLO; the current OR is overwritten with the saved OR.
In-
Address
ID
Description
Length
Execution Time in s
tion
Words
CPU 412 CPU 414 CPU 416 CPU 417
U( AND left parenthesis 1 0.1 0.06 0.04 0.03
UN( AND NOT left parenthesis 1 0.1 0.06 0.04 0.03
O( OR left parenthesis 1 0.1 0.06 0.04 0.03
ON( OR NOT left parenthesis 1 0.1 0.06 0.04 0.03
X( Exclusive OR left parenthesis 1 0.1 0.06 0.04 0.03
XN( EXKLUSIV-ODER-NICHT-Klam-
parenthesis
1 0.1 0.06 0.04 0.03
Statusword for: U(, UN(, O(, ON(, X(,
XN(
BR CC1 CC0 OV OS OR STA RLO /FC
Instruction evaluates: – – – – – Yes – Yes Yes
Instruction affects: – – – – – 0 1 – 0