Functions - YASKAWA MP2100 Series User Manual

Machine controller design and maintenance
Table of Contents

Advertisement

6 Basic System Operation

6.3.4 Functions

6.3.4 Functions
Functions are executed by being called from a parent, child, or grandchild drawing using the FSTART instruc-
tion.Unlike child and grandchild drawings, functions can be called from any drawing. The same function can also
be called simultaneously from drawings of different types and different hierarchies. Moreover, a function that
was previously created can also be called from another function.
The following advantages can be obtained by using functions:
• User programs can be easily divided into parts.
• User programs can be easily prepared and maintained.
Functions are divided into standard system functions, which are provided by the system, and user functions,
which are defined by the user.
(1) Standard System Functions
The functions given in the following table, which include transfer functions, are provided by the system as stan-
dard functions. The user cannot change the standard system functions.
Type
System
Functions
(2) User Functions
The body of the function (program) and the function definitions can be set by the user. The maximum number of
user functions is 500.
For details on MPE720 operating methods and details on instructions, refer to the relevant manuals.
6-20
Name
Counter
First-in first-out
Trace function
Data trace read
Inverter trace read
Send message function
Receive message function
Symbol
COUNTER
Up/down counter
FINFOUT
First-in or first-out stack
TRACE
Data trace execution control
DTRC-RD
Reading data from data trace memory to user mem-
ory
ITRC-RD
Reading data from inverter trace memory to user
memory
MSG-SND
Sending a message to an external communication
device.
MSG-RCV
Receiving a message from an external communica-
tion device.
Description

Advertisement

Table of Contents
loading

This manual is also suitable for:

Japmc-mc2100Mp2100m seriesJapmc-mc2140

Table of Contents