NexMotion  1.4.0
Open Robots & Machines [WIP]
Axis_Status_Mask

Status bit mask definition of axis. More...

Macros

#define NMC_AXIS_STATUS_MASK_EMG   (0x00000001)
 The mask for a latched signal issued at the EMG signal (*1). More...
 
#define NMC_AXIS_STATUS_MASK_ALM   (0x00000002)
 The mask for a latched signal issued at the servo Alarm (*1). More...
 
#define NMC_AXIS_STATUS_MASK_PEL   (0x00000004)
 The mask for a latched signal issued at the positive limit signal (*1). More...
 
#define NMC_AXIS_STATUS_MASK_NEL   (0x00000008)
 The mask for a latched signal issued at the negative limit signal (*1). More...
 
#define NMC_AXIS_STATUS_MASK_PSEL   (0x00000010)
 The mask for a latched signal issued at the software positive signal (*1). More...
 
#define NMC_AXIS_STATUS_MASK_NSEL   (0x00000020)
 The mask for a latched signal issued at the software negative signal (*1). More...
 
#define NMC_AXIS_STATUS_MASK_ENA   (0x00000040)
 The mask to indicate the axis is Enable or Disable. More...
 
#define NMC_AXIS_STATUS_MASK_ERR   (0x00000080)
 The mask for axis error. More...
 
#define NMC_AXIS_STATUS_MASK_TAR   (0x00000100)
 The mask to indicate the axis has reached the target position. More...
 
#define NMC_AXIS_STATUS_MASK_CSTP   (0x00000200)
 The mask to indicate the axis commands to Stop. More...
 
#define NMC_AXIS_STATUS_MASK_ACC   (0x00000400)
 The mask to indicate the axis is operating in acceleration. More...
 
#define NMC_AXIS_STATUS_MASK_DEC   (0x00000800)
 The mask to indicate the axis is operating in decceleration. More...
 
#define NMC_AXIS_STATUS_MASK_MV   (0x00001000)
 The mask to indicate the axis is operating at the maximum velocity. More...
 
#define NMC_AXIS_STATUS_MASK_OP   (0x00002000)
 The mask to indicate the axis is operating. More...
 
#define NMC_AXIS_STATUS_MASK_STOP   (0x00004000)
 The mask to indicate the axis is STOP. More...
 
#define NMC_AXIS_STATUS_MASK_RPEL   (0x00010000)
 The mask for the positive limit signal: 1:Triggered, 0: Not Triggered. More...
 
#define NMC_AXIS_STATUS_MASK_RNEL   (0x00020000)
 The mask for the negative limit signal: 1:Triggered, 0: Not Triggered. More...
 
#define NMC_AXIS_STATUS_MASK_RHOM   (0x00040000)
 The mask for the home signal: 1: High level, 0: Low level. More...
 

Detailed Description

Status bit mask definition of axis.

The motion status is read via NMC_AxisGetStatus(). Each bit mask of the variable represents the meanings as following.

(*1) After the error state is resolved, the Latched signal will be cleared to 0 after the function NMC_AxisResetState() is called.

Macro Definition Documentation

#define NMC_AXIS_STATUS_MASK_ACC   (0x00000400)

The mask to indicate the axis is operating in acceleration.

#define NMC_AXIS_STATUS_MASK_ALM   (0x00000002)

The mask for a latched signal issued at the servo Alarm (*1).

#define NMC_AXIS_STATUS_MASK_CSTP   (0x00000200)

The mask to indicate the axis commands to Stop.

#define NMC_AXIS_STATUS_MASK_DEC   (0x00000800)

The mask to indicate the axis is operating in decceleration.

#define NMC_AXIS_STATUS_MASK_EMG   (0x00000001)

The mask for a latched signal issued at the EMG signal (*1).

#define NMC_AXIS_STATUS_MASK_ENA   (0x00000040)

The mask to indicate the axis is Enable or Disable.

#define NMC_AXIS_STATUS_MASK_ERR   (0x00000080)

The mask for axis error.

#define NMC_AXIS_STATUS_MASK_MV   (0x00001000)

The mask to indicate the axis is operating at the maximum velocity.

#define NMC_AXIS_STATUS_MASK_NEL   (0x00000008)

The mask for a latched signal issued at the negative limit signal (*1).

#define NMC_AXIS_STATUS_MASK_NSEL   (0x00000020)

The mask for a latched signal issued at the software negative signal (*1).

#define NMC_AXIS_STATUS_MASK_OP   (0x00002000)

The mask to indicate the axis is operating.

#define NMC_AXIS_STATUS_MASK_PEL   (0x00000004)

The mask for a latched signal issued at the positive limit signal (*1).

#define NMC_AXIS_STATUS_MASK_PSEL   (0x00000010)

The mask for a latched signal issued at the software positive signal (*1).

#define NMC_AXIS_STATUS_MASK_RHOM   (0x00040000)

The mask for the home signal: 1: High level, 0: Low level.

#define NMC_AXIS_STATUS_MASK_RNEL   (0x00020000)

The mask for the negative limit signal: 1:Triggered, 0: Not Triggered.

#define NMC_AXIS_STATUS_MASK_RPEL   (0x00010000)

The mask for the positive limit signal: 1:Triggered, 0: Not Triggered.

#define NMC_AXIS_STATUS_MASK_STOP   (0x00004000)

The mask to indicate the axis is STOP.

#define NMC_AXIS_STATUS_MASK_TAR   (0x00000100)

The mask to indicate the axis has reached the target position.