Mitsubishi Electric AJ71C24-S6 User Manual page 209

Melsec-4 computer link module
Table of Contents

Advertisement

8.
COMMUNICATIONS USING DEDICATED PROTOCOLS
MELSEC-A
(3) Sequence program batch write (ACPU common command)
lesignatlon Method
1
St. No. : Station number
Designation in protocol
1
is shown below.
Character area C
(1) To designate the number of steps, the following condition must
be met:
I IHILIHILI
I
I
I
I
I
I
I
I
I
I
I
I
I H I L
AJ71 C24
Designation of the step
range to be wrke
Sequence
program batch write command
1
5
number of steps
5
64
(2) Timers, counters, and the sequence program cannot be used
in combination. Only one of these may be set.
Example
1
:
To write a program to 4 steps: step
500
to step
503
of the subsequence program of the
PC CPU in station number " 0 " . (Message wait time is 0 msec)
(MW for main and SW for sub program)
!
Number of characters
=
(Number of steps) x 4.
1 step (16 bits) uses
4
characters. Therefore,
1 step is expressed in 4 digits (hexadecimal).
E
I
St.
NO.
HIL
Check sum is calculated within this range
.
T ; i
I
PC
NO.
HIL
Computer
AJ71C24
Step 500 is expressed as
01F4H in hexadecimal
Indicates that:
1055H is written to step 500 (1 F4H)
40FAH is written to step 501 (1F5H)
2A05H is written to step 502 (1 F6H)
70A8H is written to step 503 (1 F7H)
E
Q
Mr
XI*,%
(i.1,6*
U 4 l r
XI" Xin31~,46q34r
yl<,!4*
~
o
o
~
~
s
w
o
o
t
~
4
o
~
i
o
s
s
/
~
o
~
~
~
n
~
o
s
~
~
J ~ ~ , ~ ~ , ~ ~ ~ , U ~ ~ ~ ( ~ ~ X I ) O ~ ~ ~ ~ I I ~ ~ J ~ ~ , ~ I I , ~ , I I I ~ ~ ~ I , & , ~ I I , ~ ~
3 1 ~ ~ 1 1 ~

Advertisement

Table of Contents
loading

Table of Contents