Comments (8)
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.
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.
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.
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.
from libplctag.
@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.
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.
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)
- omron ethernet/ip writing error HOT 3
- Add support for FINS? HOT 2
- Write MyTag[1] error HOT 4
- Reading subarrays on Omron NJ HOT 2
- Reading strings fields in structures on Omron NJ HOT 7
- Cannot connect to EN2T help HOT 6
- Reading AB PLC Fault State HOT 2
- writing problem in omron nx1p2 PLC HOT 1
- Potential PRs for static WIN32 builds and separating shared and static builds HOT 2
- Unknown data type DT HOT 3
- Unable to Read from Allen-Bradley 1756-L73 A ControlLogix PLC HOT 10
- Reading 1000 tags using libplctag HOT 2
- Notification when all of the tags have been read with "auto_sync_read_ms"...? HOT 5
- Many "INFO" messages output in command prompt after .AddTag(something) command HOT 2
- how many characters can we write using libplctag write?
- Problems with Greek letters in tag names HOT 1
- Connection Issue When Processor Is Deep In Rack ex.. Slot16 HOT 3
- Access AB L73 PLC through Private LAN HOT 1
- Can we use unconnected messaging with multi service request? HOT 3
- Use Libplctag Library as Server HOT 2
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.