![]() |
NexMotion
1.4.0
Open Robots & Machines [WIP]
|
Axis Configuration Functions. More...
|
Functions | |
| RTN_ERR FNTYPE | NMC_AxisSetParamI32 (I32_T DevID, I32_T AxisIndex, I32_T ParamNum, I32_T SubIndex, I32_T ParaValueI32) |
| Set the axis parameters (I_32T data type) More... | |
| RTN_ERR FNTYPE | NMC_AxisGetParamI32 (I32_T DevID, I32_T AxisIndex, I32_T ParamNum, I32_T SubIndex, I32_T *PRetParaValueI32) |
| Get the axis parameters (I_32T data type) More... | |
| RTN_ERR FNTYPE | NMC_AxisSetParamF64 (I32_T DevID, I32_T AxisIndex, I32_T ParamNum, I32_T SubIndex, F64_T ParaValueF64) |
| Set the axis patameters (F64_T data type) More... | |
| RTN_ERR FNTYPE | NMC_AxisGetParamF64 (I32_T DevID, I32_T AxisIndex, I32_T ParamNum, I32_T SubIndex, F64_T *PRetParaValueF64) |
| Get the axis parameters (F64_T data type) More... | |
Axis Configuration Functions.
| RTN_ERR FNTYPE NMC_AxisGetParamF64 | ( | I32_T | DevID, |
| I32_T | AxisIndex, | ||
| I32_T | ParamNum, | ||
| I32_T | SubIndex, | ||
| F64_T * | PRetParaValueF64 | ||
| ) |
Get the axis parameters (F64_T data type)
| DevID | Device ID (DevID) | |
| AxisIndex | Axis index | |
| ParamNum | Parameter number | |
| SubIndex | Parameter Sub-index | |
| [out] | PRetParaValueF64 | [Output] Value to be returned (double precision float) |
Usage:
Please refer to the section: Axis Parameters. The device will load the configurations in according with the configuration file during starting. The function can be used to get some axis parameters. A suitable function shall be selected depended on the data type of the parameters (F64_T).
Examples:
Reference:
Please refer to the section: Axis Parameters.
| RTN_ERR FNTYPE NMC_AxisGetParamI32 | ( | I32_T | DevID, |
| I32_T | AxisIndex, | ||
| I32_T | ParamNum, | ||
| I32_T | SubIndex, | ||
| I32_T * | PRetParaValueI32 | ||
| ) |
Get the axis parameters (I_32T data type)
| DevID | Device ID (DevID) | |
| AxisIndex | Axis index | |
| ParamNum | Parameter number | |
| SubIndex | Parameter Sub-index | |
| [out] | PRetParaValueI32 | [Output] Value to be returned (signed integer) |
Usage:
Please refer to the section: Axis Parameters. The device will load the configurations in according with the configuration file during starting. The function can be used to get some axis parameters. A suitable function shall be selected depended on the data type of the parameters (I32_T).
Examples:
Reference:
Please refer to the section: Axis Parameters.
| RTN_ERR FNTYPE NMC_AxisSetParamF64 | ( | I32_T | DevID, |
| I32_T | AxisIndex, | ||
| I32_T | ParamNum, | ||
| I32_T | SubIndex, | ||
| F64_T | ParaValueF64 | ||
| ) |
Set the axis patameters (F64_T data type)
| DevID | Device ID (DevID) | |
| AxisIndex | Axis index | |
| ParamNum | Parameter number | |
| SubIndex | Parameter Sub-index | |
| [in] | ParaValueF64 | [Input] Value to be set (double precision float) |
Usage:
Please refer to the section: Axis Parameters. The device will load the configurations in according with the configuration file during starting. The function can be used to set some axis parameters. A suitable function shall be selected depended on the data type of the parameters (F64_T).
Examples:
Reference:
Please refer to the section: Axis Parameters.
| RTN_ERR FNTYPE NMC_AxisSetParamI32 | ( | I32_T | DevID, |
| I32_T | AxisIndex, | ||
| I32_T | ParamNum, | ||
| I32_T | SubIndex, | ||
| I32_T | ParaValueI32 | ||
| ) |
Set the axis parameters (I_32T data type)
| DevID | Device ID (DevID) | |
| AxisIndex | Axis index | |
| ParamNum | Parameter number | |
| SubIndex | Parameter Sub-index | |
| [in] | ParaValueI32 | [Input] Value to be set (siged integer) |
Usage:
Please refer to the section: Axis Parameters. The device will load the configurations in according with the configuration file during starting. The function can be used to set some axis parameters. A suitable function shall be selected depended on the data type of the parameters (I32_T).
Examples:
Reference:
Please refer to the section: Axis Parameters.