5 functions, 1 standard system functions – Yaskawa MP930 User Manual

Page 81

Advertising
background image

Basic System Operation

3.5.1 Standard System Functions

3 -22

3.5 Functions

This section explains the methods of using and the advantages of the MP930 functions.

Functions are executed by being called from a parent, child, or grandchild drawing using the
FSTART instruction.

Unlike child and grandchild drawings, functions can be called from any drawing. The same func-
tion can also be called simultaneously from drawings of different types and different hierarchies.
Moreover, a function can also be called from another function that was previously created.

The following advantages can be obtained by using functions:

D

Programs can be easily divided into parts.

D

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.

3.5.1 Standard System Functions

Seven functions, including the transfer function, are provided by the system as standard func-
tions. See Table 3.8. The user cannot change the system functions.

Table 3.8 List of Standard System Functions

Type

Name

Symbol

Description

System
Functions

Counter

COUNTER

Up/down counter

Functions

First-in first-out

FINFOUT

First-in or first-out stack

Trace function

TRACE

Data trace execution control

Data trace read

DTRC-RD

Data readout from data trace memory to
user memory

Failure trace readout FTRC-RD

Data readout from failure trace memory to
user memory

Inverter trace read

ITRC-RD

Reads inverter trace data to store it in user
registers

Inverter constant
write

ICNS-WR

Writes inverter constants

Inverter constant read ICNS-RD

Reads inverter constants to registers

Send message func-
tion

MSG-SND

Sending a message from a Communica-
tions Module

Receive message
function

MSG-RCV

Receiving a message from a Communica-
tions Module

3

Advertising