MPIState

MPIState  

 

typedef enum {
    MPIStateINVALID,

    MPIStateINIT,
    MPIStateIDLE,
    MPIStateMOVING,
    MPIStateSTOPPING,
    MPIStateSTOPPING_ERROR,
    MPIStateERROR,
} MPIState;
Description

State enumerations define basic states the motion is in. MPIState resides in the MPIStatus structure. Currently MPIState is only used with motion module.

  MPIStateINIT The of the motion is performing an initialization.
  MPIStateIDLE The state of motion is idle and waiting to resume motion.
  MPIStateMOVING The state of the motion is moving.
  MPIStateSTOPPING The state of the motion is stopping. This occurs from a Stop event, but not an E_Stop, E_Stop Abort, or Abort events.
  MPIStateSTOPPING_ERROR The state of the motion is performing an emergency stop and/or abort on all axes.
  MPIStateERROR The state of the motion is in error. The error state is generated from an E_Stop or Abort event.
     
See Also MPIStatus