Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get IO Card Model info and CPU Details (Serial Number) from ACD #12

Open
rpabech opened this issue Jun 19, 2024 · 26 comments
Open

Get IO Card Model info and CPU Details (Serial Number) from ACD #12

rpabech opened this issue Jun 19, 2024 · 26 comments

Comments

@rpabech
Copy link

rpabech commented Jun 19, 2024

Here is a real production ACD file with a lot of IOs (remote and local IOs). Trying to get the Model, Firmware, Channel info from it as well as SERIAL number from CPU. See attached files for info.
Thanks
Project_SIL.zip

@hutcheb
Copy link
Owner

hutcheb commented Jul 5, 2024

So the PLC serial number is possible and might work now for certain versions.

The IO Card Info is a little more tricky as the acd only has the vendor id, product type and product code, presumably we'd need eds files to be able to look up description of the module.

@rpabech
Copy link
Author

rpabech commented Jul 5, 2024 via email

@hutcheb
Copy link
Owner

hutcheb commented Jul 6, 2024

I've found the product code, product type and vendor id. Just need to figure out how they all fit together.

But it looks as though the screenshot included isn't for the same project. The serial number seems to match though.

@rpabech
Copy link
Author

rpabech commented Jul 6, 2024 via email

@hutcheb
Copy link
Owner

hutcheb commented Jul 6, 2024

Ok Ive added the IO modules under map_devices in the new release.

Also note that it is very version specific, a new ksy file entry needs to be made for each different version.

@rpabech
Copy link
Author

rpabech commented Jul 6, 2024 via email

@hutcheb
Copy link
Owner

hutcheb commented Jul 6, 2024

Yeah, basically, but it gets split up further within the database. Each ACD has a Textual Version List which is what I use to check before I parse that version of a record.

Ideally if I had a sample project with a bunch of different IO module layouts, different types of routines, as many comments in different locations, etc.. Then have that exported to an L5X so I have something to compare against, and then migrated to as many different versions as possible. That would be super helpful.

TextualVersionInfo.txt

@hutcheb
Copy link
Owner

hutcheb commented Jul 6, 2024

If you do decide to provide something, keep in mind I am a little reluctant to merge projects that seem to be used somewhere. I would only merge sample projects.

@rpabech
Copy link
Author

rpabech commented Jul 6, 2024 via email

@rpabech
Copy link
Author

rpabech commented Jul 7, 2024 via email

@hutcheb
Copy link
Owner

hutcheb commented Jul 7, 2024

Sorry, just tried testing the pypi release, was missing a bunch of stuff in there.

You should be able to run something like this (I might rename the map_devices to io_modules or something though at some point).

image

@hutcheb
Copy link
Owner

hutcheb commented Jul 7, 2024

Will be helpful if I give access to my dev station with Rockwell software on it so you can create exactly what you need? If not, I will create what you need. Thanks

On Sat, Jul 6, 2024, 4:30 PM Ben Hutcheson @.> wrote: If you do decide to provide something, keep in mind I am a little reluctant to merge projects that seem to be used somewhere. I would only merge sample projects. — Reply to this email directly, view it on GitHub <#12 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHBP5URZ76DGC2RREMLZSULZLAEPVAVCNFSM6AAAAABJSMSB72VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJRG44TQMJRGI . You are receiving this because you authored the thread.Message ID: @.>

Either way would be good whatever is easier for you. Thanks.

@hutcheb
Copy link
Owner

hutcheb commented Jul 7, 2024

Give the latest 0.2a3 version a try, it has a major change in how I read records and should work with a lot more versions.

@rpabech
Copy link
Author

rpabech commented Jul 7, 2024 via email

@rpabech
Copy link
Author

rpabech commented Jul 9, 2024 via email

@hutcheb
Copy link
Owner

hutcheb commented Jul 10, 2024

Thanks, will take a look tonight. By the way its probably not the safest to publish connection details to the world.

@rpabech
Copy link
Author

rpabech commented Jul 10, 2024 via email

@hutcheb
Copy link
Owner

hutcheb commented Jul 10, 2024

I tried connecting just then and it doesn't seem to be online.

@rpabech
Copy link
Author

rpabech commented Jul 10, 2024 via email

@rpabech
Copy link
Author

rpabech commented Jul 10, 2024 via email

@hutcheb
Copy link
Owner

hutcheb commented Jul 11, 2024

Thanks for that, I've grabbed a couple of sample projects.

@rpabech
Copy link
Author

rpabech commented Jul 25, 2024 via email

@rpabech
Copy link
Author

rpabech commented Aug 10, 2024 via email

@hutcheb
Copy link
Owner

hutcheb commented Aug 10, 2024

Hey Ricardo,

Sorry no, not for a little while. Been busy with life.

I took a Quick Look at the new issue that popped up the other day, doesn’t look like it would be too hard to fix.

If you could upload the error you are seeing it could help?

Ben

@rpabech
Copy link
Author

rpabech commented Aug 10, 2024 via email

@rpabech
Copy link
Author

rpabech commented Oct 4, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants