GithubHelp home page GithubHelp logo

How does this work? about ads-async HOT 2 CLOSED

EricControls avatar EricControls commented on July 24, 2024
How does this work?

from ads-async.

Comments (2)

klauer avatar klauer commented on July 24, 2024 1

I assume you're running just ads-async get plc_name_here Global_Variables.bBlink? I didn't see it in your output.

ADS itself can be a bit finicky. My guess is that the PLC is forcefully closing the connection prior to the request going through.

Here are a couple relevant limitations you might not be aware of:

  • The main limitation is that there can't be two TCP connections to the same PLC from the same host. That is to say, if you have TwinCAT XAE talking to your PLC, ads-async won't be able to talk to it effectively. Similarly, you couldn't run two ads-async monitor processes in separate terminals on the same host; the PLC would only accept one.
  • You need to have a route added to the PLC for the specific machine - otherwise the PLC won't accept your requests. Assuming you already added a route through the IDE, this shouldn't be the problem here. However, ads-async also offers the ability to add a route for you with a few additional command-line arguments (see ads-async get --help arguments --add-route, --our-net-id, and --our-host. From a Windows perspective, it may seem unnecessary to require those arguments, but remember that ads-async will run on Linux and macOS as well)

If neither of those applies, then you may have run into a "real" bug (at least something that ads-async could solve on its own). If you could provide even redacted debug log output, it could help resolve it. (ads-async --log DEBUG get plc_name ...)

from ads-async.

EricControls avatar EricControls commented on July 24, 2024 1

I am working locally on my engineering environment.
ads-async get localhost Global_Varibles.bBlink

I will attempt again as soon as I'm around hardware.

Thanks so much for your respond!

from ads-async.

Related Issues (17)

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.