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  2019  2020  2021  2022  <20232024  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  2019  2020  2021  2022  <20232024 
<== Date ==> <== Thread ==>

Subject: Beckhoff ADS to EPICS
From: Lesley via Tech-talk <tech-talk at aps.anl.gov>
To: tech-talk at aps.anl.gov
Date: Fri, 24 Nov 2023 14:49:40 +0800 (CST)
Hello!
I previously used the EPICS Module to communicate with TwinCAT controllers over ADS protocol (https://github.com/EuropeanSpallationSource/epics-twincat-ads). The programme runs correctly.
  When I switched to another Beckhoff PLC, I then used BeckhoffADS module (https://github.com/EuropeanSpallationSource/epics-twincat-ads/BeckhoffADS)to test the connected PLC as follows:

# Authorise my ADS client for the TwinCAT target by adding an AMS route.
# Switching directories
cd example/

# build
make

# and run the example
make test

The following error occurs:
[newuser@localhost example]$ make test
./example.bin
2023-11-24T19:33:57+0800 Info: Connected to 192.168.3.10 
Running step 1
2023-11-24T19:33:57+0800 Error: read frame failed with error: 104
2023-11-24T19:33:57+0800 Info:connection closed by remote 
Add device port: 0x851
Add device notification failed with: 1861 
Running step 2
notificationByNameExample(): 
make: *** [test] Broken pipe

What can I do to fix this?Thank you for your time.

Replies:
Re: Beckhoff ADS to EPICS Torsten Bögershausen via Tech-talk

Navigate by Date:
Prev: Re: "duty cycle" records Ralph Lange via Tech-talk
Next: SoftIoc with Warning: Unable to clear IP_MULTICAST_ALL on Ubunto on WSL Carsten Winkler 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  2019  2020  2021  2022  <20232024 
Navigate by Thread:
Prev: Re: "duty cycle" records Kevin Peterson via Tech-talk
Next: Re: Beckhoff ADS to EPICS Torsten Bögershausen 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  2019  2020  2021  2022  <20232024 
ANJ, 28 Nov 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·