3 PROGRAMMING
3.2 Communication Example Using the Submaster Function
171
3
Programming for when the submaster function is used
This section describes the programming of when the submaster function is used. For other programming, refer to the
following.
• Cyclic transmission (
MELSEC iQ-R Ethernet/CC-Link IE User's Manual (Startup))
• Transient transmission (
MELSEC iQ-R Programming Manual (Instructions, Standard Functions/Function Blocks))
Programming for cyclic transmission
After checking that data link is normally performed, create a program to control slave stations.
■
Use of data stored in RY, RWw of the master operating station
Even after the control is shifted to the submaster operating station, send data in the master operating station is not transferred
to the submaster operating station.
Therefore, the submaster operating station needs to produce the same send data as the master operating station. Create a
program where send data (RY, RWw) is produced based on receive data (RX, RWr).
RX, RWr
RY, RWw
RX,RWr
RY,RWw
Master station
Obtain sending data same as that of
the master operating station.
CPU module
Submaster
station
CPU module
Master operation
Submaster
operation
Sending
data
Data sent
from the
master
station or a
slave station
Sending
data
Summary of Contents for MELSEC iQ-R04ENCPU
Page 2: ......
Page 61: ...1 FUNCTIONS 1 3 IP Packet Transfer Function 59 1 ...
Page 385: ...383 I Transient transmission 15 ...
Page 389: ......