Connection
This element is only required if there is an EtherCAT member, which has two or more ethernet ports. For instance, the EtherCAT junction "EK1122" has two ports, labeled with "X1" and "X2". Individual devices or complete EtherCAT strands can be connected at he junction ports. The TwinCAT ECAD Import then needs to know which devices are connected at which junction port. Therefore in the ECAD file a unique ConnectId for EK1122 has to be given. And the PreviousId and PreviousPort have to be given for the sidelined device. An example is shown as below:
<Interface>
<Name><![CDATA[Device 1 (EtherCAT)]]></Name>
<Type>ETHERCAT</Type>
<ChannelNo>1</ChannelNo>
<Boxes>
...
<Box>
<Name><![CDATA[Term 12 (EK1122)]]></Name>
<Type>EK1122-0000-0016</Type>
<BoxNo>1012</BoxNo>
<Connection>
<ConnectId>1012</ConnecId>
<Connection>
....
</Box>
<Box>
<Name><![CDATA[Term 40(EK1100)]]></Name>
<Type>EK1100-0000-0001</Type>
<BoxNo>1040</BoxNo>
<Connection>
<PreviousId>1012</ConnecId>
<PreviousPort>X1</ConnecId>
<Connection>
....
</Box>