
ICPDAS
I-8092F Software User Manual
63
6.2.10 2-Axis Circular Interpolation Motion
BYTE
i8092MF_CIRCLE_CW(
BYTE
cardNo
,
long
cp1
,
long
cp2
)
Description:
This function executes a 2-axis circular interpolation motion in a clockwise
(CW) 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
)
Return:
YES
An error has occurred.
Use the i8092MF_GET_ERROR_CODE() function to identify
the errors.
NO
No
errors.
Example:
i8092MF_CIRCLE_CW(1, 0, 10000);
//execute a circular motion (a complete circle) in a CW direction on module 1.
BYTE
i8092MF_CIRCLE_CCW(
BYTE
cardNo
,
long
cp1
,
long
cp2
)
Description:
This function executes 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
)
Return:
YES
An error has occurred.
Use the i8092MF_GET_ERROR_CODE () function to identify