Bcmp (Block Comparison) - Panasonic FP7 Series Command Reference Manual

Cpu unit
Hide thumbs Also See for FP7 Series:
Table of Contents

Advertisement

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
W
W
X
Y
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
0
1
2
3
WUME-FP7CPUPGR-12
16-Bit device:
W
W
W
S
D
L
R
L
S
D
T
D
Start of block 1
From low byte
From high byte
From low byte
From high byte
4.3 BCMP (Block Comparison)
32-Bit
device:
TS
TE
U
W
WI
IX
C
C
M
O
S
E
Real
St
Integer
numbe
rin
r
g
D
K
H
SF
" "
F
Start of block 2
From low byte
From low byte
From high byte
From high byte
Index
modifie
r
4-9

Advertisement

Table of Contents
loading

Table of Contents