Hi Li Xing,
All of the model 3 drivers use the same device support. It is in motorApp/MotorSrc/devMotorAsyn.c.
There are several examples of motor.substitutions files in motor/iocBoot/iocWithAsyn. This is motor.substitutions.xps5. Note that it uses DTYP "asynMotor" and the addressing information is PORT and ADDR.
file "$(TOP)/db/basic_asyn_motor.db"
{
pattern
{P, N, M, DTYP, PORT, ADDR, DESC, EGU, DIR, VELO, VBAS, ACCL, BDST, BVEL, BACC, MRES, PREC, DHLM, DLLM, INIT}
{IOC:, 1, "m$(N)", "asynMotor", XPS1, 0, "Phi", degrees, Neg, 4.0, 0.1, .25, 0, 1, .2, .001, 3, 180, -180, ""}
{IOC:, 2, "m$(N)", "asynMotor", XPS1, 1, "Kappa", degrees, Neg, 6.0, 0.1, .88, 0, 1, .2, .0001, 4, 180, -180, ""}
{IOC:, 3, "m$(N)", "asynMotor", XPS1, 2, "Omega", degrees, Neg, 7.0, 0.1, 1.5, 0, 1, .2, .0001, 4, 360, -180, ""}
{IOC:, 4, "m$(N)", "asynMotor", XPS1, 3, "Psi", degrees, Neg, 4.0, 0.1, .5, 0, 1, .2, .00025, 4, 190, -190, ""}
{IOC:, 5, "m$(N)", "asynMotor", XPS1, 4, "2theta", degrees, Neg, 4.0, 0.1, 1.0, 0, 1, .2, .0001, 4, 196, -17, ""}
{IOC:, 6, "m$(N)", "asynMotor", XPS1, 5, "Nu", degrees, Neg, 4.0, 0.1, .5, 0, 1, .2, .00025, 4, 190, -190, ""}
{IOC:, 7, "m$(N)", "asynMotor", XPS1, 6, "Dummy1", degrees, Neg, 4.0, 0.1, .5, 0, 1, .2, .00025, 4, 190, -190, ""}
{IOC:, 8, "m$(N)", "asynMotor", XPS1, 7, "Dummy2", degrees, Neg, 4.0, 0.1, .5, 0, 1, .2, .00025, 4, 190, -190, ""}
}
Mark
________________________________
From: [email protected] <[email protected]> on behalf of l123173 <[email protected]>
Sent: Monday, March 12, 2018 4:18 AM
To: tech-talk
Subject: no device support in ACRScr motor
Hi all ,
I have a question about device support.
I checked the motor module, the ACRSrc was different from others, such as PiSrc.
PiSrc has device support, but ACRSrc not, only ACRMotorDriver.cpp and ACRMotorDriver.h.
Even if ACRSrc was version 3 mode, it should still have the device support, I wonder where is the device support.
Could someone help me, please.
Regards,
Li xing
- References:
- no device support in ACRScr motor l123173
- Navigate by Date:
- Prev:
RE: Mako G-234B (6408) - Prosilica Area Detector question tom.cobb
- Next:
Re: Recipe for creating a new record Mark Rivers
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
<2018>
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
no device support in ACRScr motor l123173
- Next:
problem building 3.15.5 Maren Purves
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
<2018>
2019
2020
2021
2022
2023
2024
|