6 - 1
MELSEC-
A
6 EXCHANGING DATA WITH AN EXTERNAL DEVICE
6
6. EXCHANGING DATA WITH AN EXTERNAL DEVICE
The methods of exchanging data with an external device are described in this section.
6.1 Matters to understand before transmitting data
When transmitting data to an external device, the data is first stored in the R2
transmission area. It is then transmitted when the transmission request signal (RYn0)
turns ON.
(1) Transmission procedures
Start
Write the transmission data size and transmission data into the R2
transmission area using the buffer memory automatic update function
or transmission/reception buffer.
Turn ON the transmission request signal (RYn0).
The data will be transmitted, and after completed, the transmission
normal complete signal (RXn0) or transmission error complete signal
(RXn1) will turn ON.
Turn OFF the transmission request signal (RYn0).
Turn OFF the transmission normal complete signal (RXn0) or transmission
error complete signal (RXn1).
End
Sections 5.6, 5.7.