Online version identification of EtherCAT devices

The production information for an EtherCAT slave device

is readable as described above by the serial number marked by laser on the side. The firmware /hardware (FW/HW) version is also electronically readable from there in the case of "complex" devices with CoE capability, but not in the case of simple devices without CoE.

Therefore, the production information listed above has been programmed into EtherCAT Terminals by Beckhoff since the production date July 2012. It is located in the EtherCAT ESI EEPROM, which is a component of every Beckhoff EtherCAT slave.

Information

ESI/XML (configuration)

CoE or, if applicable, default data in the offline dictionary

ESI EEPROM

imprint/label on the side

Availability

all EtherCAT slaves

only in case of complex devices

all EtherCAT slaves

all EtherCAT slaves

Device name

x

0x1008

x

x

Hardware version

 

0x1009

x ("production info")

x

Firmware version

 

0x100A

x ("production info")

x

Vendor ID (e.g. Beckhoff: 0x2)

 

0x1018:01

x

 

Product code (32 bit)

x

0x1018:02

x

 

Revision (32 bit)

x

0x1018:03

x

x

Serial number

 

0x1018:04

x

(x)

ID number

 

(in some series, see respective documentation)

 

(x)

Date of manufacture

 

 

x ("production info")

x

Notices on electronic readout

Online Production Info (ESI EEPROM)

Note

Data storage in the ESI EEPROM

In case of an EEPROM update of the EtherCAT slave by the EtherCAT master, e.g. for the purpose of a revision update, the production data located there are overwritten if the EtherCAT master does not exclude these data from being overwritten. From TwinCAT 2.11 the System Manager monitors these data during the update.

From TwinCAT 2.11R3 build 2035 the production information for HW, FW and date can be displayed in the system manager and exported.

Online version identification of EtherCAT devices 1:
System manager Online View -> Properties
Online version identification of EtherCAT devices 2:
Activate “Show Production Info”
Online version identification of EtherCAT devices 3:
Online display

Devices without this information display 0 in the overview.


From TwinCAT 3.1, the display is activated via the Advanced Settings of the EtherCAT master:

Online version identification of EtherCAT devices 4:
TwinCAT 3.1: Activate "Show Production Info”

The data can be exported directly to a CSV file.

Online version identification of EtherCAT devices 5:
Export
Online version identification of EtherCAT devices 6:
Sample of the contents of the csv file

Sample program for reading and exporting the "production info" from the PLC

Online version identification of EtherCAT devices 7:

Using the sample programs

This document contains sample applications of our products for certain areas of application. The application notices provided here are based on typical features of our products and only serve as samples. The notices contained in this document explicitly do not refer to specific applications. The customer is therefore responsible for assessing and deciding whether the product is suitable for a particular application. We accept no responsibility for the completeness and correctness of the source code contained in this document. We reserve the right to modify the content of this document at any time and accept no responsibility for errors and missing information.
The program presented below serves as an initial introduction to the options for analyzing the slave data and production information. The user is free to change the program to suit his ideas or to use only part of the code.

Online version identification of EtherCAT devices 8: Sample program (Download)

In this sample program some identification data of the connected EtherCAT slave are read out and displayed in a visualization (Fig. System Manager Online View -> Properties). The configured data are read out using the function blocks from TcEtherCAT.lib. Online data such as manufacturer (vendor) and production date are determined by access to the ESI EEPROM. Communication with the EEPROM can be established simply and quickly by the use of the function block ‘FB_ReadEEPROM’ included in this project. In addition there is an option to export the data in a file in the text table formats ‘*.txt’ and ‘*.csv’ . In the ‘*.csv’ option the German standard with a semicolon as separator is selected.

Online version identification of EtherCAT devices 9:
Visualization in the sample program

In common spreadsheet programs various sorting and filtering options can be applied to the exported data, e.g. "Table with headers".

Online version identification of EtherCAT devices 10:
Filtering in the spreadsheet program
tcecproductioninfo_demo.zip