nativixk - 2023-04-25

Hello there

I need to know if there is any way to discover the IO Device only by IO address.

For example, I know that %QW12 is used somewhere in the project, is there a library that allow me pass this address and retrieve the device or some usefull info?

I found an interesting FB from library CAA Device Diagnosys called GetIDeviceInstByIoAddr, but I couldn't find out how to get it work, because whenever I execute the block it throws an error and by the way it doesn't show nothing more than a bit xError output for debugging.

What I'm trying to do, is basically a 'In runtime address discovery' to find every device that uses IO address mapping.

Can someone help me? is something like achievable?

 

Last edit: nativixk 2023-04-25