9.4 BTT (Bit Test)
■
Ladder diagram
■
Available operation units (●: Available)
Operatio
n unit
bit US SS UL SL SF DF
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
16-Bit device:
32-Bit
device:
Integer
Real
numbe
r
St
rin
g
Index
modifie
r
W
X
W
Y
W
R
W
L
W
S
S
D
D
T
L
D
U
M
WI
W
O
TS
C
S
TE
C
E
IX K U H SF
D
F
" "
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 SRB (= flag)
ON (1) OFF (0)
OFF (0) ON (1)
9.4 BTT (Bit Test)
9-8 WUME-FP7CPUPGR-12