DaveCordes
Member
Hi again,
I'm using an FX2 with the Ramp funtion to drive a step-motor driver (via PLSY) and having problems with the motor either not finishing its accel or decel in the expected time or not achieving its required speed.
I'm using a fixed scan period (longer than the measured max D8012) and the Ramp "Hold" mode to maintain speed after acceleration.
Does anyone know how the Ramp function actually deterines the ramp rate?
The instruction is "RAMP S1 S2 D n"
Does it say, divide the range (S2-S1) by n and increment (or decrement) S1 by this ammount on each scan (like the PLSR function).
Or does it do something more sophisticated like apply some non-linearity to the a-d ramp.
Any help appreciated.
I'm using an FX2 with the Ramp funtion to drive a step-motor driver (via PLSY) and having problems with the motor either not finishing its accel or decel in the expected time or not achieving its required speed.
I'm using a fixed scan period (longer than the measured max D8012) and the Ramp "Hold" mode to maintain speed after acceleration.
Does anyone know how the Ramp function actually deterines the ramp rate?
The instruction is "RAMP S1 S2 D n"
Does it say, divide the range (S2-S1) by n and increment (or decrement) S1 by this ammount on each scan (like the PLSR function).
Or does it do something more sophisticated like apply some non-linearity to the a-d ramp.
Any help appreciated.