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  <20132014  2015  2016  2017  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  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: genesys power supply IOC
From: James F Ross <[email protected]>
To: "Allison, Stephanie" <[email protected]>
Cc: EPICS Tech Talk <[email protected]>
Date: Mon, 22 Apr 2013 11:54:43 -0400
Yes, the ioc is soft-iocps and genesys.proto is there along with st.cmd.

Changing the db file from "07G-ECD-BL08" to "GEN8-180-88Z" seems to have solved those errors. 

Right now when I try to run it I get some port connect errors:
"2013/04/22 11:50:37.911 Can't connect to 130.199.60.184:8003: No route to host GEN8-180-88Z -1 autoConnect could not connect"

as well as various variable related errors:
"2013/04/22 11:52:57.158945 scan0.5 GEN8-180-88Z:State lockRequest: pasynManager->queueRequest() failed: port GEN8-180-88Z not connected"

However, I think this is a problem with the power supply itself not being connected as I can't ping it right now.  I'll look into why it isn't connected unless someone knows what else might cause this error (they were installed recently and might have been left disconnected after last access).
Thanks all
James




On Mon, Apr 22, 2013 at 11:43 AM, Allison, Stephanie <[email protected]> wrote:
Hi -

In addition to the bus name in drvAsynIPPortConfigure not matching the one in your database, I wonder if your STREAM_PROTOCOL_PATH is correct.  Is your ioc called "soft-iocps" and does the protocol file reside in that directory?

> I got this IOC after it had been compiled on another machine

Did you recompile it on the machine you are using now (linux-x86)?  Are you using RHEL6 32 bit or something else?

Stephanie

> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf
> Of James F Ross
> Sent: Monday, April 22, 2013 8:21 AM
> To: Mark Rivers
> Cc: EPICS Tech Talk
> Subject: Re: genesys power supply IOC
>
> I believe it uses TCP (it communicates via an ethernet connection).  Below is my start up
> script.  I got this IOC after it had been compiled on another machine, so it is quite possible
> I missed changing something.
>
>
> #!../../bin/linux-x86/genesys
>
> cd ../..
>
> dbLoadDatabase("dbd/genesys.dbd")
> genesys_registerRecordDeviceDriver(pdbbase)
>
> ## Location of stream protocol files
> epicsEnvSet "STREAM_PROTOCOL_PATH", "iocBoot/soft-iocps/"
>
> dbLoadRecords("db/genesysPSAll.db")
>
> drvAsynIPPortConfigure("GEN8-180-88Z", "130.199.60.184:8003",0,0,0)
>
>
> iocInit()
>
> # Start sequences
> seq(&psControl,"ps=GEN8-180-88Z")
>
>
> I know the IP is right for the drvAsynIPPortConfigure, but I don't know if 8003 is correct.
>
> Thank you
>
> James
>
>
>
>
> On Mon, Apr 22, 2013 at 11:05 AM, Mark Rivers <[email protected]> wrote:
>
>
>       Can you explain the interface to the power supply?  It is serial, TCP, etc.
>
>       How have you configured the asyn port?
>
>       Can you send your startup script?
>
>       Mark
>
>       ________________________________
>       From: [email protected] [[email protected]] on behalf
> of James F Ross [[email protected]]
>       Sent: Monday, April 22, 2013 9:45 AM
>       To: EPICS Tech Talk
>
>       Subject: genesys power supply IOC
>
>
>       Hello all,
>       I'm trying to set up an IOC for a genesys power supply.  It compiles, but when I try
> to run st.cmd I get the following errors (showing up in red after iocInit):
>
>       2013/04/22 09:37:58.974089 _main_ Businterface '07G-ECD-BL08' not found for
> '07G-ECD-BL08:Curr'
>       2013/04/22 09:37:58.974603 _main_ 07G-ECD-BL08:Curr: Can't attach to bus
> 07G-ECD-BL08 -1
>       2013/04/22 09:37:58.974715 _main_ 07G-ECD-BL08:Curr: Record initialization
> failed
>       Segmentation fault
>
>       I'm using asyn version 4.21, StreamDevice version 2.6, epics 3.14.12.1, and
> sequencer 2.0.12.
>
>       From what I've been able to find, this seems to be a problem between
> StreamDevice and asyn.  I originally had aysn 4.13 before getting 4.21 and trying that.
> Neither solved the issue though.  Anyone have any experience with this kind of issue?
>       Thanks!
>       James
>
>



References:
genesys power supply IOC James F Ross
RE: genesys power supply IOC Mark Rivers
Re: genesys power supply IOC James F Ross
RE: genesys power supply IOC Allison, Stephanie

Navigate by Date:
Prev: RE: genesys power supply IOC Allison, Stephanie
Next: Re: genesys power supply IOC Jiro Fujita
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: genesys power supply IOC Allison, Stephanie
Next: RE: genesys power supply IOC Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·