Mitsubishi Electric AJ71C24-S6 User Manual page 156

Melsec-4 computer link module
Table of Contents

Advertisement

8.
COMMUNICATIONS USING DEDICATED PROTOCOLS
MELSEC-A
(b) Using the QW command (AnACPU dedicated command)
esignation Methodl
St. No. :Station number
Designation in protocol 1 is shown below.
command
Character area C
1
point of the device uses
4
characters. Therefore, a
1' '
IH
I
IH
I
I
l-word data is expressed in 4 digits (hexadecimal).
'omputer
To designate the device range, the following conditions must be met:
1
5
number of device points 5 64 (10 for a bit device)
(Head device number)
+
[(number of device points**)
-
I] maximum
device number
**("number of device points" x 16 for a bit device)
esignation
Examples
1
Example 1
:
To write data t o
32
points from M640 to M671 in station "0".
I
E h P C
No.
H I L
I
AJ7lC24
r e w o r d ,
Designation of device range to be read
5
NO.
(Message wait time is 0 msec)
I
a
I
I
No.
H I L
I
PC
No.
2
3
1
4
1
7
A
l
B
I
.
9
1
6
M M M
M M M M M M M
M M M M
6 6 6
...........-.....
6 6 6 6 6 6 6
.................
6 6 6 6
5
5
5
4 4 4 4 7 7 6
5
5
5
5
5
4
3
3
2
1
0
1
0
9
9
8
7
6
-
POINT~
The QW command is used for word unit designation. The designatio
for the number of device point t o write data t o 32 points from M640 t
M671 is "02" ( " I " for 16 points).
Mesrage
wittime
I I I I I I
devise
(7character.)
1 1 1 1 1 1
I
d%, " p"k$b
(2chmderr
Olemesirna0
H
I
L
oatafor
me
derignated
w m b r d d n i c e wink
~ ~ $ ~ $ $ ~ @
4sharwAem)
Sum
' 2 :

Advertisement

Table of Contents
loading

Table of Contents