7
APPLICATION FUNCTIONS
7 - 108
(c)
Program examples
The program examples shown below are programmed for the following
system configuration.
When actually using the programs below, interlock the programs referring
Section 6.1.
1)
RTMRD instruction
A program to execute the clock data read instruction with the use of
channel 1 for the station No.4 control CPU and storing the result in D0
is shown below.
M0 is used as the completion device.
2)
RTMWR instruction
A program for writing the clock data stored in the host's D0 with the
use of channel 1 into the station No.3 control CPU is shown below.
M0 is used as the completion device.
MELSEC-Q
7 - 108