MPIMotorStepperPulse

Definition

typedef struct MPIMotorStepperPulse {
    MPIMotorStepperPulseType    type;
    MPI_BOOL                    invert;
} MPIMotorStepperPulse;
Change History: Modified in the 03.03.00

Description

MPIMotorStepperPulse is a structure used to configure Stepper Motor parameters.

To use pulse outputs, you will need to:

  1. Configure the motor type for STEPPER.
  2. See the motor's stepper pulse width. Make sure it meets the drive's requirments and is not smaller than 2x the minimum pulse period.
  3. Enable the motor's stepper loopback if there is no encoder feedback.
  4. Configure the motor's stepper pulseA and pulseB types for STEP, DIR, CW, CCW, QUADA, or QUADB.
  5. Select the motor I/O's config type for pulseA and pulseB. This will route the pulseA/B signals to the node's digital outputs.
type Configures the stepper motor's pulse type. If you attempt to change this value and hardware is not connected, an error message will be returned.
invert If set to TRUE the actual Pulse output will be inverted by the FPGA. If you attempt to change this value and hardware is not connected, an error message will be returned.

See Also

MPIMotorStepper