
ICPDAS
I-8092F Software User Manual
60
6.2.8 2-Axis Linear Interpolation Motion
BYTE
i8092MF_LINE_2D(
BYTE
cardNo
,
long
fp1
,
long
fp2
)
Description:
This function executes a 2-axis linear interpolation motion.
Parameters:
cardNo
:
Module number
fp1
:
The
displacement
of the X-axis in Pulses
(
-8,388,607 ~ +8,388,607
)
fp2
:
The displacement of the Y-axis in Pulses
(
-8,388,607 ~ +8,388,607
)
Return:
YES
An error has occurred.
Use the i8092MF_GET_ERROR_CODE() function to identify
the error.
NO
No
errors.
Example:
i8092MF_LINE_2D(1, 12000, 10000);
//execute the 2-axis linear interpolation motion on module 1.
2-axis linear interpolation motion