Multi-Segment Continuous Interpolation (Using Array) - ICP DAS USA I-8092F User Manual

2-axis motion control module
Hide thumbs Also See for I-8092F:
Table of Contents

Advertisement

6.3.3 Multi-Segment Continuous Interpolation (Using Array)

BYTE
i8092MF_CONTINUE_INTP(
BYTE
cardNo,
DWORD
VD,
fp2[ ])
Description:
This function executes a multi-segment continuous interpolation. Those
segments are stored in arrays declared in the arguments . The speed profile
can be either a constant speed or a symmetric T-curve. The deceleration point
will be calculated automatically. However, it is a software macro-function;
therefore, it requires CPU resource to run this function.
Parameters:
cardNo:
nAcc:
VSV:
VV:
VA:
VD:
nType[ ]:
1
i8092MF_LINE_2D(BYTE
2
i8092MF_ARC_CW(BYTE
3
i8092MF_ARC_CCW(BYTE
4
i8092MF_CIRCLE_CW(BYTE
5
i8092MF_CIRCLE_CCW(BYTE
7
It indicates the end of continuous interpolation.
cp1[ ]:
cp2[ ]:
fp1[ ]:
fp2[ ]:
Return:
ICPDAS
WORD
DWORD
nAcc,
BYTE
long
nType[ ],
Module number
0
a constant speed interpolation. Please set VV.
1
a symmetric T-curve interpolation. Please set VSV, VV, VA,
and VD.
The starting speed (in PPS)
Interpolation vector speed (in PPS)
Acceleration (in PPS/Sec)
Deceleration (in PPS/Sec)
Maximum segment: 1024 (0 ~ 1023). It contains the
interpolation commands defined as follows.
cardNo,
cardNo,
It contains a list of segment center point data at axis 1.
(
-8,388,607 ~ +8,388,607
It contains a list of segment center point data at axis 2.
(
-8,388,607 ~ +8,388,607
This array contains a list of segment end point data at axis 1.
(
-8,388,607 ~ +8,388,607
This array contains a list of segment end point data at axis 2.
(
-8,388,607 ~ +8,388,607
DWORD
VSV,
long
cp1[ ],
cp2[ ],
long
long
fp1,
long
long
cp1,
long
long
cardNo,
cp1,
long
cardNo,
cp1,
long
cardNo,
cp1,
)
)
)
)
68
I-8092F Software User Manual
DWORD
VV,
VA,
long
long
fp1[ ],
fp2);
long
long
cp2,
fp1,
long
long
cp2,
fp1,
long
cp2);
long
cp2);
fp2);
fp2);

Advertisement

Table of Contents
loading

Table of Contents