3 ) functions – Yaskawa MP2300S Basic Module User Manual

Page 167

Advertising
background image

5.2 User Programs

5.2.4 Ladder Drawings (DWG)

5-34

( 3 ) Functions

Functions are executed by calling them from parent, child, or grandchild drawings using the FUNC command.
Functions can be called from any drawing, and the same function can be called at the same time from different types of
drawings and from different levels of drawings. Another completed functions can also be called from functions.
Using functions has the following advantages.

• Easier creation of user program components
• Easier writing and maintenance of user programs

Functions include standard system functions that are already in the system and user functions that are defined by the
user.

[ a ] Standard System Functions

The transmission and other functions listed below are already created as standard system functions. Standard system
functions cannot be changed by users.

[ b ] User Functions

The functions (programs) and the function definitions can be changed (programmed) freely by users.
The maximum number of user functions that can be defined is 500 drawings.

Œ

Refer to the following manual for information on defining functions.

• Machine Controller MP900/MP2000 Series User’s Manual Ladder Programming

(manual number: SIEZ-C887-1.2)

• Machine Controller MP2000 Series User’s Manual for Motion Programming

(manual number: SIEP C880700 38)

• Machine Controller MP900/MP2000 Series New Ladder Editor Programming Manual

(manual number: SIEZ-C887-13.1)

• Machine Controller MP900/MP2000 Series New Ladder Editor User’s Manual

(manual number: SIEZ-C887-13.2)

• Engineering Tool for MP2000 Series Machine Controller MPE720 Version 6 User’s Manual

(manual number: SIEP C880700 30)

Type

Name

Symbol

Contents

Syst

em f

unc

tions

Counter

COUNTER

Incremental/decremental counter

First in/first out

FINFOUT

First in/first out

Trace function

TRACE

Data trace execution control

Data trace read

DTRC-RD

Reads data from data trace memory to user memory

Inverter trace read function

ITRC-RD

Reads trace data from inverter trace memory to user memory

Message send

MSG-SND

Sends messages to external communication devices

Message receive

MSG-RCV

Receives messages from external communication devices

Advertising