Displaying channels in InfoData (Include Channels)

It may be helpful if the controller/PLC knows which channel of an IO module (terminal, box) it is using. Examples:

Solution: In TwinCAT 2.11 and 3, the channels of a module can be displayed in the info data.

Displaying channels in InfoData (Include Channels) 1:
Display the channels in InfoData via "Advanced settings" -> "Behavior" "Include Channels

TwinCAT then shows linkable channels:

Displaying channels in InfoData (Include Channels) 2:
Display of linkable channels in TwinCAT

The content of the bytes is fixed and cannot be changed, which is the consecutive channel number.

Background:

Displaying channels in InfoData (Include Channels) 3:

In the Advanced Settings of the EtherCAT Master the following information is displayed, if the channels are activated in one of the slaves.

Displaying channels in InfoData (Include Channels) 4:
Display of the activation of "Include Channels" in the EtherCAT Master