FEGF
Member
I am able to establish communication through rslinx but I can't ping the PLC or any field devices why is that?
One possibility is there is a router/firewall in the mix that is blocking ICMP ping but allowing the port for AB comms through.
I am trying to use pylogix to read tag values but I always get a None reply according to other forums it's because I can't ping the device, so that is why I am trying to ping.
ret = comm.Read("Tag")
print(ret.Status)
got it to work man I got a typo in the tag name
Nice. You came to the right place, so if you need any pointers, let me/us know.
Code:from pylogix import PLC tags = ['tag'] with PLC () as comm: comm.IPAddress = 'IPADDRESS' comm.Micro800 = True ### Add this ret = comm.Read('TAG') print(ret.Value)