EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q Series - Program Example of Cyclic Transmission

Mitsubishi Electric MELSEC-Q Series
674 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
275
CHAPTER 8 PROGRAMMING
8
8.1 Program Example of a Single Network System
8.1.3 Program example of cyclic transmission
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.
(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.
Send
request
SET B0
MOV D0 W0
CPU module
Control station
No.1
No.1
No.1
No.2
No.2
No.1
No.1
No.2
No.2
No.1
No.1
No.2
No.2
No.1
No.1
No.2
No.2
Normal station
No.2
CPU module
Cyclic transmission
(Range set in network range assignment)
Link refresh
(Range set with refresh parameters)
CC-Link IE
Controller
Network module
CC-Link IE
Controller
Network module
BCD W0 K4Y50
B0LB0B0
W0
LW0
W0
B200 B200LB200
LB0
LW0
LB200
B0

Table of Contents

Other manuals for Mitsubishi Electric MELSEC-Q Series

Related product manuals