2 creating user functions – Yaskawa MP900 Series Ladder Programming Manual User Manual
Page 50

4.3 User Functions
4.3.2 Creating User Functions
4-9
Programming
4
4.3.2 Creating User Functions
This section describes how to create a user function that has, as an example, the following specifications.
Procedure to Create a User Function
1.
In the pane on the left, expand the tree under Ladder program. Right-click Function and select New
from the menu.
2.
Enter “FUNC01” in the Program No. Box.
Function Definition Item
Name
Remarks
Program Number
FUNC01
Function Input Value
IN
Integer data
Function Output Value 1
OUT1
Integer data
Function Output Value 2
OUT2
Integer data
Processing Details
Multiply the function input value (IN) by 2 and output it to function output value 1 (OUT1).
Multiply the function input value (IN) by 3 and output it to function output value 2 (OUT2).
Select.
Enter “FUNC01.”