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  2016  2017  2018  <20192020  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  2016  2017  2018  <20192020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Ether_ip driver set up help
From: Tyler Lemon via Tech-talk <[email protected]>
To: "Saleh, Ibrahim" <[email protected]>, "[email protected]" <[email protected]>
Date: Thu, 20 Jun 2019 19:44:39 +0000
Hello Ibrahim,

Thank you very much for your help!

It seems the cause of my trouble was the step for the dbd include file. It's all working now.

Best regards,
Tyler

From: Saleh, Ibrahim <[email protected]>
Sent: Thursday, June 20, 2019 3:33 PM
To: Tyler Lemon; [email protected]
Subject: RE: Ether_ip driver set up help
 

Hello Tyler,

 

Find below the answers to your questions.

 

Best regards,

Ibrahim

 

From: [email protected] <[email protected]> On Behalf Of Tyler Lemon via Tech-talk
Sent: Thursday, June 20, 2019 2:48 PM
To: [email protected]
Subject: Ether_ip driver set up help

 

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?

It should be <TOP>

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?

Yes. This should be the path of your ether_ip folder that you download it from GitHub

 

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?

No. You need to modify testApp/src/Makefile by adding the following line:

test_DBD += ether_ip.dbd

 

   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?

Yes. You need to add the following line:

test_LIBS += ether_ip

 

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

 

Best regards,

Tyler Lemon


References:
Ether_ip driver set up help Tyler Lemon via Tech-talk
RE: Ether_ip driver set up help Saleh, Ibrahim via Tech-talk

Navigate by Date:
Prev: RE: Ether_ip driver set up help Saleh, Ibrahim via Tech-talk
Next: Fw: procServ v2.8.0-rc2 available for testing and feedback Hinko Kocevar 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  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Ether_ip driver set up help Saleh, Ibrahim via Tech-talk
Next: New version of modbus module: request for testing Mark Rivers 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  2021  2022  2023  2024 
ANJ, 23 Jun 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·