Removed step frequency limits.

This commit is contained in:
2024-06-21 14:56:48 -05:00
parent 8c053dfa62
commit 37d22e58dd

View File

@@ -155,8 +155,6 @@ asynStatus MD90Axis::sendAccelAndVelocity(double acceleration, double velocity)
// Our unit step size of the encoder is 10 nm, but the motor moves in steps approx. 5 micrometers. // Our unit step size of the encoder is 10 nm, but the motor moves in steps approx. 5 micrometers.
// Motor controller accepts step frequency in Hz. // Motor controller accepts step frequency in Hz.
freq = NINT(fabs(velocity / 500.)); freq = NINT(fabs(velocity / 500.));
if (freq < 5) freq=5;
if (freq > 125) freq = 125;
sprintf(pC_->outString_, "SSF %d", freq); sprintf(pC_->outString_, "SSF %d", freq);
status = pC_->writeReadController(); status = pC_->writeReadController();