4.3 BCMP (Block Comparison)
■
Ladder diagram
■
List of operands
Operand Description
S1 Area that stores control data, or the constant data
S2 Number of data to be compared (device address or constant) (available range: 1 to 4096)
S3 Starting address (device address) of comparison block 1
S4 Starting address (device address) of comparison block 2
■
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
" "
S1 ● ● ● ● ● ● ● ● ●
S2 ● ● ● ● ● ● ● ● ●
S3 ● ● ● ● ● ● ●
S4 ● ● ● ● ● ● ●
■
Outline of operation
● Data in the area (comparison block 1) that is specified by [S3] is compared with data in the
area (comparison block 2) that is specified by [S4].
● If the contents of both blocks match each other, the system relay SRB ("=" flag) turns ON.
■
Specification of control data [S1]
S1 Start of block 1 Start of block 2
0 From low byte From low byte
1 From high byte From low byte
2 From low byte From high byte
3 From high byte From high byte
4.3 BCMP (Block Comparison)
WUME-FP7CPUPGR-12 4-9