![]() |
NexMotion
1.4.0
Open Robots & Machines [WIP]
|
Axis Motion Status Functions. More...
![]() |
Functions | |
RTN_ERR FNTYPE | NMC_AxisGetCommandPos (I32_T DevID, I32_T AxisIndex, F64_T *PRetCmdPos) |
Get the command position for desired axis. More... | |
RTN_ERR FNTYPE | NMC_AxisGetActualPos (I32_T DevID, I32_T AxisIndex, F64_T *PRetActPos) |
Get the encoder feedback position for desired axis. More... | |
RTN_ERR FNTYPE | NMC_AxisGetCommandVel (I32_T DevID, I32_T AxisIndex, F64_T *PRetCmdVel) |
Get the command velocity for desired axis. More... | |
RTN_ERR FNTYPE | NMC_AxisGetActualVel (I32_T DevID, I32_T AxisIndex, F64_T *PRetActVel) |
Get the encoder feedback velocity for desired axis. More... | |
RTN_ERR FNTYPE | NMC_AxisGetMotionBuffSpace (I32_T DevID, I32_T AxisIndex, I32_T *PRetFreeSpace) |
Get the quantity of motions segment which can still be stored into the axis motion queue. More... | |
Axis Motion Status Functions.
Get the encoder feedback position for desired axis.
DevID | Device ID (DevID) | |
AxisIndex | Axis index | |
[out] | PRetActPos | Return the encoder feedback position. Unit: user unit. |
Usage:
The function can be called to get the encoder feedback position for an axis.
Examples:
Reference:
Get the encoder feedback velocity for desired axis.
DevID | Device ID (DevID) | |
AxisIndex | Axis index | |
[out] | PRetActVel | Return the encoder feedback velocity. Unit: user unit/sec. |
Usage:
The function can be called to get the encoder feedback velocity for an axis.
Examples:
Reference:
Get the command position for desired axis.
DevID | Device ID (DevID) | |
AxisIndex | Axis index | |
[out] | PRetCmdPos | Return the command position. Unit: user unit. |
Usage:
The function can be called to get the command position for an axis.
Examples:
Reference:
Get the command velocity for desired axis.
DevID | Device ID (DevID) | |
AxisIndex | Axis index | |
[out] | PRetCmdVel | Return the command velocity. Unit: user unit/sec. |
Usage:
The function can be called to get the command velocity for an axis.
Examples:
Reference:
Get the quantity of motions segment which can still be stored into the axis motion queue.
DevID | Device ID (DevID) | |
AxisIndex | Axis index | |
[out] | PRetFreeSpace | Return the quantity of motions which can still be stored into the axis motion queue. |
Usage:
Because the axis supports the motion queue , the function can be called to confirm the quantity of motions which can still be stored into the axis motion queue.
Examples:
Reference:
NMC_AxisPtp() NMC_AxisJog() NMC_AxisHalt()