3.1 Basic Functionality
3.1.3 Execution Scheduling
3-28
3.1.3
Execution Scheduling
This section describes the execution order of drawings.
Controlling the Execution of Drawings
Drawings are executed based on their priorities, as shown in the following figure.
*1.
DWG.A drawings are executed immediately after the power supply is turned ON.
*2.
When an interrupt signal is input, execution of the DWG.I drawing is given priority even if execution of a DWG.H
or DWG.L drawing is currently in progress.
Note: The parent drawing of each drawing is automatically called and executed by the system.
Scheduling the Execution of High-speed and Low-speed
Scan Process Drawings
High-speed scan process drawings (DWG.H) and low-speed scan process drawings (DWG.L)
cannot be executed at the same time. DWG.L drawings are executed during the idle time of
DWG.H drawings.
The period during which DWG.H drawings are executed is called the high-speed scan time.
The period during which DWG.L drawings are executed is called the low-speed scan time.
*
Background processing is used to execute internal system processing, such as communications processing.
Refer to the following section for the setting procedure for the high-speed and low-speed
scans.
Setting the High-speed and Low-speed Scan Times
Power ON
DWG.A
(
S
tartup Drawing
s
)
Interrupt
s
ignal
DWG.I
(interrupt drawing)
Execution i
s
continued
from the point before
the interrupt.
Every low-
s
peed
s
can
Batch output
Batch input
DWG.L (low-
s
peed
s
can
proce
ss
drawing)
Every high-
s
peed
s
can
Batch output
Batch input
DWG.H (high-
s
peed
s
can proce
ss
drawing)
*1
*2
Low-
s
peed
s
can time
High-
s
peed
s
can time
High-
s
peed
s
can time
High-
s
peed
s
can time
High-
s
peed
s
can time
DWG.H
(high-
s
peed
s
can proce
ss
drawing)
DWG.L
(low-
s
peed
s
can proce
ss
drawing)
Background
proce
ss
ing*
: Actual proce
ss
ing time during the
s
can