Comments (7)
Hello, thanks for the feedback!
The AmsNetId 5.77.xxx and port 851 are correct ones. The others would be if you wanted to connect directly to the I/O EtherCAT device.
As you are using Linux PC without any TwinCAT router, you need to create the route manually. As default the library is trying to connect to local router which would pass the messages to the PLC (and that's how it done with router).
See the following:
https://github.com/jisotalo/ads-client/#setup-3---connecting-from-any-nodejs-supported-system-to-the-plc
jisotalo/ads-client#51 (comment)
from node-red-contrib-ads-client.
- Linux PC and Beckhoff PLC can see each other through ping command issued from the Linux PC:
from node-red-contrib-ads-client.
Hello, thanks for the feedback!
The AmsNetId 5.77.xxx and port 851 are correct ones. The others would be if you wanted to connect directly to the I/O EtherCAT device.
As you are using Linux PC without any TwinCAT router, you need to create the route manually. As default the library is trying to connect to local router which would pass the messages to the PLC (and that's how it done with router).
See the following: https://github.com/jisotalo/ads-client/#setup-3---connecting-from-any-nodejs-supported-system-to-the-plc jisotalo/ads-client#51 (comment)
Thank you very much! Will try ASAP.
from node-red-contrib-ads-client.
Hello,
I have added StaticRoute via Visual Studio TwinCAT3 like this:
Then I changed the configuration of the notification node as follows:
Now when I run the code I get this error:
In Beckhoff docs there is not much more info:
Do I need to do something else?
from node-red-contrib-ads-client.
I have a feeling that you have done something wrong with the route.
For example, when googling this error I found this comment. Make sure you don't have this unidirectional checked.
Beckhoff/ADS#148 (comment)
I have never created a route from XAE so I'm not sure if it's correct. Please try as in links I posted earlier.
from node-red-contrib-ads-client.
Man you are amazing!
Managed to make it work without the unidirectional checked!
from node-red-contrib-ads-client.
Awesome! Thanks for reporting that you got it working.
from node-red-contrib-ads-client.
Related Issues (12)
- Discussion of first versions HOT 11
- Connection loop HOT 19
- Uncaught error HOT 9
- ClientException: Connection to localhost:48898 failed (socket error -4077) (read ECONNRESET) HOT 6
- Connection issues to CX8090 (Twincat2) HOT 1
- Subscribe not working without input HOT 1
- Real number in PLC but INT in node-red HOT 5
- subscribe multiple HOT 5
- Control subscribe node parameters with msg.subscribe HOT 1
- no connection to Beckhoff PLC Simulation HOT 11
- problem with reconnection after redeployment HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-red-contrib-ads-client.