6 - 20
MELSEC-
A
6 EXCHANGING DATA WITH AN EXTERNAL DEVICE
(3) Program
The program for transmitting the transmission data (ABCDEF) using the
transmission/reception buffer is shown below.
Refer to section 5.1 for details on the program conditions.
(a) When using the FROM/TO command with the ACPU / QCPU-
A (A mode)
R2 initialization (Refer to section 5.5.2 (4).)
R2 normal
Initialization
complete
Transmission execution
Pulsate data transmission
switch
Set data transmission flag
Call the transmission data
setting program
Set transmission request
(RYn0)
Reset transmission
request (RYn0)
Master station initialization (parameter setting, data link setting) (Refer to section 5.4.)
Reading of remote input (RX) (Refer to section 5.3 (2).)
Confirmation of R2 data link status (Refer to section 5.3 (3).)
R2 error processing (Refer to section 5.3 (7).)
Writing of remote output (RY) (Refer to section 5.3 (8).)