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.