6) Reading And Writing Clock Data Of Other Station Cpu Modules (Z(P).Rtmrd, Z(P).Rtmwr) - Mitsubishi Electric Q Series Reference Manual

Hide thumbs Also See for Q Series:
Table of Contents

Advertisement

7 APPLICATION FUNCTIONS
7.4.5 (6) Reading and writing clock data of other station CPU modules (Z(P).RTMRD,
Z(P).RTMWR)
: If the originating station is a Basic model QCPU (function version B or later), Universal
Jn
Target network No.
Starting I/O number of the host station network module
Un
Designate the three-digit I/O number with the first two digits.
n1
Channel used by the host
n2
Target station number
5: Word device: T, C, D, W, ST, R, and ZR (The Q00JCPU and QS001CPU cannot use R and ZR.)
7 - 92
This section explains the RTMRD and RTMWR instruction formats, and provides
program samples.
The RTMRD instruction reads other station CPU module clock data.
The RTMWR instruction writes other station CPU module clock data.
(a)
Instruction format
1)
Z(P).RTMRD
[Network No. designation]
Read
command
Z.RTMRD "Jn"
Read
command
ZP.RTMRD
"Jn"
[Network module starting I/O number designation]
Read
instruction
Z.RTMRD "Un" n1
Read
instruction
ZP.RTMRD
"Un" n1
model QCPU, or safety CPU, " "(double quotation) for the first argument can be omitted.
Description of setting
n1
n2
n3
(D1)
(D2)
n3 (D1) (D2)
n1
n2
n2
n3
(D1)
(D2)
n3 (D1) (D2)
n2
1 to 239
254: The network designated at the valid module during access to another
station
0 to FE
H
1 to 8 (Constant)
Word device
5
1 to 64 (Constant)
Word device
5
MELSEC-Q
Target station
QCPU
QnACPU
: For link dedicated instruction for the safety CPU,
refer to Section 6.3
Z: Executed when ON
ZP: Executed during start-up
Z: Executed when ON
ZP: Executed during start-up
Setting range
(Continued to the next page)
AnUCPU
7 - 92

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents