Mitsubishi Electric MELSEC-A User Manual page 143

Hide thumbs Also See for MELSEC-A:
Table of Contents

Advertisement

14. AJ71 UC24 MASTER STATION
MELSEC-A
Program example:When the maximum number of transmission points i s set at 512
To detect and control each point of received ONIOFF data.
Data transfer source
(For AJ7t UC24 buffer addresses.
see Section 14.3.5.)
Upper 2 digits of
Transfer destination
AJ71 UC24 I 1 0
number X O O to
x i
F,
yo6
to y i
F)
Number of words
to be read
Data from stations 1-3
read from AJ71 UC24
buffer addresses 20H-23H
MOV
I
~ 1 0
I K ~ M I ~ ~ ,
and stored in D10-Dl I.
Program control according to received
data ONIOFF status
\ I
Receive data in
Station 1 and in
the I st to 8th
points in Station 2.
Receive data in
the 9th to 16th
points i n Station 2
and in Statlon3.
(1) Data is automatically received from slave stations and written to the
specified buffer memory address in the AJ71 UC24.
Reading received data from the AJ71UC24 buffer memory using the
FROM instruction allows the received data ONIOFF status to be used i n
the sequence program.
(2) Data received from stations 1 to 3 is written to the following AJ71 UC24
buffer addresses:
Maximum Number of
Maximum Number o f
Transmission Pomts: 256
Transmission Points: 512
Receive data of points 1 to 8 of station 1
Lower 8 bits of address 2OH
Lower 8 bits of address 20H
Receive data of points 1 to 8 of station 2
Lower
8
bits of address 21 H
Higher 8 bits of address 20H
Receive data of points 9 to 16 of station 2
Lower 8 bits of address 22H
Lower 8 bits of address 21H
Receive data of points 1 to 8 of station 3
Lower
8
bits of address 23H
Higher 8 bits of address 21 H
b

Advertisement

Table of Contents
loading

Table of Contents