The existing driver does support the 8743 closed-loop picomotor controller. However, it does not support closed-loop mode.
It looks like it should be easy to implement.
You need to add this function:
asynStatus nf874xAxis::setClosedLoop(bool closedLoop)
{
asynStatus status;
sprintf(pC_->outString_, "%s MM %d", axisName_, closedLoop ? 0 : 1);
status = pC_->writeController();
return status;
}
You might also want to add controller-specific parameters to control these:
CL Closed loop update interval
DB Deadband
FE Following error
These would be implemented in the writeInt32 and writeFloat64 methods.
Mark
From: [email protected] [mailto:[email protected]] On Behalf Of Jemian, Pete R.
Sent: Thursday, May 12, 2016 3:32 PM
To: Siddons, David P.; EPICS
Subject: RE: Model 8743 Closed-Loop Picomotor,Controller / Driver
https://github.com/epics-modules/motor/blob/master/motorApp/NewFocusSrc/874xMotorDriver.cpp
Looks like that is a TODO item
Sent via the Samsung Galaxy Note® 4, an AT&T 4G LTE smartphone
-------- Original message --------
From: D Peter Siddons <[email protected]>
Date: 5/12/2016 4:28 PM (GMT-05:00)
To: EPICS <[email protected]>
Subject: Model 8743 Closed-Loop Picomotor,Controller / Driver
Hi Tech talkers,
Does the motor record support the 8743 closed-loop Picomotor controller?
Pete.
--
D. Peter Siddons
Detector Development Group Leader
Bldg. 535B
Photon Sciences Directorate,
Brookhaven National Laboratory
Upton, NY 11973
email: [email protected]
Phone: (631) 344-2738