Yaskawa MP940 Reference Manual User Manual
Page 60

User Programs
MotionSuite™ MP940 Machine Controller Reference Manual
3-18
Layer Structure of Drawings
Each drawing comprises source, sub-, and sub-sub-drawings. It is not
possible to reference sub-drawings of a different type from the source
drawing, nor is it possible to reference sub-sub-drawings of a different type
from the sub-drawing. It is also impossible to reference sub-sub-drawings
directly from source drawings. A structure wherein sub-drawings are
referenced from source drawings, and sub-sub-drawings from sub-drawings
is neccessary. This is called the layer structure of the drawing.
Drawing Execution
Create user programs as shown below by layering processing programs into
source drawings, sub-drawings, and sub-sub-drawings.
Note:
The system automatically executes the source drawing
since the execution conditions for each function have
been decided according to Table XXX. This means
that source drawings are automatically called by the
system.It is therefore possible for the customer to exe-
cute various sub-drawings and sub-sub-drawings by
programming drawing reference commands (SEE
commands) in the source and sub-drawings.
Functions can be referenced from any drawing.Func-
tions can also be referenced from any function.
An operation error drawing starts, corresponding to a
given drawing when an operation error occurs within
that drawing.
・
・
・
・
・
・
DWG.X
DWG.X01.01
DWG.X01
DWG.X01.03
DWG.X01.02
DWG.Xnn
・
・
MPM015
親図面
子図面
孫図面
ユーザ関数
MPM002
FUNC-064
FUNC-032
FUNC-006
FUNC-001
MPM001
モーションプログラム
・
・
・
・
・
・
(注) Xは,A,I,H,Lに置き換えてください。
Source drawing
Sub-drawing
Sub-sub-
drawing
Motion Program
User Functions
Note: “x” substitutes for A, I, H, and L.