2 System overview .....................................................................................................................................14
7.3.5Simultaneous updating of several EtherCAT devices...................................................... 57
7.4Restoring the delivery state .............................................................................................................58
7.5Support and Service ........................................................................................................................59
EJ32554Version: 1.3
Foreword
1Foreword
1.1Notes on the documentation
Intended audience
This description is only intended for the use of trained specialists in control and automation engineering who
are familiar with the applicable national standards.
It is essential that the documentation and the following notes and explanations are followed when installing
and commissioning these components.
It is the duty of the technical personnel to use the documentation published at the respective time of each
installation and commissioning.
The responsible staff must ensure that the application or use of the products described satisfy all the
requirements for safety, including all the relevant laws, regulations, guidelines and standards.
Disclaimer
The documentation has been prepared with care. The products described are, however, constantly under
development.
We reserve the right to revise and change the documentation at any time and without prior announcement.
No claims for the modification of products that have already been supplied may be made on the basis of the
data, diagrams and descriptions in this documentation.
Trademarks
Beckhoff®, TwinCAT®, EtherCAT®, EtherCATG®, EtherCATG10®, EtherCATP®, SafetyoverEtherCAT®,
TwinSAFE®, XFC®, XTS® and XPlanar® are registered trademarks of and licensed by Beckhoff Automation
GmbH. Other designations used in this publication may be trademarks whose use by third parties for their
own purposes could violate the rights of the owners.
Patent Pending
The EtherCAT Technology is covered, including but not limited to the following patent applications and
patents: EP1590927, EP1789857, EP1456722, EP2137893, DE102015105702 with corresponding
applications or registrations in various other countries.
EtherCAT® is registered trademark and patented technology, licensed by Beckhoff Automation GmbH,
Germany.
Please note the following safety instructions and explanations!
Product-specific safety instructions can be found on following pages or in the areas mounting, wiring,
commissioning etc.
Exclusion of liability
All the components are supplied in particular hardware and software configurations appropriate for the
application. Modifications to hardware or software configurations other than those described in the
documentation are not permitted, and nullify the liability of Beckhoff Automation GmbH & Co. KG.
Personnel qualification
This description is only intended for trained specialists in control, automation and drive engineering who are
familiar with the applicable national standards.
Description of instructions
In this documentation the following instructions are used.
These instructions must be read carefully and followed without fail!
DANGER
Serious risk of injury!
Failure to follow this safety instruction directly endangers the life and health of persons.
WARNING
Risk of injury!
Failure to follow this safety instruction endangers the life and health of persons.
CAUTION
Personal injuries!
Failure to follow this safety instruction can lead to injuries to persons.
NOTE
Damage to environment/equipment or data loss
Failure to follow this instruction can lead to environmental damage, equipment damage or data loss.
Tip or pointer
This symbol indicates information that contributes to better understanding.
EJ32556Version: 1.3
Foreword
1.3Intended use
WARNING
Caution - Risk of injury!
EJ components may only be used for the purposes described below!
1.4Signal distribution board
NOTE
Signal distribution board
Make sure that the EtherCAT plug-in modules are used only on a signal distribution board that has been
developed and manufactured in accordance with the Design Guide.
1.5Documentation issue status
VersionComment
1.3• Update chapter Technical data
1.2• New front page
• Update chapter EJ3255 - Pinout
• Update revision status
• Structural update
1.1• Chapters Basics communication, TwinCAT Quick Start , TwinCAT developmentenvironment and General Notes - EtherCAT Slave Application replaced by
references in the chapter Guide through documentation
• Chapter EJ3255 - Object description and parameterization added
• Update chapter EJ3255 - Pinout
1.0• First publication EJ3255
1.6Guide through documentation
NOTE
Further components of documentation
The documentations named in the following table are further compontents of the complete
documentation. These documentations are required for the use of EtherCAT plug-in modules.
EJ32557Version: 1.3
Foreword
No.TitleDescription
[1]
[2]
[3]
[4]Documentation of the corresponding terminal
EtherCAT System Documentation
Infrastructure for EtherCAT/Ethernet
Design GuideSignal-Distribution-Board for
standard EtherCAT plug-in modules
ELxxxx
• System overview
• EtherCAT basics
• Cable redundancy
• Hot Connect
• Distributed Clocks
• Configuration of EtherCAT-Components
• Technical recommendations and notes for
design, implementation an testing
Requirements for the design of a SignalDistribution-Board for standard EtherCAT plug-in
modules
• Backplane mounting guidelines
• Module placement
• Routing guidelines
• Notes on the principle of operation and
• Descriptions for configuration and
parameterization
are transferable to the corresponding Module
EJxxxx (s. note on documentation of ELxxxx[}35]).
1.7Marking of EtherCAT plug-in modules
Designation
A Beckhoff EtherCAT device has a 14-digit technical designation, made up as follows (e.g.
EJ1008-0000-0017)
• Order identifier
◦ family key: EJ
◦ product designation: The first digit of product designation is used for assignment to a product
group (e.g. EJ2xxx = digital output module).
◦ Version number: The four digit version number identifies different product variants.
• Revision number:
It is incremented when changes are made to the product.
The Order identifier and the revision number are printed on the side of EtherCAT plug-in modules (s.
following illustration (A and B).
EJ32558Version: 1.3
Foreword
Fig.1: Order identifier (A), Revision number (B) and serial number (C) using the example of EJ1008
Product groupExample
Product designationVersionRevision
EtherCAT Coupler
EJ11xx
Digital input modules
EJ1xxx
Digital output modules
EJ2xxx
Analog input modules
EJ3xxx
Analog output modules
EJ4xxx
Special function modules
EJ5xxx, EJ6xxx
Motion modules
EJ7xxx
EJ1101-0022
EJ1008
8-channel
EJ2521
1-channel
EJ3318
8-channel thermocouple
EJ4134
4-channel
EJ6224
IO-Link master
EJ7211
servomotor
(Coupler with external connectors, power supply module and
optional ID switches
-0000
(basic type)
-0224
(2 x 24V outputs)
-0000
(basic type)
-0000
(basic type)
-0090
(with TwinSAFE SC)
-9414
(with ECT, STO and TwinSAFE SC)
Notes
• The elements mentioned above result in the technical designation. EJ1008-0000-0017 is used in the
example below.
• EJ1008-0000 is the order identifier, in the case of “-0000” usually abbreviated to EJ1008.
• The revision -0017 shows the technical progress, such as the extension of features with regard to the
EtherCAT communication, and is managed by Beckhoff.
In principle, a device with a higher revision can replace a device with a lower revision, unless specified
otherwise, e.g. in the documentation.
Associated and synonymous with each revision there is usually a description (ESI, EtherCAT Slave
Information) in the form of an XML file, which is available for download from the Beckhoff web site.
• The product designation, version and revision are read as decimal numbers, even if they are
technically saved in hexadecimal.
-0016
-0017
-0016
-0017
-0019
-0016
-0029
Serial number
The serial number for EtherCAT plug-in modules is usually the 8-digit number printed on the side of the
module (see following illustration C). The serial number indicates the configuration in delivery state and
therefore refers to a whole production batch, without distinguishing the individual modules of a batch.
EJ32559Version: 1.3
Foreword
Fig.2: Order identifier (A), revision number (B) and serial number (C) using the example of EJ1008
Serial numberExample serial number: 08 15 08 16
KK - week of production (CW, calendar week)08 - week of production: 08
YY - year of production15 - year of production: 2015
FF - firmware version08 -f irmware version: 08
HH - hardware version16 - hardware version: 16
EJ325510Version: 1.3
Foreword
1.7.1Beckhoff Identification Code (BIC)
The Beckhoff Identification Code (BIC) is increasingly being applied to Beckhoff products to uniquely identify
the product. The BIC is represented as a Data Matrix Code (DMC, code scheme ECC200), the content is
based on the ANSI standard MH10.8.2-2016.
Fig.3: BIC as data matrix code (DMC, code scheme ECC200)
The BIC will be introduced step by step across all product groups.
Depending on the product, it can be found in the following places:
• on the packaging unit
• directly on the product (if space suffices)
• on the packaging unit and the product
The BIC is machine-readable and contains information that can also be used by the customer for handling
and product management.
Each piece of information can be uniquely identified using the so-called data identifier (ANSI
MH10.8.2-2016). The data identifier is followed by a character string. Both together have a maximum length
according to the table below. If the information is shorter, it shall be replaced by spaces. The data under
positions 1-4 are always available.
The following information is contained:
EJ325511Version: 1.3
Foreword
Item
no.
1Beckhoff order
2Beckhoff Traceability
3Article descriptionBeckhoff article
4QuantityQuantity in packaging
5Batch numberOptional: Year and week
6ID/serial numberOptional: Present-day
7Variant numberOptional: Product variant
...
Further types of information and data identifiers are used by Beckhoff and serve internal processes.
Structure of the BIC
Type of information
number
Number (BTN)
ExplanationData iden-
tifier
Beckhoff order number 1P81P072222
Unique serial number,
see note below
description, e.g. EL1008
unit, e.g. 1, 10, etc.
of production
serial number system,
e.g. with safety products
number on the basis of
standard products
S12SBTNk4p562d7
1K321KEL1809
Q6Q1
2P142P4015031800
51S1251S678294104
30P3230PF971 ,
Number of digits
incl. data identifier
Example
16
2*K183
Example of composite information from items 1 - 4 and 6. The data identifiers are marked in red for better
display:
BTN
An important component of the BIC is the Beckhoff Traceability Number (BTN, item no. 2). The BTN is a
unique serial number consisting of eight characters that will replace all other serial number systems at
Beckhoff in the long term (e.g. batch designations on IO components, previous serial number range for
safety products, etc.). The BTN will also be introduced step by step, so it may happen that the BTN is not yet
coded in the BIC
Notice
This information has been carefully prepared. However, the procedure described is constantly being further
developed. We reserve the right to revise and change procedures and documentation at any time and
without prior notice. No claims for changes can be made from the information, illustrations and descriptions
in this information.
EJ325512Version: 1.3
1.7.2Certificates
• The EhterCAT plug-in modules meet the requirements of the EMC and Low Voltage Directive. The CE
mark is printed on the side of the modules.
• The cRUus imprint identifies devices that meet product safety requirements according to U.S. and
Canadian regulations.
• The warning symbol is a request to read the corresponding documentation. The documentations for
EtherCAT plug-in modules can be downloaded from the Beckhoff homepage.
Foreword
Fig.4: Marking for CE and UL using EJ1008 as an example
EJ325513Version: 1.3
System overview
2System overview
Electronically, the EJxxxx EtherCAT plug-in modules are based on the EtherCAT I/O system. The EJ system
consists of the signal distribution board and EtherCAT plug-in modules. It is also possible to connect an IPC
to the EJ system.
The EJ system is suitable for mass production applications, applications with small footprint and applications
requiring a low total weight.
The machine complexity can be extended by means of the following:
• reserve slots,
• the use of placeholder modules,
• linking of EtherCAT Terminals and EtherCAT Boxes via an EtherCAT connection.
The following diagram illustrates an EJ system. The components shown are schematic, to illustrate the
functionality.
Fig.5: EJ system sample
Signal distribution board
The signal distribution board distributes the signals and the power supply to individual application-specific
plug connectors, in order to connect the controller to further machine modules. Using pre-assembled cable
harnesses avoids the need for time-consuming connection of individual wires. Coded components reduce
the unit costs and the risk of miswiring.
Beckhoff offers development of signal distribution boards as an engineering service. Customers have the
option to develop their own signal distribution board, based on the design guide.
EtherCAT plug-in modules
Similar to the EtherCAT terminal system, a module strand consists of a Bus Coupler and I/O modules.
Almost all of the EtherCAT Terminals can also be manufactured in the EJ design as EtherCAT plug-in
modules. The EJ modules are directly attached to the signal distribution board. The communication, signal
distribution and supply take place via the contact pins at the rear of the modules and the PCB tracks of the
signal distribution board. The coding pins at the rear serve as mechanical protection against incorrect
connection. Color coding on the housing facilitates distinguishing of the modules.
EJ325514Version: 1.3
3Product overview
3.1EJ3255 - Introduction
Product overview
Fig.6: EJ3255
5-channel analog input module, potentiometer measurement with Sensor supply
The EJ3255 EtherCAT plug-in module enables potentiometers to be connected directly. A stabilized power
supply in the module for the connected potentiometers and ratiometric measurement of the input voltage
offer the prerequisites for precise measuring. On account of its high sampling rate and together with
potentiometer position encoders, the compact, 5-channel EtherCAT plug-in module enables a temporally
high-resolution and cost-efficient position detection.
The EJ3255 diagnostics detect broken wire, loss of supply voltage and short-circuit for each channel.
The 5 channels are measured simultaneously (at the same time).
EJ325515Version: 1.3
Product overview
3.2EJ3255 - Technical data
Technical dataEJ3255
Number of analog inputs5
Power supplyvia Up contacts
Technologyratiometric potentiometer evaluation with own supply, 3-wire
connection
Distributed Clocksyes
Feed voltage potentiometertyp. 10V±10%
Internal resistance>> 100kΩ to wiper connection
Input filter limit frequencytyp. -3dB at 3kHz and potentiometer 50kΩ
Sensor typesPotentiometer 300Ω ..50kΩ
Output currentMax. 0.3A total supply current for the potentiometers
Wiring fail indicationyes
Conversion timetyp. 300 ..700µs, dependent on settings,
range)
Electrical isolation500V (E-bus/signal voltage)
Current consumption load voltage (Up
contacts)
Current consumption via E-bustyp. 80mA
Special FeaturesOpen-circuit recognition, supply monitoring, activatable filters
Permissible ambient temperature range
during operation
Permissible ambient temperature range
during storage
Permissible relative air humidity95%, no condensation
Operating altitudemax. 2,000m
Dimensions (WxHxD)approx. 12mm x 66mm x 55mm
Weightapp.30g
Mountingon signal distribution board
Pollution degree2
Installation position
Position of the coding pins [}26]
Color codinggreen
Vibration/shock resistanceaccording to EN60068-2-6/EN60068-2-27 (with corresponding
EMC immunity/emissionaccording to EN61000-6-2/EN61000-6-4 (with corresponding
Protection classEJ module: IP20
ApprovalCE
< ± 0.5% (relative to full scale value)
dependent on the potentiometers, max. 125mA
simultaneous measurement of the channels
0°C .. +55°C
-25°C .. +85°C
Standard [}23]
1 and 6
signal distribution board)
signal distribution board)
EJ system: Dependent on the signal distribution board
CE approval
The CE Marking refers to the EtherCAT plug-in module mentioned above.
If the EtherCAT plug-in module is used in the production of a ready-to-use end product (PCB in conjunction with a housing), the manufacturer of the end product must check compliance of the overall
system with relevant directives and CE certification.
To operate the EtherCAT plug-in modules, they must be installed in a housing.
EJ325516Version: 1.3
3.3EJ3255 - Pinout
Product overview
Fig.7: EJ3255 - Pinout
The PCB footprint can be downloaded from the Beckhoff homepage.
NOTE
Damage to devices possible!
• The pins named with “NC” must not be connected.
• Before installation and commissioning read the chapters Installation of EJ modules[}19] and Commissioning [}35]!
EJ325517Version: 1.3
Product overview
3.4EJ3255 - LEDs
Fig.8: EJ3255 - LEDs
LEDColorDisplayStateDescription
RUNgreenoffInitState of the EtherCAT State Machine: INIT = initialization of the plug-in module
flashingPre-OperationalState of the EtherCAT State Machine: PREOP = function for mailbox commu-
single flash Safe-OperationalState of the EtherCAT State Machine: SAFEOP = verification of the Sync Man-
onOperationalState of the EtherCAT State Machine: OP = normal operating state; mailbox
flickeringBootstrap
Upgreenoff-No 24VDC power supply connected
on-24VDC power supply connected
ERR1
ERR2
ERR3
ERR4
ERR5
redoff-No error
on-There is an error on the corresponding channel:
nication and different default settings set
ager channels and the distributed clocks.
Outputs remain in safe state
and process data communication is possible
State of the EtherCAT State Machine: BOOTSTRAP = function for firmwareupdates [}46] of the plug-in module
• Broken wire on wiper or supply
• Potentiometer outside the specified range (300..50kΩ)
• Short-circuit
• Overload
If channels are not used they can be deactivated via the PDO selection. The
corresponding LED goes out.
EJ325518Version: 1.3
Installation of EJ modules
4Installation of EJ modules
4.1Power supply for the EtherCAT plug-in modules
WARNING
Power supply
A SELV/PELV power supply must be used to supply power for the EJ coupler and modules. Couplers and
modules have to be connected to SELV/PELV circuits exclusively.
The signal distribution board should have a power supply designed for the maximum possible current load of
the module string. Information on the current required from the E-bus supply can be found for each module
in the respective documentation in section “Technical data”, online and in the catalog. The power
requirement of the module string is displayed in the TwinCAT System Manager.
E-bus power supply with EJ1100 or EJ1101-0022 and EJ940x
The EJ1100 Bus Coupler supplies the connected EJ modules with the E-bus system voltage of 3.3V. The
Coupler can accommodate a load up to 2.2A. If a higher current is required, a combination of the coupler
EJ1101-0022 and the power supply units EJ9400 (2.5A) or EJ9404 (12A) should be used. The EJ940x
power supply units can be used as additional supply modules in the module string.
Depending on the application, the following combinations for the E-bus supply are available:
Fig.9: E-bus power supply with EJ1100 or EJ1101-0022 + EJ940x
In the EJ1101-0022 coupler, the RJ45 connectors and optional ID switches are external and can be
positioned anywhere on the signal distribution board, as required. This facilitates feeding through a housing.
The EJ940x power supply plug-in modules provide an optional reset function (see chapter Connection of the
documentation for EJ9400 and EJ9404)
EJ325519Version: 1.3
Installation of EJ modules
E-bus power supply with CXxxxx and EK1110-004x
The Embedded PC supplies the attached EtherCAT terminals and the EtherCAT EJ coupler
• with a supply voltage of 24VDC (-15 %/+20%). This voltage supplies the E-bus and the bus terminal
electronics.
The CXxxxx units supply the E-bus with up to 2,000mA E-bus current. If a higher current is required
due to the attached terminals, power feed terminals or power supply plug-in modules must be used for
the E-bus supply.
• with a peripheral voltage Up of 24VDC to supply the field electronics.
The EK1110-004x EtherCAT EJ couplers relay the following parameters to the signal distribution board via
the rear connector:
• the E-bus signals,
• the E-bus voltage U
(3.3V) and
EBUS
• the peripheral voltage UP (24VDC).
Fig.10: PCB with Embedded PC, EK1110-0043 and EJxxxx, rear view EK1110-0043
EJ325520Version: 1.3
Installation of EJ modules
4.2EJxxxx - dimensions
The EJ modules are compact and lightweight thanks to their design. Their volume is approx. 50% smaller
than the volume of the EL terminals. A distinction is made between four different module types, depending
on the width and the height:
Module typeDimensions (W x H x D)Sample in figure below
Coupler44mm x 66mm x 55mmEJ1100 (ej_44_2xrj45_coupler)
Single module12mm x 66mm x 55mmEJ1809 (ej_12_16pin_code13)
Double module24mm x 66mm x 55mmEJ7342 (ej_24_2x16pin_code18)
Single module (long)12mm x 152mm x 55mmEJ1957 (ej_12_2x16pin_extended_code4747)
Fig.11: EJxxxx - Dimensions
The technical drawings can be downloaded from the Beckhoff homepage. The drawings are named as
described in the drawing below.
Fig.12: Naming of the technical drawings
EJ325521Version: 1.3
Installation of EJ modules
4.3Installation positions and minimum distances
4.3.1Minimum distances for ensuring installability
Note the dimensions shown in the following diagram for the design of the signal distribution board to ensure
safe latching and simple assembly / disassembly of the modules.
Fig.13: Mounting distances EJ module - PCB
Observing the reaching area
A minimum reaching area of 92mm is required for assembly / disassembly, in order to be able to
reach the mounting tabs with the fingers.
Adherence to the recommended minimum distances for ventilation (see section Installation position[}23]) ensures an adequate reaching area.
The signal distribution board must have a thickness of 1.6mm and a minimum distance of 4mm from the
mounting surface, in order to ensure latching of the modules on the board.
EJ325522Version: 1.3
Installation of EJ modules
4.3.2Installation positions
NOTE
Constraints regarding installation position and operating temperature range
Please refer to the technical data [}16] for the installed components to ascertain whether any restrictions
regarding the mounting position and/or the operating temperature range have been specified. During installation of modules with increased thermal dissipation, ensure adequate distance above and below the modules to other components in order to ensure adequate ventilation of the modules during operation!
The standard installation position is recommended. If a different installation position is used, check whether
additional ventilation measures are required.
Ensure that the specified conditions (see Technical data) are adhered to!
Optimum installation position (standard)
For the optimum installation position the signal distribution board is installed horizontally, and the fronts of
the EJ modules face forward (see Fig. Recommended distances for standard installation position). The
modules are ventilated from below, which enables optimum cooling of the electronics through convection.
“From below” is relative to the acceleration of gravity.
Fig.14: Recommended distances for standard installation position
Compliance with the distances shown in Fig. Recommended distances for standard installation position is
recommend. The recommended minimum distances should not be regarded as restricted areas for other
components. The customer is responsible for verifying compliance with the environmental conditions
described in the technical data. Additional cooling measures must be provided, if required.
EJ325523Version: 1.3
Installation of EJ modules
Other installation positions
All other installation positions are characterized by a different spatial position of the signal distribution board,
see Fig. Other installation positions.
The minimum distances to ambient specified above also apply to these installation positions.
Fig.15: Other installation positions
EJ325524Version: 1.3
4.4Codings
4.4.1Color coding
Installation of EJ modules
Fig.16: EJ modules color code; sample: EJ1809
The EJ modules are color-coded for a better overview in the control cabinet (see diagram above). The color
code indicates the signal type. The following table provides an overview of the signal types with
corresponding color coding.
Signal typeModulesColor
CouplerEJ11xxNo color coding
Digital inputEJ1xxxYellow
Digital outputEJ2xxxRed
Analog inputEJ3xxxGreen
Analog outputEJ4xxxBlue
MotionEJ7xxxorange
SystemEJ9xxxgrey
EJ325525Version: 1.3
Installation of EJ modules
4.4.2Mechanical position coding
The modules have two signal-specific coding pins on the underside (see Figs. B1 and B2 below). In
conjunction with the coding holes in the signal distribution board (see Figs. A1 and A2 below), the coding
pins provide an option for mechanical protection against incorrect connection. This significantly reduces the
risk of error during installation and service.
Couplers and placeholder modules have no coding pins.
Fig.17: Mechanical position coding with coding pins (B1 and B2) and coding holes (A1 and A2)
The following diagram shows the position of the position coding with position numbers on the left-hand side.
Modules with the same signal type have the same coding. For sample, all digital input modules have the
coding pins at positions one and three. There is no plug protection between modules with the same signal
type. During installation the module type should therefore be verified based on the device name.
Fig.18: Pin coding; sample: digital input modules
EJ325526Version: 1.3
Installation of EJ modules
4.5Installation on the signal distribution board
EJ modules are installed on the signal distribution board. The electrical connections between coupler and EJ
modules are realized via the pin contacts and the signal distribution board.
The EJ components must be installed in a control cabinet or enclosure which must provide protection against
fire hazards, environmental conditions and mechanical impact.
WARNING
Risk of injury through electric shock and damage to the device!
Bring the module system into a safe, de-energized state before starting installation, disassembly or wiring
of the modules.
NOTE
Risk of damage to components through electrostatic discharge!
Observe the regulations for ESD protection.
Fig.19: Installation of EJ modules
A1 / A2Latching lugs top / bottomC1 / C2Mounting holes
B1 / B2Coding pinsD1 / D2Coding holes
To install the modules on the signal distribution board proceed as follows:
1. Before the installation, ensure that the signal distribution board is securely connected to the mounting
surface. Installation on an unsecured signal distribution board may result in damage to the board.
2. If necessary, check whether the positions of the coding pins (B) match the corresponding holes in the
signal distribution board (D).
3. Compare the device name on the module with the information in the installation drawing.
4. Press the upper and the lower mounting tabs simultaneously and push the module onto the board
while gently moving it up and down, until the module is latched securely.
The required contact pressure can only be established and the maximum current carrying capacity ensured if the module is latched securely.
5. Use placeholder modules (EJ9001) to fill gaps in the module strand.
EJ325527Version: 1.3
Installation of EJ modules
NOTE
• During installation ensure safe latching of the modules on the signal distribution board! The consequences of inadequate contact pressure include:
ð loss of quality of the transferred signals,
ð increased power dissipation of the contacts,
ð impairment of the service life.
EJ325528Version: 1.3
Installation of EJ modules
4.6Extension options
Three options are available for modifications and extensions of the EJ system.
• Replacing the placeholder modules with the function modules provided for the respective slot
• Assigning function modules specified for the respective slots for the reserve slots at the end of the
module string
• Linking with EtherCAT Terminals and EtherCAT Box modules via an Ethernet/EtherCAT connection
4.6.1Using placeholder modules for unused slots
The EJ9001 placeholder modules are used to close temporary gaps in the module strands (see Fig. A1
below). Gaps in the module strand cause interruption in EtherCAT communication and must be equipped
with placeholder modules.
In contrast to the passive terminals of the EL series, the placeholder modules actively participate in the data
exchange. Several placeholder modules can therefore be connected in series, without impairing the data
exchange.
Unused slots at the end of the module strand can be left as reserve slots (see Fig. B1 below).
The machine complexity is extended (extended version) by allocating unused slots (see Figs. A2 below Exchanging placeholder modules and B2 - Assigning reserve slots) according to the specifications for the
signal distribution board.
Fig.20: Sample: Exchanging placeholder modules and assigning reserve slots
E-bus supply
Exchange the placeholder modules with other modules changes the current input from the E-Bus.
Ensure that adequate power supply is provided.
EJ325529Version: 1.3
Installation of EJ modules
4.6.2Linking with EtherCAT Terminals and EtherCAT Box modules
via an Ethernet/EtherCAT connection
Fig.21: Example of extension via an Ethernet/EtherCAT connection
EJ325530Version: 1.3
Installation of EJ modules
4.7IPC integration
Connection of CX and EL terminals via the EK1110-004x EtherCAT EJ Coupler
The EK1110-0043 and EK1110-0044 EtherCAT EJ couplers connect the compact DIN-rail PCs of the CX
series and attached EtherCAT terminals (ELxxxx) with the EJ modules on the signal distribution board.
The EK1110-004x are supplied from the power supply unit of the Embedded PC.
The E-bus signals and the supply voltage of the field side UP are routed directly to the PCB via a plug
connector at the rear of the EtherCAT EJ couplers.
Due to the direct coupling of the Embedded PC and the EL terminals with the EJ modules on the PCB, no
EtherCAT extension (EK1110) or EtherCAT coupler (EJ1100) is required.
The Embedded PC can be expanded with EtherCAT terminals that are not yet available in the EJ system,
forexample.
Fig.22: Example PCB with Embedded PC, EK1110-0043 and EJxxxx, rear view EK1110-0043
EJ325531Version: 1.3
Installation of EJ modules
Connection of C6015 / C6017 via the EJ110x-00xx EtherCAT Coupler
Thanks to their ultra-compact design and versatile mounting options, the C6015 and C6017 IPCs are ideally
suited for connection to an EJ system.
In combination with the ZS5000-0003 mounting set, it is possible to place the C6015 and C6017 IPCs
compactly on the signal distribution board.
The EJ system is optimally connected to the IPC via the corresponding EtherCAT cable (see following Fig.
[A]).
The IPC can be supplied directly via the signal distribution board using the enclosed power plug (see Fig. [B]
below).
NOTE
Positioning on the signal distribution board
The dimensions and distances for placement and other details can be found in the Design
Guide and the documentation for the individual components.
The figure below shows the connection of a C6015 IPC to an EJ system as an example. The components
shown are schematic, to illustrate the functionality.
Fig.23: Example for the connection of a C6015 IPC to an EJ system
EJ325532Version: 1.3
Installation of EJ modules
4.8Disassembly of the signal distribution board
WARNING
Risk of injury through electric shock and damage to the device!
Bring the module system into a safe, de-energized state before starting installation, disassembly or wiring
of the modules.
NOTE
Risk of damage to components through electrostatic discharge!
Observe the regulations for ESD protection.
Each module is secured through latching on the distribution board, which has to be released for
disassembly.
Fig.24: Disassembly of EJ modules
To disassemble the module from the signal distribution board proceed as follows:
1. Before disassembly, ensure that the signal distribution board is securely connected to the mounting
surface. Disassembly of an unsecured signal distribution board may result in damage to the board.
2. Press the upper and lower mounting tabs simultaneously and pull the module from board while gently
moving it up and down.
EJ325533Version: 1.3
EtherCAT basics
5EtherCAT basics
Please refer to the EtherCAT System Documentation for the EtherCAT fieldbus basics.
EJ325534Version: 1.3
Commissioning
6Commissioning
6.1Note on documentation for the EL3255
Detailed documentation on the commissioning of the EJ3255 module is being prepared.
NOTE
Damage to devices or loss of data
The descriptions and notes on the commissioning of the EL3255 EtherCAT Terminal is
transferable to the EJ3255 EtherCAT plug-in modules.
Before commissioning, read the detailed description of the process data, operating modes
and parameterization in the EL3255 documentation.
6.2EJ3255 - Object description and parameterization
EtherCAT XML Device Description
The display matches that of the CoE objects from the EtherCAT XML Device Description. We recommend downloading the latest XML file from the download area of the Beckhoff website and installing it according to installation instructions.
Parameterization via the CoE list (CAN over EtherCAT)
The EtherCAT device is parameterized via the CoE - Online tab (with a double click on the respective object) or via the Process Data tab (assignment of PDOs). A detailed description can be found
in the EtherCAT System-Documentation in chapter “EtherCAT subscriber configuration”
Please note the general CoE notes in the EtherCAT System Documentation in chapter “CoE-inter-face” when using/manipulating the CoE parameters:
- Keep a startup list if components have to be replaced
- Differentiation between online/offline dictionary, existence of current XML description
- use "CoE reload" for resetting changes
Relevant objects
The object description refers to the Pt100 (RTD) analog input module in the two and four-channel
versions. Observe the indices with regard to the objects relevant for the respective terminal (channel dependent).
Introduction
The CoE overview contains objects for different purposes of use:
• Objects required for parameterization [}36] and profile-specific objects [}37] required during
commissioning
• Objects for indicating internal settings [}38] (may be fixed)
The following section first describes the objects required for normal operation, followed by a complete
overview of missing objects.
EJ325535Version: 1.3
Commissioning
6.2.1Restore object
Index 1011 Restore default parameters
Index
NameMeaningData typeFlags Default
(hex)
1011:0
Restore default parame-
Restore default parametersUINT8RO0x01 (1
ters [}58]
1011:01SubIndex 001If this object is set to “0x64616F6C” in the set value dia-
UINT32RW0x00000000 (0
log, all backup objects are reset to their delivery state.
6.2.2Configuration data
Index 80n0 AI Settings for 0 ≤ n ≤ 4 (Ch. 1 - 5, dependent on the number of channels)
The filter characteristics are set via index 0x8000:15 [}36]
The filter frequencies are set for all channels of the module centrally via index 0x8000:15 (channel
1). All other corresponding indices 0x80n0:15 have no parameterization function! The latest
firmware version (see status table [}46]) returns an EtherCAT-compliant error message, if the filter
characteristics of other channels (index 0x80n0:06, 0x80n0:15) are set.
Index
(hex)
80n0:0AI SettingsMaximum subindexUINT8RO0x1C (28
80n0:01Enable user scaleEnablement of the user scalingBOOLEAN RW0x00 (0
80n0:05Siemens bitsThe S5 bits are shown in the three low-order bits (value
80n0:06Enable filterEnable filter, which makes PLC-cycle-synchronous data
80n0:07Enable limit 1The status bits are set in relation to Limit 1BOOLEAN RW0x00 (0
80n0:08Enable limit 2The status bits are set in relation to Limit 2BOOLEAN RW0x00 (0
80n0:0AEnable user calibration Enabling of the user calibrationBOOLEAN RW0x00 (0
Index F010 Module list [for {n=1} (1-channel) to {n=1,..,n=4} (5-channel)]
Index
(hex)
F010:0Module listMaximum subindexUINT8RO0x05 (5
F010:0nSubindex 00nAI ProfilesINT32RO0x0000012C
NameMeaningData typeFlags Default
(300
dec
)
dec
)
6.2.7Standard objects (0x1000-0x1FFF)
The standard objects have the same meaning for all EtherCAT slaves.
Index 1000 Device type
Index
(hex)
1000:0Device typeDevice type of the EtherCAT slave: The Lo-Word con-
NameMeaningData typeFlags Default
UINT32RO0x012C1389
tains the CoE profile used (5001). The Hi-Word contains
(19665801
the module profile according to the modular device profile.
dec
)
dec
)
Index 1008 Device name
Index
(hex)
1008:0Device nameDevice name of the EtherCAT slaveSTRINGROEJ3255
NameMeaningData typeFlags Default
EJ325538Version: 1.3
Index 1009 Hardware version
Commissioning
Index
NameMeaningData typeFlags Default
(hex)
1009:0Hardware versionHardware version of the EtherCAT slaveSTRINGRO00
Index 100A Software version
Index
(hex)
100A:0Software versionFirmware version of the EtherCAT slaveSTRINGRO01
NameMeaningData typeFlags Default
Index 1018 Identity
Index
(hex)
1018:0IdentityInformation for identifying the slaveUINT8RO0x04 (4
1018:01Vendor IDVendor ID of the EtherCAT slaveUINT32RO0x00000002 (2
1018:02Product codeProduct code of the EtherCAT slaveUINT32RO( )
1018:03RevisionRevision numberof the EtherCAT slave; the Low Word
1018:04Serial numberSerial number of the EtherCAT slave; the Low Byte (bit
NameMeaningData typeFlags Default
UINT32RO( )
(bit 0-15) indicates the special terminal number, the High
Word (bit 16-31) refers to the device description
UINT32RO( )
0-7) of the Low Word contains the year of production, the
High Byte (bit 8-15) of the Low Word contains the week
of production, the High Word (bit 16-31) is 0
)
dec
Index 10F0 Backup parameter handling
)
dec
Index
NameMeaningData typeFlags Default
(hex)
10F0:0Backup parameter han-
dling
Information for standardized loading and saving of
backup entries
10F0:01ChecksumChecksum across all backup entries of the EtherCAT
slave
Index 1800 AI TxPDO-Par Standard Ch. 1
Index
(hex)
1800:0AI TxPDO-Par Standard
1800:06Exclude TxPDOsSpecifies the TxPDOs (index of TxPDO mapping objects)
NameMeaningData typeFlags Default
PDO parameter TxPDO 1UINT8RO0x06 (6
Ch. 1
that must not be transferred together with TxPDO 1.
Index 1801 AI TxPDO-Par Compact Ch. 1
Index
(hex)
1801:0AI TxPDO-Par Compact
1801:06Exclude TxPDOsSpecifies the TxPDOs (index of TxPDO mapping objects)
NameMeaningData typeFlags Default
PDO parameter TxPDO 2UINT8RO0x06 (6
Ch.1
that must not be transferred together with TxPDO 2.
Index 1802 AI TxPDO-Par Standard Ch. 2
UINT8RO0x01 (1
)
dec
UINT32RO0x00000000 (0
)
dec
OCTET-
RO01 1A
STRING[2]
)
dec
OCTET-
RO00 1A
STRING[2]
)
dec
Index
NameMeaningData typeFlags Default
(hex)
1802:0AI TxPDO-Par Standard
PDO parameter TxPDO 3UINT8RO0x06 (6
Ch.2
1802:06Exclude TxPDOsSpecifies the TxPDOs (index of TxPDO mapping objects)
that must not be transferred together with TxPDO 3.
EJ325539Version: 1.3
OCTET-
STRING[2]
RO03 1A
)
dec
Commissioning
Index 1803 AI TxPDO-Par Compact Ch. 2
Index
NameMeaningData typeFlags Default
(hex)
1803:0AI TxPDO-Par Compact
PDO parameter TxPDO 4UINT8RO0x06 (6
Ch.2
1803:06Exclude TxPDOsSpecifies the TxPDOs (index of TxPDO mapping objects)
that must not be transferred together with TxPDO 4.
Index 1804 AI TxPDO-Par Standard Ch. 3
Index
(hex)
1804:0AI TxPDO-Par Standard
1804:06Exclude TxPDOsSpecifies the TxPDOs (index of TxPDO mapping objects)
NameMeaningData typeFlags Default
PDO parameter TxPDO 5UINT8RO0x06 (6
Ch.3
that must not be transferred together with TxPDO 5.
Index 1805 AI TxPDO-Par Compact Ch. 3
Index
(hex)
1805:0AI TxPDO-Par Compact
1805:06Exclude TxPDOsSpecifies the TxPDOs (index of TxPDO mapping objects)
NameMeaningData typeFlags Default
PDO parameter TxPDO 6UINT8RO0x06 (6
Ch.3
that must not be transferred together with TxPDO 6.
Index 1806 AI TxPDO-Par Standard Ch. 4
OCTET-
STRING[2]
OCTET-
STRING[2]
OCTET-
STRING[2]
RO02 1A
RO05 1A
RO04 1A
)
dec
)
dec
)
dec
Index
NameMeaningData typeFlags Default
(hex)
1806:0AI TxPDO-Par Standard
PDO parameter TxPDO 7UINT8RO0x06 (6
Ch.2
1806:06Exclude TxPDOsSpecifies the TxPDOs (index of TxPDO mapping objects)
that must not be transferred together with TxPDO 7.
Index 1807 AI TxPDO-Par Compact Ch. 4
Index
(hex)
1807:0AI TxPDO-Par Compact
1807:06Exclude TxPDOsSpecifies the TxPDOs (index of TxPDO mapping objects)
NameMeaningData typeFlags Default
PDO parameter TxPDO 8UINT8RO0x06 (6
Ch.4
that must not be transferred together with TxPDO 8.
Index 1808 AI TxPDO-Par Standard Ch. 5
Index
(hex)
1808:0AI TxPDO-Par Standard
1808:06Exclude TxPDOsSpecifies the TxPDOs (index of TxPDO mapping objects)
NameMeaningData typeFlags Default
PDO parameter TxPDO 9UINT8RO0x06 (6
Ch.5
that must not be transferred together with TxPDO 9.
Index 1809 AI TxPDO-Par Compact Ch. 5
OCTET-
STRING[2]
OCTET-
STRING[2]
OCTET-
STRING[2]
RO07 1A
RO06 1A
RO09 1A
)
dec
)
dec
)
dec
Index
NameMeaningData typeFlags Default
(hex)
1809:0AI TxPDO-Par Compact
PDO parameter TxPDO 10UINT8RO0x06 (6
Ch.5
1809:06Exclude TxPDOsSpecifies the TxPDOs (index of TxPDO mapping objects)
that must not be transferred together with TxPDO 10.
• Bit 1: Synchron with SM 2 Event is supported
(outputs available)
• Bit 1: Synchron with SM 3 Event is supported (no
outputs available)
• Bit 2-3 = 01: DC mode is supported
• Bit 4-5 = 01: Input Shift through local event
(outputs available)
• Bit 4-5 = 10: Input Shift with SYNC1 Event (no
outputs available)
• Bit 14 = 1: dynamic times (measurement through
writing of 0x1C33:08)
1C33:05Minimum cycle timeMinimum cycle time (in ns)UINT32RO0x00030D40
1C33:06Calc and copy timeTime between reading of the inputs and availability of the
inputs for the master (in ns, DC mode only)
1C33:07Minimum delay timeMinimum time between Sync-1 Event and reading of the
(200000
UINT32RO0x00002710
(10000
UINT32RO0x00000000 (0
)
dec
)
dec
inputs (in ns, DC mode only)
1C33:08Command• 0: Measurement of the local cycle time is stopped
UINT16RW0x0000 (0
dec
• 1: Measurement of the local cycle time is started
The entries 0x1C33:03, 0x1C33:06, 0x1C33:09 are updated with the maximum measured values.
For a subsequent measurement the measured values
are reset
1C33:09Maximum Delay timeTime between SYNC1 event and reading of the inputs (in
UINT32RO0x00000000 (0
ns, DC mode only)
1C33:0BSM event missed
counter
1C33:0C Cycle exceeded counter Number of occasions the cycle time was exceeded in
Number of missed SM events in OPERATIONAL (DC
mode only)
OPERATIONAL (cycle was not completed in time or the
UINT16RO0x0000 (0
UINT16RO0x0000 (0
dec
dec
next cycle began too early)
1C33:0D Shift too short counterNumber of occasions that the interval between SYNC0
and SYNC1 event was too short (DC mode only)
1C33:20Sync errorThe synchronization was not correct in the last cycle
(outputs were output too late; DC mode only)
UINT16RO0x0000 (0
BOOLEAN RO0x00 (0
dec
dec
)
)
)
)
dec
)
dec
)
)
dec
)
)
)
EJ325545Version: 1.3
Appendix
7Appendix
7.1EtherCAT AL Status Codes
For detailed information please refer to the EtherCAT system description.
7.2EJ3255 - Firmware compatibility
Beckhoff EtherCAT devices are delivered with the latest available firmware version. Compatibility of firmware
and hardware is mandatory; not every combination ensures compatibility. The overview below shows the
hardware versions on which a firmware can be operated.
Note
• It is recommended to use the newest possible firmware for the respective hardware
• Beckhoff is not under any obligation to provide customers with free firmware updates for delivered
products.
NOTE
Risk of damage to the device!
Pay attention to the instructions for firmware updates on the separate page [}46].
If a device is placed in BOOTSTRAP mode for a firmware update, it does not check when downloading
whether the new firmware is suitable.
This can result in damage to the device! Therefore, always make sure that the firmware is suitable for the
hardware version!
EJ3255
Hardware (HW)Firmware (FW)Revision no.Release date
00 - 02*10*EJ3255-0000-00232019/03
*) This is the current compatible firmware/hardware version at the time of the preparing this documentation.
Check on the Beckhoff website whether more up-to-date documentation is available.
7.3Firmware Update EL/ES/EM/ELM/EPxxxx
This section describes the device update for Beckhoff EtherCAT slaves from the EL/ES, ELM, EM, EK and
EP series. A firmware update should only be carried out after consultation with Beckhoff support.
NOTE
Only use TwinCAT 3 software!
A firmware update of Beckhoff IO devices must only be performed with a TwinCAT 3 installation. It is recommended to build as up-to-date as possible, available for free download on the Beckhoff website https://www.beckhoff.com/en-us/.
To update the firmware, TwinCAT can be operated in the so-called FreeRun mode, a paid license is not required.
The device to be updated can usually remain in the installation location, but TwinCAT has to be operated in
the FreeRun. Please make sure that EtherCAT communication is trouble-free (no LostFrames etc.).
Other EtherCAT master software, such as the EtherCAT Configurator, should not be used, as they may not
support the complexities of updating firmware, EEPROM and other device components.
Storage locations
An EtherCAT slave stores operating data in up to three locations:
EJ325546Version: 1.3
Appendix
• Depending on functionality and performance EtherCAT slaves have one or several local controllers for
processing I/O data. The corresponding program is the so-called firmware in *.efw format.
• In some EtherCAT slaves the EtherCAT communication may also be integrated in these controllers. In
this case the controller is usually a so-called FPGA chip with *.rbf firmware.
• In addition, each EtherCAT slave has a memory chip, a so-called ESI-EEPROM, for storing its own
device description (ESI: EtherCAT Slave Information). On power-up this description is loaded and the
EtherCAT communication is set up accordingly. The device description is available from the download
area of the Beckhoff website at (https://www.beckhoff.com). All ESI files are accessible there as zip
files.
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 three 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.
Simplified update by bundle firmware
The update using so-called bundle firmware is more convenient: in this case the controller firmware and the
ESI description are combined in a *.efw file; during the update both the firmware and the ESI are changed in
the terminal. For this to happen it is necessary
• for the firmware to be in a packed format: recognizable by the file name, which also contains the
revision number, e.g. ELxxxx-xxxx_REV0016_SW01.efw
• for password=1 to be entered in the download dialog. If password=0 (default setting) only the firmware
update is carried out, without an ESI update.
• for the device to support this function. The function usually cannot be retrofitted; it is a component of
many new developments from year of manufacture 2016.
Following the update, its success should be verified
• ESI/Revision: e.g. by means of an online scan in TwinCAT ConfigMode/FreeRun – this is a convenient
way to determine the revision
• Firmware: e.g. by looking in the online CoE of the device
NOTE
Risk of damage to the device!
ü Note the following when downloading new device files
a) Firmware downloads to an EtherCAT device must not be interrupted
b) Flawless EtherCAT communication must be ensured. CRC errors or LostFrames must be avoided.
c) The power supply must adequately dimensioned. The signal level must meet the specification.
ð In the event of malfunctions during the update process the EtherCAT device may become unusable and
require re-commissioning by the manufacturer.
7.3.1Device description ESI file/XML
NOTE
Attention regarding 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 characters/digits) and a revision number (4 digits). Each slave
configured in the System Manager shows its identifier in the EtherCAT tab:
EJ325547Version: 1.3
Appendix
Fig.25: Device identifier consisting of name EL3204-0000 and revision -0016
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.
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:
Fig.26: Scan the subordinate field by right-clicking on the EtherCAT device
If the found field matches the configured field, the display shows
EJ325548Version: 1.3
Fig.27: Configuration is identical
otherwise a change dialog appears for entering the actual data in the configuration.
Appendix
Fig.28: Change dialog
In this example in Fig. Change dialog, 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 ExtendedInformation checkbox must be set in order to display the revision.
Changing the ESI slave identifier
The ESI/EEPROM identifier can be updated as follows under TwinCAT:
• Trouble-free EtherCAT communication must be established with the slave.
• The state of the slave is irrelevant.
• Right-clicking on the slave in the online display opens the EEPROM Update dialog, Fig. EEPROM
Update
EJ325549Version: 1.3
Appendix
Fig.29: EEPROM Update
The new ESI description is selected in the following dialog, see Fig. Selecting the new ESI. The checkbox
Show Hidden Devices also displays older, normally hidden versions of a slave.
Fig.30: Selecting the new ESI
A progress bar in the System Manager shows the progress. Data are first written, then verified.
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.
7.3.2Firmware explanation
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
EJ325550Version: 1.3
Appendix
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).
CoE Online and Offline CoE
Two CoE directories are available:
• online: This is offered in the EtherCAT slave by the controller, if the EtherCAT slave supports this.
This CoE directory can only be displayed if a slave is connected and operational.
• offline: The EtherCAT Slave Information ESI/XML may contain the default content of the CoE.
This CoE directory can only be displayed if it is included in the ESI (e.g. “Beckhoff EL5xxx.xml”).
The Advanced button must be used for switching between the two views.
In Fig. Display of EL3204 firmware version the firmware version of the selected EL3204 is shown as 03 in
CoE entry 0x100A.
Fig.31: Display of EL3204 firmware version
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 via the Online option in Advanced Settings (B) and double-clicking on
AllObjects.
7.3.3Updating controller firmware *.efw
CoE directory
The Online CoE directory is managed by the controller and stored in a dedicated EEPROM, which
is generally not changed during a firmware update.
Switch to the Online tab to update the controller firmware of a slave, see Fig. Firmware Update.
EJ325551Version: 1.3
Appendix
Fig.32: Firmware Update
Proceed as follows, unless instructed otherwise by Beckhoff support. Valid for TwinCAT2 and 3 as
EtherCAT master.
• Switch TwinCAT system to ConfigMode/FreeRun with cycle time >= 1 ms (default in ConfigMode is
4ms). A FW-Update during real time operation is not recommended.
• Switch EtherCAT Master to PreOP
• Switch slave to INIT (A)
• Switch slave to BOOTSTRAP
EJ325552Version: 1.3
• Check the current status (B, C)
• Download the new *efw file (wait until it ends). A pass word will not be neccessary usually.
• After the download switch to INIT, then PreOP
• Switch off the slave briefly (don't pull under voltage!)
• Check within CoE 0x100A, if the FW status was correctly overtaken.
7.3.4FPGA firmware *.rbf
Appendix
If an FPGA chip deals with the EtherCAT communication an update may be accomplished via an *.rbf file.
• Controller firmware for processing I/O signals
• FPGA firmware for EtherCAT communication (only for terminals with FPGA)
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 strand (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.
EJ325553Version: 1.3
Appendix
Fig.33: FPGA firmware version definition
If the column Reg:0002 is not displayed, right-click the table header and select Properties in the context
menu.
Fig.34: Context menu Properties
The Advanced Settings dialog appears where the columns to be displayed can be selected. Under
Diagnosis/Online View select the '0002 ETxxxx Build' check box in order to activate the FPGA firmware
version display.
EJ325554Version: 1.3
Fig.35: Dialog Advanced Settings
Update
For updating the FPGA firmware
• of an EtherCAT coupler the coupler must have FPGA firmware version 11 or higher;
• of an E-Bus Terminal the terminal must have FPGA firmware version 10 or higher.
Appendix
Older firmware versions can only be updated by the manufacturer!
Updating an EtherCAT device
The following sequence order have to be met if no other specifications are given (e.g. by the Beckhoff
support):
• Switch TwinCAT system to ConfigMode/FreeRun with cycle time >= 1ms (default in ConfigMode is
4ms). A FW-Update during real time operation is not recommended.
EJ325555Version: 1.3
Appendix
• 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:
• The Advanced Settings dialog appears. Under ESC Access/E²PROM/FPGA click on Write FPGA
button:
EJ325556Version: 1.3
Appendix
• Select the file (*.rbf) with the new FPGA firmware, and transfer it to the EtherCAT device:
• Wait until download ends
• Switch slave current less for a short time (don't pull under voltage!). In order to activate the new FPGA
firmware a restart (switching the power supply off and on again) of the EtherCAT device is required.
• Check the new FPGA status
NOTE
Risk of damage to the device!
A download of firmware to an EtherCAT device must not be interrupted in any case! If you interrupt this
process by switching off power supply or disconnecting the Ethernet link, the EtherCAT device can only be
recommissioned by the manufacturer!
7.3.5Simultaneous updating of several EtherCAT devices
The firmware and ESI descriptions of several devices can be updated simultaneously, provided the devices
have the same firmware file/ESI.
Fig.36: Multiple selection and firmware update
Select the required slaves and carry out the firmware update in BOOTSTRAP mode as described above.
EJ325557Version: 1.3
Appendix
7.4Restoring the delivery state
To restore the delivery state for backup objects in ELxxxx terminals, the CoE object Restore default
parameters, SubIndex 001 can be selected in the TwinCAT System Manager (Config mode) (see Fig.
Selecting the Restore default parameters PDO)
Fig.37: Selecting the Restore default parameters PDO
Double-click on SubIndex 001 to enter the Set Value dialog. Enter the value 1684107116 in field Dec or the
value 0x64616F6C in field Hex and confirm with OK (Fig. Entering a restore value in the Set Value dialog).
All backup objects are reset to the delivery state.
Fig.38: Entering a restore value in the Set Value dialog
Alternative restore value
In some older terminals the backup objects can be switched with an alternative restore value: Decimal value: 1819238756, Hexadecimal value: 0x6C6F6164An incorrect entry for the restore value
has no effect.
EJ325558Version: 1.3
Appendix
7.5Support and Service
Beckhoff and their partners around the world offer comprehensive support and service, making available fast
and competent assistance with all questions related to Beckhoff products and system solutions.
Beckhoff's branch offices and representatives
Please contact your Beckhoff branch office or representative for local support and service on Beckhoff
products!
The addresses of Beckhoff's branch offices and representatives round the world can be found on her internet
pages: https://www.beckhoff.com
You will also find further documentation for Beckhoff components there.
Beckhoff Support
Support offers you comprehensive technical assistance, helping you not only with the application of
individual Beckhoff products, but also with other, wide-ranging services:
• support
• design, programming and commissioning of complex automation systems
• and extensive training program for Beckhoff system components