Experimental Physics and
| |||||||||||||||||
|
Hi Torsten,
I do have the most current motorsim motor. The simulated individual arm "motors" are using the motorsim module (DTYP=asynMotor), but I have the gap and center "motors" (with DTYP=Soft Channel using RDBL/DINP/etc) that are used to control the individual motors via a network of calc records.
The longer story is that our goal is to eventually plug this IOC into a real pair of slit arms. The arms are designed in a way that does not prevent collisions, so we are using the gap/center controls to prevent damage to the slit arms. I originally had
the center/gap controls as simple ao records, but it was desired that if the motors stopped (via STOP field or limit switch) that the set points update (copying the readback to the setpoint, similar to what the SYNC field does). I had tried to use auxilary
records to sync these up, but I often ended with a infinite loop of write to set point -> motor tries to move -> limit switch is hit -> update set-point -> motor tries to move -> etc. This is why I
decided to try to use virtual motors.
From: Torsten Bögershausen <Torsten.Bogershausen at ess.eu>
Sent: Tuesday, November 28, 2023 10:41:14 AM To: Nariyoshi, Pedro; Kevin Peterson; tech-talk at aps.anl.gov Subject: Re: Simulated limit switches on motorSim motor [EXTERNAL] This email originated from outside of FRIB
Hej Pedro, That depends. There may be an easy way to do what you want – on the driver level. Are you using a model 3 driver ? From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of "Nariyoshi, Pedro via Tech-talk" <tech-talk at aps.anl.gov> Hi Kevin, I figured I could try to remove the SPC_NOMOD from the dbd (and a bo/calcout record to write to it), but it feels too hackish. What I was really trying to figure out is if there was a field I could put a link in
to set the limit switch fields (similar to RDBL/DINP/etc). From: Kevin Peterson <kmpeters at anl.gov> [EXTERNAL] This email originated from outside of FRIB
| ||||||||||||||||
ANJ, 28 Nov 2023 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |