Comments (5)
Trinnan - what is the tag name you're using? It seems like your using the SINT mapper, but are using it more like an array of bools. The tag type that the tag name points to should match the Mapper you use (i.e. "TestSINT", not "TestSINT.1").
from libplctag.net.
For this example, the tagname I'm attempting to read in the C# side would be "TestSINT". When I refer to TestSINT.7 I'm referring to what I'm setting on the PLC side. So I'm trying to read the whole SINT but in the PLC I'm setting only bit 7 (the 8th bit) to 1 for a value of -128. This is when I get the exception.
from libplctag.net.
Ah now I understand. You've hit a bug that I believe has been fixed in #100, but hasn't been released yet.
We were discussing whether to increase the minor version or release as a patch, I think it is backwards compatible so I will release now as a patch version.
@trinnan42 - let me know if you've still got the issue after updating to v1.0.1
from libplctag.net.
@timyhac That fixed it. Thanks!
from libplctag.net.
Awesome @trinnan42 - thanks!
from libplctag.net.
Related Issues (20)
- Array tag notification on change HOT 1
- Array of BOOL ErrorBadParam HOT 2
- ASP.Net error HOT 6
- Unable to load DLL plctag or one of its dependencies HOT 4
- List all tags in Omron NJ: ErrorUnsupported HOT 20
- How to batch read multiple tags at once? HOT 3
- Tag write timing HOT 4
- DotNetFramework can not work HOT 2
- Read array tags for Omron PLC broken with v1.4.0 HOT 85
- Using `raw_tag_type_bytes` for dynamic tags HOT 2
- Allow `AutoSyncReadInterval` and `AutoSyncWriteInterval` to be set after tag is Initialized HOT 1
- Expose `max_requests_in_flight` on `Tag` or `Tag<M,T>`. HOT 4
- LibPlcTagException ErrorNullPtr HOT 3
- Accessing Union Tag on Omron HOT 16
- Provide a way to get raw bytes from tag buffer, specifying an offset and length HOT 1
- Remove Mapper system (`Tag<M,T>`, `IPlcMapper`, `DintPlcMapper`, `TagReal` etc). HOT 14
- UDT ID / Tag Type HOT 9
- Net Framework 4.5 HOT 3
- Compile with custom core C library HOT 8
- Improvements to deployment of core libraries in libplctag.NativeImport
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 libplctag.net.