7.1 User Program Types and Execution Timing
7.1.1 Ladder Programs
7
Cr
eating U
s
er Pr
ogram
s
7-5
The breakdown of the number of ladder drawings in each category is given in the following
table.
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.
Drawings
Number of Drawings
DWG.A
DWG.I
DWG.H
DWG.L
Parent Drawings
1
1
1
1
Operation Error Draw-
ings
1
1
1
1
Child Drawings
Total of 62 max.
Total of 62 max.
Total of 998 max.
Total of 1,998 max.
Grandchild Drawings
There are separate functions that can be called from the drawings as required. Functions are
executed when they are called from a parent, child, or grandchild drawing with the FUNC
instruction. You can create up to 2,000 functions.
Information
*1
*2
DWG.L
(low-
s
peed
s
can proce
ss
drawing)
DWG.H
(high-
s
peed
s
can proce
ss
drawing)
Execution i
s
continued from
the point before the interrupt.
Interrupt
s
ignal
DWG.I
(interrupt drawing)
Batch input
Batch input
Batch output
Batch output
Every low-
s
peed
s
can
Every high-
s
peed
s
can
DWG.A
(
s
tartup drawing
s
)
Power ON