
3.1 Basic Functionality
Programs
3-5
3
CPU Unit Functionality
Execution Processing of Drawings
The drawings are executed by calling them from the top to the bottom, following the hierarchy of the
drawings. The following figure illustrates the execution processing of a high-speed scan drawing
(DWG.H).
Note: 1. The parent drawing is automatically called and executed by the system. Child drawings and grandchild drawings
are executed by calling them from a parent drawing or a child drawing using the SEE instruction.
2. You can call functions from any drawing. You can also call functions from other functions.
3. If an operation error occurs, the operation error drawing for the drawing type will be started automatically.
4. Always specify 00 as the drawing number for operation error drawings.
Functions
Functions are executed when they are called from a parent, child, or grandchild drawing with the FUNC
instruction.
Functions can be freely called from any drawing. The same function can be called simultaneously from
different types of drawings or different levels of drawings. You can also call functions from other func-
tions that you have created.
The use of functions provides the following merits:
• Easy user program modularization
• Easy user program creation and maintenance
You can use standard functions that are provided by the system, and you can define user functions.
Functions
Execution is started by the
system program when the
execution condition is met.
Parent Drawing
Child Drawings
Grandchild Drawings
Execution is
automatically
started by the
system.
An operation
error occurs.
DWG.H
DWG.H01
H02
H00
DWG.H01.01
FUNC 01
SEE
H01
SEE
H02
END
END
END
END
END
END
SEE
H01.H01
FUNC
01