![]() |
NexMotion
1.4.0
Open Robots & Machines [WIP]
|
Group Point-to-Point Motion Function. More...
![]() |
Functions | |
RTN_ERR FNTYPE | NMC_GroupPtpAcs (I32_T DevID, I32_T GroupIndex, I32_T GroupAxisIndex, F64_T AcsPos, _opt_null_ const F64_T *PAcsMaxVel) |
Enable the point-to-point motion for a group axis in the a xis coordinate system (ACS). More... | |
RTN_ERR FNTYPE | NMC_GroupPtpAcsAll (I32_T DevID, I32_T GroupIndex, I32_T GroupAxesIdxMask, const Pos_T *PAcsPos) |
Enable the point-to-point motion for multiple group axes in the a xis coordinate system (ACS). More... | |
Group Point-to-Point Motion Function.
(Axis Coordinate System)
RTN_ERR FNTYPE NMC_GroupPtpAcs | ( | I32_T | DevID, |
I32_T | GroupIndex, | ||
I32_T | GroupAxisIndex, | ||
F64_T | AcsPos, | ||
_opt_null_ const F64_T * | PAcsMaxVel | ||
) |
Enable the point-to-point motion for a group axis in the a xis coordinate system (ACS).
The default maximum velocity will refer to the value in the input parameters. If required, the maximum velocity can be set in the API, and the specified value will be stored in the corresponding parameters automatically.
DevID | Device ID (DevID) |
GroupIndex | Group index |
GroupAxisIndex | The group axis index to be driven a motion |
AcsPos | The point position to be reached |
PAcsMaxVel | A pointer variable which can specify the maximum velocity. Input NULL (0) to ignore the parameter. |
Usage:
Examples:
Reference:
None.
RTN_ERR FNTYPE NMC_GroupPtpAcsAll | ( | I32_T | DevID, |
I32_T | GroupIndex, | ||
I32_T | GroupAxesIdxMask, | ||
const Pos_T * | PAcsPos | ||
) |
Enable the point-to-point motion for multiple group axes in the a xis coordinate system (ACS).
The specified group axes will start the motion and reach the target position at the same time.
DevID | Device ID (DevID) |
GroupIndex | Group index |
GroupAxesIdxMask | The group axis index mask is specified to execute the motion. Please refer to the below table. |
PAcsPos | A pointer variable to set the target position. |
Group Axis | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 |
---|---|---|---|---|---|---|---|---|
Bit index | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
The power is the index of bit | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
The usage of the group axis index mask (GroupAxesIdxMask) is described as follows: If the group axes to be moved are the 1st, 3rd and 8th axes, the GroupAxesIdxMask is +
+
= 133.
Usage:
Examples:
Reference:
None.