Giter VIP home page Giter VIP logo

Comments (5)

timyhac avatar timyhac commented on September 26, 2024

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.

trinnan42 avatar trinnan42 commented on September 26, 2024

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.

timyhac avatar timyhac commented on September 26, 2024

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.

trinnan42 avatar trinnan42 commented on September 26, 2024

@timyhac That fixed it. Thanks!

from libplctag.net.

timyhac avatar timyhac commented on September 26, 2024

Awesome @trinnan42 - thanks!

from libplctag.net.

Related Issues (20)

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.