22
1 Overview
1
1.2 PLC Operating Principle
Power on the PLC
Initialize the PLC and
reset the working cache
Check the PLC main
template system hardware
Check the expansion module
Reset the WDG
Check the user program statement and
integrity, and execute cache preparation
Program Ok
Reset the scan timer: reset the WDG
Execute the user program
after scanning
Set the
scheduled scan
method
Scheduled
scan time reached?
Calculate the scan cycle
Reset the WDG
From Stop to RUN?
Refresh the user timer
Process the user communication
sending/receiving data
Refresh the system register and label
Read the X port to the process image area
Clear the Y process image area and the port
Read from the X port to the
process image area
Output from the Y process image
area to the port
RUN position
Refresh the status indicator
ERR steady-on
Process the system
communication data
Y
N
N
Y
Y
N
N
N
Y
Y
System initialization
Running
preparation
User
program
execution
Housekeeping
User
communication
Internal
label
refreshing
X/Y port
refreshing
System
communication
(online commu-
nication, and user
program uploading
/downloading/
monitoring)
X/C/Tsubscriber terminalcan respond
X pulse catch can be registered
Communication interrupt can be responded to