Mitsubishi Electric MELSEC iQ-R Series User Manual page 87

Melsec iq-r cc-link system master/local module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

• Local station (station No.1)
Send
request
Y1000
Send data (W)
SET Y1000
X1000
W100
W0
• Program flow
 Master station (0): Turn on 'ReqSend' (M0) in the master station.
 Local station (0): Turn on 'ReqRecv' (M0) in the local station.
 Master station (0): Information in 'SendData' (D0 to D3) is transferred to W100 to W103 (RWw0 to RWw3).
 Master station (0): After the information is stored in W100 to W103, turn on Y1000 for a handshake in the master station.
 Local station (0): Data in RWw is sent before data in RY is sent by cyclic transmission. Then X1000 in the local station turns on.
 Local station (0): Information in W0 to W3 is stored in 'RecvData' (D100 to D103).
 Local station (0): After the information is stored in 'RecvData' (D100 to D103), turn on Y1000 for a handshake in the local station.
 Master station (8): Turning on Y1000 in the local station turns off Y1000 in the master station.
 Local station (7): Turning off Y1000 in the master station turns off Y1000 in the local station.
*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.
CPU
Master
module
station
RY0
RX0
RWw0
RWw0
RWr0
RWr0
3.2 Example of Communications Between a Master Station and a Local Station
Local
CPU
station
module
Y1000
RY0
RX0
X1000
W100
W0
X1000
Receive data (W)
Cyclic transmission
Link refresh
*1
3 PROGRAMMING
3
85

Advertisement

Table of Contents
loading

Table of Contents