Mitsubishi Electric MELSEC Q Series Reference Manual page 81

Cc-link ie controller network
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

(3) Interlock program
When handling cyclic data of more than 32 bits, interlock the data in the link relay (LB).
Handshake using link relay (LB) data can prevent data separation of the link register (LW).
Program that sends data in W0 to W2 of station number 1 to W0 to W2 of station number 2
Ex.
Handshake is performed by setting B0 to ON upon completion of storing send data.
Sending station
Send
request
B0
Send data (W)
B100
SET B0
W0
W100
Sending station (No.1)
1.
Receiving station (No.2)
4.
1.
The send request turns ON.
2.
The contents of D0 to D2 are stored in W0 to W2.
3.
Upon completion of storage in W0 to W2, B0 for handshaking turns ON.
4.
By cyclic transmission, link relay (LB) data are sent after link register (LW) data transmission,
which turns ON B0 of the receiving station.
5.
The contents of W0 to W2 are stored in D100 to D102.
6.
Upon completion of storage in D100 to D102, B100 for handshaking turns ON.
7.
When the data are sent to the receiving station, B0 turns OFF.
Control station
No.1
CC-Link IE
Controller Network
CPU module
module
LB0
Station
Station
No.1
No.1
LB100
Station
Station
No.2
No.2
LW0
Station
Station
No.1
No.1
LW100
LW100
Station
Station
No.2
No.2
Normal station
No.2
Receiving station
CC-Link IE
Controller Network
module
CPU module
LB0
B0
Station
Station
No.1
No.1
LB100
B100
Station
Station
No.2
No.2
W0
LW0
Station
Station
No.1
No.1
W100
Station
Station
No.2
No.2
2.
3.
7.
5.
6.
CHAPTER 4 FUNCTIONS
B0
Receive data (W)
Cyclic transmission
Link refresh
79
4

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec qj71gp21-sxMelsec qj71gp21s-sx

Table of Contents