Comments (2)
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.
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)
- Support system service (UDP protocol on port 48899) requests in asyncio client HOT 2
- Add start of simple asyncio client for logging purposes HOT 2
- Protocol-level client/server verbiage needs reworking HOT 1
- Request to future self and prospective users HOT 2
- Client abstraction layer missing? Per PLC (=target net ID) with configurable port HOT 1
- Client: support specifying just destination hostname without port
- Add route may be using wrong information for route_name
- asyncio client: PLC disconnection during notification subscription, write_and_read(), etc. HOT 1
- Log message "message_length" field can be inaccurate
- DeviceInfo[Response] should inherit from AoEResponseHeader
- "Unknown" log message attribute may be ADSLOG_MSGTYPE mask HOT 2
- Command-line tool `ads-async` reports `ads` incorrectly as the command
- Refer to adstool / ads-rs for details on service port tools
- Update isort in pre-commit
- Support ads-s (ADS over TLS)?
- Fix test suite failure (due to pytmc refactor) + fix up local mode handling
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 ads-async.