Replies: 5 comments 3 replies
-
|
Beta Was this translation helpful? Give feedback.
-
Here you go: What I am looking for is how to collect the Slot info (IO Cards version, model, etc), Thanks Ricardo |
Beta Was this translation helpful? Give feedback.
-
I will try that. But shouldn't this get_module_info work for the Local Modules on the Controller? For the New_INX_IO those are a separate backplane, but I would expect the local one to work fine when opening a CIPDriver to the controller itself. Thanks |
Beta Was this translation helpful? Give feedback.
-
Yes but it does get the product code correctly. So itnseems that some data is being collected but not the rest. {'vendor': 'Rockwell Automation/Allen-Bradley', 'product_type': 'General Purpose Discrete I/O', 'product_code': 82, 'revision': {'major': 3, 'minor': 1}, 'status': b'a\x00', 'serial': '00000000', 'product_name': ''} As you can see product name and revision and serial are not correct. Product code does change based on the IO model. Thanks |
Beta Was this translation helpful? Give feedback.
-
Sure let me do that and get back to you!
Thanks
…On Thu, Oct 27, 2022, 8:39 AM Ian Ottoway ***@***.***> wrote:
hmm that is weird, there are no *defaults* for those values so that's
what it's getting back from the device. Can you use RSLinx and right-click,
select Device Properties? Both that dialog and this method are parsing
the Identity object, so the data should match. If it does not, then we know
something with our request is wrong.
—
Reply to this email directly, view it on GitHub
<#247 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHBP5UUD37MPJBUHIG6DTATWFKAZ3ANCNFSM6AAAAAAQ7GFY2M>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hi, by running the Discovery and LogixDriver I can get most data from my PLCs, but still having issues getting data from the IO cards on the slots.
When I use the:
I get empty information (even if a slot has an IO card. See below:
{'vendor': 'Rockwell Automation/Allen-Bradley', 'product_type': 'General Purpose Discrete I/O', 'product_code': 82, 'revision': {'major': 3, 'minor': 1}, 'status': b'a\x00', 'serial': '00000000', 'product_name': ''}
{'vendor': 'Rockwell Automation/Allen-Bradley', 'product_type': 'General Purpose Discrete I/O', 'product_code': 85, 'revision': {'major': 3, 'minor': 1}, 'status': b'a\x00', 'serial': '00000000', 'product_name': ''}
I get different product codes, but the Product Name, Serial and Product Type do not seem correct.
Also using LogixDrive, I also do not get the info (it get the modules and slots, but do not get the IO Card model and version). It only shows the types. See below. Any idea on how to get this info on this structure? I really need to find out what Cards I have and where they are in the structure. Thanks in advance!!!
Beta Was this translation helpful? Give feedback.
All reactions