![]() |
NexMotion
1.4.0
Open Robots & Machines [WIP]
|
Group Point-to-Point Motion Functions. More...
![]() |
Functions | |
RTN_ERR FNTYPE | NMC_GroupPtpCart (I32_T DevID, I32_T GroupIndex, I32_T CartAxis, F64_T CartPos) |
Enable the point-to-point motion of group axis in the Cartesian coordinate system. More... | |
RTN_ERR FNTYPE | NMC_GroupPtpCartAll (I32_T DevID, I32_T GroupIndex, I32_T CartAxesMask, const Pos_T *PTargetPos) |
Enable the point-to-point motion of multiple group axes on the points in the Cartesian coordinate system. More... | |
Group Point-to-Point Motion Functions.
(Cartesian Coordinate System)
Enable the point-to-point motion of group axis in the Cartesian coordinate system.
DevID | Device ID (DevID) |
GroupIndex | Group index |
CartAxis | The Coordinate axis index for the motion in the Cartesin coordinate system. Please refer to the below table. |
CartPos | The point position to be reached. |
Usage:
Cartesian Coordinate | U | V | C | B | A | Z | Y | X |
---|---|---|---|---|---|---|---|---|
Axis Value | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
The usage of the coordinate axis index in the Cartesian coordinate system (CartAxis) is described as follows: If the motion is executed on the z-axis in the Cartesian coordinate system, the CartAxis is 2.
Examples:
Reference:
None.
RTN_ERR FNTYPE NMC_GroupPtpCartAll | ( | I32_T | DevID, |
I32_T | GroupIndex, | ||
I32_T | CartAxesMask, | ||
const Pos_T * | PTargetPos | ||
) |
Enable the point-to-point motion of multiple group axes on the points in the Cartesian coordinate system.
DevID | Device ID (DevID) |
GroupIndex | Group index |
CartAxesMask | The group axis index mask is specified to execute the point-to-point motion in the Cartesian coordinate system. Please refer to the below table. |
PTargetPos | A pointer variable to set the target position. |
Usage:
Cartesian Coordinate | U | V | C | B | A | Z | Y | X |
---|---|---|---|---|---|---|---|---|
Axis Value/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 in the Cartesian coordinate system (CartAxesMask) is described as follows: If the group axes to be moved are the X-, Z- and A-axis, the GroupAxesIdxMask is +
+
= 13.
Examples:
Reference:
None.