8.7.5 Batch Write I N Units Of Words - Mitsubishi Electric MELSEC-A AlSJ71C24-R2 User Manual

Computer link module , computer iinkiprinter function module
Table of Contents

Advertisement

8. COMMUNICATIONS USING DEDICATED PROTOCOLS
MELSEC-A
8.7.5 Batch write i n units of words
(a) Using the WW command (ACPU common command)
esignation Method
Designation in protocol 1 is shown below.
Character area C
St. No. :Station number
4
To designate the device range, the following conditions must be met:
1
r
number of device points s 64 (10 for a bit device)
(Head device number)
+
[(number of device points**)
-
11
5
maximum
device number
**("number of device points"
x
16 for a bit device)
Computer
- -
-
-
-
lesignation ~ x a r n ~ l e s l
Example 1 :
To write data to 32 points from M640 to M671 in AlSCPU
(Message wait time is 0 msec)
E
Computer
N
o o F
F w w
a
M 0
6
4
o o
4
05.
l o , %
&&
5 W 7 ,
J O .
W . ,
IY=I~I*I~I~,~IWIRXI)~~
3 r 1 l i r
.
*l SJ71C24
Check sum is calculated
within this range
M M M
6
6
6
5 5 5
5
4
3
I
code
H I
L
A1 SJ71 C24
Designation of device range to be read
i
Batch read
1 point of the device uses
4
characters.
(word) command
Therefore, a
1
-word data is expressed in
St.
NO.
H I L
M M M M M M M
.......
5
6
s
6
6
6 6
- - - -
4 4 4 4 7 7 6
3 2 1 0 1 0 9
M M M M
6 6 6 6
5 5 5 5
9 8 7 6
4 digits (hexadecimal).
I
1
1
PC
NO
H I L
POINT
I
PC
No'
H I
L
A
The WW command is used for word unit designation. The designation for
the number of device point to write data to the
32
points to M640 to M671
is "02" ("1" for 16 points).
I
I
I
st
N o
H I
L
M-age
w a i t m e
/ I l l
Headdmice
(5chacaders)
I I I I
I
Number
of
devicephls
(zchaianerr
ihexae&mail
H I L
Data
for thedesq
natednumberd
devicepink
(.ksignatednum-
ber
d
device @"f*.
x
4 characters)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-a a1 sj71 c24-prf

Table of Contents