![]() |
NexMotion
1.4.0
Open Robots & Machines [WIP]
|
Group Returns to Home Functions. More...
![]() |
Functions | |
RTN_ERR FNTYPE | NMC_GroupSetHomePos (I32_T DevID, I32_T GroupIndex, I32_T GroupAxesIdxMask, const Pos_T *PHomePosAcs) |
Set the origin of a group axis in the axis coordination system. More... | |
RTN_ERR FNTYPE | NMC_GroupAxesHomeDrive (I32_T DevID, I32_T GroupIndex, I32_T GroupAxesIdxMask) |
Drive a group to move to the origin. More... | |
Group Returns to Home Functions.
Drive a group to move to the origin.
DevID | Device ID (DevID) |
GroupIndex | Group Index |
GroupAxesIdxMask | The group axis index mask is specified to execute the motion. |
Usage:
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.
Examples:
Reference:
None.
RTN_ERR FNTYPE NMC_GroupSetHomePos | ( | I32_T | DevID, |
I32_T | GroupIndex, | ||
I32_T | GroupAxesIdxMask, | ||
const Pos_T * | PHomePosAcs | ||
) |
Set the origin of a group axis in the axis coordination system.
DevID | Device ID (DevID) |
GroupIndex | Group Index |
GroupAxesIdxMask | The group axis index mask is specified toexecute the motion. |
PHomePosAcs | A pointer variable to set the origin in the axis coordinate system (ACS). |
Usage:
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.
Examples:
Reference:
None.