8.
COMMUNICATIONS
USING
DEDICATED
PROTOCOLS
MELSEC-A
(b) Using the
QR
command (AnACPU dedicated command)
Designation Method]
Designation
in
protocol
1
is shown below.
St
No.
:
Station
number
Computer
An1
Q4
Character
area
B
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
s
maximum
device number
**
("number of device points"
x
16 for a bit device)
IDesianation Examples
I
Example 1:
To
read data
at
32
points from
X40
to
X5F
in
station
'5".
(Message wait time
is
0
msec)
within
1
Computer
N
O~FF~ROXOOOO~OO
2
AZ
E
Check rum
i8
cakulated
A
a
within
thk
range
C
05FF
K
a.
w.rg,*,
A171
C24
4
b
I
Check
sum
is
calculated
T
JS
within this range
X
05FF12341ABCD TC8
X
E
02-
35J*lrb,Y.lI.,U*,Il,X!kl.,r2.,U*,r.
aL
cs*B
xxx xxxxxxx
444 4444555
FED
3210FED
x x
x5
.....
..
....
..
.....
..
....*
......
.
........
5555
3210
POINT]
The
QR
command is used for word unit designation. The designation for
32
points
of
devices from
X40
to
XSF
is
'02"
("1" for 16 points).
8-32
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com