Read Allen-Bradley EtherNet/IP Encoder #315
Unanswered
MAD-Thrustm
asked this question in
Q&A
Replies: 1 comment
-
This is using values from the manual for the device, I don't have one to test it with.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm seeking a method to retrieve the value of 842E-MIP-xxxEtherNet/IP. Any assistance would be greatly appreciated.
Here's the code snippet which return:
{'encap_protocol_version': 1, 'ip_address': '192.168.1.112', 'vendor': 'Rockwell Automation/Allen-Bradley', 'product_type': 'Encoder', 'product_code': 2, 'revision': {'major': 1, 'minor': 2}, 'status': b'5\x00', 'serial': '800d5f94', 'product_name': '842E-M', 'state': 3}
from pycomm3 import CIPDriver
if name == "main":
print(CIPDriver.list_identity('192.168.1.112'))
Beta Was this translation helpful? Give feedback.
All reactions