Yaskawa MP930 User Manual

Page 86

Advertising
background image

3.5 Functions

3 -27

Internal function

AW00000
AW00001
AW00002
AW00003

MA00300
MA00301
MA00302
MA00303

External registers

Pointer

Figure 3.15 Pointer Designation for Address Input Registers

4. Creating a motion program that calls the function.

User functions can also be called from motion programs.

Example: The user functions shown in Table 3.11 would be called from a motion program
using the following coding:

UFC TEST DB000000 DB000001 DF00001 DW00003,MA00300,
DB000020 DB000021 DL00010 DW00012;

Conditions for referencing a user function from a motion program:

S

The first item of output data must be bit data.

This output will be the completion signal for moving to the next motion command.
UFC DB000000..., MA00300, DB000020...; ↓ condition BB000020==ON
MVS [X]100. [Y]200. F10000;

.
.
.

3

INFO

Advertising