![]() |
NexMotion
1.4.0
Open Robots & Machines [WIP]
|
Group Motion Status Functions. More...
![]() |
Functions | |
RTN_ERR FNTYPE | NMC_GroupGetCommandPosAcs (I32_T DevID, I32_T GroupIndex, Pos_T *PRetCmdPosAcs) |
Get the command position of a group axis in the axis coordinate system (ACS). More... | |
RTN_ERR FNTYPE | NMC_GroupGetActualPosAcs (I32_T DevID, I32_T GroupIndex, Pos_T *PRetActPosAcs) |
Get the actual position of a group axis in the axis coordinate system (ACS). More... | |
RTN_ERR FNTYPE | NMC_GroupGetCommandPosPcs (I32_T DevID, I32_T GroupIndex, Pos_T *PRetCmdPosPcs) |
Get the command position of a group axis in the Cartesian coordinate system (PCS). More... | |
RTN_ERR FNTYPE | NMC_GroupGetActualPosPcs (I32_T DevID, I32_T GroupIndex, Pos_T *PRetActPosPcs) |
Get the actual position of a group axis in the Cartesian coordinate system (PCS). More... | |
RTN_ERR FNTYPE | NMC_GroupGetCommandPos (I32_T DevID, I32_T GroupIndex, I32_T CoordSys, Pos_T *PRetCmdPos) |
Get the command position of a group. More... | |
RTN_ERR FNTYPE | NMC_GroupGetActualPos (I32_T DevID, I32_T GroupIndex, I32_T CoordSys, Pos_T *PRetActPos) |
Get the actual position of a group. More... | |
RTN_ERR FNTYPE | NMC_GroupGetMotionBuffSpace (I32_T DevID, I32_T GroupIndex, I32_T *PRetFreeSpace) |
Get the size of buffer space of group motion command. More... | |
Group Motion Status Functions.
RTN_ERR FNTYPE NMC_GroupGetActualPos | ( | I32_T | DevID, |
I32_T | GroupIndex, | ||
I32_T | CoordSys, | ||
Pos_T * | PRetActPos | ||
) |
Get the actual position of a group.
The returned value is specified depended on the coordinate system.
DevID | Device ID (DevID) | |
GroupIndex | Group index | |
CoordSys | Specified the coordinate system ( 0:MCS, 1:PCS, 2:ACS ) | |
[out] | PRetActPos | [Input] A pointer variable, [Output] The command position depended on the specified coordinate system |
Usage:
Examples:
Reference:
None.
Get the actual position of a group axis in the axis coordinate system (ACS).
The actual value is converted from the count value of the encoder based on the gear ratio or the lead screw pitch in the axis coordinate system (ACS).
DevID | Device ID (DevID) | |
GroupIndex | Group index | |
[out] | PRetActPosAcs | [Input] A pointer variable, [Output] The actual position of each group axis. |
Usage:
Examples:
Reference:
None.
Get the actual position of a group axis in the Cartesian coordinate system (PCS).
The actual value is converted from the count value of the encoder based on the gear ratio or the lead screw pitch in the Cartesian coordinate system (PCS).
DevID | Device ID (DevID) | |
GroupIndex | Group index | |
[out] | PRetActPosPcs | [Input] A pointer variable, [Output] The actual position of each group axis. |
Usage:
Examples:
Reference:
None.
RTN_ERR FNTYPE NMC_GroupGetCommandPos | ( | I32_T | DevID, |
I32_T | GroupIndex, | ||
I32_T | CoordSys, | ||
Pos_T * | PRetCmdPos | ||
) |
Get the command position of a group.
The returned value is specified depended on the coordinate system.
DevID | Device ID (DevID) | |
GroupIndex | Group index | |
CoordSys | Specified the coordinate system ( 0:MCS, 1:PCS, 2:ACS ) | |
[out] | PRetCmdPos | [Input] A pointer variable, [Output] The command position depended on the specified coordinate system |
Usage:
Examples:
Reference:
None.
Get the command position of a group axis in the axis coordinate system (ACS).
DevID | Device ID (DevID) | |
GroupIndex | Group index | |
[out] | PRetCmdPosAcs | [Input] A pointer variable, [Output] The command position of the specified group axis. |
Usage:
Examples:
Reference:
None.
Get the command position of a group axis in the Cartesian coordinate system (PCS).
DevID | Device ID (DevID) | |
GroupIndex | Group index | |
[out] | PRetCmdPosPcs | [Input] A pointer variable, [Output] The command position of the specified group axis. |
Usage:
Examples:
Reference:
None.
Get the size of buffer space of group motion command.
DevID | Device ID (DevID) | |
GroupIndex | Group index | |
[out] | PRetFreeSpace | [Input] A pointer variable, [Output] The free size of the motion buffer |
Usage:
Examples:
Reference:
None.