Ken Roach
Lifetime Supporting Member + Moderator
Does anyone in the community have some experience to help a novice understand how to use the Configuration Assembly data for an Adapter device being controlled by a CoDeSys 3.5 EtherNet/IP Scanner ?
I understand how to configure and use the Input and Output Assemblies. When you create an Adapter under the Scanner in the project tree, CoDeSys gives you an array of bytes that you can Map to global variables in the project. That makes sense, and I've used it.
But the Configuration Assembly gets sent to the Adapter device when the I/O connection is first established, then any time it is re-connected.
Many devices have a null configuration assembly; their I/O is simple and they don't need config info. I set up an SMC EX260-EIP like that last night and the valves happily go clickity-clack.
But my adapter device is a Baluff BNI-EIP-507 4-port IOLink Master block, so it requires a substantial amount of configuration data to come from the PLC to configure each IOLink port.
I can see that the Configuration Assembly is defined... I just don't see where to address or map it.
It's not the Connections -> Configuration Data pane. Those are obviously Parameters (they have atomic data types and min/max/description) and they probably come from an EDS file.
And it's not the User Defined Parameters; those too are definitely Parameter Object and similar download parameters, so you can roll your own auto-device-configuration.
I've searched as thoroughly as I know how for examples on the CoDeSys FAQ, online help, and Forge website.
Any info about how to use EDS files with the CoDeSys EtherNet/IP Scanner would also be gratefully accepted.
I understand how to configure and use the Input and Output Assemblies. When you create an Adapter under the Scanner in the project tree, CoDeSys gives you an array of bytes that you can Map to global variables in the project. That makes sense, and I've used it.
But the Configuration Assembly gets sent to the Adapter device when the I/O connection is first established, then any time it is re-connected.
Many devices have a null configuration assembly; their I/O is simple and they don't need config info. I set up an SMC EX260-EIP like that last night and the valves happily go clickity-clack.
But my adapter device is a Baluff BNI-EIP-507 4-port IOLink Master block, so it requires a substantial amount of configuration data to come from the PLC to configure each IOLink port.
I can see that the Configuration Assembly is defined... I just don't see where to address or map it.
It's not the Connections -> Configuration Data pane. Those are obviously Parameters (they have atomic data types and min/max/description) and they probably come from an EDS file.
And it's not the User Defined Parameters; those too are definitely Parameter Object and similar download parameters, so you can roll your own auto-device-configuration.
I've searched as thoroughly as I know how for examples on the CoDeSys FAQ, online help, and Forge website.
Any info about how to use EDS files with the CoDeSys EtherNet/IP Scanner would also be gratefully accepted.