316
(2) Program for the reinitialization process
Perform the reinitialization process using a program. The following shows the process timing and sample
programs.
(a) Process timing
(b) Sample program
The following two methods are available:
• Using the dedicated instruction (UINI instruction)
• Writing directly to the buffer memory
Do not use the method using the dedicated instruction (UINI instruction) and the method by writing directly to the buffer
memory together.
Check the normal completion of the initial process. (Initial normal completion signal (X19): ON)
Terminate all data communications with the connected devices and perform a close process on all
connections.
Execute the UINI instruction. Specify the parameters (such as the IP address of the own station and Ethernet
operation setting) using the control data of the dedicated instruction and initialize the E71.
When the E71 reinitialization request is completed, Initial normal completion signal (X19) turns off.
When the reinitialization processes are all completed, Reinitialization specification (address: 1F
H
(b15) turns
"0" and Initial normal completion signal (X19) turns on. If the reinitialization process fails, an error code is
stored in the initial error code storage area.
3
1
2
4
5
Open completion signal
(address: 5000
H
)
Close process
Reinitialization specification
(address: 1F
H
(b15))
Processing reinitialization
Abnormally ended
Program
UINI instruction
Completion device
Completion device + 1
Requesting
reinitialization
Initializing the module
Scan
END
process
Scan
END
process
Scan
END
process
Scan
END
process
Scan
Initial normal completion
signal (X19)
Internal process of the E71