Program Example - Mitsubishi Electric MELSEC iQ-R Series User Manual

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Program example

This section describes program examples.
Program example of cyclic transmission
The following shows a program example of cyclic transmission.
■Overview of the program example
D0 of the control station (station No.1) is sent to Y50 to Y5F of the normal station (station No.2) through cyclic transmission.
In the program example, an interlock is established with link relay (LB) and cyclic data is sent.
Each number in the figure, from No.1 to No.2, represents a station number.
No.1 is control station and No.2 is normal station.
MOV D0 W0
SET B0
SET B0
Cyclic transmission (range set in the network range assignment)
Link refresh (range set in the refresh settings)
(1) Control station (station No.1)
(2) Normal station (station No.2)
7 COMMUNICATION EXAMPLES
86
7.2 Communication Examples of CC-Link IE Controller Network
(1)
R04CPU
RJ71GP21-SX
B0
B0
No.1
No.1
B200
B200
No.2
No.2
W0
W0
No.1
No.1
No.2
No.2
(2)
RJ71GP21-SX
R04CPU
LB0
LB0
LB0
LB0
No.1
LB200
LB200
LB200
LB200
No.2
LW0
LW0
LW0
No.1
No.2
B0
B0
B0
BCD W0 K4Y50
No.1
B200
B200
No.2
W0
W0
No.1
No.2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents