Mitsubishi Electronics MELSEC Q series MELSEC L series Home Theater Server User Manual


 
5-208
5.4 Network Dedicated Instruction
5.4.21 RTMWR instruction
Z_RTMWR_J, Z_RTMWR_U
*1: Local devices and file registers per program cannot be used as setting data.
Function
This instruction writes clock data to a CPU module on another station.
Precautions
This instruction is applicable to the QJ71LP21 or QJ71BR11 with the function version B or later.
Program Example
The following program writes the clock data (8:30:00) to all stations on the network number 1.
[Structured ladder/FBD]
Setting
data
*1
Internal device
R, ZR
J\
U\G
Zn
Constant
K, H
Others
Bit Word Bit Word





s1
s2
s3
s4
d
Sets clock data
Execution finished
Writes clock data
to other stations
Normal completion
Error completion
Stores error code
Process on completion of writing
Process on normal completion
Process on error completion