Program Example Of Cyclic Transmission - Mitsubishi Electric MELSEC Q Series Reference Manual

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

Advertisement

8.1.3

Program example of cyclic transmission

The following shows a program example of cyclic transmission.
(1) Overview of the program example
D0 of the control station (No. 1) is sent to Y50 to Y5F of the normal station (No. 2) through cyclic transmission.
In the program example in this section, an interlock is established with link relay (LB) and cyclic data is sent.
Send
request
MOV D0 W0
SET B0
(Processing at control station (No. 1)-side)
1.
Turn ON the send request.
2.
Store D0 data in W0.
3.
When data storage is completed, turn ON B0 for handshake.
4.
Link relay (LB) is sent through cyclic transmission after link register (LW).
(Processing at normal station (No. 2)-side)
5.
B0 is turned ON.
6.
Store W0 contents in Y50 to Y5F.
7.
When data storage to Y50 to Y5F is completed, turn ON B200 for handshake.
(Processing at control station (No. 1)-side)
8.
When B200 is turned ON, turn B0 OFF.
Control station
No.1
CC-Link IE
Controller
CPU module
Network module
B0
LB0
No.1
No.1
B200
LB200
No.2
No.2
W0
LW0
No.1
No.1
No.2
No.2
Normal station
No.2
CC-Link IE
Controller
Network module
CPU module
LB0
B0
No.1
No.1
LB200
B200
No.2
No.2
W0
LW0
No.1
No.1
No.2
No.2
Cyclic transmission
(Range set in network range assignment)
Link refresh
(Range set with refresh parameters)
CHAPTER 8 PROGRAMMING
B0
BCD W0 K4Y50
275
8

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec qj71gp21-sxMelsec qj71gp21s-sx

Table of Contents