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  2016  2017  2018  <20192020  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  <20192020 
<== Date ==> <== Thread ==>

Subject: Ether_ip driver set up help
From: Tyler Lemon via Tech-talk <tech-talk@aps.anl.gov>
To: "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Thu, 20 Jun 2019 18:47:38 +0000
Hello,

I am trying to set up an IOC with the ether_ip driver to talk to a ControlLogix PLC. I got the most recent release from GitHub and was able to successfully run the example IOC app in the release and follow the steps in the INSTALL file up to part III where I run into problems with what files to modify.

I've followed the appropriate steps to make an IOC using the makeBaseApp.pl executable for my EPICS base. If I do not try to add the ether_ip driver, the IOC app works fine, I can't seem to find the correct files to modify to get the ether_ip driver to load.

For the sake of my questions, this IOC I've made will be called "test". My questions are inline below within Part III of the INSTALL document.

* III. Use of the ether_ip driver in your ioc application
1. Make sure that the driver code has been checked out and built  as described above.  The Make in the config directory depends on the proper directories already existing.
2. Set up ETHER_IP definitions  in the configuration directory for your application by:
2.1. cd  <your ioc application>/configure

>>>> Should <your ioc application> in this step be <TOP> for the IOC or testApp?

2.2. edit the file RELEASE file, add the line
     ETHER_IP=/cs/epics/ADE/R3.14.11/support/ether_ip/<RELEASE>

>>>> I'm guessing I should modify the line above to point to where the ether_ip source files are?

2.3. Make sure the new definitions take effect by
           make clean
           make
     in the configure directory.

3. Set up the  dbd include file in your src directory to include ether_ip.dbd by adding the line
             include "ether_ip.dbd"
 after the line include "../base.dbd".

>> The only place I can find a dbd include file is under testApp/src/O.Common. Is this the one to modify?

   Now that RELEASE file has been edited and config or configure has been rebuilt the Makefile will be able to find ether_ip.dbd when it expands your dbd file.
4. Set up your application to include the object libraries by including the following lines in Makefile:
                   <app>_LIBS += ether_ip
    ether_ip_DIR = $(ETHER_IP_LIB)

>>>> Which Makefile do I modify? The one in testApp/src?

Thanks in advance for any help or advice that can be given!

Best regards,
Tyler Lemon

Replies:
RE: Ether_ip driver set up help Saleh, Ibrahim via Tech-talk

Navigate by Date:
Prev: RE: [AsynDriver] getAddress and callbacks Mark Rivers via Tech-talk
Next: RE: Ether_ip driver set up help Saleh, Ibrahim via Tech-talk
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  <20192020 
Navigate by Thread:
Prev: EPICS driver for Mesytec MCPD-8 zhi.qiu--- via Tech-talk
Next: RE: Ether_ip driver set up help Saleh, Ibrahim via Tech-talk
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  <20192020 
ANJ, 20 Jun 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·