9.4 BTT (Bit Test)
9.4 BTT (Bit Test)
■
Ladder diagram
■
Available operation units (●: Available)
Operatio
bit
n unit
i
■
List of operands
Operand
Description
D
Test target data (device address)
n
Bit number (device address or constant) (available data range: 0 to 15)
■
Available devices (●: Available)
Operan
d
W
W
X
Y
D
●
●
n
●
●
■
Outline of operation
This instruction tests the [n]th bit in the area specified by [D] (ON/OFF judgment) according to
the operation unit [i], and outputs the result to SRB(=).
State of specified bit
9-8
US
●
16-Bit device:
W
W
W
S
D
L
R
L
S
D
T
D
●
●
●
●
●
●
●
●
ON (1)
OFF (0)
SS
UL
32-Bit
device:
TS
TE
U
W
WI
C
C
M
O
S
E
●
●
●
●
●
SL
SF
Real
Integer
numbe
r
D
IX
K
H
SF
U
F
●
●
SRB (= flag)
OFF (0)
ON (1)
WUME-FP7CPUPGR-12
DF
St
rin
g
Index
modifie
r
" "
●
●