Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1d662ecd43 | |||
| bea68c807b | |||
| 01a04d3b24 |
Submodule sinqMotor updated: e234d05815...95bc899114
@@ -218,7 +218,7 @@ asynStatus turboPmacAxis::init() {
|
||||
// here to mm/s^2.
|
||||
motorAccel = motorAccel * 1000;
|
||||
|
||||
if (nvals != 8) {
|
||||
if (nvals != 7) {
|
||||
return pC_->couldNotParseResponse(command, response, axisNo_,
|
||||
__PRETTY_FUNCTION__, __LINE__);
|
||||
}
|
||||
@@ -582,8 +582,10 @@ asynStatus turboPmacAxis::doPoll(bool *moving) {
|
||||
getAxisParamChecked(this, limFromHardware, &limFromHardware);
|
||||
|
||||
if (limFromHardware != 0) {
|
||||
setAxisParamChecked(this, motorHighLimitFromDriver, highLimit);
|
||||
setAxisParamChecked(this, motorLowLimitFromDriver, lowLimit);
|
||||
status = setLimits(highLimit, lowLimit);
|
||||
if (status != asynSuccess) {
|
||||
return status;
|
||||
}
|
||||
}
|
||||
|
||||
status = setMotorPosition(currentPosition);
|
||||
|
||||
Reference in New Issue
Block a user