Giter VIP home page Giter VIP logo

Comments (7)

jisotalo avatar jisotalo commented on July 20, 2024 1

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.

Sulomus avatar Sulomus commented on July 20, 2024
  • Linux PC and Beckhoff PLC can see each other through ping command issued from the Linux PC:

image

from node-red-contrib-ads-client.

Sulomus avatar Sulomus commented on July 20, 2024

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.

Sulomus avatar Sulomus commented on July 20, 2024

Hello,
I have added StaticRoute via Visual Studio TwinCAT3 like this:
image

Then I changed the configuration of the notification node as follows:
image
image

Now when I run the code I get this error:
image

In Beckhoff docs there is not much more info:
image

Do I need to do something else?

from node-red-contrib-ads-client.

jisotalo avatar jisotalo commented on July 20, 2024

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.

Sulomus avatar Sulomus commented on July 20, 2024

Man you are amazing!
Managed to make it work without the unidirectional checked!

from node-red-contrib-ads-client.

jisotalo avatar jisotalo commented on July 20, 2024

Awesome! Thanks for reporting that you got it working.

from node-red-contrib-ads-client.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.