Mitsubishi Electric MELSEC-A AlSJ71C24-R2 User Manual page 203

Computer link module , computer iinkiprinter function module
Table of Contents

Advertisement

8. COMMUNICATIONS USING DEDICATED PROTOCOLS
MELSEC-A
(3) Microcomputer program batch write (ACPU common command)
Designation i n protocol 1 is shown below.
esignation M e t h o d
Microcomputer program batch read command
(UW for main a n d y W for sub program)
St.
No.
:Station number
~ e s i ~ n a t i o n ' o f the
range to be read form
I
\
Character area C
I
Number of characters = (Number
I
( H / L + I ~
of bytes)
x
2.
\
1 address uses 2 characters.
I
Therefore, 1 address is expressed
I
sum
check
code
H I L
To set the number
of
bytes, the following conditions must be met:
1 r number of bytes s 128
(Head address)
+
(number of bytes)
-
1 r Microcomputer program
capacity
I l l
Computer
lesignation Example
T o write
6
bytes of a microcomputer program t o the area beginning with address 1338H
(5000 in decimal) i n the AlSCPU. (Message wait time is
0
msec)
I
~~~b~~
of bytes
(2
charactere
hexadecimal)
I
Check sum is calculated within this range
1 / 1 1
I i i l
Miciocom~ufer
program
'
8
8
I
I
1
.
1
1
'
8
8
I
E
;
Indicates that:
/~l3",&l~x,(biI
(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) 9AH is written to address 138DH.
uw
; o
1
No,
H I L
A
K
Message
,,me
I
1
1
PC
H I L
B E
%lL
Computer
I
I
nead
step
14 characters
hexadecimal1
I
l
l
------
A l S J 7 1 C 2 4
I
2
3
I
5
6 1
I
I
/
I
I
1 2 ) A 015 F 1 7
Cl4
319
A
I
l
I
l
i
JIw,Ux,~Ix,I2~,&,(&,J7i,kLLM~,UI,R~,1
E
N
Q
0
0
a&,&
F F
&,&
U W
%,%&
0
I
1
3
8
8 1 0 6
I
JIc,&,Yr,l&,Dr,l&

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-a a1 sj71 c24-prf

Table of Contents