pjkundert / cpppo

Communications Protocol Python Parser and Originator -- EtherNet/IP CIP
https://hardconsulting.com/products/6-cpppo-enip-api
Other
328 stars 108 forks source link

Receiving (not pulling or writing) data from AB Compact GuardLogix PLC #101

Open dev-svk-flbs opened 3 years ago

dev-svk-flbs commented 3 years ago

Hello,

We are trying to RECEIVE data from a AB Compact GuardLogix PLC over ethernet IP. Most examples of cpppo/pycomm3 usage shows that the communication always initiates from the host computer running cpppo(a raspberry pi, for example), the python program either pulls or writes data from or to a PLC. This does not apply for our application. We need to receive data from a already programmed Compact GuardLogix PLC to read 5/6 different tags sent ~every minute. It seems like we need to have some sort of listener running on the pi to listen to incoming data from the PLC over ethernet IP. Is this something we can do using pycomm3? If not, can anyone please point me to the right direction?

Thanks.