NothinRandom / CoDeSys_EIP

Communicate with EtherNet/IP devices using explicit messaging in CoDeSys!
MIT License
24 stars 7 forks source link

[Feature Request] Option to Act as a Scanner for Eth/IP Remote IO Modules #14

Open TheColonel2688 opened 11 months ago

TheColonel2688 commented 11 months ago

The current way of communicating with a Remote IO module via Eth/IP in Codesys is configuring the device in the IO tree, and code is generated. This is really cumbersome and doesn't allow for dynamic connection/configuration while running. It would be really awesome if this library were expanded to allow for connecting to IO Devices from a Function block.

NothinRandom commented 11 months ago

@TheColonel2688 I meant to get back to you on this. The library is set up to handle explicit communication since reading symbolic variable wasn't straight forward. I initially had implicit communication (IO), but removed it because it seemed redundant since Codesys already has it built in. If there's enough people requesting the feature, then I can reimplement it.

TheColonel2688 commented 11 months ago

I don't view it as redundant. I would like to use it for Object Oriented IO, and allow dynamic configuration and adding and removing devices during runtime programically

My end goal is to allow users to configure rhe IO mapping on the UI.