6 - 13 6 - 13
MELSEC-Q
6 PROGRAMMING
Execution
station
Target station
Instruction
Name
QnPH
CPU
QnPRH
CPU
2
Description
Multiplexed
remote
master
station
Multiplexed
remote sub-
master
station
Reference
section
SEND
Data
send
RECV
Data
receive
SEND: Writes data to the target station (network module) of the target
network No.
RECV: Reads the data sent by SEND to the CPU device.
CPU
CPU
SEND
RECV
Channel 1
Channel 2
Channel 3
Channel 4
Channel 5
Channel 6
Channel 7
Channel 8
Network module
Network module
Logical channel 1 (Channel 1)
Logical channel 2 (Channel 2)
Logical channel 3 (Channel 3)
Logical channel 4 (Channel 4)
Logical channel 5 (Channel 5)
Logical channel 6 (Channel 6)
Logical channel 7 (Channel 7)
Logical channel 8 (Channel 8)
1
READ
SREAD
Other
station
word
device
read
Reads the CPU device data of the target station of the target network
No. (in 16 bit units).
CPU
CPU
2594
READ
2594
Network module
Network module
Channel 1
Channel 2
Channel 3
Channel 4
Channel 5
Channel 6
Channel 7
Channel 8
Word device
Word device
1
WRITE
SWRITE
Other
station
word
device
write
Writes data to the CPU device of the target station of the target
network No. (in 16 bit units).
(SWRITE can turn ON the device of the target station.)
WRITE
CPU CPU
361
Network module Network module
Channel 1
Channel 2
Channel 3
Channel 4
Channel 5
Channel 6
Channel 7
Channel 8
Word device
1
REQ
Other
station
transient
request
Performs "remote RUN" or "clock data read/write" to the other station.
CPU
CPU
STOP
REQ
Network module Network module
Channel 1
Channel 2
Channel 3
Channel 4
Channel 5
Channel 6
Channel 7
Channel 8
1
RECVS
Message
receive
(1 scan
completi
on)
Receives the channel data, which was sent by SEND, within an
interrupt program and reads that data to the CPU device immediately.
Processing is completed when the instruction is executed.
CPU CPU
SEND
RECVS
I10
Network module Network module
Channel 1
Channel 2
Channel 3
Channel 4
Channel 5
Channel 6
Channel 7
Channel 8
Logical channel 1 (Channel 1)
Logical channel 2 (Channel 2)
Logical channel 3 (Channel 3)
Logical channel 4 (Channel 4)
Logical channel 5 (Channel 5)
Logical channel 6 (Channel 6)
Logical channel 7 (Channel 7)
Logical channel 8 (Channel 8)
Interrupt program
1