E-Bus

Due to their architecture, E-Bus boxes, terminals and modules will be handled differently than their K-Bus counterparts, e.g. during creation using the CreateChild() method. As each K-Bus terminal will be specified according to its specific sub type, E-Bus terminals are recognized via one common sub type and then specified via their "Product Revision" which will be used as the vInfo parameter in the CreateChild() method.

Sub type

Description

9099

Generic sub type for all EtherCAT terminals. In case of CreateChild(), a specific terminal will be defined via vInfo parameter.

There are a few exceptions to this rule, e.g. for RS232 terminals. The following table gives an overview about these exceptions:

I/O

ItemSubType

Description

EP6002

9101

RS232 / RS422 / RS485 interface terminal

EL6001

9101

RS232 interface terminal

EL6002

9101

RS232 interface terminal (2-Channel)

EL6021

9103

RS422 / RS485 interface terminal

EL6022

9103

RS422 / RS485 interface terminal (2-Channel)

Code Snippet (C#)

ITcSmTreeItem ek1100 = systemManager.LookupTreeItem("TIID^EtherCAT Master^EK1100");
ek1100.CreateChild("EL2002 - 1", 9099, "", "EL2002-0000-0016");

Product revision

Each E-Bus box/terminal/module has its own product revision, which you can view either by exporting its XML description or in the "Add Device" dialog in TwinCAT XAE.

E-Bus 1:

For example, the EL2002 digital output terminal has the product revision EL2002-0000-0016, as you can also see in its XML description:

E-Bus 2:

To get the XML description of a tree item, simply do the following: