EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: macro value
From: l123173 <[email protected]>
To: [email protected]
Date: Wed, 31 Aug 2016 21:17:30 +0800 (CST)
Hi all,
      After I started the IOC and 4motor_form.opi ( ${MOTOR}/motorApp/op/opi ) in CSS, the pv contain "$(P)$(M) ,$(P)$(M1), $(P)$(M2)" all disconnetcted.
      But IOC start up successfully.  And when I changed the pv name to IOC:m2, it connected.
      why does other contain $(P)$(M) disconnected.
     
dbl list was like these:
epics> dbl
IOC:4
IOC:m2
IOC:m3
IOC:m4
KOZ:m1
*******
the st.cmd file was ( part of st.cmd file):

dbLoadDatabase("$(TOP)/dbd/WithAsyn.dbd")
WithAsyn_registerRecordDeviceDriver(pdbbase)

dbLoadTemplate("motor.substitutions")
drvAsynSerialPortConfigure("serial","/dev/ttyS0",0,0,0)
...
******
and the motor.substitutions was:

file "$(MOTOR)/db/basic_motor.db"
{
pattern
{P,     N,  M,        DTYP,      C,  S,  DESC,          EGU,      DIR,  VELO,  VBAS,  ACCL,  BDST,  BVEL,  BACC,  MRES,  PREC,  DHLM,  DLLM,  INIT}
{IOC:,  1,  "m$(N)",  "SC-800",  0,  0,  "motor $(N)",  mm,  Pos,  1,     .1,    .2,    0,     1,     .2,    0.01,  5,     100,   -100,  ""}
{IOC:,  2,  "m$(N)",  "SC-800",  0,  1,  "motor $(N)",  degrees,  Pos,  1,     .1,    .2,    0,     1,     .2,    0.01,  5,     100,   -100,  ""}
{IOC:,  3,  "m$(N)",  "SC-800",  0,  2,  "motor $(N)",  degrees,  Pos,  1,     .1,    .2,    0,     1,     .2,    0.01,  5,     100,   -100,  ""}
{IOC:,  4,  "m$(N)",  "SC-800",  0,  3,  "motor $(N)",  degrees,  Pos,  1,     .1,    .2,    0,     1,     .2,    0.01,  5,     100,   -100,  ""}
}


Thanks,
Li xing


 


Replies:
RE: macro value Mooney, Tim M.

Navigate by Date:
Prev: EDM build errors S. Banerian
Next: RE: macro value Mooney, Tim M.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: EDM build errors S. Banerian
Next: RE: macro value Mooney, Tim M.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 31 Aug 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·