![]() |
NexMotion
1.4.0
Open Robots & Machines [WIP]
|
Group Halt and Stop Functions. More...
![]() |
Functions | |
RTN_ERR FNTYPE | NMC_GroupHalt (I32_T DevID, I32_T GroupIndex) |
Halt a group (Stand still state). More... | |
RTN_ERR FNTYPE | NMC_GroupStop (I32_T DevID, I32_T GroupIndex) |
Stop a group (Stop state). More... | |
RTN_ERR FNTYPE | NMC_GroupHaltAll (I32_T DevID) |
Halt all groups (Stand still state). More... | |
RTN_ERR FNTYPE | NMC_GroupStopAll (I32_T DevID) |
Stop all groups (Stop state). More... | |
Group Halt and Stop Functions.
Halt a group (Stand still state).
The API will decrease the velocity for each type of motion, and the group state will transfer from GROUP_MOVING to GROUP_STOPPING during the velocity decreasing, and to the GROUP_STAND_STILL when the velocity is 0. The API shall specify the motion stop in accompanying the buffer mode. If the buffer mode is aborting, the current motion will decrease the velocity immediately. If the buffer mode is buffered, the API will be added into the motion buffer and will not be effective immediately.
DevID | Device ID (DevID) |
GroupIndex | Group Index |
Usage:
Examples:
Reference:
NMC_GroupGetState()
Halt all groups (Stand still state).
The API will decrease the velocity for each type of motion, and the group state will transfer from GROUP_MOVING to GROUP_STOPPING during the velocity decreasing, and to the GROUP_STAND_STILL when the velocity is 0. The API shall specify the motion stop in accompanying the buffer mode. If the buffer mode is aborting, the current moti on will decrease the velocity immediately. If the buffer mode is buffered, the API will be added into the motion buffer and will not be effective immediately.
DevID | Device ID (DevID) |
Usage:
Examples:
Reference:
NMC_GroupGetState()
Stop a group (Stop state).
The API will decrease the velocity for each type of motion, and the group state will transfer from GROUP_MOVING to GROUP_ST OPPING during the velocity decreasing, and to the GROUP_STAND_STOPPED when the velocity is 0. To execute a new motion, NMC_GroupResetState() shall be called to reset the group state GROUP_STOPPED.
DevID | Device ID (DevID) |
GroupIndex | Group Index |
Usage:
Examples:
Reference:
NMC_GroupGetState()
Stop all groups (Stop state).
The API will decrease the velocity for each type of motion, and the group state will transfer from GROUP_MOVING to GROUP_STOPPING during the velocity decreasing, and to the GROUP_STAND_S TOPPED when the velocity is 0. To execute a new motion, NMC_GroupResetState() shall be called to reset the group state GROUP_STOPPED.
DevID | Device ID (DevID) |
Usage:
Examples:
Reference:
NMC_GroupGetState()