NexMotion  1.4.0
Open Robots & Machines [WIP]
Axis_State

State definition of axis. More...

Macros

#define NMC_AXIS_STATE_DISABLE   (0)
 Disable: The servo is OFF. More...
 
#define NMC_AXIS_STATE_STAND_STILL   (1)
 Enable: The servo is stand still. More...
 
#define NMC_AXIS_STATE_HOMING   (2)
 Executing the Homing motion. More...
 
#define NMC_AXIS_STATE_DISCRETE_MOTION   (3)
 Executing the point-to-point motion. More...
 
#define NMC_AXIS_STATE_CONTINUOUS_MOTION   (4)
 Executing the continuous motion. More...
 
#define NMC_AXIS_STATE_STOPPING   (5)
 Receiving the Stop command and slowing down to stop. More...
 
#define NMC_AXIS_STATE_STOPPED   (6)
 Receiving the Stop command and stopped. More...
 
#define NMC_AXIS_STATE_WAIT_SYNC   (7)
 Receiving the Wait command and waiting for SYNC signal. More...
 
#define NMC_AXIS_STATE_GROUP_MOTION   (8)
 
#define NMC_AXIS_STATE_ERROR   (10)
 Stop for error. More...
 

Detailed Description

State definition of axis.

The axis state is read via NMC_AxisGetState(). The variable represents the meanings as following.

Todo:
Add the description for NMC_AXIS_STATE_GROUP_MOTION

Macro Definition Documentation

#define NMC_AXIS_STATE_CONTINUOUS_MOTION   (4)

Executing the continuous motion.

#define NMC_AXIS_STATE_DISABLE   (0)

Disable: The servo is OFF.

#define NMC_AXIS_STATE_DISCRETE_MOTION   (3)

Executing the point-to-point motion.

#define NMC_AXIS_STATE_ERROR   (10)

Stop for error.

#define NMC_AXIS_STATE_HOMING   (2)

Executing the Homing motion.

#define NMC_AXIS_STATE_STAND_STILL   (1)

Enable: The servo is stand still.

#define NMC_AXIS_STATE_STOPPED   (6)

Receiving the Stop command and stopped.

#define NMC_AXIS_STATE_STOPPING   (5)

Receiving the Stop command and slowing down to stop.

#define NMC_AXIS_STATE_WAIT_SYNC   (7)

Receiving the Wait command and waiting for SYNC signal.