Giter Club home page Giter Club logo

Comments (8)

kyle-github avatar kyle-github commented on July 3, 2024

Also an interesting idea. I think this can be done via a UDP broadcast IIRC. It seems like it would be interesting to combine this with the previous request.

The more I think about this, I am not sure I want it as part of the library, but it should be in related tools. It is difficult to make functionality like this generic for multiple kinds of PLCs.

from libplctag.

 avatar commented on July 3, 2024

I would say it would be generic enough if you tried to find A-B PLCs and then pinged (Modbus TCP function code 3) every IP in the current subnet with both standard Modbus TCP ports (502, 1502). As I recall, you wanted to add Modbus, right?

from libplctag.

kyle-github avatar kyle-github commented on July 3, 2024

Still have not done this. I need the whole new structure of the library working to handle UDP as easily. It might be something I can do with each type of protocol. I have a structure now that will let me separate that out for the types of protocols that can support it. There might need to be some user input to get this information.

from libplctag.

Folcogh avatar Folcogh commented on July 3, 2024

Hi,

Is there some plan to do that ?
This library cannot be used to work with real PLC programs if it's not possible to get the tag list, or at least an identifier for an already existing tag...

Thanks in advance for your answer!

from libplctag.

kyle-github avatar kyle-github commented on July 3, 2024

from libplctag.

xinthose avatar xinthose commented on July 3, 2024

@Folcogh In my case, my program reads/writes to a PLC whose program we wrote, so we know tag names ahead of time. I have used this library in production for years now, no issues.

from libplctag.

Folcogh avatar Folcogh commented on July 3, 2024

Thank you very much for the feedback. I finally understand the API. Really good lib, I could connect and do some things I needed to do.
But I definitely need to be able to discover all tags to fulfill my needs.

from libplctag.

kyle-github avatar kyle-github commented on July 3, 2024

There is an example of how to discover tags in an Allen-Bradley CIP-based PLC (Control Logix, Compact Logix). The example program is list_tags.c in the examples.

from libplctag.

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.