hit counter script

Interlock Program; Example Of Interlock Using X And Y - Mitsubishi Electric QJ71GF11-T2 User Manual

Melsec-q series cc-link ie field network master/ local module
Table of Contents

Advertisement

(3) Interlock program

Data of more than 32 bits can be assured with the Block Data Assurance per Station setting disabled. Use either
of the following methods.
• Interlock using X and Y
• Interlock using devices other than X and Y (when X, Y cannot be used as an interlock device)
(a) Example of interlock using X and Y
An example of sending data in W0 to W3 of the master station (station No.0) to W1000 to W1003 of the local
station (station No.1) is shown below. (X1000 and Y1000 are used for a handshake to the CPU module.)
Sending station
Program
Master station (Station No.0)
Sending station
1
Local station (Station No.1)
Receiving station
4
Data flow
Send
request
Y1000
Send data (W)
SET Y1000
X1000
W0
W1000
The send request turns on.
1
The contents of D0 to D3 are transferred to W0 to W3.
2
Upon completion of storage in W0 to W3, turn on Y1000 of the sending station for a handshake.
3
Cyclic transmission sends RWw followed by RY, and X1000 of the receiving station turns on.
4
The contents of W1000 to W1003 are stored in D0 to D3.
5
Upon completion of storage in D0 to D3, turn on Y1000 of the receiving station for a handshake.
6
When X1000 of the sending station turns on, turn off Y1000 of the sending station.
7
When X1000 of the receiving station turns off, turn off Y1000 of the receiving station.
8
Master station (Station No.0)
CPU
Master
module
station
RY0
RX0
RWw0
RWr0
Local station (Station No.1)
Receiving station
2
3
7
5
6
8
Local
CPU
station
module
Y1000
RY0
RX0
X1000
RWw0
W0
RWr0
W1000
CHAPTER 8 FUNCTIONS
X1000
Receive data (W)
Cyclic transmission
Link refresh
137
8

Advertisement

Table of Contents
loading

Table of Contents