MPIAxisMaster

Definition

          typedef struct MPIAxisMaster {
              MPIAxisMasterType   type;
              int32_t                number;
              double              *address;
              int32_t                feedbackFaultMotorNumber;
          } MPIAxisMaster;

Change History: Modified in 04.00.

Description

MPIAxisMaster defines the source of the position and velocities used as the master for cam motion. See also Master Position Source.

The type field specifies if the number or address fields are used and which object the number field refers to:

MPIMasterType
Number
Address
MPIAxisMasterTypeMOTOR_FEEDBACK_PRIMARY motor number Not used
MPIAxisMasterTypeMOTOR_FEEDBACK_SECONDARY motor number Not used
MPIAxisMasterTypeAXIS_COMMANDED_POSITION Axis number Not used
MPIAxisMasterTypeAXIS_ACTUAL_POSITION Axis number Not used
MPIAxisMasterTypeADDRESS Not used Any controller address
MPIAxisMasterTypeNONE Not used Not used

type This field defines the type of master position source is being used.
number the motor or axis number.
address The controller address to be used as the master position.
feedbackFaultMotorNumber The number of the motor that is checked for an encoder fault. If this motor detects an encoder fault this axis will abort. A value of -1 disables this encoder fault function. See Master Encoder Faults.

See Also

MPIAxisMasterType