Firmware EL/ES/EM/EPxxxx

This section describes the device update for Beckhoff EtherCAT slaves from the EL/ES, EM, EK and EP series. A firmware update should only be carried out after consultation with Beckhoff support.

Table of contents

Storage locations

An EtherCAT slave stores operating data in up to 3 locations:

Customers can access the data via the EtherCAT fieldbus and its communication mechanisms. Acyclic mailbox communication or register access to the ESC is used for updating or reading of these data.

The TwinCAT System Manager offers mechanisms for programming all 3 parts with new data, if the slave is set up for this purpose. Generally the slave does not check whether the new data are suitable, i.e. it may no longer be able to operate if the data are unsuitable.

Notice

Risk of damage to the device!

    • Firmware downloads to an EtherCAT device must not be interrupted.
    • Flawless EtherCAT communication must be ensured. CRC errors or LostFrames must be avoided.
    • The power supply must adequately dimensioned. The signal level must meet the specification.

    Device description ESI file/XML

    Notice

    Update of the ESI description/EEPROM

    Some slaves have stored calibration and configuration data from the production in the EEPROM. These are irretrievably overwritten during an update.

    The ESI device description is stored locally on the slave and loaded on start-up. Each device description has a unique identifier consisting of slave name (9 digits) and a revision number (4 digits). Each slave configured in the System Manager shows its identifier in the EtherCAT tab (device identifier from name EL3204-0000 and revision -0016

    ):

    Firmware EL/ES/EM/EPxxxx 1:

    The configured identifier must be compatible with the actual device description used as hardware, i.e. the description which the slave has loaded on start-up (in this case EL3204). Normally the configured revision must be the same or lower than that actually present in the terminal network.

    For further information on this, please refer to the EtherCAT system documentation.

    Firmware EL/ES/EM/EPxxxx 2:

    Update of XML/ESI description

    The device revision is closely linked to the firmware and hardware used. Incompatible combinations lead to malfunctions or even final shutdown of the device. Corresponding updates should only be carried out in consultation with Beckhoff support.

    Display of ESI slave identifier

    The simplest way to ascertain compliance of configured and actual device description is to scan the EtherCAT Boxes in TwinCAT mode Config/Freerun. Scan the subordinate field by right-clicking on the EtherCAT device in Config/FreeRun mode:

    Firmware EL/ES/EM/EPxxxx 3:

    If the found field matches the configured field, the display shows: Configuration is identical

    Firmware EL/ES/EM/EPxxxx 4:

    otherwise a change dialog for entering the actual data in the configuration.

    Firmware EL/ES/EM/EPxxxx 5:

    In this example, an EL3201-0000-0017 was found while an EL3201-0000-0016 was configured. In this case the configuration can be adapted with the Copy Before button. The Extended Information checkbox must be set in order to display the revision.

    Changing the ESI slave identifier

    Changing the ESI slave identifier

    The ESI/EEPROM identifier can be updated as follows under TwinCAT:

    Firmware EL/ES/EM/EPxxxx 6:

    In the following dialog the new ESI description is selected. The checkbox Show Hidden Devices shows also older, normally hidden outputs of a slave:

    Firmware EL/ES/EM/EPxxxx 7:

    A progress bar in the System Manager shows the progress - first writing, then verifying.

    Firmware EL/ES/EM/EPxxxx 8:

    The change only takes effect after a restart.

    Most EtherCAT devices read a modified ESI description immediately or after startup from the INIT. Some communication settings such as distributed clocks are only read during power-on. The EtherCAT slave therefore has to be switched off briefly in order for the change to take effect.

    Determining the firmware version

    Determining the version on laser inscription

    Beckhoff EtherCAT slaves feature serial numbers applied by laser. The serial number has the following structure: KK YY FF HH

    KK - week of production (CW, calendar week)
    YY - year of production
    FF - firmware version
    HH - hardware version

    Example with ser. no.: 12 10 03 02:

    12 - week of production 12
    10 - year of production 2010
    03 - firmware version 03
    02 - hardware version 02

    Determining the version via the System Manager

    The TwinCAT System Manager shows the version of the controller firmware if the master can access the slave online. Click on the E-bus terminal whose controller firmware you want to check (in the example terminal 2 (EL3204)) and select the tab CoE Online (CAN over EtherCAT).

    Firmware EL/ES/EM/EPxxxx 9:

    CoE Online and Offline CoE

      • online: it is offered in the EtherCAT slave by the controller if the EtherCAT slave supports this.
        This CoE directory can only be displayed if the slave is connected and ready for operation.
      • offline: in the EtherCAT slave information ESI/XML the default content of the CoE may be contained.
        This CoE directory can only be displayed if it is contained in the ESI (e.g. "Beckhoff EL5xxx.xml").

      In the following dialog the FW state of the marked EL3204 is displayed in CoE entry x100A with 03:

      Firmware EL/ES/EM/EPxxxx 10:

      In (A) TwinCAT 2.11 shows that the Online CoE directory is currently displayed. If this is not the case, the online directory can be loaded through the Advanced Settings (B) by Online and double-clicking All Objects.

      Updating controller firmware *.efw

      Firmware EL/ES/EM/EPxxxx 11:

      CoE directory

      The online CoE directory is managed by the controller and stored in its own EEPROM. It is generally not changed by a FW update.

      To update the controller firmware of a slave, go to the Online tab:

      Firmware EL/ES/EM/EPxxxx 12:

      Proceed as follows, unless instructed otherwise by Beckhoff support.

      FPGA firmware *.rbf

      If an FPGA chip deals with the EtherCAT communication an update may be accomplished via an *.rbf file.

      The firmware version number included in the terminal serial number contains both firmware components. If one of these firmware components is modified this version number is updated.

      Determining the version via the System Manager

      The TwinCAT System Manager indicates the FPGA firmware version. Click on the Ethernet card of your EtherCAT segment (Device 2 in the example) and select the Online tab.

      The Reg:0002 column indicates the firmware version of the individual EtherCAT devices in hexadecimal and decimal representation.

      Firmware EL/ES/EM/EPxxxx 13:

      If the Reg:0002 column is not displayed, right-click the table header and select Properties in the context menu.

      Firmware EL/ES/EM/EPxxxx 14:

      The Advanced Settings dialog appears where the columns to be displayed can be selected. Under Diagnose/Online View select the '0002 ETxxxx Build' checkbox in order to activate the FPGA firmware version display.

      Firmware EL/ES/EM/EPxxxx 15:

      Update

      For updating the FPGA firmware

      Older firmware versions can only be updated by the manufacturer!

      Updating an EtherCAT device

      In the TwinCAT System Manager select the terminal for which the FPGA firmware is to be updated (in the example: Terminal 5: EL5001) and
      click the Advanced Settings button in the EtherCAT tab.

      Firmware EL/ES/EM/EPxxxx 16:

      The Advanced Settings dialog appears. Under ESC Access/E²PROM/FPGA click on Write FPGA button.

      Firmware EL/ES/EM/EPxxxx 17:
      Firmware EL/ES/EM/EPxxxx 18:

      Select the file (*.rbf) with the new FPGA firmware, and transfer it to the EtherCAT device.

      Notice

      Risk of damage to the device!

      A firmware download to an EtherCAT device must never be interrupted! If this process is canceled, the supply voltage switched off or the Ethernet connection interrupted, the EtherCAT device can only be recommissioned by the manufacturer!

      In order to activate the new FPGA firmware a restart (switching the power supply off and on again) of the EtherCAT device is required.

      Simultaneous updating of several EtherCAT devices

      The firmware of several devices can be updated simultaneously, as well as the ESI description. The prerequisite for this is that the same firmware file/ESI applies to these devices.

      Firmware EL/ES/EM/EPxxxx 19:

      Select the required slaves and carry out the firmware update in BOOTSTRAP mode as described above.