8.4Support and Service ........................................................................................................................96
EPP7041-x0024Version: 1.0
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.
EPP7041-x0026Version: 1.0
Foreword
1.3Documentation Issue Status
VersionComment
1.0• First release
Firmware and hardware versions
This documentation refers to the firmware and hardware version that was applicable at the time the
documentation was written.
The module features are continuously improved and developed further. Modules having earlier production
statuses cannot have the same properties as modules with the latest status. However, existing properties
are retained and are not changed, so that older modules can always be replaced with new ones.
The firmware and hardware version (delivery state) can be found in the batch number (D-number) printed on
the side of the EtherCAT Box.
Syntax of the batch number (D-number)
D: WW YY FF HH
WW - week of production (calendar week)
YY - year of production
FF - firmware version
HH - hardware version
Further information on this topic: Version identification of EtherCAT devices [}90].
Example with D no. 29 10 02 01:
29 - week of production 29
10 - year of production 2010
02 - firmware version 02
01 - hardware version 01
EPP7041-x0027Version: 1.0
Product group: EtherCATP Box modules
2Product group: EtherCATP Box modules
EtherCATP
EtherCATP supplements the EtherCAT technology with a process in which communication and supply
voltages are transmitted on a common line. All EtherCAT properties are retained with this process.
Two supply voltages are transmitted per EtherCATP line. The supply voltages are electrically isolated from
each other and can therefore be switched individually. The nominal supply voltage for both is 24 VDC.
EtherCAT P uses the same cable structure as EtherCAT: a 4-core Ethernet cable with M8 connectors. The
connectors are mechanically coded so that EtherCAT connectors and EtherCATP connectors cannot be
interchanged.
EtherCATP Box modules
EtherCATP Box modules are EtherCATP slaves with IP67 protection. They are designed for operation in
wet, dirty or dusty industrial environments.
Fig.1: EtherCATP
EtherCAT basics
A detailed description of the EtherCAT system can be found in the EtherCAT system documentation.
EPP7041-x0028Version: 1.0
Product overview
3Product overview
3.1Module overview
ModuleRated current per phasePeak current per phaseMicrostepping
EPP7041-10021.0A1.5Aup to 64-fold
EPP7041-30023.5A5.0Aup to 256-fold
EPP7041-x0029Version: 1.0
Product overview
Tx+ / GNDs
Rx+ / GNDp
Rx- / Up
Tx- / Us
1 |
2 |
3 |
4 |
EtherCAT P
downstream connection
Stepper motor
Encoder
EtherCAT P
input
Limit switch, motor brake
DC link input
1 |
2 |
3 |
4 |
5 |
A1
A2
B1
B2
n.c.
1,2 |
3,4 |
5 |
Motor supply
GND_Motor
n.c.
1 |
2 |
3 |
4 |
5 |
GND
V Enc
A Enc
B Enc
C Enc
1 |
2 |
3 |
4 |
5 |
+24 V Us
Input B
GND
Input A
OUT
Tx+ / GNDs
Rx+ / GNDp
Rx- / Up
Tx- / Us
1 |
2 |
3 |
4 |
EtherCAT P
downstream connection
Stepper motor
Encoder
EtherCAT P
input
Limit switch, motor brake
DC link input
1 |
2 |
3 |
4 |
5 |
A1
A2
B1
B2
n.c.
1,2 |
3,4 |
5 |
Motor supply
GND_Motor
n.c.
1 |
2 |
3 |
4 |
5 |
GND
V Enc
A Enc
B Enc
C Enc
1 |
2 |
3 |
4 |
5 |
+24 V Us
Input B
GND
Input A
OUT
3.2Introduction
EPP7041-1002
EPP7041-3002
Schrittmotormodul 48VDC mit Inkremental-Encoder
The EPP7041-1002 EtherCAT P Box is intended for the direct connection of different Stepper Motors. The
PWM output stages for two motor coils with compact design are located in the module together with two
inputs for limit switches and cover a wide voltage and current range. The EPP7041-1002 can be adjusted to
the motor and the application by changing just a few parameters. 64-fold micro-stepping ensures particularly
quiet and precise motor operation. Connection of an incremental encoder enables a simple servo axis to be
realised. Two digital inputs and a digital 0.5 A output enable connection of end switches and a motor brake.
The -3002 variant is particularly suitable for applications that are subject to unsteady motor operation due to
natural resonance of the motor and the moved mass.
Quick links
Technical data [}11]
Connections [}26]
Commissioning [}36]
EPP7041-x00210Version: 1.0
3.3Technical data
All values are typical values over the entire temperature range, unless stated otherwise.
EtherCATP
Connection2xM8 socket, 4-pin, P-coded, red
Distributed ClocksYes
Supply voltages
ConnectionSee EtherCAT P connection
US rated voltage24VDC (-15%/ +20%)
US sum current: I
S,sum
Current consumption from U
Rated voltage U
UP sum current: I
P
P,sum
Current consumption from U
S
P
max. 3A
100mA
+ current consumption of the encoder
+ current consumption of the motor brake
+ auxiliary voltage for the limit switches
24VDC (-15%/ +20%)
max. 3A
None. UP is only forwarded.
Product overview
Stepper motorEPP7041-1002EPP7041-3002
Motor type2-phase stepper motor, unipolar or bipolar
Connection1x M12 socket
DC link voltage8…48V
DC
Connection for the DC link voltageM12 socketM12 plug
Rated current per phase1.0A3.5A
Peak current per phase1.5A5.0A at 50°C
Step frequencymax. 32,000 full steps per second
Microsteppingup to 64-foldup to 256-fold
Current controller frequencyapprox. 30kHz
Resolutionapprox. 5000 positions per revolution in typical applications
Protective functionsOverload protection, short-circuit protection
Encoder input
Number1
encoder typeIncremental encoder with single-ended output drivers
Connection1x M12 socket, 5-pin
Encoder supply24VDC from the control voltage U
S
max. 0.5A, not short-circuit proof
signalsA, B, C; single-ended
(C = reference pulse / zero pulse)
Signal voltage "0"-3…2V
Signal voltage "1"3.5…28V
Pulse frequencymax. 400,000 increments per second (quadruple evaluation)
EPP7041-x00211Version: 1.0
Product overview
Digital inputs for limit switches
Number2
ConnectionM12 socket
Nominal voltage high level24V
DC
Signal voltage "0"-3…2V
Signal voltage "1"3.5…28V
Input current5mA
Digital output for the motor brake
ConnectionM12 socket
Output voltage high level24VDC from the control voltage U
Ambient temperature during operation-25…+60°C
Ambient temperature during storage-40…+85°C
Vibration/ shock resistanceconforms to EN60068-2-6/ EN60068-2-27
EMC immunity/ emissionconforms to EN61000-6-2/ EN61000-6-4
Protection classIP65, IP66, IP67 conforms to EN60529
Approvals
ApprovalsCE, UL in preparation
3.3.1Additional checks
The boxes have undergone the following additional tests:
VerificationExplanation
Vibration10 frequency runs in 3 axes
5Hz < f < 60Hz displacement 0.35mm, constant amplitude
60.1Hz < f < 500Hz acceleration 5g, constant amplitude
Shocks1000 shocks in each direction, in 3 axes
35g, 11ms
EPP7041-x00212Version: 1.0
3.4Scope of supply
Make sure that the following components are included in the scope of delivery:
• 1x EPP7041-x002
• 2x protective cap for EtherCATP socket, M8, red (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
EPP7041-x00213Version: 1.0
Product overview
3.5Process image
The scope of the process image is adjustable.
EP7047-1032 has several predefined variants of the process image: "Predefined PDO Assignments". Select
the "Predefined PDO Assignment" according to the operating mode.
The factory default setting is "Velocity control compact" [}15].
3.5.1"Predefined PDO Assignments"
NameProcess imageProcess data objects
Position control
ENC Status [}16]
STM Status [}18]
ENC Control [}19]
STM Control [}20]
STM Position [}20]
Positioning interface
Positioning interface (Auto
start)
Positioning interface (Auto
start) with info data
ENC Status [}16]
STM Status [}18]
POS Status [}17]
ENC Control [}19]
STM Control [}20]
POS Control [}19]
ENC Status [}16]
STM Status [}18]
POS Status [}17]
ENC Control [}19]
STM Control [}20]
POS Control [}19]
POS Control 2 [}19]
ENC Status [}16]
STM Status [}18]
STM Synchron info data [}18]
POS Status [}17]
ENC Control [}19]
STM Control [}20]
POS Control [}19]
POS Control 2 [}19]
EPP7041-x00214Version: 1.0
Product overview
NameProcess imageProcess data objects
Positioning interface compact
ENC Status [}16]
STM Status [}18]
POS Status compact [}17]
ENC Control [}19]
STM Control [}20]
POS Control compact [}19]
Positioning interface with info
data
Velocity control
Velocity control compact
(Factory setting)
ENC Status [}16]
STM Status [}18]
STM Synchron info data [}18]
POS Status [}17]
ENC Control [}19]
STM Control [}20]
POS Control [}19]
ENC Status [}16]
STM Status [}18]
ENC Control [}19]
STM Control [}20]
STM Velocity [}20]
ENC Status compact [}16]
STM Status [}18]
Velocity control compact with
info data
EPP7041-x00215Version: 1.0
ENC Control compact [}19]
STM Control [}20]
STM Velocity [}20]
ENC Status compact [}16]
STM Status [}18]
STM Synchron info data [}18]
ENC Control compact [}19]
STM Control [}20]
STM Velocity [}20]
Product overview
3.5.2Process data objects
3.5.2.1"ENC status"
"ENC Status" contains the status variables of the encoder input. "ENC" is the abbreviation for "Encoder".
State
• Latch C valid: A signal edge has been detected at
encoder signal "C". As a result, the "Counter value"
was written to the variable "Latch value" at the time of
the signal edge.
• Latch extern valid: A signal edge was detected at the
latch input. As a result, the counter value was written
to the variable "Latch value" at the time of the signal
1)
edge.
• Set counter done: The value from "Set counter
value" was written to the variable "Counter value" after
setting of "Set counter" (ENC Control).
• Counter underflow: The counter value "Counter
value" has fallen below the value 0.
• Counter overflow: The counter value "Counter value"
has exceeded the maximum value.
• Extrapolation stall: The extrapolated part of the
counter is invalid ("Micro increments").
• Status of input A: current signal level of encoder
signal "A"
• Status of input B: current signal level of encoder
signal "B"
• Status of input C: current signal level of encoder
signal "C"
• Status of extern latch: current signal level at the
latch input
• Sync error: Distributed Clocks synchronization error
in the previous cycle.
• TxPDO Toggle: This bit is inverted each time an input
data update occurs.
1)
Counter value: The current counter value.
Latch value: Counter value stored at the time of the last
signal edge at latch input or encoder signal "C".
1)
The latch function is deactivated in the factory setting. You may activate and configure the latch function in
1)
process data object "ENC Control" [}19] or "ENC Control compact" [}19].
3.5.2.2"ENC Status compact"
This process data object is identical with "ENC status" [}16], see there.
EPP7041-x00216Version: 1.0
3.5.2.3"POS Status"
"POS Status" contains the status variables of the Positioning Interface [}51].
Status
• Busy: A motion command is active.
• In-Target: The target position of the motion command
has been reached.
• Warning: Warning message.
• Error: Error message.
• Calibrated: The motor is calibrated.
• Accelerate: The motor accelerates.
• Decelerate: The motor brakes.
• Ready to execute: Ready for a motion command.
Actual position: current set position
Actual velocity: current set velocity
Actual drive time: the elapsed time of the motion
command.
Product overview
3.5.2.4"POS Status compact"
"POS Status compact" contains the status variables of the Positioning Interface [}51].
Status
This variable is identical to the "Status" variable in the
process data object "POS Status [}17]". See there.
EPP7041-x00217Version: 1.0
Product overview
3.5.2.5"STM Status"
„STM Status" contains the status bits of the stepper motor output stage. "STM" is the abbreviation for
"Stepper Motor".
Ready to enable: The output stage can be enabled. See
output variable "Enable" in the process data object STMControl [}20].
Ready: The output stage is enabled.
Warning: Warning message.
Error: Error message. The output stage was switched
off due to an error. You can acknowledge the error
message with the output variable "Reset" in the process
data object STM Control [}20]
Moving positive: The speed is greater than 0.
Moving negative: The speed is less than 0.
Motor stall: A loss of step has occurred.
3.5.2.6"STM Synchronous info data"
"STM" is the abbreviation for "Stepper Motor".
Info datan: Additional information from the box.
You can select what information these variables should
contain:
• Parameter 8012:11
• Parameter 8012:19
Select info data 1 [}84]
hex
Select info data 2 [}84]
hex
EPP7041-x00218Version: 1.0
3.5.2.7"ENC Control"
Enable latch C: Activate edge trigger for encoder input
"C".
Enable latch extern on positive edge: Activate edge
trigger for positive signal edges at latch input.
Set counter: Accept the value of the variable "Set
counter value" as the current counter value.
Enable latch extern on negative edge: Activate edge
trigger for negative signal edges at latch input.
Set counter value: Default value for "Set counter".
3.5.2.8"ENC Control compact"
This process data object is identical with "ENC Control" [}19].
3.5.2.9"POS Control"
This process data object contains variables for controlling the Positioning Interface [}51].
Product overview
3.5.2.10"POS Control 2"
This process data object contains variables for controlling the Positioning Interface [}51].
3.5.2.11"POS Control compact"
This process data object contains variables for controlling the Positioning Interface [}51].
See input variable "Error" in the process data object STM
Status [}18]
3.5.2.13"STM Position"
Position: Position setpoint.
Specify the position setpoint in increments.
Conversion from degrees (°) to increments: See below.
Conversion of position setpoints
The formula for converting a position setpoint from degrees (°) to increments depends on whether you are
using an encoder.
• If you are not using an encoder (feedback type [}84] = "Internal counter" ), use this formula:
Position: Setpoint [increments]
Θ
: Setpoint [°]
set
φ: Step angle of the motor [°]
(for AS10xx stepper motors: φ=1.8°)
• If you are using an encoder (feedback type [}84] = "Encoder" ), use this formula:
Position: Setpoint [increments]
Θ
: Setpoint [°]
set
PPR: Resolution of the encoder [increments/revolution]
(for AS10xx stepper motors: inc = 1024)
3.5.2.14"STM Velocity"
Velocity: Speed setpoint in % of the parameter "Speed
range" [}40].
32767
-100%.
Conversion of speed setpoints
corresponds to 100%, -32767
dec
Velocity: Setpoint [increments/s]
n
: Setpoint [rpm]
set
φ: Step angle of the motor [°]
(for AS10xx stepper motors: φ=1.8°)
f
: "Speed range" [}40] [full steps/s]
max
corresponds to
dec
The speed setpoint can be positive or negative, depending on the desired direction of rotation of the motor.
EPP7041-x00220Version: 1.0
Product overview
3.6Technology
Stepper motors are electric motors and are comparable with synchronous motors. The rotor is designed as a
permanent magnet, while the stator consists of a coil package. In contrast to synchronous motors, stepper
motors have a large number of pole pairs. In a minimum control configuration, the stepper motor is moved
from pole to pole, or from step to step.
Stepper motors have been around for many years. They are robust, easy to control, and provide high torque.
In many applications, the step counting facility saves expensive feedback systems. Even with the
increasingly widespread use of synchronous servomotors, stepper motors are by no means "getting long in
the tooth". They are considered to represent mature technology and continue to be developed further in
order to reduce costs and physical size, increase torque and improve reliability.
3.6.1Stepper motor parameters
Torque
Refers to the maximum motor torque at different speeds. This parameter is usually represented by a
characteristic curve. Stepper motors have comparatively high torque in the lower speed range. In many
applications, this enables them to be used directly without gearing. Compared with other motors, stepper
motors can quite easily provide a holding moment of the same order of magnitude as the torque.
Speed
Stepper motors have low maximum speed, which is usually specified as a maximum step frequency.
Nominal voltage, supply voltage and winding resistance
In steady state, the rated current flows at rated voltage, depending on the winding resistance. This voltage
should not be confused with the supply voltage of the power output stage.
If the supply voltage falls below the nominal voltage, the power output stage can no longer apply the full
current, resulting in a loss of torque. It is desirable to aim for systems with small winding resistance and high
supply voltage in order to limit warming and achieve high torque at high speeds.
Number of phases
Motors with 2 to 5 phases are common. EPP7041-x002 supports 2-phase motors. 4-phase motors are
basically 2-phase motors with separately fed out winding ends. They can be connected directly to EPP7041x002.
Resonance
At certain speeds, stepper motors run less smoothly. This phenomenon is particularly pronounced if the
motor runs without load. Under certain circumstances, it may even stop. This is caused by resonance. A
distinction can roughly be made between
• resonances in the lower frequency range up to approx. 250Hz and
• resonances in the medium to upper frequency range.
Resonances in the medium to upper frequency range essentially result from electrical parameters such as
inductance of the motor winding and supply line capacity. They can be controlled relatively easily through
high pulsing of the control system.
Resonances in the lower range essentially result from the mechanical motor parameters. Apart from their
impact on smooth running, such resonances can lead to significant loss of torque, or even loss of step of the
motor, and are therefore particularly undesirable.
In principle, the stepper motor represents an oscillatory system (comparable to a mass/spring system),
consisting of the moving rotor with a moment of inertia and a magnetic field that creates a restoring force that
acts on the rotor. Moving and releasing the rotor creates a damped oscillation. If the control frequency
corresponds to the resonance frequency, the oscillation is amplified, so that in the worst case the rotor will
no longer follow the steps, but oscillate between two positions.
EPP7041-x00221Version: 1.0
Product overview
EPP7041-x002 prevents this effect by means of a SinCos-shaped current profile for almost all standard
motors. The rotor is not switched from step to step, i.e. it no longer jumps to the next position, but instead
passes through intermediate steps (microsteps), i.e. the rotor is gently guided from one step to the next. The
usual loss of torque at certain speeds is avoided, and operation can be optimized for the particular
application. This means that the lower speed range, where particularly high torque is available, can be fully
utilized.
Step angle
The step angle indicates the angle travelled during each step. Typical values are 3.6°, 1.8° and 0.9°. This
corresponds to 100, 200 and 400 steps per motor revolution. Together with the downstream transmission
ratio, this value is a measure for the positioning accuracy. For technical reasons, the step angle cannot be
reduced below a certain value. Positioning accuracy can only be improved further by mechanical means
(transmission). An elegant solution for improving positioning accuracy is the microstepping function. It
enables up to 64 intermediate steps. The smaller "artificial" step angle has a further positive effect: The drive
can be operated at higher speed, yet with the same precision. The maximum speed is unchanged, despite
the fact that the drive operates at the limit of mechanical resolution.
EPP7041-x00222Version: 1.0
Product overview
3.6.2Selecting a stepper motor
Specifying the stepper motor
1. Determine the required positioning accuracy and hence the step resolution. The first task is to determine the maximum resolution that can be achieved. The resolution can be increased via mechanical
gear reduction devices such as spindles, gearing or toothed racks. Microstepping also has to be taken
into account.
2. Determine mass m and moment of inertia (J) of all parts to be moved
3. Calculate the acceleration resulting from the temporal requirements of the moved mass.
4. Calculate the forces from mass, moment of inertia, and the respective accelerations.
5. Convert the forces and velocities to the rotor axis, taking account of efficiencies, moments of friction
and mechanical parameters such as gear ratio. It is often best to start the calculation from the last
component, usually the load. Each further element transfers a force and velocity and leads to further
forces or torques due to friction. During positioning, the sum of all forces and torques acts on the motor shaft. The result is a velocity/torque curve that the motor has to provide.
6. Using the characteristic torque curve, select a motor that meets these minimum requirements. The
moment of inertia of the motor has to be added to the complete drive. Verify your selection. In order to
provide an adequate safety margin, the torque should be oversized by 20% to 30%. The optimisation
is different if the acceleration is mainly required for the rotor inertia. In this case, the motor should be
as small as possible.
7. Test the motor under actual application conditions: Monitor the housing temperatures during continuous operation. If the test results do not confirm the calculations, check the assumed parameters and
boundary conditions. It is important to also check side effects such as resonance, mechanical play,
settings for the maximum operation frequency and the ramp slope.
8. Different measures are available for optimising the performance of the drive: using lighter materials or
hollow instead of solid body, reducing mechanical mass. The control system can also have significant
influence on the behaviour of the drive. EPP7041-x002 enables operation with different supply voltages. The characteristic torque curve can be extended by increasing the voltage. In this case, a current increase factor can supply a higher torque at the crucial moment, while a general reduction of the
current can significantly reduce the motor temperature. For specific applications, it may be advisable
to use a specially adapted motor winding.
EPP7041-x00223Version: 1.0
Mounting and connections
119
126
23
3026.5
14
Ø 3.5
13.5
4Mounting and connections
4.1Mounting
4.1.1Dimensions
Fig.2: Dimensions
All dimensions are given in millimeters.
Housing features
Housing materialPA6 (polyamide)
Sealing compoundpolyurethane
Mountingtwo fastening holes Ø 3.5 mm for M3
Metal partsbrass, nickel-plated
ContactsCuZn, gold-plated
Installation positionvariable
Protection classIP65, IP66, IP67 (conforms to EN 60529) when screwed together
Dimensions (H x W x D)approx. 126 x 30 x 26.5 mm (without connectors)
Weightapprox. 165g
EPP7041-x00224Version: 1.0
Mounting and connections
FE
4.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.
4.2Functional earth (FE)
The upper fastening hole also serves as a connection for functional earth (FE).
Make sure that the box is grounded to low impedance via the functional earth (FE) connection. You can
achieve this, for example, by mounting the box on a grounded machine bed.
Fig.3: Connection for functional earth (FE)
EPP7041-x00225Version: 1.0
Mounting and connections
X50X51
X01
X02
X03
X04
X50X51
X01
X02
X03
X04
EPP7041-1002EPP7041-3002
4.3Connections
4.3.1Overview
NameFunctionConnector
type
X01
X02
Stepper motor connection [}30]
DC link voltage input [}32]
M12 socket0.6Nm
M12 socket (EPP7041-1002)
Tightening
torque
0.6Nm
M12 plug (EPP7041-3002)
X03
Digital inputs for limit switches [}33]
M12 socket0.6Nm
Digital output for the motor brake [}33]
X04
X50
X51
1)
Mount plugs on these connectors using a torque wrench, e.g. ZB8801 from Beckhoff.
Encoder connection [}34]
EtherCAT P input [}27]
EtherCAT P downstream connection [}27]
M12 socket0.6Nm
M8 socket0.4Nm
M8 socket0.4Nm
Protective caps
• Seal unused connectors with protective caps.
• Ensure the correct seating of pre-assembled protective caps.
Protective caps are pre-assembled at the factory to protect connectors during transport. They may not
be tight enough to ensure IP67 protection.
1)
1)
1)
1)
1)
1)
EPP7041-x00226Version: 1.0
Mounting and connections
12
1
2
3
4
4.3.2EtherCATP
NOTE
Risk of damage to the device!
Bring the EtherCAT/EtherCATP system into a safe, powered down state before starting installation, disassembly or wiring of the modules!
NOTE
Pay attention to the maximum permissible current!
Pay attention also for the redirection of EtherCATP, the maximum permissible current for M8 connectors of
3A must not be exceeded!
4.3.2.1Connectors
Fig.4: Plug connectors for EtherCAT P
1 - input
2 - downstream connection
Connection
Fig.5: M8 socket, P-coded
ContactSignalVoltageCore color
1Tx +GND
2Rx +GND
S
P
3Rx -UP: Peripheral voltage, +24V
4Tx -US: Control voltage, +24V
DC
DC
yellow
white
blue
orange
HousingShieldShieldShield
1)
The core colors apply to EtherCAT P cables and ECP cables from Beckhoff.
1)
EPP7041-x00227Version: 1.0
Mounting and connections
4.3.2.2Status LEDs
4.3.2.2.1Supply voltages
Fig.6: Status LEDs for the supply voltages
EtherCAT P Box Modules have two LEDs that display the status of the supply voltages. The status LEDs are
labelled with the designations of the supply voltages: Us and Up.
A status LED lights up green when the respective supply voltage is present.
A Status LED lights up red if the respective supply voltage is short-circuited.
4.3.2.2.2EtherCAT
Fig.7: Status LEDs for EtherCAT
L/A (Link/Act)
A green LED labelled "L/A" or “Link/Act” is located next to each EtherCAT/EtherCATP 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
EPP7041-x00228Version: 1.0
Mounting and connections
I = 3 A
1020
5
10
15
20
300
0
25
40
Vert. Faktor: 0,22 cm / V
Voltage drop (V)
Cable length (m)
0.14 mm²
0.22 mm²
0.34 mm²
4.3.2.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.
The wire colors apply to M12 encoder cables from Beckhoff: ZK4000-5100-2xxx, ZK4000-5151-0xxx.
Connection example
VENCwhite
1)
EPP7041-x00234Version: 1.0
4.3.7Status LEDs
X01
X02
X03
X04
S
R
V
O
1
2
C
A
ConnectionLEDDisplayMeaning
X01:
Stepper motor
X02:
DC link input
X03:
digital inputs
digital output
X04:
Encoder
SgreenThe output stage is enabled.
yellowIf motor is disabled: Motor control in standby
If motor is enabled: warning, configuration error. Check the motor
status.
red
RgreenMotor is turning
redinternal error
VoffThe DC link voltage is not present.
greenThe DC link voltage is present.
OoffThe digital output gives a low level.
greenThe digital output gives a high level.
1offLow level at digital input1.
greenHigh level at digital input1.
2offLow level at digital input2.
greenHigh level at digital input2.
CflashesEncoder track C
AflashesEncoder trackA
Error. Check the Diag Messages [}69]
Mounting and connections
EPP7041-x00235Version: 1.0
Commissioning and configuration
5Commissioning and configuration
5.1Integrating EPP7041 into a TwinCAT project
1. Integrate EPP7041 as an IO module in TwinCAT (Quick Start Guide).
ð A dialog box appears:
You now have two options:
• Click "OK" (recommended) …
◦ … if you want to use the TwinCAT NC functions and you have not yet created the axis to be
controlled in the current TwinCAT project.
• Click "Cancel" …
◦ … if you do not want to use the TwinCAT NC functions.
◦ … if you have already created the axis to be controlled in TwinCAT.
Note: This information is not binding. In other words, you can link an NC axis with EPP7041 at a later stage
or disconnect the link.
When you click "OK":
• In the Solution Explorer under the entry "MOTION", a new NC task "NC-Task 1 SAF" is created if no
NC task is available there yet.
• A new NC axis is created in the NC task under "Axes": "Axisn".
• The newly created NC axis is automatically linked to EPP7041.
EPP7041-x00236Version: 1.0
Commissioning and configuration
5.2Parameterizing EPP7041
5.2.1Open the parameter directory (CoE)
1. In the Solution Explorer: Double-click EPP7041.
2. Click on the "CoE - Online" tab.
ð You now see the CoE directory of EPP7041. Here you can check and change parameter values.
Resetting parameters to factory settings
If you do not know whether parameters have already been changed by the present EPP7041, you
can reset all parameters to the factory settings [}67].
EPP7041-x00237Version: 1.0
Commissioning and configuration
5.2.2Setting important motor parameters
NOTE
Some motor parameters are not fault-tolerant
Incorrect motor parameters can result in damage.
• Take care when setting the motor parameters.
The motor parameters are stored in CoE object 8010
hex
.
To ensure safe commissioning, it is sufficient to set the following parameters correctly. Further motor
parameters are described under CoE object 8010
: STM Motor Settings Ch.1 [}82].
hex
8010:01 "Maximal current"
The maximum current that the current controller outputs per motor winding.
Unit: mA
Factory setting: 1500
(EPP7041-1002)/ 5000
dec
(EPP7041-3002)
dec
The maximum value that should be entered here is the nominal motor current. The nominal current can
usually be found in the data sheet of the motor.
8010:02 "Reduced current"
Winding current at motor standstill.
Unit: mA
Factory setting: 500
(EPP7041-1002)/ 2500
dec
(EPP7041-3002)
dec
Criteria for setting this parameter:
• A lower value results in a lower power loss when the motor is at standstill.
• A higher value leads to a higher breakdown torque when the motor is at standstill.
EPP7041-x00238Version: 1.0
8010:03 "Nominal voltage"
The DC link voltage you connect to X02 [}32].
Risk of confusion: DC link voltage and nominal motor voltage
• Do not enter the nominal motor voltage here.
Unit: 1mV
Factory setting: 50000
dec
Commissioning and configuration
EPP7041-x00239Version: 1.0
Commissioning and configuration
5.2.3Setting other important parameters
Other important parameters are stored in CoE object 8012
hex
.
8012:05 "Speed range"
When changing "Speed range": adjust "Reference velocity"
Recalculate the parameter "Reference velocity" [}43] if you have changed the parameter "Speed
range".
The "Speed range" parameter has several functions:
• Upper limit of the output step frequency.
• Reference value for speed setpoints:
Speed setpoints are given in % of the "Speed range".
Unit: Full stepspersecond
Factory setting: "2000Fullsteps/sec"
The following formula can be used to determine the maximum achievable speed for a "Speed range":
n
: Maximum achievable speed [rpm]
max
f
: "Speed range" [full steps/s]
max
φ: Step angle of the motor [°]
8012:08 "Feedback type"
When changing the "Feedback type": adjust the "Scaling factor"
Recalculate the parameter Scaling factor [}45] if you have changed the "Feedback type" parameter.
Factory setting: "Internal counter"
• If you are using an encoder, set this parameter to "Encoder". Parameterize the encoder [}45].
• Otherwise set this parameter to "Internal counter".
EPP7041-x00240Version: 1.0
5.3Setting the operating mode
1. Decide which operation mode [}42] is required for your application.
2. Set the operation mode via CoE parameter 8012:01
3. Click on the "Process data" tab.
hex
.
Commissioning and configuration
4. Select a suitable "Predefined PDO Assignment" for the selected operating mode.
Suitable "Predefined PDO Assignments" for the individual operating modes can be found in chapter
Operating modes [}42].
Note:
- if you have set the "Automatic" operating mode, the selection of the "Predefined PDO Assignment"
determines the actual operating mode.
- if you select "Positioning Interface [...]", the link to an NC axis is broken.
EPP7041-x00241Version: 1.0
Commissioning and configuration
5.3.1Operating modes
The "Automatic" operation mode is selected in the factory setting.
Setpoint typeSpeedSpeedPosition
Possible "Predefined PDO
Assignments"
5.3.1.1"Automatic" operating mode
If the "Automatic" operation mode is set, EPP7041-x002 selects the actual operation mode according to the
set "Predefined PDO assignment":
The operation mode that EPP7041-x002 has automatically selected is set in CoE parameter A010:11.
• Velocity control [}15]
• Velocity control compact [}15]
• Velocity control compact with info data [}15]
Position control [}14]
EPP7041-x00242Version: 1.0
5.4Parameterizing the NC axis
Parameter "Reference Velocity"
Commissioning and configuration
Unit: °/s
Factory setting: 2200
dec
Calculate the "Reference Velocity" using this formula:
Example for an AS1050-0120 motor:
n
: "Reference Velocity" [°/s]
ref
f
: "Speed range" [}40] [full steps/s]
max
φ: Step angle of the motor [°]
EPP7041-x00243Version: 1.0
Commissioning and configuration
Setting the acceleration time
In order to pass through any resonances that may occur as quickly as possible, the ramps for the
acceleration time and the deceleration time should be as steep as possible.
NOTE
Short braking times can lead to overvoltages in the DC link.
In the event of an overvoltage in the DC link, a protective mechanism switches off the motor output stage.
The "Error" status bit in the process data object STM status [}18] is set.
• Check whether impermissibly high voltages occur in the DC link during braking.
• If necessary, use EP9576-1032 to prevent overvoltages in the DC link.
EP9576-1032 contains a brake resistor to dissipate drive-related overvoltages.
EPP7041-x00244Version: 1.0
Commissioning and configuration
5.4.1Parameterizing the encoder
Dead time compensation
The dead time compensation of the axis can be set in the Time Compensation tab of the Axis1_ENC
encoder settings. It should, in theory, be 3 cycles of the NC cycle time, although in practice 4 cycles were
found to be preferable. The parameter Time Compensation Mode Encoder should be set to 'ON (with
velocity)', the parameter Encoder Delay in Cycles to 4.
Scaling factor
The scaling factor can be changed by selecting "Axis 1_Enc" and tab "Parameter" in the NC (see "Setting
the Scaling Factor"). The value can be calculated with the formulas specified below.
Fig.9: Setting the Scaling Factor
Adaptation of the scaling factor
The feedback system is directly related to the scaling factor of the TwinCAT NC, so that the scaling
factor always has to be adjusted when the feedback system is changed.
EPP7041-x00245Version: 1.0
Commissioning and configuration
Calculation of the scaling factor
with encoder, 4-fold evaluation:
SF = distance per revolution / (increments x 4) = 360° / (1024 x 4) = 0.087890625 ° / INC
without encoder:
SF = distance per revolution / (full steps x microsteps) = 360° / (200 x 64) = 0.028125 ° / INC
EPP7041-x00246Version: 1.0
Commissioning and configuration
5.4.2Parameterizing the controller
Kv factors
In the NC two proportional factors Kv can be set under "Axis 1_Ctrl " in tab "Parameter". First select the
position controller Type with two P constants (with Ka) under the “NC Controller” tab. The two P constants
are for the Standstill range and for the Moving range (see Fig. "Setting the proportional factor Kv"). The
factors can be used to set the start-up torque and the braking torque to a different value than the drive
torque. The threshold value can be set directly below (Position control: Velocity threshold V dyn) between
0.0 (0%) and 1.0 (100%). Fig. "Velocity ramp with K factor limit values" shows a speed ramp with thresholds
of 30%. The Kv factor for Standstill (t1 and t3) can be different than the Kv factor for Moving (t2). In this case
the same factor was used, since for stepper motors this function is less crucial than for DC motors.
Fig.10: Speed ramp with K factor limit values
EPP7041-x00247Version: 1.0
Commissioning and configuration
Position lag monitoring
The position lag monitoring function checks whether the current position lag of an axis has exceeded the
limit value. The position lag is the difference between the set value (control value) and the actual value
reported back.
If the controller parameters are set inadequately, the position lag monitoring function may report an error
when the axis is moved. During commissioning it may therefore be advisable to increase the limits of the
Position lag monitoring slightly.
NOTE
ATTENTION: Damage to equipment, machines and peripheral components possible!
Setting the position lag monitoring parameters too high may result in damage to equipment, machines and
peripheral components.
Fig.11: Position lag monitoring parameters
Dead band for position errors
Microstepping can be used to target 200 * 64 = 12800 positions. Since the encoder can only scan 1024 * 4 =
4096 positions, positions between two encoder scan points may not be picked up correctly, in which case the
controller will control around this position The dead band for position errors is a tolerance range within which
the position is regarded as reached (Fig. "Dead band for position errors").
Fig.12: Dead band for position errors
EPP7041-x00248Version: 1.0
Commissioning and configuration
1.
2.
3.
4.
5.
5.5Performing a test run
NOTE
Important parameters must be set before the test run.
Risk of defect.
• Before the test run, carefully set the important motor parameters [}38].
The procedure for a test run depends on whether you are using TwinCAT NC or not.
• Test run with TwinCAT NC [}49]
• Test run without the TwinCAT NC [}50]
5.5.1Test run with TwinCAT NC
1. Activate the TwinCAT configuration.
2. Double-click the NC axis.
3. Click the "Online" tab.
4. Click the "Set" button in the "Enabling" field.
5. Click the "All" button in the window that appears.
ð The output stage is enabled.
ð You can use the colored buttons to move the axis for testing purposes.
EPP7041-x00249Version: 1.0
Commissioning and configuration
5.5.2Test run without the TwinCAT NC
ü Requirement: you are not using the "Positioning Interface".
1. Activate the TwinCAT configuration.
2. Set the variable "Enable" in the process data object "STM Control" to 1.
ð The output stage is enabled.
3. Specify a setpoint, depending on the operating mode:
Operation modeProcess data object for specifying a setpoint
Velocity direct
Velocity controller
Position controller
"STM Velocity" [}20]
"STM Velocity" [}20]
"STM Position" [}20]
EPP7041-x00250Version: 1.0
Commissioning and configuration
5.6Further applications
5.6.1Using the "Positioning Interface"
The "Positioning interface" can be used to execute motion commands without TwinCAT NC.
5.6.1.1Basic principles: "Positioning interface"
Predefined PDO Assignment
The "Predefined PDO Assignment" enables a simplified selection of the process data. Select the function
“Positioning interface” or “Positioning interface compact” in the lower part of the Process data tab. As a
result, all necessary PDOs are automatically activated and the unnecessary PDOs are deactivated.
Fig.13: Predefined PDO Assignment
Parameter set
Two objects are at the user’s disposal in the CoE for the configuration – the “POS Settings” (Index 8020) and
the “POS Features” (Index 8021).
Fig.14: Settings objects in the CoE
EPP7041-x00251Version: 1.0
Commissioning and configuration
POS Settings
Velocity min.:
For reasons of performance when ramping down to the target position, EP7047-1032 needs a safety margin
of 0.5%. That means that, depending on the maximum velocity reached and the configured deceleration, the
time is calculated at which the deceleration ramp begins. In order to always reach the destination reliably,
0.5% is subtracted from the position determined. If the deceleration ramp has ended and the destination has
not yet been reached, EP7047-1032 drives at the velocity “Velocity min.” to the destination. It must be
configured in such a way that the motor is able to stop abruptly and without a step loss at this velocity.
Velocity max.:
The maximum velocity with which the motor drives during a travel command.
"Speed range" (index 8012:05)
Velocity min./max. are standardised to the configured "Speed range" (Index 8012:05). This means
that for a "Speed range" of 4000 full steps/second, for example, for a speed output of 100% (i.e.
4000 full steps/second) 10,000 should be entered under "Velocity max.", and 5,000 for 50% (i.e.
2000 full steps/second).
Acceleration pos.:
Acceleration time in the positive direction of rotation.
The 5 parameters for acceleration also refer to the set “Speed range” and are given in ms. With a setting of
1000, the motor is accelerated from 0 to 100% in 1000ms. At a speed of 50% the acceleration time is
linearly reduced to half accordingly.
Acceleration neg.:
Acceleration time in the negative direction of rotation.
Deceleration pos.:
Deceleration time in the positive direction of rotation.
Deceleration neg.:
Deceleration time in the negative direction of rotation.
Emergency deceleration:
Emergency deceleration time (both directions of rotation). If “Emergency stop” is set in the appropriate PDO,
the motor is stopped within this time.
Calibration position:
The current counter value is loaded with this value after calibration.
Calibration velocity (towards plc cam):
Velocity with which the motor travels towards the cam during calibration.
Calibration velocity (off plc cam):
Velocity with which the motor travels away from the cam during calibration.
EPP7041-x00252Version: 1.0
Commissioning and configuration
Target window:
Target window of the travel distance control. “In-Target” is set if the motor comes to a stop within this target
window.
In-Target timeout:
“In-Target” is not set if the motor is not within the target window after the expiry of the travel distance control
after this set time. This condition can be recognised only by checking the falling edge of “Busy”.
Dead time compensation:
Compensation of the internal propagation delays. This parameter does not have to be changed with
standard applications.
Modulo factor:
The “Modulo factor” is referred to for the calculation of the target position and the direction of rotation in the
modulo operating modes. It refers to the controlled system.
Modulo tolerance window:
Tolerance window for the determination of the start condition of the modulo operating modes.
POS Features
Start type:
The “Start type” specifies the type of calculation used to determine the target position (see below).
Time information:
The meaning of the “Actual drive time” displayed is configured by this parameter. At present this value
cannot be changed, since there are no further selection options. The elapsed time of the travel command is
displayed.
Invert calibration cam search direction:
In relation to a positive direction of rotation, the direction of the search for the calibration cam is configured
here (travel towards the cam).
Invert sync impulse search direction:
In relation to a positive direction of rotation, the direction of the search is configured here in accordance with
the HW sync pulse (travel away from the cam).
Information and diagnostic data
Information and diagnostic data
Via the information and diagnostic data, the user can obtain a more exact statement about which error
occurred during a travel command.
EPP7041-x00253Version: 1.0
Commissioning and configuration
Fig.15: Diagnostic objects in the CoE
POS Info data
Status word:
The “Status word” reflects the status bits used in Index A020 in a data word, in order to be able to process
them more simply in the PLC. The positions of the bits correspond to the number of the subindex-1.
Bit 0: Command rejected
Bit 1: Command aborded
Bit 2: Target overrun
State (drive controller):
The current status of the internal state machine is displayed here (see below).
POS Diag data:
Command rejected:
A dynamic change of the target position is not accepted each time, since this is then not possible. The new
command is rejected in this case and indicated by the setting of this bit.
These 3 diagnostic bits are transmitted synchronously to the controller by setting “Warning” in the PDO.
Command aborted:
If the current travel command is prematurely aborted due to an internal error or by an “Emergency stop”.
Target overrun:
In the case of a dynamic change of the target position, the change may take place at a relatively late point in
time. The consequence of this may be that a change in the direction of rotation is necessary and that the
new target position may be overrun. “Target overrun” is set if this occurs.
States of the internal state machine
States of the internal state machine
The state (drive controller) (Index 9020:03) provides information about the current state of the internal state
machine. For diagnostic purposes this can be read out by the PLC for the propagation delay. The internal
cycle works constantly with 250 µs. A connected PLC cycle is very probably slower (e.g. 1 ms). For this
reason it may be the case that some states are not visible at all in the PLC, since these will sometimes run
through only one internal cycle.
EPP7041-x00254Version: 1.0
Commissioning and configuration
NameIDDescription
INIT0x0000Initialisation/preparation for the next travel command
IDLE0x0001Wait for the next travel command
START0x0010The new command is evaluated and the corresponding
calculations are performed
ACCEL0x0011Acceleration phase
CONST0x0012Constant phase
DECEL0x0013Deceleration phase
EMCY0x0020An “Emergency stop” has been triggered
STOP0x0021The motor has stopped
CALI_START0x0100Start of a calibration command
CALI_GO_CAM0x0110The motor is being driven towards the cam
CALI_ON_CAM0x0111The cam has been reached
CALI_GO_SYNC0x0120The motor is being driven in the direction of the HW sync pulse
CALI_LEAVE_CAM0x0121The motor is being driven away from the cam
CALI_STOP0x0130End of the calibration phase
CALIBRATED0x0140The motor is calibrated
NOT_CALIBRATED0x0141The motor is not calibrated
PRE_TARGET0x1000The set position has been reached; the position controller “pulls”
the motor further into the target; “In-Target timeout” is started
here
TARGET0x1001The motor has reached the target window within the timeout
TARGET_RESTART0x1002A dynamic change of the target position is processed here
END0x2000End of the positioning phase
WARNING0x4000A warning state occurred during the travel command; this is
processed here
ERROR0x8000An error state occurred during the travel command; this is
processed here
UNDEFINED0xFFFFUndefined state (can occur, for example, if the driver stage has
no control voltage)
States of the internal state machine
Standard sequence of a travel command
Standard sequence of a travel command
The “normally” sequence of a travel command is shown in the following flow diagram.
Coarse distinction is made between these four stages:
StartUp:
Test the system and the ready status of the motor.
Start positioning:
Write all variables and calculate the desired target position with the appropriate “Start type”. Subsequently,
start the travel command.
Evaluate status:
Monitoring of the internal status of EPP7041-x002 and dynamic changing of the target position, if applicable.
Error handling:
In case of error, procure the necessary information from the CoE and evaluate it.
EPP7041-x00255Version: 1.0
Commissioning and configuration
Fig.16: Flow diagram for a travel command
Start types
The “Positioning interface” offers different types of positioning. The following table contains all commands
supported; these are divided into 4 groups.
EPP7041-x00256Version: 1.0
Commissioning and configuration
NameCom-
mand
ABSOLUTE0x0001
RELATIVE0x0002Relative positioning to a calculated target position; a
ENDLESS_PLUS0x0003Endless travel in the positive direction of rotation
ENDLESS_MINUS0x0004Endless travel in the negative direction of rotation
ADDITIVE0x0006Additive positioning to a calculated target position; a
ABSOLUTE_CHANGE0x1001
RELATIVE_CHANGE0x1002Dynamic change of the target position during a travel
ADDITIVE_CHANGE0x1006Dynamic change of the target position during a travel
MODULO_SHORT0x0105
MODULO_SHORT_EXT0x0115Modulo positioning along the shortest path to the
MODULO_PLUS0x0205Modulo positioning in the positive direction of rotation
MODULO_PLUS_EXT0x0215Modulo positioning in the positive direction of rotation
MODULO_MINUS0x0305Modulo positioning in the negative direction of
MODULO_MINUS_EXT0x0315Modulo positioning in the negative direction of
MODULO_CURRENT0x0405Modulo positioning in the last direction of rotation to
MODULO_CURRENT_EXT0x0415Modulo positioning in the last direction of rotation to
CALI_PLC_CAM0x6000
CALI_HW_SYNC0x6100start a calibration with cam and HW sync pulse (C-
SET_CALIBRATION0x6E00Manually set the flag “Calibrated”
SET_CALIBRATION_AUTO0x6E01Automatically set the flag “Calibrated” on the first
CLEAR_CALIBRATION0x6F00Manually delete the calibration
GroupDescription
Standard
[}57]
Standard
Ext. [}59]
Modulo
[}60]
Calibration
[}59]
Absolute positioning to a specified target position
specified position difference is added to the current
position
(direct specification of a speed)
(direct specification of a speed)
specified position difference is added to the last
target position
Dynamic change of the target position during a travel
command to a new absolute position
command to a new relative position (the current
changing position value is used here also)
command to a new additive position (the last target
position is used here)
Modulo positioning along the shortest path to the
modulo position (positive or negative), calculated by
the “Modulo factor” (Index 8020:0E)
modulo position; the “Modulo tolerancewindow” (Index 8020:0F) is ignored
to the calculated modulo position
to the calculated modulo position; the "Modulotolerance window" is ignored
rotation to the calculated modulo position
rotation to the calculated modulo position; the
"Modulo tolerance window" is ignored
the calculated modulo position
the calculated modulo position; the "Modulo tolerancewindow" is ignored
Start a calibration with cam (digital inputs)
track)
rising edge on “Enable”
Supported "Start types" of the "Positioning interface"
ABSOLUTE:
The absolute positioning represents the simplest positioning case. A position B is specified and travelled to
from the start point A.
EPP7041-x00257Version: 1.0
Commissioning and configuration
Fig.17: Absolute positioning
RELATIVE:
In relative positioning, the user specifies a position delta S, which is added to the current position A,
producing the target position B.
Fig.18: Relative positioning
ENDLESS_PLUS / ENDLESS_MINUS:
The two start types “ENDLESS_PLUS” and “ENDLESS_MINUS” offer the possibility in the “Positioning
interface” to specify a direct motor velocity in order to travel endlessly in the positive or negative direction
with the specified accelerations.
Fig.19: Endless travel
ADDITIVE:
For additive positioning, the position delta S specified by the user is added to the target position E used for
the last travel command in order to calculate the target position B.
This kind of positioning resembles the relative positioning, but there is a difference. If the last travel
command was completed successfully, the new target position is the same. If there was an error, however,
be it that the motor entered a stall state or an “Emergency stop” was triggered, the current position is
arbitrary and not foreseeable. The user now has the advantage that he can use the last target position for
the calculation of the following target position.
These three kinds of positioning are completely identical to those described above. The important difference
thereby is that the user uses these commands during an active travel command in order to dynamically
specify a new target position.
The same rules and conditions apply as to the “normal” start types. “ABSOLUTE_CHANGE” and
“ADDITIVE_CHANGE” are unique in the calculation of the target position i.e. in absolute positioning an
absolute position is specified and in additive positioning a position delta is added to the momentarily active
target position.
NOTE
Caution when using the “RELATIVE_CHANGE” positioning
The change by means of "RELATIVE_CHANGE" must be used with caution, since the current position of
the motor is also used here as the start position. Due to propagation delays in the system, the position indicated in the PDO never corresponds to the actual position of the motor! Therefore a difference to the desired target position always results in the calculation of the transferred position delta.
Time of the change of the target position
A change of the target position cannot take place at an arbitrary point in time. If the calculation of
the output parameters shows that the new target position cannot be readily reached, the command
is rejected and the “Command rejected” bit is set. This is the case, for example, at standstill (since a
standard positioning is expected here) and in the acceleration phase (since at this point the braking
time cannot be calculated yet).
The simplest calibration case is calibration by cam only (connected to one digital input).
Here, the motor travels in the 1st step with velocity 1 (Index 0x8020:09) in direction 1 (Index 0x8021:13)
towards the cam. Subsequently, in the 2nd step, it travels with velocity 2 (Index 0x8020:0A) in direction 2
(Index 8021:14) away from the cam. After the "In-Target timeout" (Index 8020:0C) has elapsed, the
calibration position (Index 0x8020:08) is taken on as the current position.
NOTE
Observe the switching hysteresis of the cam switch
With this simple calibration it must be noted that the position detection of the cam is only exact to a certain
degree. The digital inputs are not interrupt-controlled and are “only” polled. The internal propagation delays
may therefore result in a system-related position difference.
EPP7041-x00259Version: 1.0
Commissioning and configuration
Fig.21: Calibration with cam
For a more precise calibration, an HW sync pulse (C-track) is used in addition to the cam. This calibration
proceeds in exactly the same way as described above, up to the point at which the motor travels away from
the cam. The travel is not stopped immediately; instead, the sync pulse is awaited. Subsequently, the “In-Target timeout” runs down again and the calibration position is taken on as the current position.
Fig.22: Calibration with cam and C-track
If calibration by hardware is not possible due to the circumstances of the application, the user can also set
the “Calibrated” bit manually or automatically. The manual setting or deletion takes place with the commands
“SET_CALIBRATION” and “CLEAR_CALIBRATION”.
It is simpler, however, if the standard start types (Index 0x8021:01) are set to “SET_CALIBRATION_AUTO”.
The “Calibrated” bit will now be set automatically by the first rising edge on “Enable”. The command is
conceived only for this purpose; therefore, it does not make sense to use it via the synchronous data
exchange.
MODULO:
The modulo position of the axis is a piece of additional information about the absolute axis position. Modulo
positioning represents the required target position in a different way. Contrary to the standard types of
positioning, the modulo positioning has several pitfalls, since the desired target position can be interpreted
differently.
The modulo positioning refers in principle to the "Modulo factor" (Index 0x8020:0E), which can be set in the
CoE. In the following examples, a rotary axis with a “Modulo factor” equivalent to 360 degrees is assumed.
The “Modulo tolerance window” (Index 0x8020:0F) defines a position window around the current modulo
target position of the axis. The window width is twice the specified value (set position ± tolerance value). A
detailed description of the tolerance window is provided below.
The positioning of an axis is always referenced to its current actual position. The actual position of an axis is
normally the target position of the last travel command. Under certain circumstances (incorrect positioning
due to the axis stalling, or a very coarse resolution of the connected encoder), however, a position not
expected by the user may arise. If this possibility is not considered, subsequent positioning may lead to
unexpected behaviour.
EPP7041-x00260Version: 1.0
Commissioning and configuration
Fig.23: Effect of the modulo tolerance window - modulo target position 0° in positive direction
Example:
An axis is positioned to 0°, with the result that subsequently the actual position of the axis is exactly 0°. A
further modulo travel command to 360° in positive direction results in a full turn, with the subsequent modulo
position of the axis of once again being exactly 0°. If the axis comes to a stop somewhat in front of or behind
the target position for mechanical reasons, the next travel command does not behave as one would expect.
If the actual position lies slightly below 0° (see fig. 9, below left), a new travel command to 0° in the positivedirection leads only to a minimal movement. The deviation that arose beforehand is compensated and the
position is subsequently exactly 0° once more. If the position lies slightly above 0°, however, the same travel
command leads to a full revolution in order to reach the exact position of 0° again. This problem occurs if
complete turns by 360° or multiples of 360° were initiated. For positioning to an angle that is significantly
different from the current modulo position, the travel command is unambiguous.
In order to solve the problem, a “Modulo tolerance window” (Index 0x8020:0F) can be parameterized. This
ensures that small deviations from the position that are within the window do not lead to different axis
behavior. If, for example, a window of 1° is parameterized, in the case described above the axis will behave
identically, as long the actual position is between 359° and 1°. If the position exceeds 0° by less than 1°, the
axis is re-positioned in positive direction at a modulo start. In both cases, a target position of 0° therefore
leads to minimum movement to exactly 0°. A target position of 360° leads to a full turn in both cases.
For values that are within the window range, the modulo tolerance window can therefore lead to movements
against the specified direction. For small windows this is usually not a problem, because system deviations
between set and actual position are compensated in both directions. This means that the tolerance window
may also be used for axes that may only be moved in one direction due to their construction.
EPP7041-x00261Version: 1.0
Commissioning and configuration
Modulo positioning by less than one turn
Modulo positioning from a starting position to a non-identical target position is unambiguous and requires no
special consideration. A modulo target position in the range [0 ≤; position < 360] reaches the required target
in less than one whole turn. No motion occurs if target position and starting position are identical. Target
positions of more than 360 ° lead to one or more full turns before the axis travels to the required target
position.
For a movement from 270° to 0°, a modulo target position of 0° (not 360°) should therefore be specified,
because 360° is outside the basic range and would lead to an additional turn.
The modulo positioning distinguishes between three direction specifications: positive direction, negativedirection and along the shortest path (MODULO_PLUS, MODULO_MINUS, MODULO_SHORT). For
positioning along the shortest path, target positions of more than 360° are not sensible, because the
movement towards the target is always direct. In contrast to positive or negative direction, it is therefore not
possible to carry out several turns before the axis moves to the target.
NOTE
Only basic periods of less than 360° are permitted
For modulo positioning with start type "MODULO_SHORT", only modulo target positions within the basic
period (e.g. less than 360°) are permitted, otherwise an error is returned.
Positioning without the modulo tolerance window
The Modulo tolerance window” (Index 0x8020:0F) is always taken into account in the “normal” types
of modulo positioning. However, this is less desirable in some situations. In order to eliminate this
"disadvantage", the comparable start types "MODULO_SHORT_EXT", "MODULO_PLUS_EXT",
"MODULO_MINUS_EXT" and "MODULO_CURRENT_EXT" can be used, which ignore the modulo
tolerance window.
The following table shows some positioning examples:
Examples of modulo positioning with less than one revolution
Modulo positioning with full turns
In principle, modulo positioning by one or full turns are no different than positioning to an angle that differs
from the starting position. No motion occurs if target position and starting position are identical. For a full
turn, 360° has to be added to the starting position. The behaviour described in the example [}61] shows that
special attention must be paid to positionings with whole revolutions. The following table shows positioning
examples for a starting position of approximately 90°. The modulo tolerance window is set to 1° here. Special
cases for which the starting position is outside this window are identified.
t7 - t10:- Absolute travel back to the start position
Warning = 1
Decelerate = 1
Decelerate = 0
Decelerate = 1
In-Target = 1
Decelerate = 0
- Change of the parameters
- Activation by new start types
- Warning of overrunning the target
position
- Start of the 1st deceleration phase
- End of the 1st deceleration phase
- Start of the 2nd acceleration phase in the
opposite direction
- End of the 2nd acceleration phase
- Start of the 2nd deceleration phase
- End of the 2nd deceleration phase
- Motor is at the new target position
0
Fig.25: Scope recording of a travel command with a dynamic change of the target position, with overrunning
of the final target position
(The axis scaling refers only to the positions, not to the speed or the status bits)
EPP7041-x00265Version: 1.0
Commissioning and configuration
1
2
3
5.6.2Linking an NC axis with EPP7041-x002
This step can usually be skipped
If you have carried out the commissioning in accordance with this documentation, an NC axis has
already been linked to EPP7041-x002. See chapter Integrating EPP7041 into a TwinCAT project[}36].
1. In the Solution Explorer: Double-click "Axis n".
2. Click on the "Settings" tab.
3. Click "Link to I/O".
ð A dialog box opens.
4. Select EPP7041-x002 and click "OK".
Note: If EPP7041-x002 is not available for selection here, please check:
- Is EPP7041-x002 included in the "I/O" section?
- Is a predefined "Positioning interface ..." process image selected?
ð The process data from EPP7041-x002 are linked to the axis.
EPP7041-x00266Version: 1.0
Commissioning and configuration
5.6.3Restoring the delivery state
To restore the delivery state for backup objects in ELxxxx terminals / EPxxxx- and EPPxxxx boxes, the CoE
object Restore default parameters, SubIndex 001 can be selected in the TwinCAT System Manager (Config
mode).
Fig.26: 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.
All backup objects are reset to the delivery state.
Fig.27: Entering a restore value in the Set Value dialog
Alternative restore value
In some older terminals / boxes the backup objects can be switched with an alternative restore
value:
Decimal value: 1819238756
Hexadecimal value: 0x6C6F6164
An incorrect entry for the restore value has no effect.
EPP7041-x00267Version: 1.0
Commissioning and configuration
5.7Decommissioning
WARNING
Risk of electric shock!
Bring the bus system into a safe, de-energized state before starting disassembly of the devices!
Disposal
In order to dispose of the device, it must be removed.
In accordance with the WEEE Directive 2012/19/EU, Beckhoff takes back old devices and accessories in
Germany for proper disposal. Transport costs will be borne by the sender.
Return the old devices with the note "for disposal" to:
Beckhoff Automation GmbH & Co. KG
Service Department
Stahlstraße 31
D-33415 Verl
EPP7041-x00268Version: 1.0
Diagnosis
6Diagnosis
6.1Diagnostics – basic principles of diag messages
DiagMessages designates a system for the transmission of messages from an EtherCAT device to the
EtherCAT Master/TwinCAT. The messages are stored by the EtherCAT device in its own CoE under 0x10F3
and can be read by the application or the System Manager. An error message referenced via a code is
output for each event stored in the EtherCAT device (warning, error, status change).
Definition
The DiagMessages system is defined in the ETG (EtherCAT Technology Group) in the guideline ETG.1020,
chapter 13 “Diagnosis handling”. It is used so that pre-defined or flexible diagnostic messages can be
conveyed from an EtherCAT device to the Master. In accordance with the ETG, the process can therefore be
implemented supplier-independently. Support is optional. The firmware can store up to 250 DiagMessages in
its own CoE.
Each DiagMessage consists of
• Diag Code (4-byte)
• Flags (2-byte; info, warning or error)
• Text ID (2-byte; reference to explanatory text from the ESI/XML)
• Timestamp (8-byte, local time in the EtherCAT device or 64-bit Distributed Clock time, if available)
• Dynamic parameters added by the firmware
The DiagMessages are explained in text form in the ESI/XML file belonging to the EtherCAT device: on the
basis of the Text ID contained in the DiagMessage, the corresponding plain text message can be found in
the languages contained in the ESI/XML. In the case of Beckhoff products these are usually German and
English.
Via the entry NewMessagesAvailable the user receives information that new messages are available.
DiagMessages can be confirmed in the EtherCAT device: the last/latest unconfirmed message can be
confirmed by the user.
In the CoE both the control entries and the history itself can be found in the CoE object 0x10F3:
Fig.28: DiagMessages in the CoE
The subindex of the latest DiagMessage can be read under 0x10F3:02.
EPP7041-x00269Version: 1.0
Diagnosis
Support for commissioning
The DiagMessages system is to be used above all during the commissioning of the plant. The diagnostic values e.g. in the StatusWord of the EtherCAT device (if available) are helpful for online diagnosis during the subsequent continuous operation.
TwinCAT System Manager implementation
From TwinCAT 2.11 DiagMessages, if available, are displayed in the EtherCAT device’s own interface.
Operation (collection, confirmation) also takes place via this interface.
Fig.29: Implementation of the DiagMessage system in the TwinCAT System Manager
The operating buttons (B) and the history read out (C) can be seen on the Diag History tab (A). The
components of the message:
• Info/Warning/Error
• Acknowledge flag (N = unconfirmed, Q = confirmed)
• Time stamp
• Text ID
• Plain text message according to ESI/XML data
The meanings of the buttons are self-explanatory.
DiagMessages within the ADS Logger/Eventlogger
Since TwinCAT 3.1 build 4022 DiagMessages send by the EtherCAT device are shown by the TwinCAT
ADS Logger. Given that DiagMessages are represented IO- comprehensive at one place, commissioning will
be simplified. In addition, the logger output could be stored into a data file – hence DiagMessages are
available long-term for analysis.
DiagMessages are actually only available locally in CoE 0x10F3 in the EtherCAT device and can be read out
manually if required, e.g. via the DiagHistory mentioned above.
In the latest developments, the EtherCAT devices are set by default to report the presence of a
DiagMessage as emergency via EtherCAT; the event logger can then retrieve the DiagMessage. The
function is activated in the EtherCAT device via 0x10F3:05, so such EtherCAT devices have the following
entry in the StartUp list by default:
Fig.30: Startup List
EPP7041-x00270Version: 1.0
Diagnosis
If the function is to be deactivated because, for example, many messages come in or the EventLogger is not
used, the StartUp entry can be deleted or set to 0.
Reading messages into the PLC
- In preparation -
Interpretation
Time stamp
The time stamp is obtained from the local clock of the EtherCAT device at the time of the event. The time is
usually the distributed clock time (DC) from register x910.
Please note: When EtherCAT is started, the DC time in the reference clock is set to the same time as the
local IPC/TwinCAT time. From this moment the DC time may differ from the IPC time, since the IPC time is
not adjusted. Significant time differences may develop after several weeks of operation without a EtherCAT
restart. As a remedy, external synchronization of the DC time can be used, or a manual correction
calculation can be applied, as required: The current DC time can be determined via the EtherCAT master or
from register x901 of the DC slave.
Structure of the Text ID
The structure of the MessageID is not subject to any standardization and can be supplier-specifically
defined. In the case of Beckhoff EtherCAT devices (EL, EP) it usually reads according to xyzz:
xyzz
0: Systeminfo
2: reserved
1: Info
4: Warning
8: Error
Example: Message 0x4413 --> Drive Warning Number 0x13
Overview of text IDs
Specific text IDs are listed in the device documentation.
0: System
1: General
2: Communication
3: Encoder
4: Drive
5: Inputs
6: I/O general
7: reserved
Error number
EPP7041-x00271Version: 1.0
Diagnosis
Text IDTypePlaceText MessageAdditional comment
0x0001InformationSystemNo errorNo error
0x0002InformationSystemCommunication establishedConnection established
0x0003InformationSystemInitialization: 0x%X, 0x%X, 0x%X General information; parameters depend on event. See
0x1000InformationSystemInformation: 0x%X, 0x%X, 0x%X General information; parameters depend on event. See
0x1012InformationSystemEtherCAT state change Init -
PreOp
0x1021InformationSystemEtherCAT state change PreOp -
Init
0x1024InformationSystemEtherCAT state change PreOp -
Safe-Op
0x1042InformationSystemEtherCAT state change SafeOp -
PreOp
0x1048InformationSystemEtherCAT state change SafeOp -
Op
0x1084InformationSystemEtherCAT state change Op -
SafeOp
0x1100InformationGeneralDetection of operation mode com-
pleted: 0x%X, %d
0x1135InformationGeneralCycle time o.k.: %dCycle time OK
6.2Diag Messages of EtherCAT devices for drive
technology
„Ack. Message“ Button
The ‚Ack. Message’ button has no effect on the Drive State Machine, pressing the button does not
make an axis reset.
The Drive State Machine has no influence on the error list, an axis reset also does not remove any
entries from the error list, however, this can be done by pressing the ‚Ack. Message’ button.
EPP7041-x00278Version: 1.0
7CoE parameters
7.1Object directory
CoE parameters are grouped into logical groups called "objects".
Object index (hex)Name
1000
1008
1009
100A
1011
1018
10F0Backup parameter handling
10F3Diagnosis History
10F8Actual Time Stamp
1400ENC RxPDO-Par Control compact
1401ENC RxPDO-Par Control
1403STM RxPDO-Par Position
1404STM RxPDO-Par Velocity
1405POS RxPDO-Par Control compact
1406POS RxPDO-Par Control
1407POS RxPDO-Par Control 2
1600ENC RxPDO-Map Control compact
1601ENC RxPDO-Map Control
1602STM RxPDO-Map Control
1603STM RxPDO-Map Position
1604STM RxPDO-Map Velocity
1605POS RxPDO-Map Control compact
1606POS RxPDO-Map Control
1607POS RxPDO-Map Control 2
1800ENC TxPDO-Par Status compact
1801ENC TxPDO-Par Status
1806POS TxPDO-Par Status compact
1807POS TxPDO-Par Status
1A00ENC TxPDO-Map Status compact
1A01ENC TxPDO-Map Status
1A02ENC TxPDO-Map Timest. compact
1A03STM TxPDO-Map Status
1A04STM TxPDO-Map Synchron info data
1A05STM TxPDO-Map Motor load
1A06POS TxPDO-Map Status compact
1A07POS TxPDO-Map Status
1A08STM TxPDO-Map Internal position
1A09STM TxPDO-Map External position
1A0APOS TxPDO-Map Actual position lag
9010STM Info data Ch.1
9020POS Info data Ch.1
A010STM Diag data Ch.1
A020POS Diag data Ch.1
F000Modular device profile
F008Code word
F010Module list
F081Download revision
F083BTN
F80FSTM Vendor data
F900STM Info data
FB00STM Command
FB40Memory interface
ENC Settings Ch.1 [}82]
STM Motor Settings Ch.1 [}83]
STM Features Ch.1 [}84]
STM Controller Settings 2 Ch.1 [}85]
POS Settings Ch.1 [}85]
POS Features Ch.1 [}85]
EPP7041-x00280Version: 1.0
CoE parameters
7.2Data format of CoE parameters
CoE parameters have different data formats.
The data format of the CoE parameters is specified by data type identifiers in the chapter Object description[}82]:
02Product codeProduct codeUDINT64777E18
03RevisionBit0...15: Index number of the product version
Bit16...31: Revision of the device description
UDINTBit 0...15:
x002
dec
(ESI)
04Serial numberReservedUDINT0
hex
EPP7041-x00287Version: 1.0
Appendix
8Appendix
8.1General operating conditions
Protection degrees (IP-Code)
The standard IEC 60529 (DIN EN 60529) defines the degrees of protection in different classes.
1. Number: dust protection and
touch guard
0Non-protected
1Protected against access to hazardous parts with the back of a hand. Protected against solid
2Protected against access to hazardous parts with a finger. Protected against solid foreign ob-
3Protected against access to hazardous parts with a tool. Protected against solid foreign objects
4Protected against access to hazardous parts with a wire. Protected against solid foreign objects
5Protected against access to hazardous parts with a wire. Dust-protected. Intrusion of dust is not
6Protected against access to hazardous parts with a wire. Dust-tight. No intrusion of dust.
Definition
foreign objects of Ø50mm
jects of Ø12.5mm.
Ø2.5mm.
Ø1mm.
totally prevented, but dust shall not penetrate in a quantity to interfere with satisfactory operation
of the device or to impair safety.
2. Number: water* protectionDefinition
0Non-protected
1Protected against water drops
2Protected against water drops when enclosure tilted up to 15°.
3Protected against spraying water. Water sprayed at an angle up to 60° on either side of the ver-
4Protected against splashing water. Water splashed against the disclosure from any direction
5Protected against water jets
6Protected against powerful water jets
7Protected against the effects of temporary immersion in water. Intrusion of water in quantities
tical shall have no harmful effects.
shall have no harmful effects
causing harmful effects shall not be possible when the enclosure is temporarily immersed in water for 30min. in 1m depth.
*) These protection classes define only protection against water!
Chemical Resistance
The Resistance relates to the Housing of the IP 67 modules and the used metal parts. In the table below you
will find some typical resistance.
CharacterResistance
Steamat temperatures >100°C: not resistant
Sodium base liquor
(ph-Value > 12)
Acetic acidnot resistant
Argon (technical clean)resistant
at room temperature: resistant
> 40°C: not resistant
Key
• resistant: Lifetime several months
• non inherently resistant: Lifetime several weeks
• not resistant: Lifetime several hours resp. early decomposition
EPP7041-x00288Version: 1.0
8.2Accessories
Protective caps for connectors
Ordering informationDescription
ZS5000-0010Protective cap for M8 sockets, IP67 (50 pieces)
ZS5000-0020Protective cap M12, IP67 (50 pieces)
Labelling material
Ordering informationDescription
ZS5100-0000Inscription labels, unprinted, 4 strips of 10
ZS5000-xxxxPrinted inscription labels on enquiry
Cables
A complete overview of pre-assembled cables for fieldbus components can be found here.
Ordering informationDescriptionLink
ZK2000-6xxx-xxxxSensor cable M12, 4-pin
ZK2000-5xxx-xxxx
ZK2000-71xx-xxxx
ZK4000-5151-0xxxEncoder cable, shielded
ZK4000-6768-0xxxMotor cable, shielded
ZK700x-xxxx-xxxxEtherCAT P cable M8
Sensor cable M12 5-pin
Website
Website
Website
Website
Website
Appendix
Tools
Ordering informationDescription
ZB8801-0000Torque wrench for plugs, 0.4…1.0Nm
ZB8801-0001Torque cable key for M8/ wrench size 9 for ZB8801-0000
ZB8801-0002Torque cable key for M12/ wrench size 13 for ZB8801-0000
Further accessories
Further accessories can be found in the price list for fieldbus components from Beckhoff and online
at https://www.beckhoff.com.
EPP7041-x00289Version: 1.0
Appendix
8.3Version identification of EtherCAT devices
Designation
A Beckhoff EtherCAT device has a 14-digit designation, made up of
• family key
• type
• version
• revision
ExampleFamilyTypeVersionRevision
EL3314-0000-0016EL terminal
(12 mm, nonpluggable connection
level)
ES3602-0010-0017 ES terminal
(12 mm, pluggable
connection level)
CU2008-0000-0000 CU device2008 (8-port fast ethernet switch) 0000 (basic type) 0000
3314 (4-channel thermocouple
terminal)
3602 (2-channel voltage
measurement)
0000 (basic type) 0016
0010 (highprecision version)
0017
Notes
• The elements mentioned above result in the technical designation. EL3314-0000-0016 is used in the
example below.
• EL3314-0000 is the order identifier, in the case of “-0000” usually abbreviated to EL3314. “-0016” is the
EtherCAT revision.
• The order identifier is made up of
- family key (EL, EP, CU, ES, KL, CX, etc.)
- type (3314)
- version (-0000)
• The revision -0016 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.
From 2014/01 the revision is shown on the outside of the IP20 terminals, see Fig. “EL5021 EL terminal,standard IP20 IO device with batch number and revision ID (since 2014/01)”.
• The type, version and revision are read as decimal numbers, even if they are technically saved in
hexadecimal.
Identification number
Beckhoff EtherCAT devices from the different lines have different kinds of identification numbers:
Production lot/batch number/serial number/date code/D number
The serial number for Beckhoff IO devices is usually the 8-digit number printed on the device or on a sticker.
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.
Structure of the serial number: KKYYFFHH
KK - week of production (CW, calendar week)
YY - year of production
FF - firmware version
HH - hardware version
EPP7041-x00290Version: 1.0
Appendix
Example with
Ser. no.: 12063A02: 12 - production week 12 06 - production year 2006 3A - firmware version 3A 02 hardware version 02
Exceptions can occur in the IP67 area, where the following syntax can be used (see respective device
documentation):
Syntax: D ww yy x y z u
D - prefix designation
ww - calendar week
yy - year
x - firmware version of the bus PCB
y - hardware version of the bus PCB
z - firmware version of the I/O PCB
u - hardware version of the I/O PCB
Example: D.22081501 calendar week 22 of the year 2008 firmware version of bus PCB: 1 hardware version
of bus PCB: 5 firmware version of I/O PCB: 0 (no firmware necessary for this PCB) hardware version of I/O
PCB: 1
Unique serial number/ID, ID number
In addition, in some series each individual module has its own unique serial number.
See also the further documentation in the area
• IP67: EtherCAT Box
• Safety: TwinSafe
• Terminals with factory calibration certificate and other measuring terminals
Examples of markings
Fig.31: EL5021 EL terminal, standard IP20 IO device with serial/ batch number and revision ID (since
2014/01)
EPP7041-x00291Version: 1.0
Appendix
Fig.32: EK1100 EtherCAT coupler, standard IP20 IO device with serial/ batch number
Fig.33: CU2016 switch with serial/ batch number
Fig.34: EL3202-0020 with serial/ batch number 26131006 and unique ID-number 204418
EPP7041-x00292Version: 1.0
Appendix
Fig.35: EP1258-00001 IP67 EtherCAT Box with batch number/ date code 22090101 and unique serial
number 158102
Fig.36: EP1908-0002 IP67 EtherCAT Safety Box with batch number/ date code 071201FF and unique serial
number 00346070
Fig.37: EL2904 IP20 safety terminal with batch number/ date code 50110302 and unique serial number
00331701
Fig.38: ELM3604-0002 terminal with unique ID number (QR code) 100001051 and serial/ batch number
44160201
EPP7041-x00293Version: 1.0
Appendix
8.3.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.39: 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
(ANSIMH10.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, spaces are added to it. The data under
positions 1 to 4 are always available.
The following information is contained:
EPP7041-x00294Version: 1.0
Item
Type of
no.
information
1Beckhoff order
number
2Beckhoff Traceability
Number (BTN)
3Article descriptionBeckhoff article
4QuantityQuantity in packaging
5Batch numberOptional: Year and week
6ID/serial numberOptional: Present-day
7Variant numberOptional: Product variant
...
ExplanationData
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
or calibrated terminals
number on the basis of
standard products
Appendix
Number of digits
identifier
S12SBTNk4p562d7
1K321KEL1809
Q6Q1
2P142P401503180016
51S1251S678294104
30P3230PF971, 2*K183
incl. data identifier
Example
Further types of information and data identifiers are used by Beckhoff and serve internal processes.
Structure of the BIC
Example of composite information from item 1 to 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.
NOTE
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.
EPP7041-x00295Version: 1.0
Appendix
8.4Support 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