Operations List, Machine Code and Abbreviations S5-100U
A.1.2 Supplementary Operations
* 1 RLO dependent ? 2 RLO affected ? 3 RLO reloaded ?
For function blocks (FB)
For sequence blocks (SB)
For organization blocks (OB)
For program blocks (PB)
Boolean Logic Operations
Oper-
ation
(STL)
Permissible
Operands
RLO*
1
Function
2 3
CPU 103
MA02 MA03
Execution Time in µs
CPU 100 CPU 102
Bit Operations
TB Test a bit of a timer or counter
word for “1”.
DTB Test a bit of a data word
for “1”.
T, C N Y N
N Y N
RSTB Test a bit of a data word in the
system data area for “1”.
TBN Test a bit of a timer or counter
word for “0”.
T, C
N Y N
N Y N
-- -- 187
-- -- 187
-- -- 185
-- -- 188 124
123
144
121
XOW Combine contents of ACCU 2
and ACCU 1 through logic
EXCLUSIVE OR (word oper-
ation).
Result is stored in ACCU 1.
CC 1/CC 0 are affected.
N N N 51 19 1.6 0.8
OW Combine contents of ACCU 2
and ACCU 1 through logic OR
(word operation).
Result is stored in ACCU 1.
CC 1/CC 0 are affected.
N N N 53 19 1.6 0.8
AW Combine contents of ACCU 2
and ACCU 1 through logic
AND (word operation).
Result is stored in ACCU 1.
CC 1/CC 0 are affected.
N N N 53 19 1.6 0.8
ON= OR operation: scan formal
operand for “0”.
(Data type: BI)
Formal
operand
I, Q, F, T, C
N Y N -- -- 202 151
O= OR operation: scan formal
operand for “1”.
(Data type: BI)
Formal
operand
I, Q, F, T, C
N Y N -- -- 202 151
AN= AND operation: scan formal
operand for “0”.
(Data type: BI)
Formal
operand
I, Q, F, T, C
N Y N -- -- 202 151
AND operation: scan formal
operand for “1”.
(Data type: BI)
Formal-
operand
I, Q, F, T, C
A= N Y N -- -- 202 151
A-8
EWA 4NEB 812 6120-02