User function call-out (ufc) command -8, 4 user function call-out (ufc) command ! outline, Detailed explanation – Yaskawa MotionSuite Series Machine Controller Programming Manual User Manual
Page 93: Program examples

MotionSuite™ Series Machine Controller Programming Manual
Chapter 3: Advanced Programming Methods
3-8
3.1.4
User Function Call-out (UFC) Command
! Outline
The User Function Call-out (UFC) command calls up and executes the functions created
by the user, by designating the function name.
! Detailed Explanation
The UFC command method is shown as follows:
Note: Input data and input address can be omitted.
The output data means that there is no input data. It always requires a
minimum of 1.
According to the above command, the user functions are called out. When the execution
of the user functions is finished, execution proceeds to the block following the UFC.
! Program Examples
UFC KANSUU MB00000 IW0010 MB00020, MA00100 ,
Function Name Input Data Input Address
MB00001 MW00200 ML00201;
Output Data
UFC Function Name, Input Data, Input Address, and Output Data
Function Name
Input Data
Input Address
Output Data
:
:
:
:
ASCII 8 bytes
Up to 16 bits
Up to 1 addresses
Up to 16 bits (1 bit is always needed)
MB0000
MB0002
IW0010
Function Name
INPUT-1 OUTPUT-1
INPUT-2 OUTPUT-2
INPUT-3 OUTPUT-3
MB0000
INPUT-4
MA00100
Figure 3.6: Program Example of the User Function Call-out (UFC)
MW00201
ML00201