Creation of the function program, Creation of the function reference program – Yaskawa MP940 Reference Manual User Manual

Page 73

Advertising
background image

MotionSuite™ MP940 Machine Controller Reference Manual

Functions

3-31

4. The function input register is automatically assigned for “Graphical

Function Display Format 2”. The general structure of the function is
created at this stage.

Creation of the Function Program

The creation method is the same as for a drawing. However, the register type
used differs. For details on the registers, see the Register Types section.

Creation of the Function Reference Program

The user function is complete upon creation of the graphical function display
format and program. Referencing is possible, just as in standard system
functions, from source drawings, sub-drawings, and sub-sub-drawings, in
addition to other functions. Functions may be called-out within both drawing
and user function programs by the following procedure. For details on the
operation method, see “MP9xx Ladder Programming Manual” (SI-C887-
1.2C).

1. Input the function name with the FSTART command.

For example, input FSTART, press the Enter key, input TEST, and
press the Enter key. Already defined graphical function display for-
mats are then displayed.

2. Use the FIN command to create the input data program. This imparts

the input data to both the function inputs and address inputs.

Advertising