forked from epics_driver_modules/motorBase
Uncommented lines that zeroed the command register before a move (required for every move after the first after power-on to succeed)
This commit is contained in:
1 parent
2c269bb69f
commit
fae911bc35
1 file changed
+2
-2
@@ -503,7 +503,7 @@ asynStatus ANF2Axis::move(double position, int relative, double minVelocity, dou
|
||||
//status = pC_->writeReg32(axisNo_, POS_WR_UPR, distance, DEFAULT_CONTROLLER_TIMEOUT);
|
||||
|
||||
move_bit = 0x0;
|
||||
//status = pC_->writeReg16(axisNo_, CMD_MSW, move_bit, DEFAULT_CONTROLLER_TIMEOUT);
|
||||
status = pC_->writeReg16(axisNo_, CMD_MSW, move_bit, DEFAULT_CONTROLLER_TIMEOUT);
|
||||
|
||||
move_bit = 0x2;
|
||||
//status = pC_->writeReg16(axisNo_, CMD_MSW, move_bit, DEFAULT_CONTROLLER_TIMEOUT);
|
||||
@@ -521,7 +521,7 @@ asynStatus ANF2Axis::move(double position, int relative, double minVelocity, dou
|
||||
//status = pC_->writeReg32(axisNo_, POS_WR_UPR, distance, DEFAULT_CONTROLLER_TIMEOUT);
|
||||
|
||||
move_bit = 0x0;
|
||||
//status = pC_->writeReg16(axisNo_, CMD_MSW, move_bit, DEFAULT_CONTROLLER_TIMEOUT);
|
||||
status = pC_->writeReg16(axisNo_, CMD_MSW, move_bit, DEFAULT_CONTROLLER_TIMEOUT);
|
||||
|
||||
move_bit = 0x1;
|
||||
//status = pC_->writeReg16(axisNo_, CMD_MSW, move_bit, DEFAULT_CONTROLLER_TIMEOUT);
|
||||
|
||||
Reference in new issue
Block a user