Link Dedicated Instruction; Reading/Writing Remote I/O Station Intelligent Function Module Buffer Memory (Z(P).Remfr/ Z(P).Remto) - Mitsubishi Electric MELSEC Q Series Reference Manual

Q corresponding melsecnet/h network system
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

7
APPLICATION FUNCTIONS

7.1.1 Link dedicated instruction

Read command
Z.REMFR
Read command
ZP.REMFR
Jn
Target network No.
(n1)
Channel number
(n2)
Target number
Start address input/output number for target intelligent function module
(n3)
The upper 3 digits of the 4-digit expression designates the first address input/output number
for the intelligent function module mounted to the remote I/O station that is to be the target.
Read buffer memory start address
(n4)
Designates the start address of the buffer memory for the read destination intelligent
function module.
Read data storage start address device (Host)
(D1)
Designates the host start address device for storing the read data.
Number of read data points (word units)
(n5)
Read completion device (Host)
Designates the host device to be set to 1 scan on by the read completion.
(D2)
(D2) · · · · · · OFF: Not completed ON: Completed
(D2) + 1 · · · OFF: Normal
1: Bit device ........................................... X, Y, M, L, F, V, B
2: Word device ...................................... T, C, D, W, ST, R, ZR
3: Word device bit designation ............. Word device.bit number
7 - 3
(1) Reading/writing remote I/O station intelligent function module buffer
memory (Z(P).REMFR/ Z(P).REMTO)
This section describes the REMFR/REMTO instruction format.
For a program example using the REMFR/REMTO instruction, refer to Section
6.4.2.
The REMFR instruction reads the data from the buffer memory of the intelligent
function module mounted to the remote I/O station.
The REMTO instruction writes the data to the intelligent function module buffer
memory mounted to the remote I/O station.
POINT
(1) The B/W for the handshake that is required when writing the remote I/O station
intelligent function module buffer memory in a MELSECNET/10 network is not
needed with REMFR/REMTO instructions. However, they have to be set if
input/output X/Y is to operate as a system.
(2) Link dedicated instructions including REMFR/REMTO cannot use the CPU
module local device and "use same file as program" as selected file register.
(3) Turn off the executing link instruction after the completion device turns on.
(a)
Instruction format
1)
Z(P).REMFR (Network No. designation)
"Jn"
n1
n2
"Jn"
n1
n2
: If the originating station is a Universal model QCPU, " "(double quotation) for the
first argument can be omitted.
Description of setting
ON: Abnormal
n3
n4
D1
n5
n3
n4
D1
n5
MELSEC-Q
Z: Executed when on
D2
ZP: Executed when rising
D2
Setting range
1 to 239
1 to 8
2
Word device
1 to 64
2
Word device
0 to FE
H
2
Word device
Constant (K, H)
2
Word device
2
Word device
1 to 960
2
Word device
1
Bit device
Word device bit designation
3
7 - 3

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents