8.
COMMUNlCATlONS
USING
DEDICATED PROTOCOLS
MELSEC-A
8.7.3
Batch
read
in unb
of
words
The method for specifying
the
control protocol and examples are shown
below for a batch read of word device memory and batch read of
bit
device
memory (1 6-point units).
(a) Using the
WR
command (ACPU common command)
>esianrtlon
Method
1
St
No.
:
Station number
Designation
in
protocol 1 is shown below.
Character
area
A
Chamctm
area
B
POINTI
To designate the device range, the following conditions must be met:
0
1
I
number of device points
5
64
(32
for a bit device)
0
(Head device number)
+
[(number of device points**
)
-
11
I
maximum
**
('number
of
device Doints"
x
16 for a bit device)
device number
Ieslgnatlon Examples]
Example 1:
To read data at
32
points from
X40
to
XSF
in station
'5".
(Message wait time is
0
msec)
,-
COIllplJkr
4
8
0
2
X
0
0
4
0
0
FWR
F
0
5 N
E
~~*,*"
o*
~,%,%,X",~&b,Y~n"~
D.,s'*&,&s7",Y*y)r
o*
within
thii
range
a
A
Check sum is calculated
C
K
05FF
An1
C24
Check
sum
is
calculated
Js
I
I
T
ce
T
O~FFI~~~~ABCO
E
X
within this range
X
@M
&&
SI
D.J..Y*&lr.,J1.,U",Y.,4l.,4.,~~,u.
I
ll21314
T
7-
T
.ALBlClD
T
0(0~0~1~0~0~1~0~0~0~1~1~0~1~0~0~1~0~1~0~1~0~1~1~1~1~0~0~1~1~0~1
xxx
444
....................
xxxxxxx xxxx
4444555
....................
FED
3210FEO
5555
3210
POINT/
I
I
The
WR
command is used for word unit designation. The designation for
32
points of devices from
X40
to
X5F
is
"02"
("1"
for 16 points).
I
I
I
'.
d
.V
I
8-30
I
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com