Jufc command creation procedure, Jregisters used within user functions – Yaskawa MP900 Series Motion Programming Manual User Manual
Page 99

3.1 High-Level Control Commands
3 -9
J
UFC Command Creation Procedure
The procedure for creating a UFC command is as follows:
Determine the UFC command
specifications.
S
Determine the number of input data
items and the types of data.
S
Determine the function name.
Set the following on the DWG Properties
window:
S
Function configuration definition
S
I/O definition
Input using the MPE720 .
Create the user functions (ladder logic).
These are created in the same way as the drawings, except that
the types of register used are different.
Create the motion program.
Write UFC with the function name, input data, input address,
and output data format.
Check the operation.
J
Registers Used Within User Functions
The data types are as follows:
• B-VAL
⇒
Bit
• I-VAL
⇒
For future use
• L-VAL
⇒
For future use
• I-REG
⇒
Integer
• L-REG
⇒
Double-length integer or real number
3