NothinRandom / CoDeSys_EIP

Communicate with EtherNet/IP devices using explicit messaging in CoDeSys!
MIT License
24 stars 7 forks source link

[Feature Request] Option to Act as a Tag Based Slave/Server #13

Open TheColonel2688 opened 12 months ago

TheColonel2688 commented 12 months ago

I would like to provide my clients with the ability to control/talk (Read and Write) to my Codesys PLC Program from an Allen Bradley PLC. I have an existing library of code for Rockwell PLCs that do this for talking to our Rockwell PLCs, but I currently have no easy way to do this for our Codesys PLCs.

Reading and Writing from our PLCs to their PLCs, which is what we would have to do now using this library, just isn't feasible and doesn't work well with our program architecture.

NothinRandom commented 11 months ago

If I understand correctly, you're interested in wanting the existing library to act as another EtherNet/IP device so that your Rockwell PLC can talk to a Codesys PLC... I guess similar to how one Rockwell PLC communicates with another via consume/produce tags?

TheColonel2688 commented 11 months ago

Well, yes, but Consumers/producers isn't necessary (that is implicit messaging) Explicit messaging is fine.

I just want the Rockwell PLC to beable to Read and Write via "Tags" on the codesys PLC using the MSG instruction explicitly on the Rockwell PLC.

Basically on the codesys PLC you could assign a string that represents the tag name for each variable you make available via EIP on the codesys PLC.