NexMotion  1.4.0
Open Robots & Machines [WIP]
Device_Motion_Termination

Halt and Stop Functions for All Axes and Groups. More...

Collaboration diagram for Device_Motion_Termination:

Functions

RTN_ERR FNTYPE NMC_DeviceHaltAll (I32_T DevID)
 Holt all axes and groups in the system (Stand still state). More...
 
RTN_ERR FNTYPE NMC_DeviceStopAll (I32_T DevID)
 Stop all axes and groups in the system (Stopped state). More...
 

Detailed Description

Halt and Stop Functions for All Axes and Groups.

Function Documentation

RTN_ERR FNTYPE NMC_DeviceHaltAll ( I32_T  DevID)

Holt all axes and groups in the system (Stand still state).

Parameters
DevIDDevice ID (DevID)
Returns
Return an error code.
If the function is called successfully, the return value is ERR_NEXMOTION_SUCCESS (0). Otherwise, the return value is an error code. All error codes are defined in the header file, NexMotionError.h.

Usage:
The function can be called after the device is started. After the function is called, all axes and groups will be halted. The halt procedure will halt all axes and then all groups in order. The procedure will stop for any failure and return the error immediately.

Reference:

RTN_ERR FNTYPE NMC_DeviceStopAll ( I32_T  DevID)

Stop all axes and groups in the system (Stopped state).

Parameters
DevIDDevice ID (DevID)
Returns
Return an error code.
If the function is called successfully, the return value is ERR_NEXMOTION_SUCCESS (0). Otherwise, the return value is an error code. All error codes are defined in the header file, NexMotionError.h.

Usage:
The function can be called after the device is started. After the function is called, all axes and groups will be stopped. The stop procedure will stop all axes and then all groups in order. The procedure will stop for any failure and return the error immediately.

Reference: