MPICommandMotion

Definition

typedef enum {
  MPICommandMotionINVALID = -1,

  MPICommandMotionABORT,
  MPICommandMotionE_STOP,
  MPICommandMotionE_STOP_MODIFY,
  MPICommandMotionE_STOP_ABORT,
  MPICommandMotionE_STOP_CMD_EQ_ACT,
  MPICommandMotionMODIFY,
  MPICommandMotionRESET,
  MPICommandMotionRESUME,
  MPICommandMotionSTART,
  MPICommandMotionSTOP,

  MPICommandMotionE,
  MPICommandMotionFIRST = MPICommandMotionINVALID + 1
} MPICommandMotion;

Change History: Modified in the 03.03.00

Description

MPICommandMotion is an enumeration of motion specific controller commands that can be used in a program sequence. It specifies a single motion action for the controller to execute. The CommandMotion also defines the command parameters that must be passed to mpiCommandCreate. For MPICommandMotion, there is a corresponding motion{...} structure in the MPICommandParams structure.

MPICommandMotionABORT
Commands an Abort action on the motion supervisor associated with the motion object. See mpiMotionAction(...), MPIActionABORT for details.
MPICommandMotionE_STOP
Commands an E-Stop action on the motion supervisor associated with the motion object. See mpiMotionAction(...), MPIActionE_STOP for details.
MPICommandMotionE_STOP_MODIFY Commands an E-Stop Modify action on the motion supervisor associated with the motion object. See mpiMotionAction(...), MPIActionE_STOP_MODIFY for details.
MPICommandMotionE_STOP_ABORT Commands an E-Stop, then Abort action on the motion supervisor associated with the motion object. See mpiMotionAction(...), MPIActionE_STOP_ABORT for details.
MPICommandMotionE_STOP_CMD_EQ_ACT Commands an E-Stop (command position = actual position) action on the motion supervisor associated with the motion object. See mpiMotionAction(...), MPIActionE_STOP_CMD_EQ_ACT for details.
MPICommandMotionMODIFY Commands a Motion Modify on the motion supervisor associated with the motion object. Make sure to specify the MPIMotionType in the MPICommandParams{...} structure.
MPICommandMotionRESET Commands a Reset action on the motion supervisor associated with the motion object. See mpiMotionAction(...), MPIActionRESET for details.
MPICommandMotionRESUME Commands a Resume action on the motion supervisor associated with the motion object. See mpiMotionAction(...), MPIActionRESUME for details.
MPICommandMotionSTART Commands a Motion Start on the motion supervisor associated with the motion object. Make sure to specify the MPIMotionType in the MPICommandParams{...} structure.
MPICommandMotionSTOP Commands a Stop action on the motion supervisor associated with the motion object. See mpiMotionAction(...), MPIActionSTOP for details.

See Also

MPICommand | MPICommandParams