NexMotion  1.4.0
Open Robots & Machines [WIP]
Axis_Status

Status bit number definition of axis The axis status is read via NMC_AxisGetStatus(). More...

Macros

#define NMC_AXIS_STATUS_EMG   (0)
 A latched signal is issued at the EMG signal (*1). More...
 
#define NMC_AXIS_STATUS_ALM   (1)
 A latched signal is issued at the servo Alarm (*1). More...
 
#define NMC_AXIS_STATUS_PEL   (2)
 A latched signal is issued at the positive limit signal (*1). More...
 
#define NMC_AXIS_STATUS_NEL   (3)
 A latched signal is issued at the negative limit signal (*1). More...
 
#define NMC_AXIS_STATUS_PSEL   (4)
 A latched signal is issued at the software positive limit signal (*1). More...
 
#define NMC_AXIS_STATUS_NSEL   (5)
 A latched signal is issued at the software negitive limit signal (*1). More...
 
#define NMC_AXIS_STATUS_ENA   (6)
 The axis is Enable or Disable. More...
 
#define NMC_AXIS_STATUS_ERR   (7)
 Axis error.
 
#define NMC_AXIS_STATUS_TAR   (8)
 The axis has reached the target position. More...
 
#define NMC_AXIS_STATUS_CSTP   (9)
 The axis commands to Stop. More...
 
#define NMC_AXIS_STATUS_ACC   (10)
 The axis is operating in acceleration. More...
 
#define NMC_AXIS_STATUS_DEC   (11)
 The axis is operating in decceleration. More...
 
#define NMC_AXIS_STATUS_MV   (12)
 The axis is operating at the maximum velocity. More...
 
#define NMC_AXIS_STATUS_OP   (13)
 The axis is operating. More...
 
#define NMC_AXIS_STATUS_STOP   (14)
 The axis is STOP. More...
 
#define NMC_AXIS_STATUS_RPEL   (16)
 Positive limit signal: 1: Triggered, 0: Not Triggered.
 
#define NMC_AXIS_STATUS_RNEL   (17)
 Negative limit signal: 1: Triggered, 0: Not Triggered.
 
#define NMC_AXIS_STATUS_RHOM   (18)
 Home signal: 1: High level, 0: Low Level.
 

Detailed Description

Status bit number definition of axis The axis status is read via NMC_AxisGetStatus().

Each bit code of the variable represents the meanings Positiveas 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_ACC   (10)

The axis is operating in acceleration.

#define NMC_AXIS_STATUS_ALM   (1)

A latched signal is issued at the servo Alarm (*1).

#define NMC_AXIS_STATUS_CSTP   (9)

The axis commands to Stop.

#define NMC_AXIS_STATUS_DEC   (11)

The axis is operating in decceleration.

#define NMC_AXIS_STATUS_EMG   (0)

A latched signal is issued at the EMG signal (*1).

#define NMC_AXIS_STATUS_ENA   (6)

The axis is Enable or Disable.

#define NMC_AXIS_STATUS_MV   (12)

The axis is operating at the maximum velocity.

#define NMC_AXIS_STATUS_NEL   (3)

A latched signal is issued at the negative limit signal (*1).

#define NMC_AXIS_STATUS_NSEL   (5)

A latched signal is issued at the software negitive limit signal (*1).

#define NMC_AXIS_STATUS_OP   (13)

The axis is operating.

#define NMC_AXIS_STATUS_PEL   (2)

A latched signal is issued at the positive limit signal (*1).

#define NMC_AXIS_STATUS_PSEL   (4)

A latched signal is issued at the software positive limit signal (*1).

#define NMC_AXIS_STATUS_STOP   (14)

The axis is STOP.

#define NMC_AXIS_STATUS_TAR   (8)

The axis has reached the target position.