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: Error database DTYP
From: Carsten Winkler <[email protected]>
To: <[email protected]>, <[email protected]>
Cc: [email protected]
Date: Mon, 25 Nov 2013 13:22:32 +0100
Hi Antonio,

EPICS_CA_AUTO_ADDR_LIST and EPICS_CA_ADDR_LIST are environment variables and will be used by every channel access component at same computer. In your case, you need it for your Linux clients only. A good documentation you can find here: http://www.aps.anl.gov/epics/docs/AES2011/05-Protocol.pdf
BTW did you notice your typo in EPICS_CA_ADDR_LIST?

Regards
Carsten

Am 25.11.2013 13:08, schrieb Antonio Borondo:
> Hi Carsten,
>
> Great to know that! Now I have a clearly idea of how I have to deploy the network.
>
> But my problems has not finished yet: I get the next error message when I am executing camonitor within the MicroBox:
>
> SAI:STATUS                     *** Not connected (PV not found)
> CA.Client.Exception...............................................
>     Warning: "Identical process variable names on multiple servers"
>     Context: "Channel: "SAI:STATUS", Connecting to: 192.168.20.2:5064, Ignored:
> IFMIFMICROBOX:5064"
>     Source File: ..\cac.cpp line 1297
>     Current Time: Mon Nov 25 2013 13:50:02.666748232
> SAI:STATUS                     2013-11-25 13:50:02.378366
> ..................................................................
>
> My MicroBox has two network interfaces: the first one connected to the PLC (192.168.29.2) and the second one connected to the linux PC (172.31.110.199).
>
> I have read the same problem by the Internet and people suggest setting the variables EPICS_CA_AUTO_ADDR_LIST=NO and ECPIS_CA_ADDR_LIST=<Broadcast address> but I do not know if it is possible in OpcIocShell.
>
> Could you help me with that?
>
> Thank you very much,
>
> Antonio Borondo
>
> -----Mensaje original-----
> De: Carsten Winkler [mailto:[email protected]]
> Enviado el: lunes, 25 de noviembre de 2013 12:52
> Para: [email protected]; [email protected]
> Asunto: Re: Error database DTYP
>
> Hi Antonio,
>
> you need only one soft IOC (the one at the MicroBox). In your case you have to run the OpcIocShell to have an interface between OPC and EPICS.
> At Linux you only need channel access clients as caget, camonitor or higher level clients. A standard soft IOC doesn't support the DTYP "OPC". This is a special feature of the OpcIocShell.
>
> Hope this resolves your problem
> Carsten Winkler
>
>
> Am 25.11.2013 11:46, schrieb Antonio Borondo:
>> Hi all,
>>
>>
>>
>> I am trying to deploy an EPICS network between a linux PC, a MicroBox
>> with OPC Server and a Siemens PLC.
>>
>>
>>
>> The MicroBox basically gets the registers from the PLC, stores them
>> into OPC Server database and after puts them into EPICS database using OpcIocShell.
>>
>>
>>
>> On the linux PC side I have developed the EPICS IOC which loads the
>> same data base.
>>
>>
>>
>> My problem comes when I start my IOC and I get the next error message
>> for each PV of the data base:
>>
>>
>>
>> Can't set "<PV NAME>.DTYP" to "opc"
>>
>> Error at or before ")" in path "." file "opc.db" line x"
>>
>>
>>
>> Any ideas about how to resolve it?
>>
>>
>>
>> Thank you very much,
>>
>>
>>
>> Antonio Borondo
>>
>>
>
> ________________________________
>
> Helmholtz-Zentrum Berlin für Materialien und Energie GmbH
>
> Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V.
>
> Aufsichtsrat: Vorsitzender Prof. Dr. Dr. h.c. mult. Joachim Treusch, stv. Vorsitzende Dr. Beatrix Vierkorn-Rudolph
> Geschäftsführung: Prof. Dr. Anke Rita Kaysser-Pyzalla, Thomas Frederking
>
> Sitz Berlin, AG Charlottenburg, 89 HRB 5583
>
> Postadresse:
> Hahn-Meitner-Platz 1
> D-14109 Berlin
>
> http://www.helmholtz-berlin.de
>


________________________________

Helmholtz-Zentrum Berlin für Materialien und Energie GmbH

Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V.

Aufsichtsrat: Vorsitzender Prof. Dr. Dr. h.c. mult. Joachim Treusch, stv. Vorsitzende Dr. Beatrix Vierkorn-Rudolph
Geschäftsführung: Prof. Dr. Anke Rita Kaysser-Pyzalla, Thomas Frederking

Sitz Berlin, AG Charlottenburg, 89 HRB 5583

Postadresse:
Hahn-Meitner-Platz 1
D-14109 Berlin

http://www.helmholtz-berlin.de


Replies:
RE: Error database DTYP Antonio Borondo
References:
Error database DTYP Antonio Borondo
Re: Error database DTYP Carsten Winkler
RE: Error database DTYP Antonio Borondo

Navigate by Date:
Prev: RE: Error database DTYP Antonio Borondo
Next: RE: Error database DTYP Antonio Borondo
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: Error database DTYP Antonio Borondo
Next: RE: Error database DTYP Antonio Borondo
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 ·