197
CHAPTER 8 FUNCTIONS
8
8.
8
S
ubmas
te
r F
unct
ion
8.
8.
4
Pr
ogramm
ing f
o
r
when t
he subma
ste
r f
unct
ion is used
8.8.4
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:
• Transient transmission:
(1) Programming for cyclic transmission
After checking that data link is normally performed, create a program to control slave stations.
(a) Use of data stored in RY/RWw of the master operating station
Even after the control is shifted to the submaster operating station, sending data in the master operating station
is not transferred to the submaster operating station. Therefore, the submaster operating station needs to
produce the same sending data as the master operating station. Create a program where sending data (RY/
RWw) is produced based on receiving data (RX/RWr).
Master station
Obtain sending data same as that of
the master operating station.
RX, RWr
RY, RWw
CPU module
Submaster
station
RX,RWr
RY,RWw
CPU module
Master operation
Submaster
operation
Sending
data
Data sent
from the
master
station or a
slave station
Sending
data