NexMotion  1.4.0
Open Robots & Machines [WIP]
Device_Enable_Disable

Enable and Disable Functions for All Axes and Groups. More...

Collaboration diagram for Device_Enable_Disable:

Functions

RTN_ERR FNTYPE NMC_DeviceResetStateAll (I32_T DevID)
 
RTN_ERR FNTYPE NMC_DeviceEnableAll (I32_T DevID)
 Enable all axes and groups in the system. More...
 
RTN_ERR FNTYPE NMC_DeviceDisableAll (I32_T DevID)
 Disable all axes and groups in the system. More...
 

Detailed Description

Enable and Disable Functions for All Axes and Groups.

Todo:
Add description for NMC_DeviceResetStateAll (empty in official pdf manual).

Function Documentation

RTN_ERR FNTYPE NMC_DeviceDisableAll ( I32_T  DevID)

Disable all axes and groups in the system.

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 disabled (servo off). The stop procedure will disable 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_DeviceEnableAll ( I32_T  DevID)

Enable all axes and groups in the system.

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 enabled (servo on). The start procedure will enable all axes and then all groups in order. The procedure will stop for any failure and return the error immediately.

Reference: