Comments (4)
Great! I'll release the current master as 0.4.2 then.
from ads-rs.
So this is an error coming from the PLC (as opposed to an ads-rs internal bug in #8).
It will be hard to debug without knowing what exactly is requested there. Can you share the relevant part of the code (the immediate cause is in your get_ads_symbols
function)?
It might also just be that the PLC disallows reading the value of certain symbols. In that case you'll have to catch that error and handle it instead of panicking by calling unwrap
or similar...
from ads-rs.
(cc @alex-boring if you weren't subscribed automatically)
from ads-rs.
That error is on me, I fixed the issue on my side. Thanks for the hints. You can close this one out!
from ads-rs.
Related Issues (18)
- ADS crate HOT 1
- Decoding and flattening of struct array - question HOT 2
- Can you give me an example of read-write structs? HOT 6
- Making ads::client::Client implement the Send and Sync traits by not using RefCell and Cell in it HOT 2
- decode_symbol_info panics when parsing ARRAY with negative indices such as ARRAY[-1..5] OF INT; HOT 1
- Trouble connecting to remote PLC HOT 5
- Compilation currently broken HOT 2
- Unable to set TC status HOT 6
- silent panic if twincat restarts mid-read HOT 3
- TwinCat 2 Connection issue HOT 4
- Support reading `zerocopy::FromBytes` datatypes directly? HOT 1
- Getting the symbol type of a specific handle HOT 1
- Support for multi requests HOT 1
- Cannot connect to localhost HOT 34
- Reading multiple handles HOT 3
- Reading / writing strings of length 255 HOT 3
- ads::symbol::get_symbol_info breaks on large TwinCAT projects HOT 13
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-rs.