8.
COMMUNICATIONS USING DEDICATED PROTOCOLS
MELSEC-A
(3)
Microcomputer program batch
write
(ACPU
common command)
)eslgnatlon
Method
I
St
No.
:
strtkn
number
Designation in protocol
1
is
shown below.
Microcomputer program batch read command
(UW
for main and
VW
for sub program)
\
\
Character
area
C
-mpUkw
An1 C24
Designation"of the
range to be
read
form
I
Number of characten
=
(Number
IHI
L
IH
I
L
I
of bytes)
x
2.
1
address uses 2 characters.
Therefore, 1 address
is
expressed
in 2 digits (hexadecimal).
1
POINT]
To
set the number of bytes, the following conditions must
be
met:
0
1
I
number of bytes
s
128
I
0
(Head address)
+
[(number
of
bytes)
-
11
s
Microcomputer program
capacity
I
~eslgnatlon Example
I
To
write
6
bytes
of
a microcomputer program to the area beginning with address
1338H
(SO00
in
decimal)
in
the
PC CPU
of
station number
'2".
(Message wait time is
0
msec)
Check sum
is
calculated within this ranae
AJ71 C24
'z-----
(1)
(21
(3)
(4)
(5)
(s)
Indicates that:
(1)
12H
is
written to address 1388H,
(2)
ABH
is
written to address 1389H,
(3) 5FH is written to address 138AH,
(4) 7CH is written to address 138BH,
(5)
43H
is
written to address 138CH, and
(6)
SAH
is
written to address 138DH.
8-96
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com