Find below the answers to your questions.
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.
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?
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
in the configure directory.
3. Set up the dbd include file in your src directory to include ether_ip.dbd by adding the line
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:
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!