Bit Logic Instructions
25
S7-400 Instruction List
A5E00267845-01
Bit Logic Instructions
All logic instructions generate a result (new RLO). The first instruction in a logic string generates the new RLO from the signal state
scanned. The subsequent logic instructions generate the new RLO from the signal state scanned and the old RLO. The logic string ends
with an instruction which limits the RLO (e.g. a memory instruction); that is, the /FC bit is set to zero.
ID
Description
in
Words
CPU 412 CPU 414 CPU 416 CPU 417
U/UN
I/Q a.b
M a.b
L a.b
DBX a.b
DIX a.b
c [d]
c [AR1,m]
c [AR2,m]
[AR1,m]
[AR2,m]
Parameter
Input/output
Bit memory
Local data bit
Data bit
Instance data bit
Memory-indirect, area-internal***
Register-ind., area-internal (AR1)***
Register-ind., area-internal (AR2)***
Area-crossing (AR1)***
Area-crossing (AR2)***
Via parameter ***
1*/2
1**/2
2
2
2
2
2
2
2
2
2
0.1/0.125
0.1/0.125
0.125
0.2
0.2
0.1+/0.2+
0.125+/0.2+
0.125+/0.2+
0.125+/0.2+
0.125+/0.2+
0.125+/0.2+
0.06/0.075
0.06/0.075
0.075
0.12
0.12
0.06+/0.12+
0.075+/0.12+
0.075+/0.12+
0.075+/0.12+
0.075+/0.12+
0.075+/0.12+
0.04/0.05
0.04/0.05
0.05
0.08
0.08
0.04+/0.08+
0.05+/0.08+
0.05+/0.08+
0.05+/0.08+
0.05+/0.08+
0.05+/0.08+
0.03/0.042
0.03/0.042
0.042
0.09
0.09
0.03+/0.09+
0.042+/0.09+
0.042+/0.09+
0.042+/0.09+
0.042+/0.09+
0.042+/0.09+
Statusword for: U/UN BIE A1 A0 OV OS OR STA RLO /FC
Instruction depends on: – – – – – Yes – Yes Yes
Instruction affects: – – – – – Yes Yes Yes 1
+ Plus time required for loading the address of the instruction (see page 20)
*)
With direct instruction addressing;Address area 0 to 127
**
)
With direct instruction addressing;Address area 0 to 255
***
)
I,Q,M,L / DB, DI