beckhoff TE1000 TwinCAT 3 — 6.6.20 Configuring an EL6695 EtherCAT bridge

Samples | I/O Reading values from the ESI file The required values are stored in the manufacturer's ESI file in XML format. VendorId, ProductCode, and RevisionNo are located at fixed positions in the file structure and must be passed as hexadecimal values when calling the Automation Interface. node at the top of the ESI file --> 2 element of each node --> AMI8000-0000 The values must be passed in hexadecimal format. A decimal value 106 in the ESI corresponds to 0x6A in the vInfo array. The fourth Int value is the serial number, which is usually 0. The string representation “V6A_P00414B44_R1” is the more compact version and is available only starting with TwinCAT 2.11 R3 / 3.1.

C# sample ITcSmTreeItem ecMaster = sysManager.LookupTreeItem(@"TIID^Device 1 (EtherCAT)"); // Variant 1: integer array (all versions) // vInfo[0] = VendorId (hex), vInfo[1] = ProductCode (hex), vInfo[2] = RevisionNo, vInfo[3] = Serial No int[] vInfo = new int[] { 0x2, 0x368ecc09, 0x001, 0 }; ITcSmTreeItem device = ecMaster.CreateChild("Drive", 9099, "", vInfo); // Variant 2: string representation (TwinCAT 3.1 and later) // Format:

"V _P _R " ITcSmTreeItem device2 = ecMaster.CreateChild("Drive", 9099, "", "V2_P368ECC09_R001"); 6.6.20 Configuring an EL6695 EtherCAT bridge | Configuring an EL6695 EtherCAT bridge The EL6695 is an EtherCAT bridge terminal for communication between two EtherCAT masters. It enables bidirectional data exchange between two independent EtherCAT segments. After the IO variables have been created, the configuration is completed using the cmdCreateConfiguration command via ConsumeXml . Requirements An EL6695 terminal is included in the EtherCAT configuration. The TwinCAT solution is in Config mode. TE1000 271 Version: 1.7.0