2.5.6EP31x4 - Scope of supply ............................................................................................... 30
2.5.7EP31x4 - Process image ................................................................................................. 30
2.5.8EP3174-0092 – Process image (with TwinSAFE SC modules)....................................... 31
3 Mounting and cabling..............................................................................................................................32
5.3General note on the introduction of the Beckhoff Identification Code (BIC) ..................................145
5.4Support and Service ......................................................................................................................147
EP31xx5Version: 2.4
Table of contents
EP31xx6Version: 2.4
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.
2.2.0• EP3162-0002 - M12 analog voltage inputs updated
• EP3162-0002 - M12 analog current inputs updated
• EP3162-0002 - Electrical isolation of the channels updated
• Notes on the analog specification added
• Cabling updated
2.1.0• EP3162-0002 added
• EP31x4 - Object description and parameterization updated
• EP31x2 - Object description and parameterization added
• EP31x4 - Object overview updated
• EP31x2 - Object overview added
• Nut torques for connectors updated
• Power supply added
2.0.0• Migration
1.5.0• Connection description for analog current inputs (M12) revised
• Chapter "Settings and operation modes" updated
1.4.0• Signal settings amended
• Connection of the sensors updated
1.3.0• Object description updated
1.2.0• Technical data updated
• Overview of EtherCAT cables extended
• Mounting and Cabling updated
1.1.0• Description of the Power LEDs expanded
• Object description extended
• Technical data updated
1.0.1• Object description corrected
1.0.0• Description of the Status LEDs revised
0.6• EP3182-1002 added
• Accessories added
• Nut torque for connectors added
• Object description corrected
0.5• First preliminary version
Foreword
EP31xx9Version: 2.4
Foreword
Firm and hardware version
The documentation refers to the firm and hardware status that was valid at the time it was prepared.
The properties of the modules are subject to continuous development and improvement. Modules having
earlier production statuses cannot have the same properties as modules with the latest status. Existing
properties, however, are always retained and are not changed, so that these modules can always be
replaced by new ones.
The firmware and hardware version (delivery state) can be found in the batch number (D number) printed at
the side of the EtherCAT Box.
Syntax of the batch number (D number)
D: WW YY FF HHExample with D No. 29 10 02 01:
WW - week of production (calendar week)29 - week of production 29
YY - year of production10 - year of production 2010
FF - firmware version02 - firmware version 02
HH - hardware version01 - hardware version 01
Beckhoff Identification Code (BIC)
The Beckhoff Identification Code contains additional information about the delivery state of the module:
General note on the introduction of the Beckhoff Identification Code (BIC) [}145].
EP31xx10Version: 2.4
Product overview
2Product overview
2.1EtherCAT Box - Introduction
The EtherCAT system has been extended with EtherCAT Box modules with protection class IP67. Through
the integrated EtherCAT interface the modules can be connected directly to an EtherCAT network without an
additional Coupler Box. The high-performance of EtherCAT is thus maintained into each module.
The extremely low dimensions of only 126x30x26.5 mm (hxw xd) are identical to those of the Fieldbus
Box extension modules. They are thus particularly suitable for use where space is at a premium. The small
mass of the EtherCAT modules facilitates applications with mobile I/O interface (e.g. on a robot arm). The
EtherCAT connection is established via screened M8connectors.
Fig.1: EtherCAT Box Modules within an EtherCAT network
The robust design of the EtherCAT Box modules enables them to be used directly at the machine. Control
cabinets and terminal boxes are now no longer required. The modules are fully sealed and therefore ideally
prepared for wet, dirty or dusty conditions.
Pre-assembled cables significantly simplify EtherCAT and signal wiring. Very few wiring errors are made, so
that commissioning is optimized. In addition to pre-assembled EtherCAT, power and sensor cables, fieldconfigurable connectors and cables are available for maximum flexibility. Depending on the application, the
sensors and actuators are connected through M8 or M12connectors.
The EtherCAT modules cover the typical range of requirements for I/O signals with protection class IP67:
• digital inputs with different filters (3.0ms or 10μs)
• digital outputs with 0.5 or 2A output current
• analog inputs and outputs with 16bit resolution
• Thermocouple and RTD inputs
• Stepper motor modules
XFC (eXtreme Fast Control Technology) modules, including inputs with time stamp, are also available.
EP31xx11Version: 2.4
Product overview
Fig.2: EtherCAT Box with M8 connections for sensors/actuators
Fig.3: EtherCAT Box with M12 connections for sensors/actuators
Basic EtherCAT documentation
You will find a detailed description of the EtherCAT system in the Basic System Documentation for
EtherCAT, which is available for download from our website (www.beckhoff.com) under Downloads.
EtherCAT XML Device Description
You will find XML files (XML Device Description Files) for Beckhoff EtherCAT modules on our website (www.beckhoff.com) under Downloads, in the Configuration Files area.
EP31xx12Version: 2.4
2.2Module overview
Product overview
Analog input modules, 24V
ModuleNumber of
EP3162-0002 [}14]
EP3174-0002 [}24]
EP3174-0092 [}25]
EP3182-1002 [}18]
EP3184-0002 [}26]
EP3184-1002 [}27]
analog
inputs
202 x M12Single-ended inputs
404 x M12Differential inputs
404 x M12Differential inputs, TwinSAFE Single Channel
222 x M12Single-ended inputs, digital outputs
404 x M12Single-ended inputs
402 x M12Single-ended inputs, two inputs per connection
DC
Number of
digital
outputs
Signal
connection
Comment
EP31xx13Version: 2.4
Product overview
2.3EP3162
2.3.1EP3162 - Introduction
Fig.4: EP3162-0002
2-channel analog input ± 10V or 0/4...20mA, electrically isolated, single-ended, 16-bit
The EP3162 EtherCAT Box has two analog inputs that can be individually parameterized to process signals
either in the range from -10V to +10V or from 0/4mA to 20mA. The voltage or input current is digitized with
a resolution of 16bits, and is transmitted (electrically isolated) to the higher-level automation device.
The two input channels are electrically isolated from each other. The input filter and therefore the conversion
times are configurable in a wide range. The inputs can, if required, be scaled differently, and automatic limit
value monitoring is also available. EtherCAT is used for parameterization purposes. The parameters are
stored in the module.
Digital resolution16-bit, including sign
Measuring errormax 0.3%, relative to the full scale value
Input resistanceVoltage measurement: min. 200kΩ
Dielectric strengthmax. 30V
Electrical isolation300V between the input channels
Conversion timeapprox. 100µs
Input filter limit frequency5kHz
Input filter characteristic
Sensor supply voltage UA
S
1)
• Sensors
P
2)
1)
• -10.. +10V (default)
• 0.. 10V
• 0.. 20mA
• 4.. 20mA
• -20.. +20mA
Current measurement: 85Ω + diode voltage
Parameterizable [}82]
3)
24VDC, isolated potential.
Output current per channel:
max. continuous current 50mA
max. peak current 100mA
Product overview
1)
Sum current of consumers and power transmission. This value corresponds to the
current carrying capacity of the connections for the supply voltages.
2)
"Sensors": devices connected to the input connections.
3)
Supply voltage available at the input connections.
EP31xx15Version: 2.4
Product overview
Technical dataEP3162-0002
Environmental conditions
Ambient temperature
during operation
Ambient temperature
during storage
Vibration / shock resistanceconforms to EN 60068-2-6 / EN 60068-2-27
EMC immunity / emissionconforms to EN 61000-6-2 / EN 61000-6-4
Protection classIP65, IP66, IP67 conforms to EN 60529
Make sure that the following components are included in the scope of delivery:
• 1x EtherCAT Box EP3162-0002
• 1x protective cap for supply voltage input, M8, transparent (pre-assembled)
• 1x protective cap for supply voltage output, M8, black (pre-assembled)
• 2x protective cap for EtherCAT socket, M8, green (pre-assembled)
• 10x labels, blank (1 strip of 10)
Pre-assembled protective caps do not ensure IP67 protection
Protective caps are pre-assembled at the factory to protect connectors during transport. They may
not be tight enough to ensure IP67 protection.
Ensure that the protective caps are correctly seated to ensure IP67 protection.
2.3.4EP3162 - Process image
Product overview
AI Standard Channel 1 and 2
You will find the data of the 1st analog
channel under AI Standard Channel 1.
The data of the 2nd channel (AI StandardChannel 2) are structured identically to
those of the 1st channel.
EP31xx17Version: 2.4
Product overview
2.4EP3182
2.4.1EP3182 - Introduction
Fig.5: EP3182-1002
2-channel analog input ±10V or 0/4...20mA, parameterizable, single-ended, 16-bit, 2 digital control
outputs 24VDC, short-circuit proof
Analog inputs (single-ended)
The EP3182-1002 EtherCAT Box has two analog inputs which can be individually parameterized, so that
they process signals either in the -10V to +10V range or the 0/4mA…20mA range.
The voltage or input current is digitized with a resolution of 16bits, and is transmitted (electrically isolated) to
the higher-level automation device.
The two input channels are single-ended and share a common internal ground potential. The input filter and
therefore the conversion times are configurable in a wide range.
The inputs can, if required, be scaled differently, and automatic limit value monitoring is also available.
EtherCAT is used for parameterization purposes. The parameters are stored in the module.
Digital outputs
In addition, the EP3182-1002 EtherCAT Box has two digital outputs via which it forwards the binary control
signals from the controller to the actuators at the process level.
These two outputs (sink/source type) are intended for the switching of logic inputs or outputs with a minimum
impedance of 10kOhm (e.g. reset inputs of digital sensors) and can process currents up to 2mA. They
indicate their signal state by LEDs and are short-circuit proof.
The signals are also connected via the two M12 connectors.
Quick-Links
Installation [}32]
Configuration [}56]
EP31xx18Version: 2.4
2.4.2EP3182 - Technical data
Technical dataEP3182-1002
Fieldbus
FieldbusEtherCAT
Connection2x M8 socket, green
Electrical isolation500V (fieldbus/ IO)
Supply voltages
ConnectionFeed: 1 x M8 plug, 4-pin, black
Downstream connection: 1 x M8 socket, 4-pin, black
Control voltage U
Nominal voltage24VDC (-15%/ +20%)
Sum currentmax. 4A
ConsumersModule electronics: 120mA
Peripheral voltage U
Nominal voltage24VDC (-15%/ +20%)
Sum currentmax. 4A
Consumers• Sensors
Digital resolution16-bit, including sign
Measuring errormax 0.3%, relative to the full scale value
Input resistanceVoltage measurement: min. 200kΩ
Sum current of consumers and power transmission. This value corresponds to the
current carrying capacity of the connections for the supply voltages.
2)
"Sensors": devices connected to the input connections.
3)
Supply voltage available at the input connections.
EP31xx19Version: 2.4
Product overview
Technical dataEP3182-1002
Digital outputs
Number2
ConnectionM12 sockets of the analog inputs
Nominal voltage24VDC from peripheral voltage U
Output current I
OUT
2mA per output, short-circuit proof
P
Internal resistanceapprox. 2350Ω (high level)
Impedance of connected inputsmin. 10kΩ
Environmental conditions
Ambient temperature
0 .. +55°C
during operation
Ambient temperature
-40.. +85°C
during storage
Vibration / shock resistanceconforms to EN 60068-2-6 / EN 60068-2-27
EMC immunity/emissionconforms to EN 61000-6-2 / EN 61000-6-4
Protection classIP65, IP66, IP67 (conforms to EN 60529)
Make sure that the following components are included in the scope of delivery:
• 1x EtherCAT Box EP3182-1002
• 1x protective cap for supply voltage input, M8, transparent (pre-assembled)
• 1x protective cap for supply voltage output, M8, black (pre-assembled)
• 2x protective cap for EtherCAT socket, M8, green (pre-assembled)
• 10x labels, blank (1 strip of 10)
Pre-assembled protective caps do not ensure IP67 protection
Protective caps are pre-assembled at the factory to protect connectors during transport. They may
not be tight enough to ensure IP67 protection.
Ensure that the protective caps are correctly seated to ensure IP67 protection.
Product overview
EP31xx21Version: 2.4
Product overview
2.4.4EP3182 - Process image
Analog inputs
Table1: AI Standard Channel1
You will find the data of the 1st analog channel
under AI Standard Channel1.
AI Standard Channel2
The data of the second analog channelhave the same structure as those of the first channel.
EP31xx22Version: 2.4
Digital outputs
Table2: DO Outputs
Product overview
The digital outputs of the module can be found
under DO Outputs.
EP31xx23Version: 2.4
Product overview
2.5EP31x4
2.5.1EP3174-0002 - Introduction
Fig.6: EP3174-0002
4-channel analog input ±10V or 0/4...20mA, parameterizable, differential input, 16-bit
The EP3174-0002 EtherCAT Box has four analog inputs which can be individually parameterized, so that
they process signals either in the -10V to +10V range or the 0/4mA…20mA range.
The voltage or input current is digitized with a resolution of 16bits, and is transmitted (electrically isolated) to
the higher-level automation device.
The four input channels have differential inputs and possess a common, internal ground potential. The input
filter and therefore the conversion times are configurable in a wide range.
The inputs can, if required, be scaled differently, and automatic limit value monitoring is also available.
EtherCAT is used for parameterization purposes. The parameters are stored in the module.
Quick-Links
Installation [}32]
Configuration [}56]
EP31xx24Version: 2.4
2.5.2EP3174-0092 - Introduction
Product overview
Fig.7: EP3174-0092
4-channel analog input ±10V or 0/4...20mA, differential input, 16-bit, TwinSAFE Single Channel
In addition to the full range of functions of the EP3174-0002, the EP3174-0092 supports the TwinSAFE SC
technology (TwinSAFE Single Channel). This enables the use of standard signals for safety tasks in any
networks of fieldbuses.
Quick-Links
Installation [}32]
Configuration [}56]
Object description and parameterization [}123]
Objects TwinSAFE Single Channel [}139]
TwinSAFE SC process data [}90]
EP31xx25Version: 2.4
Product overview
Channel 1
Channel 2
Channel 3
Channel 4
2.5.3EP3184-0002 - Introduction
Fig.8: EP3184-0002
4-channel analog input ±10V or 0/4...20mA, parameterizable, single-ended, 16-bit
The EP3184-0002 EtherCAT Box has four analog inputs which can be individually parameterized, so that
they process signals either in the -10V to +10V range or the 0/4mA…20mA range.
The voltage or input current is digitized with a resolution of 16bits, and is transmitted (electrically isolated) to
the higher-level automation device.
The four input channels are single-ended and share a common internal ground potential. The input filter and
therefore the conversion times are configurable in a wide range.
The inputs can, if required, be scaled differently, and automatic limit value monitoring is also available.
EtherCAT is used for parameterization purposes. The parameters are stored in the module.
Quick-Links
Installation [}32]
Configuration [}56]
EP31xx26Version: 2.4
2.5.4EP3184-1002 - Introduction
Channel 1
Channel 2
Channel 3
Channel 4
Product overview
Fig.9: EP3184-1002
4-channel analog input ±10V or 0/4...20mA, parameterizable, single-ended, 16-bit
The EP3184-1002 EtherCAT Box has four analog inputs which can be individually parameterized, so that
they process signals either in the -10V to +10V range or the 0/4mA…20mA range.
Two inputs are combined in each case on sockets 1 and 3. Sockets 2 and 4 have no function.
The voltage or input current is digitized with a resolution of 16bits, and is transmitted (electrically isolated) to
the higher-level automation device.
The four input channels are single-ended and share a common internal ground potential. The input filter and
therefore the conversion times are configurable in a wide range.
The inputs can, if required, be scaled differently, and automatic limit value monitoring is also available.
EtherCAT is used for parameterization purposes. The parameters are stored in the module.
Digital resolution16-bit, including sign
Measuring errormax 0.3%, relative to the full scale value
Input resistanceVoltage measurement: min. 200kΩ
Common-mode voltage U
Dielectric strengthmax. 30V
Conversion timeapprox. 100µs
Input filter limit frequency5kHz
Input filter characteristic
Sensor supply voltage UA
S
1)
P
1)
2)
socket,
5-pin
• -10.. +10V (default)
• 0.. 10V
• 0.. 20mA
• 4.. 20mA
Current measurement: 85Ω + diode voltage
CM
max. 35V-
Parameterizable [}82]
3)
24VDC from peripheral voltage U
P
1)
Sum current of consumers and power transmission. This value corresponds to the
current carrying capacity of the connections for the supply voltages.
2)
"Sensors": devices connected to the input connections.
3)
Supply voltage available at the input connections.
• 1x protective cap for supply voltage input, M8, transparent (pre-assembled)
• 1x protective cap for supply voltage output, M8, black (pre-assembled)
• 2x protective cap for EtherCAT socket, M8, green (pre-assembled)
• 10x labels, blank (1 strip of 10)
Pre-assembled protective caps do not ensure IP67 protection
Protective caps are pre-assembled at the factory to protect connectors during transport. They may
not be tight enough to ensure IP67 protection.
Ensure that the protective caps are correctly seated to ensure IP67 protection.
2.5.7EP31x4 - Process image
The process data of the EP3174-0002, EP3174-0092, EP3184-0002 and EP3184-1002 modules are
identical in the default setting and are illustrated here taking the EP3174-0002 as an example.
AI Standard Channel1
You will find the data of the 1st analog channel
under AI Standard Channel1.
AIStandard Channel 2 to 4
The data of analog channels 2 to 4 have the same structure as those of the 1st channel.
EP31xx30Version: 2.4
Product overview
2.5.8EP3174-0092 – Process image (with TwinSAFE SC modules)
In the following illustration the process data are shown after inserting the TwinSAFE SC module as
described in the chapter TwinSAFE SC configuration [}86].
Under Module 1 (EP3174-0092) you will find
• the TSC input data and
• the TSC output data.
You will find the data of the 1st analog channel under AIStandard Channel1.
AIStandard Channel 2 to 4
The data of analog channels 2 to 4 have the same structure as those of the 1st channel.
EP31xx31Version: 2.4
Mounting and cabling
119
126
23
30
26.5
13.5
Ø 3.5
3Mounting and cabling
3.1Mounting
3.1.1Dimensions
Fig.10: Dimensions
All dimensions are given in millimeters.
Housing features
Housing materialPA6 (polyamide)
Sealing compoundpolyurethane
Mountingtwo fastening holes Ø3.5mm for M3
Metal partsbrass, nickel-plated
ContactsCuZn, gold-plated
Power feed throughmax. 4A
Installation positionvariable
Protection classIP65, IP66, IP67 (conforms to EN60529) when screwed together
Dimensions (HxWxD)approx. 126 x 30 x 26.5mm (without connectors)
EP31xx32Version: 2.4
Mounting and cabling
3.1.2Fixing
NOTE
Dirt during assembly
Dirty connectors can lead to malfunctions. Protection class IP67 can only be guaranteed if all cables and
connectors are connected.
• Protect the plug connectors against dirt during the assembly.
Mount the module with two M3 screws on the fastening holes in the corners of the module. The fastening
holes have no thread.
3.1.3Tightening torques for plug connectors
Screw connectors tight with a torque wrench. (e.g. ZB8801 from Beckhoff)
Connector diameterTightening torque
M80.4Nm
M120.6Nm
EP31xx33Version: 2.4
Mounting and cabling
31
24
3.2EtherCAT
3.2.1Connectors
EtherCAT Box Modules have two green M8 sockets for the incoming and downstream EtherCAT
connections.
Adaptation of core colors for cables ZB9030, ZB9032 and ZK1090-3xxxx-xxxx
For standardization, the core colors of the ZB9030, ZB9032 and ZK1090-3xxx-xxxx cables have
been changed to the EN61918 core colors: yellow, orange, white, blue. So there are different color
codes in circulation. The electrical properties of the cables have been retained when the core colors
were changed.
EP31xx34Version: 2.4
Mounting and cabling
3.2.2Status LEDs
Fig.13: EtherCAT status LEDs
L/A (Link/Act)
A green LED labelled "L/A" is located next to each EtherCAT socket. The LED indicates the communication
state of the respective socket:
LEDMeaning
offno connection to the connected EtherCAT device
litLINK: connection to the connected EtherCAT device
flashesACT: communication with the connected EtherCAT device
Run
Each EtherCAT slave has a green LED labelled "Run". The LED signals the status of the slave in the
EtherCAT network:
LEDMeaning
offSlave is in "Init" state
flashes uniformlySlave is in "Pre-Operational“ state
flashes sporadicallySlave is in "Safe-Operational" state
litSlave is in "Operational" state
Description of the EtherCAT slave states
3.2.3Cables
For connecting EtherCAT devices only shielded Ethernet cables that meet the requirements of at least
category5 (CAT5) according to EN50173 or ISO/IEC11801 should be used.
EtherCAT uses four wires for signal transmission.
Thanks to automatic line detection ("Auto MDI-X"), both symmetrical (1:1) or cross-over cables can be used
between Beckhoff EtherCAT.
Detailed recommendations for the cabling of EtherCAT devices
EP31xx35Version: 2.4
Mounting and cabling
Plug
Feed-in
Socket
Forwarding
31
24
31
24
3.3Supply voltages
The EtherCAT Box is supplied with two supply voltages. The supply voltages are electrically isolated in the
EtherCAT Box.
• Control voltage U
• Peripheral voltage U
S
P
Redirection of the supply voltages
The IN and OUT power connections are bridged in the module (not IP204x-Bxxx and IE204x). The supply
voltages US and UP can thus easily be transferred from EtherCATBox to EtherCATBox.
NOTE
Pay attention to the maximum permissible current!
Pay attention also for the redirection of the supply voltages US and UP, the maximum permissible current for
M8 connectors of 4A must not be exceeded!
3.3.1Connectors
NOTE
Risk of confusion: supply voltages and EtherCAT
Defect possible through incorrect insertion.
• Observe the color coding of the connectors:
black: Supply voltages
green: EtherCAT
Fig.14: Connectors for supply voltages
Fig.15: M8 connector
ContactFunctionDescriptionCore color
1U
2U
3GND
4GND
1)
The core colors apply to cables of the type: Beckhoff ZK2020-xxxx-xxxx
S
P
S
P
Control voltageBrown
Peripheral voltageWhite
GND to U
GND to U
S
P
Blue
Black
1)
EP31xx36Version: 2.4
Mounting and cabling
Vert. Faktor: 0,45 cm / V
5101520
2
4
6
8
10
250
0
12
30
Vert. Faktor: 0,45 cm / V
Voltage drop (V)
Cable length (m)
35
0,25 mm²
0,34 mm²
0,5 mm²
0,75 mm²
I = 2 A
Vert. Faktor: 0,45 cm / V
5101520
2
4
6
8
10
250
0
12
30
Vert. Faktor: 0,45 cm / V
Voltage drop (V)
Cable length (m)
35
0,25 mm²
0,34 mm²
0,5 mm²
0,75 mm²
I = 4 A
3.3.2Status LEDs
Fig.16: Status LEDs for the power supply
LEDDisplayMeaning
US (control voltage)offSupply voltage, US, is not present
green illuminatedSupply voltage, US, is present
UP (peripheral voltage)offSupply voltage, UP, is not present
green illuminatedSupply voltage, UP, is present
3.3.3Conductor losses
Take into account the voltage drop on the supply line when planning a system. Avoid the voltage drop being
so high that the supply voltage at the box lies below the minimum nominal voltage.
Variations in the voltage of the power supply unit must also be taken into account.
Voltage drop on the supply line
EP31xx37Version: 2.4
Mounting and cabling
3.4UL Requirements
The installation of the EtherCAT Box Modules certified by UL has to meet the following requirements.
Supply voltage
CAUTION
CAUTION!
This UL requirements are valid for all supply voltages of all marked EtherCAT Box Modules!
For the compliance of the UL requirements the EtherCAT Box Modules should only be supplied
• by a 24 VDC supply voltage, supplied by an isolating source and protected by means of a fuse (in accordance with UL248), rated maximum 4 Amp, or
• by a 24 VDC power source, that has to satisfy NEC class 2.
A NEC class 2 power supply shall not be connected in series or parallel with another (class 2) power
source!
CAUTION
CAUTION!
To meet the UL requirements, the EtherCAT Box Modules must not be connected to unlimited power
sources!
Networks
CAUTION
CAUTION!
To meet the UL requirements, EtherCAT Box Modules must not be connected to telecommunication networks!
Ambient temperature range
CAUTION
CAUTION!
To meet the UL requirements, EtherCAT Box Modules has to be operated only at an ambient temperature
range of 0 to 55°C!
Marking for UL
All EtherCAT Box Modules certified by UL (Underwriters Laboratories) are marked with the following label.
Fig.17: UL label
EP31xx38Version: 2.4
Mounting and cabling
3.5ATEX notes
3.5.1ATEX - Special conditions
WARNING
Observe the special conditions for the intended use of EtherCAT Box modules in potentially explosive areas – directive 94/9/EU.
• The certified components are to be installed with a BG2000-0000 or BG2000-0010 protection enclosure
[}40] that guarantees a protection against mechanical hazards!
• If the temperatures during rated operation are higher than 70°C at the feed-in points of cables, lines or
pipes, or higher than 80°C at the wire branching points, then cables must be selected whose temperature data correspond to the actual measured temperature values!
• Observe the permissible ambient temperature range of 0 to 55°C for the use of EtherCAT Box modules
in potentially explosive areas!
• Measures must be taken to protect against the rated operating voltage being exceeded by more than
40% due to short-term interference voltages!
• The connections of the certified components may only be connected or disconnected if the supply voltage has been switched off or if a non-explosive atmosphere is ensured!
Standards
The fundamental health and safety requirements are fulfilled by compliance with the following standards:
• EN 60079-0: 2006
• EN 60079-15: 2005
Marking
The EtherCAT Box modules certified for potentially explosive areas bear the following marking:
II 3 GEx nA II T4DEKRA 11ATEX0080 XTa: 0 - 55°C
or
II 3 GEx nA nC IIC T4DEKRA 11ATEX0080 XTa: 0 - 55°C
Batch number (D number)
The EtherCAT Box modules bear a batch number (D number) that is structured as follows:
D: WW YY FF HH
WW - week of production (calendar week)
YY - year of production
FF - firmware version
HH - hardware version
Example with batch number 29 10 02 01:
29 - week of production 29
10 - year of production 2010
02 - firmware version 02
01 - hardware version 01
EP31xx39Version: 2.4
Mounting and cabling
3.5.2BG2000 - EtherCAT Box protection enclosures
WARNING
Risk of electric shock and damage of device!
Bring the EtherCAT system into a safe, powered down state before starting installation, disassembly or
wiring of the modules!
ATEX
WARNING
Mount a protection enclosure!
To fulfill the special conditions according to ATEX [}39], a BG2000-0000 or BG2000-0010 protection enclosure has to be mounted over the EtherCAT Box.
Installation
Put the cables for EtherCAT, power supply and sensors/actuators through the hole of the protection
enclosure.
Fig.18: BG2000 - putting the cables
Fix the wires for EtherCAT, power supply and sensors/actuators to the EtherCAT Box.
EP31xx40Version: 2.4
Fig.19: BG2000 - fixing the cables
Mount the protection enclosure over the EtherCAT Box.
Mounting and cabling
Fig.20: BG2000 - mounting the protection enclosure
3.5.3ATEX Documentation
Notes about operation of EtherCAT Box Modules (EPxxxx-xxxx) in potentially explosive areas (ATEX)
Pay also attention to the continuative documentationNotes about operation of EtherCAT Box Modules (EPxxxx-xxxx) in potentially explosive areas (ATEX) that is available in the download area of
the Beckhoff homepage http:\\www.beckhoff.com!
EP31xx41Version: 2.4
Mounting and cabling
3.6EP3162-0002 - Electrical isolation of the channels
The block diagram shown below illustrates the principle of the electrical isolation of the two channels. The
24V with which the channels are supplied come from an electrically isolated DC/DC and are thus UA instead
of US.
Fig.21: Block diagram: electrical isolation
Electrical isolation of GND
The GNDs of channel 1 (GNDA) and channel 2 (GNDB) are electrically isolated from each other.
EP31xx42Version: 2.4
Mounting and cabling
3.7EP3162-0002 – Signal connection and Status LEDs
3.7.1Analog voltage inputs M12, one single-ended input per socket
Analog input, -10V to +10V or 0V to +10V
Fig.22: M12 analog voltage input, channel 1
Fig.23: M12 analog voltage input, channel 2
Refer to the chapter EP3162-0002 - Electrical isolation of the channels [}42] for additional information.
EP31xx43Version: 2.4
Mounting and cabling
3.7.2M12 analog current inputs, one single-ended input per socket
Analog input, 0mA to 20mA, 4 to 20mA or -20mA to 20mA
Fig.24: M12 analog current inputs, channel 1
Fig.25: M12 analog current inputs, channel 2
Refer to the chapter EP3162-0002 - Electrical isolation of the channels [}42] for additional information.
EP31xx44Version: 2.4
3.7.3Status LEDs at the M12 connections
Fig.26: Status LEDs at the M12 connections
ConnectionLEDDisplayMeaning
M12 socket no. 0-1 R
left
E
right
Correct function is indicated if the green RUN LED is on and the red Error LED is off.
offNo data transfer to the A/D converter
greenData transfer to A/D converter
offFunction OK
redError: Broken wire or measured value outside the measuring
range
Mounting and cabling
EP31xx45Version: 2.4
Mounting and cabling
3.8EP3174-00x2 - Signal connection and Status LEDs
3.8.1M12 analog voltage inputs, one differential input per socket
Analog inputs, -10 V to +10 V differential
Fig.27: M12 analog voltage inputs, one differential input per socket
GND connections
If several sensors are connected to a box whose GND connections are not electrically isolated,
GND must be connected to GNDp.
3.8.2M12 analog current inputs, one differential input per socket
Analog inputs, 0 mA to 20 mA or 4 mA to 20 mA differential
Fig.28: M12 analog current inputs, one differential input per socket
GND connections
If several sensors are connected to a box whose GND connections are not electrically isolated,
GND must be connected to GNDp.
EP31xx46Version: 2.4
3.8.3Status LEDs at the M12 connections
Fig.29: Status LEDs at the M12 connections
ConnectionLEDDisplayMeaning
M12 socket no. 1-4 R
left
E
right
Correct function is indicated if the green RUN LED is on and the red Error LED is off.
offNo data transfer to the A/D converter
greenData transfer to A/D converter
offFunction OK
redError: Broken wire or measured value outside the measuring
range
Mounting and cabling
EP31xx47Version: 2.4
Mounting and cabling
3.9EP3182-1002 – Signal connection and Status LEDs
3.9.1Analog voltage inputs, M12 digital output, one single-ended
input and one digital output per socket
Analog input, -10 to +10V, digital output
Fig.30: M12 analog voltage inputs
3.9.2Analog current inputs, M12 digital output, one single-ended
input and one digital output per socket
Analog input, 0 to 20mA, 4 to 20mA, digital output
Fig.31: M12 current inputs
EP31xx48Version: 2.4
3.9.3Status LEDs at the M12 connections
Fig.32: Status LEDs at the M12 connections
ConnectionLEDDisplayMeaning
M12 socket no. 1-2 R
left
1
right
offAnalog input: No data transfer to the A/D converter
greenAnalog input: Data transfer to A/D converter
redError at the analog input: Broken wire or measured value outside
the measuring range
offDigital output switched off
greenDigital output switched on
Mounting and cabling
Function is without error if the left-hand LED is green.
3.10EP3184-0002 – Signal connection and Status LEDs
3.10.1Analog voltage inputs M12, one single-ended input per socket
Analog input, -10V to +10V
Fig.33: Analog voltage inputs M12, one single-ended input per socket
GND connections
If several sensors are connected to a box whose GND connections are not electrically isolated,
GND must be connected to GNDp.
EP31xx49Version: 2.4
Mounting and cabling
3.10.2M12 analog current inputs, one single-ended input per socket
Analog input, 0 to 20mA, or 4 to 20mA
Fig.34: M12 analog current inputs, one single-ended input per socket
GND connections
If several sensors are connected to a box whose GND connections are not electrically isolated,
GND must be connected to GNDp.
3.10.3Status LEDs at the M12 connections
Fig.35: Status LEDs at the M12 connections
ConnectionLEDDisplayMeaning
M12 socket no. 1-4 R
left
E
right
offNo data transfer to the A/D converter
greenData transfer to A/D converter
offFunction OK
redError: Broken wire or measured value outside the measuring
range
Correct function is indicated if the green RUN LED is on and the red Error LED is off.
EP31xx50Version: 2.4
Mounting and cabling
3.11EP3184-1002 – Signal connection and Status LEDs
3.11.1M12 analog voltage inputs, two single-ended inputs per socket
Analog inputs, -10V to +10V
Fig.36: M12 analog voltage inputs, two single-ended inputs per socket
GND connections
If several sensors are connected to a box whose GND connections are not electrically isolated,
GND must be connected to GNDp.
3.11.2M12 analog current inputs, two single-ended inputs per socket
Analog inputs, 0mA to 20mA or 4mA to 20mA
Fig.37: M12 analog current inputs, two single-ended inputs per socket
GND connections
If several sensors are connected to a box whose GND connections are not electrically isolated,
GND must be connected to GNDp.
EP31xx51Version: 2.4
Mounting and cabling
3.11.3Status LEDs at the M12 connections
Fig.38: Status LEDs at the M12 connections
ConnectionLEDDisplayMeaning
M12 socket no. 1,
3
Sockets 2 and 4
are not used.
Correct function is indicated if the green RUN LED is on and the red Error LED is off.
R
left
E
right
offNo data transfer to the A/D converter
greenData transfer to A/D converter
offFunction OK
redError: Broken wire or measured value outside the measuring
range
EP31xx52Version: 2.4
Configuration
4Configuration
4.1Inserting into the EtherCAT network
Installation of the latest XML device description
Please ensure that you have installed the latest XML device description in TwinCAT. This can be
downloaded from the Beckhoff website (http://www.beckhoff.de/english/download/elconfg.htm?id=1983920606140) and installed according to the installation instructions.
At the Beckhoff TwinCAT System Manager the configuration tree can be build in two different ways:
• by scanning [}53] for existing hardware (called "online") and
• by manual inserting/appending [}53] of fieldbus devices, couplers and slaves.
Automatic scanning in of the box
• The EtherCAT system must be in a safe, de-energized state before the EtherCAT modules are
connected to the EtherCAT network!
• Switch on the operating voltage, open the TwinCAT System Manager [}56] (Config mode), and scan
in the devices (see Fig. 1). Acknowledge all dialogs with "OK", so that the configuration is in "FreeRun"
mode.
Fig.39: Scanning in the configuration (I/O Devices -> right-click -> Scan Devices...)
Appending a module manually
• The EtherCAT system must be in a safe, de-energized state before the EtherCAT modules are
connected to the EtherCAT network!
• Switch on the operating voltage, open the TwinCAT System Manager [}56] (Config mode)
• Append a new I/O device. In the dialog that appears select the device EtherCAT (Direct Mode), and
confirm with OK.
EP31xx53Version: 2.4
Configuration
Fig.40: Appending a new I/O device (I/O Devices -> right-click -> Append Device...)
Fig.41: Selecting the device EtherCAT
• Append a new box.
Fig.42: Appending a new box (Device -> right-click -> Append Box...)
• In the dialog that appears select the desired box (e.g. EP2816-0008), and confirm with OK.
EP31xx54Version: 2.4
Configuration
Fig.43: Selecting a Box (e.g. EP2816-0008)
Fig.44: Appended Box in the TwinCAT tree
EP31xx55Version: 2.4
Configuration
4.2Configuration via TwinCAT
In the left-hand window of the TwinCAT System Manager, click on the branch of the EtherCAT Box you wish
to configure (EP2816-0008 in this example).
Fig.45: Branch of the EtherCAT box to be configured
In the right-hand window of the TwinCAT System manager, various tabs are now available for configuring
the EtherCAT Box.
General tab
Fig.46: General tab
NameName of the EtherCAT device
IdNumber of the EtherCAT device
TypeEtherCAT device type
CommentHere you can add a comment (e.g. regarding the system).
DisabledHere you can deactivate the EtherCAT device.
Create symbolsAccess to this EtherCAT slave via ADS is only available if this checkbox is
activated.
EP31xx56Version: 2.4
Configuration
EtherCAT tab
Fig.47: EtherCAT tab
TypeEtherCAT device type
Product/RevisionProduct and revision number of the EtherCAT device
Auto Inc Addr.Auto increment address of the EtherCAT device. The auto increment address can
be used for addressing each EtherCAT device in the communication ring through
its physical position. Auto increment addressing is used during the start-up phase
when the EtherCAT master allocates addresses to the EtherCAT devices. With
auto increment addressing the first EtherCAT slave in the ring has the address
0000
. For each further slave the address is decremented by 1 (FFFF
hex
, FFFE
hex
etc.).
EtherCAT Addr.Fixed address of an EtherCAT slave. This address is allocated by the EtherCAT
master during the start-up phase. Tick the checkbox to the left of the input field in
order to modify the default value.
Previous PortName and port of the EtherCAT device to which this device is connected. If it is
possible to connect this device with another one without changing the order of the
EtherCAT devices in the communication ring, then this combobox is activated and
the EtherCAT device to which this device is to be connected can be selected.
Advanced SettingsThis button opens the dialogs for advanced settings.
hex
The link at the bottom of the tab points to the product page for this EtherCAT device on the web.
Process Data tab
Indicates the configuration of the process data. The input and output data of the EtherCAT slave are
represented as CANopen process data objects (PDO). The user can select a PDO via PDO assignment and
modify the content of the individual PDO via this dialog, if the EtherCAT slave supports this function.
EP31xx57Version: 2.4
Configuration
Fig.48: Process Data tab
Sync Manager
Lists the configuration of the Sync Manager (SM).
If the EtherCAT device has a mailbox, SM0 is used for the mailbox output (MbxOut) and SM1 for the mailbox
input (MbxIn).
SM2 is used for the output process data (outputs) and SM3 (inputs) for the input process data.
If an input is selected, the corresponding PDO assignment is displayed in the PDO Assignment list below.
PDO Assignment
PDO assignment of the selected Sync Manager. All PDOs defined for this Sync Manager type are listed
here:
• If the output Sync Manager (outputs) is selected in the Sync Manager list, all RxPDOs are displayed.
• If the input Sync Manager (inputs) is selected in the Sync Manager list, all TxPDOs are displayed.
The selected entries are the PDOs involved in the process data transfer. In the tree diagram of the System
Manager these PDOs are displayed as variables of the EtherCAT device. The name of the variable is
identical to the Name parameter of the PDO, as displayed in the PDO list. If an entry in the PDO assignment
list is deactivated (not selected and greyed out), this indicates that the input is excluded from the PDO
assignment. In order to be able do select a greyed out PDO, the currently selected PDO has to be
deselected first.
EP31xx58Version: 2.4
Configuration
Activation of PDO assignment
• the EtherCAT slave has to run through the PS status transition cycle (from pre-operational to
safe-operational) once (see Online tab [}62]),
• and the System Manager has to reload the EtherCAT slaves ( button)
PDO list
List of all PDOs supported by this EtherCAT device. The content of the selected PDOs is displayed in the
PDO Content list. The PDO configuration can be modified by double-clicking on an entry.
Column Description
IndexPDO index.
SizeSize of the PDO in bytes.
NameName of the PDO.
If this PDO is assigned to a Sync Manager, it appears as a variable of the slave with this
parameter as the name.
FlagsF Fixed content: The content of this PDO is fixed and cannot be changed by the System
Manager.
M Mandatory PDO. This PDO is mandatory and must therefore be assigned to a Sync Manager!
Consequently, this PDO cannot be deleted from the PDO Assignment list
SMSync Manager to which this PDO is assigned. If this entry is empty, this PDO does not take part in
the process data traffic.
SUSync unit to which this PDO is assigned.
PDO Content
Indicates the content of the PDO. If flag F (fixed content) of the PDO is not set the content can be modified.
Download
If the device is intelligent and has a mailbox, the configuration of the PDO and the PDO assignments can be
downloaded to the device. This is an optional feature that is not supported by all EtherCAT slaves.
PDO Assignment
If this check box is selected, the PDO assignment that is configured in the PDO Assignment list is
downloaded to the device on startup. The required commands to be sent to the device can be viewed in the
Startup [}59] tab.
PDO Configuration
If this check box is selected, the configuration of the respective PDOs (as shown in the PDO list and the
PDO Content display) is downloaded to the EtherCAT slave.
Startup tab
The Startup tab is displayed if the EtherCAT slave has a mailbox and supports the CANopen over EtherCAT
(CoE) or Servo drive over EtherCAT protocol. This tab indicates which download requests are sent to the
mailbox during startup. It is also possible to add new mailbox requests to the list display. The download
requests are sent to the slave in the same order as they are shown in the list.
EP31xx59Version: 2.4
Configuration
Fig.49: Startup tab
ColumnDescription
TransitionTransition to which the request is sent. This can either be
• the transition from pre-operational to safe-operational (PS), or
• the transition from safe-operational to operational (SO).
If the transition is enclosed in "<>" (e.g. <PS>), the mailbox request is fixed and cannot be
modified or deleted by the user.
ProtocolType of mailbox protocol
IndexIndex of the object
DataDate on which this object is to be downloaded.
CommentDescription of the request to be sent to the mailbox
Move UpThis button moves the selected request up by one position in the list.
Move Down This button moves the selected request down by one position in the list.
NewThis button adds a new mailbox download request to be sent during startup.
DeleteThis button deletes the selected entry.
EditThis button edits an existing request.
CoE - Online tab
The additional CoE - Online tab is displayed if the EtherCAT slave supports the CANopen over EtherCAT
(CoE) protocol. This dialog lists the content of the object directory of the slave (SDO upload) and enables the
user to modify the content of an object from this list. Details for the objects of the individual EtherCAT
devices can be found in the device-specific object descriptions.
EP31xx60Version: 2.4
Configuration
Fig.50: CoE - Online tab
Object list display
ColumnDescription
IndexIndex and subindex of the object
NameName of the object
FlagsRWThe object can be read, and data can be written to the object (read/write)
ROThe object can be read, but no data can be written to the object (read only)
PAn additional P identifies the object as a process data object.
ValueValue of the object
Update ListThe Update list button updates all objects in the displayed list
Auto Update If this check box is selected, the content of the objects is updated automatically.
AdvancedThe Advanced button opens the Advanced Settings dialog. Here you can specify which
objects are displayed in the list.
EP31xx61Version: 2.4
Configuration
Fig.51: Advanced settings
Online
- via SDO information
Offline
- via EDS file
Online tab
If this option button is selected, the list of the objects included in the object
directory of the slave is uploaded from the slave via SDO information. The list
below can be used to specify which object types are to be uploaded.
If this option button is selected, the list of the objects included in the object
directory is read from an EDS file provided by the user.
Fig.52: Online tab
EP31xx62Version: 2.4
Configuration
State Machine
InitThis button attempts to set the EtherCAT device to the Init state.
Pre-OpThis button attempts to set the EtherCAT device to the pre-operational state.
OpThis button attempts to set the EtherCAT device to the operational state.
BootstrapThis button attempts to set the EtherCAT device to the Bootstrap state.
Safe-OpThis button attempts to set the EtherCAT device to the safe-operational state.
Clear ErrorThis button attempts to delete the fault display. If an EtherCAT slave fails during
change of state it sets an error flag.
Example: An EtherCAT slave is in PREOP state (pre-operational). The master now
requests the SAFEOP state (safe-operational). If the slave fails during change of
state it sets the error flag. The current state is now displayed as ERR PREOP. When
the Clear Error button is pressed the error flag is cleared, and the current state is
displayed as PREOP again.
Current StateIndicates the current state of the EtherCAT device.
Requested StateIndicates the state requested for the EtherCAT device.
DLL Status
Indicates the DLL status (data link layer status) of the individual ports of the EtherCAT slave. The DLL status
can have four different states:
StatusDescription
No Carrier / OpenNo carrier signal is available at the port, but the port is open.
No Carrier / ClosedNo carrier signal is available at the port, and the port is closed.
Carrier / OpenA carrier signal is available at the port, and the port is open.
Carrier / ClosedA carrier signal is available at the port, but the port is closed.
File Access over EtherCAT
DownloadWith this button a file can be written to the EtherCAT device.
UploadWith this button a file can be read from the EtherCAT device.
EP31xx63Version: 2.4
Configuration
4.3EtherCAT State Machine
The state of the EtherCAT slave is controlled via the EtherCAT State Machine (ESM). Depending upon the
state, different functions are accessible or executable in the EtherCAT slave. Specific commands must be
sent by the EtherCAT master to the device in each state, particularly during the bootup of the slave.
A distinction is made between the following states:
• Init
• Pre-Operational
• Safe-Operational and
• Operational
• Boot
The regular state of each EtherCAT slave after bootup is the OP state.
Fig.53: EtherCAT State Machine
Init
After switch-on the EtherCAT slave in the Init state. No mailbox or process data communication is possible.
The EtherCAT master initializes sync manager channels 0 and 1 for mailbox communication.
Pre-Operational (Pre-Op)
During the transition between Init and Pre-Op the EtherCAT slave checks whether the mailbox was initialized
correctly.
In Pre-Op state mailbox communication is possible, but not process data communication. The EtherCAT
master initializes the sync manager channels for process data (from sync manager channel 2), the FMMU
channels and, if the slave supports configurable mapping, PDO mapping or the sync manager PDO
assignment. In this state the settings for the process data transfer and perhaps terminal-specific parameters
that may differ from the default settings are also transferred.
Safe-Operational (Safe-Op)
During transition between Pre-Op and Safe-Op the EtherCAT slave checks whether the sync manager
channels for process data communication and, if required, the distributed clocks settings are correct. Before
it acknowledges the change of state, the EtherCAT slave copies current input data into the associated DPRAM areas of the EtherCAT slave controller (ECSC).
EP31xx64Version: 2.4
Configuration
Mailbox and process data communication is possible in the Safe-Op state, but the slave keeps its outputs in
the safe state. However, the input data are cyclically updated.
Operational (Op)
Before the EtherCAT master switches the EtherCAT slave from Safe-Op to Op it must transfer valid output
data.
In the Op state the slave copies the output data of the masters to its outputs. Process data and mailbox
communication is possible.
Boot
In the Boot state the slave firmware can be updated. The Boot state can only be reached via the Init state.
In the Boot state mailbox communication via the file access over EtherCAT (FoE) protocol is possible, but no
other mailbox communication and no process data communication.
EP31xx65Version: 2.4
Configuration
4.4CoE interface
General description
The CoE interface (CANopen over EtherCAT) is used for parameter management of EtherCAT devices.
EtherCAT slaves or the EtherCAT master manage fixed (read only) or variable parameters which they
require for operation, diagnostics or commissioning.
CoE parameters are arranged in a table hierarchy. In principle, the user has read access via the fieldbus.
The EtherCAT master (TwinCAT System Manager) can access the local CoE lists of the slaves via
EtherCAT in read or write mode, depending on the properties.
Different CoE parameter types are possible, including string (text), integer numbers, Boolean values or larger
byte fields. They can be used to describe a wide range of features. Examples of such parameters include
manufacturer ID, serial number, process data settings, device name, calibration values for analog
measurement or passwords.
Organization takes place on 2 levels by means of hexadecimal numbering: the (main) index is named first,
then the subindex. The value ranges are:
• Index 0 to 65535
• Subindex: 0…255
A parameter localized in this way is normally written as 0x8010:07, with preceding "0x" to identify the
hexadecimal numerical range and a colon between index and subindex.
The relevant ranges for EtherCAT fieldbus users are:
• 0x1000: This is where fixed identity information for the device is stored, including name, manufacturer,
serial number etc., plus information about the current and available process data configurations.
• 0x8000: This is where the operational and functional parameters for all channels are stored, such as
filter settings or output frequency.
Other important ranges are:
• 0x4000: In some EtherCAT devices the channel parameters are stored here (as an alternative to the
0x8000 range).
• 0x6000: Input PDOs ("input" from the perspective of the EtherCAT master)
• 0x7000: Output PDOs ("output" from the perspective of the EtherCAT master)
Availability
Not every EtherCAT device must have a CoE list. Simple I/O modules without dedicated processor
usually have no variable parameters and therefore no CoE list.
If a device has a CoE list, it is shown in the TwinCAT System Manager as a separate tab with a listing of the
elements:
EP31xx66Version: 2.4
Configuration
Fig.54: CoE-Online tab
The CoE objects from 0x1000 to 0x1600, which are available in the example device "EL2502", can be seen
in the above figure; the subindices from 0x1018 are expanded.
Data management
Some parameters, particularly the setting parameters of the slave, are configurable and writeable. This can
be done in write or read mode
• via the System Manager (figure above) by clicking. This is useful for commissioning of the system/
slaves. Click on the row of the index to be parameterized and enter a value in the SetValue dialog.
• from the control system/PLC via ADS, e.g. through function blocks from the TcEtherCAT.lib library This
is recommended for modifications while the system is running or if no System Manager or operating
staff are available.
Data management
If CoE parameters on the slave are changed online, this is saved fail-safe in the device (EEPROM)
in Beckhoff devices. This means that the changed CoE parameters are still retained after a restart.
The situation may be different with other manufacturers.
Startup list
Startup list
Changes in the local CoE list of the terminal are lost if the terminal is replaced. If a terminal is replaced with a new Beckhoff terminal, it will have the factory settings. It is therefore advisable to link
all changes in the CoE list of an EtherCAT slave with the Startup list of the slave, which is processed whenever the EtherCAT fieldbus is started. In this way a replacement EtherCAT slave can
automatically be parameterized with the specifications of the user.
If EtherCAT slaves are used which are unable to store local CoE values permanently, the Startup
list must be used.
Recommended approach for manual modification of CoE parameters
• Make the required change in the System Manager. The values are stored locally in the EtherCAT slave
EP31xx67Version: 2.4
Configuration
• If the value is to be stored permanently, enter it in the Startup list. The order of the Startup entries is
usually irrelevant.
Fig.55: Startup list in the TwinCAT System Manager
The Startup list may already contain values that were configured by the System Manager based on the ESI
specifications. Additional application-specific entries can be created.
Online/offline directory
While working with the TwinCAT System Manager, a distinction has to be made whether the EtherCAT
device is "available", i.e. switched on and linked via EtherCAT and therefore online, or whether a
configuration is created offline without connected slaves.
In both cases a CoE directory is visible according to the figure "CoE-Online tab", but the connectivity is
displayed as offline/online.
• If the slave is offline
◦ the offline list from the ESI file is displayed. In this case modifications are not meaningful or
possible.
◦ the configured status is shown under Identity
◦ no firmware or hardware version is displayed, since these are features of the physical device.
◦ Offline is shown in red
EP31xx68Version: 2.4
Configuration
Fig.56: Offline list
• If the slave is online
◦ the actual current slave directory is read. This may take several seconds, depending on the size
and cycle time.
◦ the actual identity is displayed
◦ the firmware and hardware version of the equipment according to the electronic information is
displayed.
◦ Online is shown in green
Fig.57: Online list
EP31xx69Version: 2.4
Configuration
Channel-based order
The CoE directory is located in EtherCAT devices that usually encompass several functionally equivalent
channels. e.g. a 4-channel 0 – 10 V analog input terminal also has 4 logical channels and thus 4 identical
sets of parameter data for the channels. In order to avoid having to list each channel in the documentation,
the placeholder "n" tends to be used for the individual channel numbers.
In the CoE system 16 indices, each with 255 subindices, are generally sufficient for representing all channel
parameters. The channel-based order is therefore arranged in 16
dec
/10
steps. The parameter range
hex
0x8000 exemplifies this:
• Channel 0: parameter range 0x8000:00 ... 0x800F:255
• Channel 1: parameter range 0x8010:00 ... 0x801F:255
• Channel 2: parameter range 0x8020:00 ... 0x802F:255
• …
This is generally written as 0x80n0. Detailed information on the CoE interface can be found in the EtherCATsystem documentation on the Beckhoff website.
EP31xx70Version: 2.4
Configuration
4.5Notices on analog specifications
Beckhoff I/O devices (terminals, boxes) with analog inputs are characterized by a number of technical
characteristic data; refer to the technical data in the respective documents.
Some explanations are given below for the correct interpretation of these characteristic data.
Full scale value
An I/O device with an analog input measures over a nominal measuring range that is limited by an upper and
a lower limit (initial value and end value); these can usually be taken from the terminal/box designation. The
range between the two limits is called the measuring span and corresponds to the equation (end value initial value). Analogous to pointing devices this is the measuring scale (see IEC61131) or also the dynamic
range. For analog I/O devices from Beckhoff the rule is that the limit with the largest value is chosen as the
full scale value of the respective product (also called the reference value) and is given a positive sign. This
applies to both symmetrical and asymmetrical measuring spans.
Fig.58: Measuring range
For the above examples this means:
• Measuring range 0 to 10V: asymmetric unipolar, full scale value = 10V, measuring span = 10V
• Measuring range 4 to 20mA: asymmetric unipolar, full scale value = 20mA, measuring span = 16mA
• Measuring range -200 to 1370°C: asymmetric bipolar, full scale value = 1370°C, measuring span =
1570°C
• Measuring range -10 to +10V: symmetric bipolar, full scale value = 10V, measuring span = 20V
This applies equally for analog output terminals/boxes.
± Measuring error [% of the full scale value] (also: measurement error)
The relative measuring error is referenced to the full scale value and is calculated as the quotient of the
largest numerical deviation from the true value (‘measuring error’) referenced to the full scale value.
The measuring error is generally valid for the entire permitted operating temperature range, also called the
‘usage error limit’ and contains random and systematic portions of the referred device (i.e. ‘all’ influences
such as temperature, inherent noise, aging, etc.).
It always to be regarded as a positive/negative span with ±, even if it is specified without ± in some cases.
The maximum deviation can also be specified directly.
EP31xx71Version: 2.4
Configuration
Example: Measuring range 0 to 10V and measuring error <±0.3% full scale value → maximum deviation
±30mV in the permissible operating temperature range.
Notice: since this specification also includes the temperature drift, a significantly lower measuring error can
usually be assumed in case of a constant ambient temperature and thermal stabilization of the device. This
applies equally for analog output terminals/boxes.
Single-ended/differential typification
For analog inputs Beckhoff makes a basic distinction between two types: single-ended (SE) and differential
(DIFF), referring to the difference in electrical connection with regard to the potential difference.
The diagram shows two-channel versions of an SE module and a DIFF module as examples for all multichannel versions.
Fig.59: Single-ended/differential typification
Notice: Dashed lines indicate that the respective connection may not necessarily be present in each SE or
DIFF module.
The basic rule:
• Analog measurements always take the form of voltage measurements between two potential points.
For voltage measurements a large R is used, in order to ensure a high impedance. For current
measurements a small R is used as shunt. If the purpose is resistance measurement, corresponding
considerations are applied.
◦ Beckhoff generally refers to these two points as input+/signal potential and input-/reference
potential.
◦ For measurements between two potential points two potentials have to be supplied.
◦ Regarding the terms "single-wire connection" or "three-wire connection", please note the following
for pure analog measurements: three- or four-wire connections can be used for sensor supply, but
are not involved in the actual analog measurement, which always takes place between two
potentials/wires. In particular this also applies to SE, even though the term suggest that only one
wire is required.
• The term "electrical isolation" should be clarified in advance. Beckhoff IO modules feature 1…8 or
more analog channels; with regard to the channel connection a distinction is made in terms of:
◦ how the channels WITHIN a module relate to each other, or
◦ how the channels of SEVERAL modules relate to each other.
EP31xx72Version: 2.4
Configuration
The property of electrical isolation indicates whether the channels are directly connected to each other.
• Beckhoff terminals/boxes always feature electrical isolation between the field/analog side and the bus/
EtherCAT side. In other words, if two analog terminals/boxes are not connected via the power contacts,
the modules are effectively electrically isolated.
• If channels within a module are electrically isolated, or if a single-channel module has no power
contacts, the channels are effectively always differential. See also explanatory notes below. Differential
channels are not necessarily electrically isolated.
• Analog measuring channels are subject to technical limits, both in terms of the recommended operating
range (continuous operation) and the destruction limit. Please refer to the respective terminal
documentation for further details.
Explanation
• Differential
◦ Differential measurement is the most flexible concept. The user can freely choose both connection
points, input+/signal potential and input-/reference potential, within the framework of the technical
specification.
◦ A differential channel can also be operated as SE, if the reference potential of several sensors is
linked. This interconnection may take place via the system GND.
◦ Since a differential is configured symmetrically internally (see diagram), there will be a mid-
potential (X) between the two supplied potentials that is the same as the internal ground/reference
ground for this channel. If several DIFF channels are used in a module without electrical isolation,
the technical property VCM (common-mode voltage) indicates the degree to which the mean
voltage of the channels may differ.
◦ The internal reference ground may be accessible as connection point at the terminal/box, in order
to stabilize a defined GND potential in the terminal/box. In this case it is particularly important to
pay attention to the quality of this potential (noiselessness, voltage stability). At this GND point a
wire may be connected to make sure that V
differential channels are not electrically isolated, usually only one V
is not exceeded in the differential sensor cable. If
CM,max
is permitted. If the
CM,max
channels are electrically isolated this limit should not apply, and the channels voltages may differ
up to the specified separation limit.
◦ Differential measurement in combination with correct sensor wiring has the special advantage that
any interference affecting the sensor cable (ideally the feed and return line are arranged side by
side, so that interference signals have the same effect on both wires) has very little effect on the
measurement, since the potential of both lines varies jointly (hence the term common mode). In
simple terms: Common-mode interference has the same effect on both wires in terms of amplitude
and phasing.
◦ Nevertheless, the suppression of common-mode interference within a channel or between
channels is subject to technical limits, which are specified in the technical data.
• Single Ended
◦ If the analog circuit is designed as SE, the input/reference wire is internally fixed to a certain
potential that cannot be changed. This potential must be accessible from outside on at least one
point for connecting the reference potential, e.g. via the power contacts.
◦ In other words, in situations with several channels SE offers users the option to avoid returning at
least one of the two sensor cables to the terminal/box (in contrast to DIFF). Instead, the reference
wire can be consolidated at the sensors, e.g. in the system GND.
◦ A disadvantage of this approach is that the separate feed and return line can result in voltage/
current variations, which a SE channel may no longer be able to handle. See common-mode
interference. A VCM effect cannot occur, since the module channels are internally always 'hardwired' through the input/reference potential.
Typification of the 2/3/4-wire connection of current sensors
Current transducers/sensors/field devices (referred to in the following simply as ‘sensor’) with the industrial
0/4-20mA interface typically have internal transformation electronics for the physical measured variable
(temperature, current, etc.) at the current control output. These internal electronics must be supplied with
energy (voltage, current). The type of cable for this supply thus separates the sensors into self-supplied orexternally supplied sensors:
EP31xx73Version: 2.4
Configuration
• Self-supplied sensors
◦ The sensor draws the energy for its own operation via the sensor/signal cable + and -. So that
enough energy is always available for the sensor’s own operation and open-circuit detection is
possible, a lower limit of 4mA has been specified for the 4-20mA interface; i.e. the sensor allows
a minimum current of 4mA and a maximum current of 20mA to pass.
◦ For a 2-wire connection; see IEC60381-1
◦ Such current transducers generally represent a current sink and thus like to sit between + and – as
a ‘variable load’. Refer also to the sensor manufacturer’s information.
Therefore, they are to be connected according to the Beckhoff terminology as follows:
• preferably to ‘single-ended’ inputs if the +Supply connections of the terminal/box are also to be used connect to +Supply and Signal
• the sensor draws the energy/operating voltage for its own operation from 2 supply cables of its own.
One or two further sensor cables are used for the signal transmission of the current loop:
Externally supplied sensors
• 3- and 4-wire connection see Fig. Connection of externally supplied sensors, cf. IEC60381-1
• the sensor draws the energy/operating voltage for its own operation from 2 supply cables of its
own. One or two further sensor cables are used for the signal transmission of the current loop:
1. sensor cable: according to the Beckhoff terminology such sensors are to be connected to ‘singleended’ inputs in 3 cables with +/-/Signal lines and if necessary FE/shield
2. sensor cables: In the case of sensors with 4-wire connection according to +-/+Signal/-Signal, you must
check whether +Signal may be connected to +Supply or –Signal to –Supply.
◦ Yes: then you can connect accordingly to a Beckhoff ‘single-ended’ input.
◦ the Beckhoff ‘differential’ input for +Signal and –Signal is to be selected; +Supply and –Supply
are to be connected via additional cables.
Notice: expert organizations such as NAMUR demand a usable measuring range <4mA/>20mA for error
detection and adjustment, see also NAMURNE043.
The Beckhoff device documentation must be consulted in order to see whether the respective device
supports such an extended signal range.
In general the polarity/direction of current is to be observed due to the internal diode!
EP31xx74Version: 2.4
Configuration
Fig.60: 2/3/4-wire connection as single-ended or differential connection technology
EP31xx75Version: 2.4
Configuration
4.6EP31xx - Settings and operating modes
4.6.1Settings
Table of contents
• Selection of the analog signal type [}76]
• Representation [}77]
• Siemens bits [}77]
• Underrange, Overrange [}78]
• Limit 1 and Limit 2 [}78]
Selection of the analog signal type, index 0xF800:0n [}127]
In delivery state, all channels of the EP31xx are set for analog voltage measurement (-10V…+10V).
NOTE
Setting the correct signal type before connecting the sensors
Set the correct signal type before connecting the sensors!
This setting can be made individually for each channel in the CoE object 0xF800:0n [}127]. Changes are
immediately effective.
Fig.61: EP31x4-0002: Selection of the signal type
In the case of the EP31x2 the signal type -20mA to +20mA can additionally be selected (see illustration
below).
Fig.62: EP31x2: Selection of the signal type
EP31xx76Version: 2.4
Configuration
Presentation, index 0x80n0:02 [}124]
The measured value output is set in factory to two's complement representation (signed integer).
Index 0x80n0:02 [}124] offers the possibility to change the method of representation of the measured value.
• Signed integer representation
The negative output value is represented in two’s complement (negated + 1).
Maximum representation range with 16-bit = -32768 .. +32767
The output value is represented with 15-bit resolution without sign, therefore polarity detection is no longer
possible.
Maximum representation range with 16-bit = 0 .. +32767
dec
• Absolute value with MSB as sign - representation
The output value is displayed in magnitude-sign format: MSB=1 (highest bit) in the case of negative values.
Maximum representation range with 16-bit = -32768 .. +32767
The presentation types Unsigned integer and Absolute value with MSB as sign have no function for
unipolar modules. There is no change in the presentation in the positive range.
Siemens bits, index 0x80n0:05 [}124]
If this bit is set, status displays are superimposed on the lowest three bits. In the error case "overrange" or
"underrange", bit 0 is set.
EP31xx77Version: 2.4
Configuration
Undershoot and overshoot of the measuring range (underrange, overrange), index 0x60n0:01,
0x60n0:02 [}135]
Chapter Data stream and correction calculation contains a clear description of the correction calculation
between the raw values and the output values if the limit ranges are exceeded.
The underrange bit is set if, based on the raw value, a value of 0x1300 is undershot by 1 bit.
The overrange bit is set if the value of 0x7FFF is exceeded by 1 bit.
Error bit (index 0x60n0:07), Error LED
The Error bit and the Error LED are set if, based on the raw value,
a value of approx. 0.5mA below 4mA is undershot or
a value of approx. 0.5mA above 20mA is exceeded.
• This prevents the triggering of the Error LED if the sensor transmits a little more than 20mA.
Limit 1 ad Limit 2, index 0x80n0:13, index 0x80n0:14 [}124]
If the limits of the values that can be entered in indices 0x80n0:13 [}124] and 0x80n0:14 [}124] are violated,
the bits in indices 0x60n0:03 [}135] and 0x60n0:05 [}135] are set accordingly (see sample below). The
indices 0x80n0:07 [}124] or 0x80n0:08 [}124] serve to activate the limit value monitoring.
Output limit n (2-bit):
• 0: not active
• 1: Value < limit value
• 2: Value > limit value
• 3: Value = limit value
Limit evaluation
The limit evaluation assumes a signed representation. The conversion to the desired representation
(index 0x80n0:02) only takes place after the limit evaluation.
EP31xx78Version: 2.4
Configuration
Linking in the PLC with 2-bit values
• PLC:
IEC61131-PLC contains no 2-bit data type that can be linked with this process data directly. In
order to transmit the limit information, therefore, define an input byte, e.g.
and link the limit to the VariableSizeMismatch dialog as described in the chapter Process data.
• Additional task
2-bit variables can be created in the System Manager.
Linking of 2-bit variable to additional task
EP31xx79Version: 2.4
Configuration
Sample
Channel 1;Limit 1 and Limit 2 enabled, Limit 1 = 2.8V, Limit 2 = 7.4V, representation: signed integer
Entry in index (Limit 1):0x8000:13 [}124]
(2.8V/10V) x 216 / 2 - 1 = 9,174
dec
Entry in index (Limit 2):0x8000:14 [}124]
(7.4V/10V) x 216 / 2 - 1 = 24,247
dec
Output:
Input
Index 0x6000:03 [}135]Index 60x6000:05 [}135]
channel 1
1.8V0x01
2.8V0x03
4.2V0x02
8.5V0x02
, (Limit1, limit value undershot)0x01
hex
, (Limit1, limit value reached)0x01
hex
, (Limit1, limit value exceeded)0x01
hex
, (Limit1, limit value exceeded)0x02
hex
, (Limit2, limit value undershot)
hex
, (Limit2, limit value undershot)
hex
, (Limit2, limit value undershot)
hex
, (Limit2, limit value exceeded)
hex
Swap Limit index 0x80n0:0E
The limit function can be inverted by SwapLimitBits in index 0x80n0:0E.
Output Limit n (2-bit):
SwapLimitBits settingValue
FALSE (default setting)• 0: not active
• 1: value < limit value
• 2: value > limit value
• 3: Value is equal to the limit value
TRUE• 0: not active
• 1: value > limit value
• 2: value < limit value
• 3: Value is equal to the limit value
The Swap Limit function is available according to the table below
The EP31xx supports three different operation modes:
• Freerun [}82] (filter on, timer interrupt)
• Synchronous [}81] (filter off, SyncManager interrupt) and
• DC (DC-Sync-Interrupt)
Configuration
Fig. 3: Relationship of operation modes
The module switches between the Freerun (filter on) and Synchron modes by activating/deactivating the filter
via the index. This takes place while the module is in OP mode. The changeover may result in longer
sampling times and step changes in the process data until the filters have assumed a steady state.
DC mode can only be used when the filters are switched off. Likewise, it is not possible to switch the filters
on in DC mode. The DC mode is parameterized via the DC tab in the TwinCAT System Manager.
Synchron mode
In synchronous operation process data are generated frame-triggered, so that a new value is available with
each PLC cycle. Synchronous mode is used automatically with the EP31xx modules (filter off, no DC). The
minimum cycle times are 80µs (EL31x1/EL31x2), and 120µs (EL31x4) for standard IPCs.
DC operation
In DC mode the analog sampling is triggered by DC-interrupt. As a result, the temporal jitter between two
frames is no longer important and the sampling point is the same across the entire system.
The "input-based" mode shifts the sync-interrupt in such a way that the process data are ready for collection
shortly before the current process data cycle.
EP31xx81Version: 2.4
Configuration
If the frame jitter is too large, it is possible that data may be collected twice or there may be interruptions in
the transmission. In that case the jitter is to be reduced through TwinCAT system measures or a slower cycle
time is to be chosen.
Filter operation (FIR and IIR), index 0x80n0:06, 0x80n0:15 [}124]
The EP31xx modules incorporate a digital filter which, depending on its settings, can adopt the
characteristics of a Finite Impulse Response filter (an FIR filter), or an Infinite Impulse Response filter (an IIRfilter). The filter is deactivated by default. Please observe the following note regarding activation with index
0x8000:06 [}124].
Activation of the filter (index 0x8000: 06), setting of the filter properties (index
0x8000:15)
The filter frequencies are set centrally for all channels of the EP3xxx modules via index 0x8000:15
(channel 1). The corresponding indices 0x80n0:15 of the other channels have no parameterization
function.
FIR filter
The filter works as a notch filter and determines the conversion time of the module. It is parameterized via
the index 0x8000:15. The higher the filter frequency, the faster the conversion time. A 50Hz and a 60Hz
filter are available.
Notch filter means that the filter has zeros (notches) in the frequency response at the filter frequency and
multiples thereof, i.e. it attenuates the amplitude at these frequencies.
The FIR filter operates as a non-recursive filter.
Fig.63: typical attenuation curve of notch filter at 50 Hz
Filter data FIR filter (1- to 4-channel modules)
FilterAttenuationLimit frequency (-3 dB)Conversion time
The filter with IIR characteristics is a discrete time, linear, time invariant filter that can be set to eight levels
(level 1 = weak recursive filter, up to level 8 = strong recursive filter)
The IIR can be understood to be a moving average value calculation after a low-pass filter.
Through the synchronization mode FreeRun the IIR filter operates with an internal cycle time of 180µs (1 or
2 channels) or 500µs (4 channels).
Filter characteristics for IIR filters
IIR filter-3 dB cut-off frequency with 500µs sampling time
The following flow chart illustrates the data stream of the EPI31xx (processing of raw data).
Fig.64: Diagram showing the data stream in the EP31xx
EP31xx83Version: 2.4
Configuration
4.8Measuring ranges
The following diagrams show the output values of the measuring ranges as well as the behavior when the
limits ranges are exceeded.
EP3162-0002 (+/- 20mA)
Fig.65: Data flow with correction calculation for +/- 20mA
EP3162-0002, EP3174-xxxx, EP318x-xxxx (0…20mA)
Fig.66: Data flow with correction calculation for 0…20mA
EP3162-0002, EP3174-xxxx, EP318x-xxxx (4…20mA)
Fig.67: Data flow with correction calculation for 4…20mA
EP31xx84Version: 2.4
EP3162-0002, EP3174-xxxx, EP318x-xxxx (+/- 10V)
Fig.68: Data flow with correction calculation for +/- 10V
EP3162-0002, EP3174-xxxx, EP318x-xxxx (0…10V)
Configuration
Fig.69: Data flow with correction calculation for 0…10V
4.9Calibration
The concept "calibration", which has historical roots at Beckhoff, is used here even if it has nothing to do with
the deviation statements of a calibration certificate.
• Vendor calibration, index 0x80n0:0B
The vendor calibration is enabled via index 0x80n0:0B. The parameterization takes place via the
indices:
◦ 0x80nF:01 vendor calibration: Offset
◦ 0x80nF:02 vendor calibration: Gain
• User calibration, index 0x80n0:0A
The user calibration is enabled via index 0x80n0:0A. The parameterization takes place via the indices:
◦ 0x80n0:17 User calibration: Offset
◦ 0x80n0:18 User calibration: Gain
• User scaling, index 0x80n0:01
The user scaling is enabled via index 0x80n0:01. The parameterization takes place via the indices:
◦ 0x80n0:11 User scaling: Offset
◦ 0x80n0:12 User scaling: Gain
Vendor calibration
The vendor reserves the right to carry out the basic calibration of the terminal/box modules. Therefore, the vendor calibration cannot be changed.
EP31xx85Version: 2.4
Configuration
4.10Calculation of process data
The terminal/box constantly records measured values and saves the raw values from its A/D converter in the
ADC raw value object 0x80nE:01. The calculation of the correction with the vendor calibration values takes
place after each acquisition of the analog signal. This is followed (optionally) by user scaling:
YH= (X
) * AH measured value after vendor calibration (corresponds to X
ADC-BH
if index 0x80n0:0B inactive)
ADC
YA= (YH-BA) * AA measured value after user calibration (corresponds to YH if index 0x80n0:0A inactive)
YS= YA * AS * 22-16 + BS measured value after user scaling (corresponds to YA if index 0x80n0:01 is
inactive)
Key
NameNameIndex
X
ADC
B
H
Output value of the A/D converter0x80nE:01
Vendor calibration offset (can only be changed if the object Producer codeword
0x80nF:01
0xF008 is set)
A
H
Vendor calibration gain (can only be changed if the object Producer codeword
0x80nF:02
0xF008 is set)
Y
H
B
A
A
A
Y
S
B
S
A
S
Y
S
Measured value after vendor calibrationUser calibration offset0x80n0:11
User calibration gain0x80n0:12
Measured value after user calibrationUser scaling offset (can be activated via index 0x80x0:0A)0x80n0:17
User scaling gain (can be activated via index 0x80x0:0A)0x80n0:18
Process data for control, measured value after user scaling-
4.11TwinSAFE SC
4.11.1TwinSAFE SC - operating principle
The TwinSAFE SC (Single Channel) technology enables the use of standard signals for safety tasks in any
networks of fieldbuses. To do this, EtherCAT Terminals from the areas of analog input, angle/displacement
measurement or communication (4…20mA, incremental encoder, IO-Link, etc.) are extended by the
TwinSAFE SC function. The typical signal characteristics and standard functionalities of the I/O components
are retained. TwinSAFE SC I/Os have a yellow strip at the front of the housing to distinguish them from
standard I/Os.
The TwinSAFE SC technology enables communication via a TwinSAFE protocol. These connections can be
distinguished from the usual safe communication via Safety over EtherCAT.
The data of the TwinSAFE SC components are transferred via a TwinSAFE protocol to the TwinSAFE logic,
where they can be used in the context of safety-relevant applications. Detailed examples for the correct
application of the TwinSAFE SC components and the respective normative classification, which were
confirmed/calculated by TÜV SÜD, can be found in the TwinSAFE application manual.
4.11.2TwinSAFE SC - configuration
The TwinSAFESC technology enables communication with standard EtherCAT terminals via the Safety over
EtherCAT protocol. These connections use another checksum, in order to be able to distinguish between
TwinSAFESC and TwinSAFE. Eight fixed CRCs can be selected, or a free CRC can be entered by the user.
By default the TwinSAFESC communication channel of the respective TwinSAFE SC component is not
enabled. In order to be able to use the data transfer, the corresponding TwinSAFESC module must first be
added under the Slots tab. Only then is it possible to link to a corresponding alias device.
EP31xx86Version: 2.4
Fig.70: Adding the TwinSAFE SC process data under the component, e.g. EL5021-0090
Additional process data with the ID TSC Inputs, TSC Outputs are generated (TSCTwinSAFESingleChannel).
Configuration
Fig.71: TwinSAFE SC component process data, example EL5021-0090
A TwinSAFESC connection is added by adding an alias devices in the safety project and selecting TSC
(TwinSAFE Single Channel)
Fig.72: Adding a TwinSAFE SC connection
After opening the alias device by double-clicking, select the Link button next to Physical Device, in
order to create the link to a TwinSAFE SC terminal. Only suitable TwinSAFESC terminals are offered in the
selection dialog.
EP31xx87Version: 2.4
Configuration
Fig.73: Creating a link to TwinSAFE SC terminal
The CRC to be used can be selected or a free CRC can be entered under the Connection tab of the alias
device.
These settings must match the settings in the CoE objects of the TwinSAFESC component.
The TwinSAFESC component initially makes all available process data available. The Safety Parameters
tab typically contains no parameters. The process data size and the process data themselves can be
selected under the Process Image tab.
EP31xx88Version: 2.4
Configuration
Fig.75: Selecting the process data size and the process data
The process data (defined in the ESI file) can be adjusted to user requirements by selecting the Edit button
in the dialog Configure I/O element(s).
Fig.76: Selection of the process data
The safety address together with the CRC must be entered on the TwinSAFE SC slave side. This is done via
the CoE objects under TSC settings of the corresponding TwinSAFE SC component (here, for example,
EL5021-0090, 0x8010: 01 and 0x8010: 02). The address set here must also be set in the alias device as
FSoE address under the Linking tab.
Under the object 0x80n0:02 Connection Mode the CRC to be used is selected or a free CRC is entered. A
total of 8 CRCs are available. A free CRC must start with 0x00ff in the high word.
Fig.77: CoE objects 0x8010:01 and 0x8010:02
EP31xx89Version: 2.4
Configuration
Object TSC Settings
Depending on the terminal, the index designation of the configuration object TSCSettings can vary.
Example:
- EL3214-0090 and EL3314-0090, TSC Settings, Index 8040
- EL5021-0090, TSC Settings, Index 8010
- EL6224-0090, TSC Settings, Index 800F
Fig.78: Entering the safety address and the CRC
TwinSAFE SC connections
If several TwinSAFESC connections are used within a configuration, a different CRC must be selected for each TwinSAFESC connection.
4.12EP3174-0092 - TwinSAFE SC process data
The EP3174-0092 transmits the following process data to the TwinSAFE logic:
The process data of all four channels are initially transmitted. Individual channels can be completely
deselected on the "Process Image" tab in the Safety Editor.
Depending on the TwinCAT 3.1 version, process data can be automatically renamed when linking to the
Safety Editor.
EP31xx90Version: 2.4
4.13EP3162-0002 - Object overview
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.
SubindexAI Range SettingsRW0x02 (2
F800:01Input type Ch1RW0x0000 (0
F800:02Input type Ch2RW0x0000 (0
)
dec
dec
dec
Configuration
)
dec
)
)
)
)
)
dec
)
)
)
dec
)
)
dec
)
)
dec
)
)
dec
)
)
)
)
)
dec
)
)
)
dec
)
)
dec
)
)
dec
)
)
)
)
dec
)
dec
)
)
Key
Flags:
RO (Read Only):this object can be read only
RW (Read/Write):this object can be read and written to
EP31xx93Version: 2.4
Configuration
4.14EP3182-1002 - Object overview
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.
SubindexAI Range SettingsRW0x02 (2
F800:01Input type Ch1RW0x0000 (0
F800:02Input type Ch2RW0x0000 (0
)
dec
dec
dec
Key
Flags:
RO (Read Only):this object can be read only
RW (Read/Write):this object can be read and written to
4.15EP31x4-x002 - Object overview
Configuration
)
dec
)
)
)
dec
)
dec
)
dec
)
)
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.