5 - 17
MELSEC-
A
5 PRELIMINARY INFORMATION
(4) Program
Refer to section 5.7.4 for details on writing the data using the
transmission/reception buffer.
Refer to section 5.1 for details on the program conditions.
Master station initialization (parameter setting, data link setting) (Refer to section 5.4.)
Write initialization data to R2 (Refer to section 5.7.4.)
R2 normal
Set initialization data
write complete flag
Set initialization request
(RYn4)
Reset initialization request
(RYn4)
Initialization complete
Writing to R2 completed
Reading of remote input (RX) (Refer to section 5.3 (2).)
Confirmation of R2 data link status (Refer to section 5.3 (3).)
Transmission of data to external device (Refer to section 6.4.1.)
Receiption of data from external device (Refer to section 6.4.2.)
R2 error processing (Refer to section 5.3 (7).)
Writing of remote output (RY) (Refer to section 5.3 (8).)
Set the error
occurrence flag
POINT
Create the following interlock circuit so that the initialization request is made after all
request signals (RY) are turned OFF.
SET (RYn4)
Error reset
request
(RY(n+1)A)
Initialization
command
Transmis-
sion request
(RYn0)
Transmis-
sion cancel
request
(RYn1)
Reception
read output
complete
(RYn2)
Forced
reception
complete
request
(RYn3)
OS
reception
buffer clear
request
(RYn6)
EEPROM
function
request
(RYn7)
Initialization
request
(RY(n+1)9)
If initialization is carried out while RX or RY is ON, the current process will be canceled.
Start initialization after turning all RY, other than RYn4, OFF.