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?
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.