Implemented changing speed on EL734

Added a test IOCs for EL734
This commit is contained in:
2023-02-17 10:43:51 +01:00
parent 3c9932dc18
commit d706915a46
10 changed files with 155 additions and 1 deletions

View File

@@ -270,6 +270,12 @@ asynStatus EL734Axis::move(double position, int relative, double minVelocity, do
errlogPrintf("minVelocity = %f, maxVelocity = %f\n", minVelocity, maxVelocity);
/*
* set speed
*/
sprintf(command, "J %d %d", axisNo_, (int)maxVelocity);
status = pC_->transactController(axisNo_, command, reply);
if (relative) {
position += this->position;
}