Functions, Standard system functions, User functions – Yaskawa MP940 Reference Manual User Manual
Page 69

MotionSuite™ MP940 Machine Controller Reference Manual
Functions
3-27
Functions
This section describes the usage method, characteristics, etc. of the MP940 functions.
Functions are executed by referencing a source drawing, sub-drawing, or sub-sub-
drawing using an FSTART command. Unlike sub-drawings and sub-sub-drawings,
function references can be freely executed from the various drawings. The same func-
tion can also be referenced simultaneously from different drawing types and layers.
Functions created from other functions can also be referenced. The following advan-
tages are derived from using functions.
• Program componentization can be easily achieved.
• Program creation/saving is easy.
There are two types of functions: standard system functions provided with the sys-
tem, and user functions defined by the user.
Standard System Functions
Nine functions are installed as standard system functions.The user cannot
modify the standard system functions, listed below.
User Functions
The function itself (program) can be freely defined (programed) by the user.
Up to 32 user program definitions can be created. The technique for creating
user programsby using the user function creation procedure is described
below.
Type
Name
Symbol
Content
System
Functions
Counter
COUNTER Up/Down Counter
First-in/First-out
FINFOUT
First-in/First-out
Trace Function
TRACE
Data Trace Execution Control
Data Trace Read-out
DTRC-RD
Data read from data trace memory into the
user memory.
Message Sent
MSG-SND
Send message from controller.
Message Receive
MSG-RCV
Receive message to controller.