Beckhoff Automation GmbH & Co. KG — 6.2.2.1 E-Bus

API 6.2.2.1 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() [ } 62] 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. There are a few exceptions to this rule, e.g. for RS232 terminals. The following table gives an overview about these exceptions:

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 [ } 20] or in the "Add Device" dialog in TwinCAT XAE. Automation Interface 43 Version: 1.2 Sub type Description 9099 Generic sub type for all EtherCAT terminals. In case of CreateChild() [} 62], a specific terminal will be defined via vInfo parameter.

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)