beautypg.com

Execution processing method of drawings – Yaskawa MP940 User Manual

Page 66

background image

3.4 User Programs

3-19

3

• A parent drawing cannot call a child drawing of a different type, and a child drawing cannot call a

grandchild drawing of a different type.

• A parent drawing cannot directly call a grandchild drawing. A child drawing must be referenced

from a parent drawing, and a grandchild drawing must be called from that child drawing.

• A parent drawing is automatically called (and executed) by the system. A child drawing is called

from a parent drawing using the SEE instruction. Therefore, user programs containing only child
and grandchild drawings cannot be executed.

„

Execution Processing Method of Drawings

Drawings in the hierarchy are executed by the lower-level drawings being called from
upper-level drawings. The following figure shows the hierarchical arrangement of drawings,
using the example of DWG.A.

INFO

DWG.X YY . ZZ

FUNC-001

DWG.A

SEE A02

DEND

DWG.A01

SEE A01.01

SEE A01.02

DEND

DEND

DEND

DEND

DEND

DEND

DWG.A02

DWG.A00

DWG.A01.01

SEE A01

FUNC-001

DWG.A01.02

FUNC-001

:DWG. X 00

Starts according to

the system program

execution condition

Parent Drawing

Child Drawings

Grandchild Drawings

Functions

Operation

error

Started auto-

matically by

the system.

Drawing notation:

Grandchild drawing No. (01 to 99)

Child drawing No. (01 to 99)
Type of parent drawing (A, I, S, H, L)

Operation error drawing (A, I, S, H, L)