nimbuscontrols / EIPScanner

Free implementation of EtherNet/IP in C++
https://eipscanner.readthedocs.io/en/latest/
MIT License
233 stars 93 forks source link

Access the tags in PLC by the name #29

Closed abonent312 closed 4 years ago

abonent312 commented 4 years ago

Hi, thank you for the project! I successfully built it for OpenWRT with Linaro toolchain (with backport to Cpp11) and it works perfectly.

But I need additional functionality - to read the tags (I/O) from Rockwell PLC (by CIP). Do something like: messageRouter.readTag(si, "arrayTag[0]")

(like it's implemented here: https://github.com/cmseaton42/node-ethernet-ip)

I'm completely newbie in EthernetIP and CIP but I can develop (and contribute to the project) if you point me the right manual - how to encapsulate CIP request into Ethernet/IP frame and get the answer. Thank you!

jadamroth commented 4 years ago

Hi @abonent312

Thanks for reaching out.

Feel free to use the project as you'd like, and we will happily accept contributions via pull requests. However, this library is intended to focus on communication to EtherNet/IP end devices, such as VFDs

Check out this library as it sounds a little more suited to what you're looking for - https://github.com/libplctag/libplctag

abonent312 commented 4 years ago

many thanks for the hint!