Implemented changing speed on EL734
Added a test IOCs for EL734
This commit is contained in:
@ -4,6 +4,7 @@ record(motor,"$(P)$(M)")
|
||||
field(DTYP,"$(DTYP)")
|
||||
field(DIR,"$(DIR)")
|
||||
field(VELO,"$(VELO)")
|
||||
field(VMAX,"$(VMAX=0)")
|
||||
field(VBAS,"$(VBAS)")
|
||||
field(ACCL,"$(ACCL)")
|
||||
field(BDST,"$(BDST)")
|
||||
|
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user