4 FUNCTIONS
4 - 21
(2) Communication between the master and intelligent device stations
by transient transmission
Transient transmission sends and receives data in 1 : 1 mode by specifying the
opposite party at an arbitrary timing.
[Writing data to the buffer memory in the intelligent device station
using the RIWT instruction]
1) Data to be written to the buffer memory in an intelligent device station is
stored in the send buffer in the master module.
2) The data is written to the buffer memory in the intelligent device.
3) The intelligent device returns a writing complete response to the master
station.
4) The devices specified with the RIWT instruction are turned on.
PLC CPU
RIWT
Device memory
4)
[Reading data from the buffer memory in the intelligent device
station using the RIRD instruction]
1) The data in the buffer memory of an intelligent device station is
accessed.
2) The data read is stored in the receive buffer of the master station.
3) The data is stored in the device memory of the PLC CPU and the
devices specified with the RIRD instruction are turned on.
Master station
PLC CPU
RIRD
Device memory
3)
POINT
Before performing data communication using transient transmission, the sizes of
the send and receive buffers must be set up in the buffer memory of the master
station. For more details on setting the sizes of the send and receive buffers, see
Section 6.2.
Master station
Master module
1)
Send buffer
Master module
Receive buffer
MELSEC-Q
Intelligent device station
2)
Buffer memory
3)
Intelligent device station
1)
Buffer memory
2)
4 - 21