
ICPDAS
I-8092F Software User Manual
62
BYTE
i8092MF_ARC_CCW(
BYTE
cardNo
,
long
cp1
,
long
cp2
,
long
fp1
,
long
fp2
)
Description:
This function execute a 2-axis circular interpolation motion in a
counter-clockwise (CCW) direction.
Parameters:
cardNo
:
Module number
cp1
:
The relative position of the center to the current position of
X-axis in pulses. (
-8,388,607 ~ +8,388,607
)
cp2
:
The relative position of the center to the current position of
Y-axis in pulses. (
-8,388,607 ~ +8,388,607
)
fp1
:
The
displacement
of the X-axis in pulses.
(
-8,388,607 ~ +8,388,607
)
fp2
:
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 errors.
NO
No
errors.
Example:
i8092MF_ARC_CCW(1, -5000, -5000, -10000, -10000);
//Issues a command to perform a circular motion (an arc)
//in a CCW direction. Refer to the following figure.
2-axis circular motion in a CCW direction