Mitsubishi Electric MELSEC-Q Series User Manual page 268

Cc-link system master/local module
Hide thumbs Also See for MELSEC-Q Series:
Table of Contents

Advertisement

(2) Using a program
Set an interlock in the remote I/O (RX/RY).
Master station
1
Local station (Station No.1)
1
Send
request
Send data (W)
SET Y1000
Turn on Send request (M0) in the master station. Turn on Receive request (M0) in the local station.
1
Information in D0 to D3 is transferred to W100 to W103 (RWw0 to RWw3).
2
After the information is stored in W100 to W103, turn on Y1000 for a handshake in the master station.
3
Data in RWw is sent before data in RY is sent by cyclic transmission. Then X1000 in the local station turns on.
4
Information in W0 to W3 is stored into D100 to D103.
5
After the information is stored in D100 to D103, turn on Y1000 for a handshake in the local station.
6
Turning on Y1000 in the local station turns off Y1000 in the master station.
7
Turning off Y1000 in the master station turns off Y1000 in the local station.
8
*1
If a handshake is performed in one bit of the remote I/O (RX/RY) in a station with the number of occupied stations of two
or more, the integrity of cyclic data is assured per slave station. An interlock for the number of occupied stations (in units
of four words) is not required.
266
4
CPU
Master
module
station
Y1000
X1000
W1000
W0
2
5
Local
station
RY0
RY0
RX0
RX0
RWw0
RWw0
RWr0
RWr0
3
7
6
8
CPU
module
X1000
Y1000
Receive data (W)
X1000
W1000
Cyclic transmission
Auto refresh
W0
*1
*1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents