Mitsubishi Electric AJ71C24-S6 User Manual page 213

Melsec-4 computer link module
Table of Contents

Advertisement

8. COMMUNICATIONS USING DEDICATED PROTOCOLS
MELSEC-A
(2) Microcomputer program batch read (ACPU common command)
esignation Method
I
St. No. :Station number
Designation in protocol 1 is shown below.
POINT
To set the number of bytes, the following conditions must be met:
0
1
5
number of bytes
5
128
(Head address)
+
[(number of bytes)
-
I ] smicrocomputer program
capacity
Microcomputer program batch read command
(UR for main and VR for sub program)
Number of characters
=
(Number
Character area A
esignation Example]
To read 6 bytes of a microcomputer program beginning with address 03E8H (1000 in decima
in the PC CPU of station number"0". (Message wait time is 0 msec)
I
l
l
.
I
AJ71C24
Check sum is calculatedd
~
4
I
-
within this
range
I
I
Check sum is calculated within
I
l
l
/ ~ I ~ ~ ~ , ~ l ~ l . , 1 S ~ 3 3 , , ~ Y Y 3 I . , I I I , 3 i i , < 2 ~ , 4 2 2 , 4 6 . , 3 I I , 3 2 2 ! ~ B , ~ ~ ~ l ~ ~ . , ~ 9 . ~
Indicates that:
------
(1) the contents of address 03E8H is 34H.
(1) (2)
(3) (4) (5) (6)
(2) the contents of address 03E9H is 1 AH,
(3) the contents of address 03EAH is 78H,
(4) the contents of address 03EBH is BFH.
(5) the contents of address 03ECH is 12H, and
(6) the contents of address 03EDH is 58H.
of bytes) x 2.
1 address uses 2 characters.
I
Computer
this range
(Sum check code is added by
C O O F F
the AJ71 C24.)
0.
3% 3" 46" 46"
Computer
H I L H I L
E
N
Q
UR
; k
I
PC
No.
-
AJ71 C24
Designation of the
range to b e read from
F F
o o
Character
area
B
1 1 1 1
I
I
i
I
~icrocomputer program
!
'
I
I
I
,
,
I
,
I
'
1
1
1
1
1
1
1
1
wa'tt'me
I
T
check
code
H I L
z
u
R
step
(4chamFkrr
hexadecmal)
1
1
1
I
St.
NO.
H I L H I L
0
Number of
Therefore, 1 address is expressed
(2charaaterr
i n 2 digits (hexadecimal).
hexadecimal)
code
I
I
H I L
I
PC
NO.
fi.B.,ul.46.,46~5i,52~ul~,wl~,U~,4is,B~,aI~~JOI,39~
I
0
3
E
eiO
6
I
0 9

Advertisement

Table of Contents
loading

Table of Contents