Beckhoff EP3356-0022 Documentation

Documentation for
EP3356-0022
1-channel precise load cell analysis (resistor bridge), 24 bit
1.1.0 2018-11-15
Version: Date:
Table of contents
EP3356-0022 3Version: 1.1.0
Table of contents
1 Foreword ....................................................................................................................................................5
1.1 Notes on the documentation..............................................................................................................5
1.2 Safety instructions .............................................................................................................................6
1.3 Documentation issue status ..............................................................................................................7
2 Product overview.......................................................................................................................................8
2.1 EP3356-0022 - Introduction...............................................................................................................8
2.2 EP3356-0022 - Technical data ..........................................................................................................9
2.3 Basic principles of strain gauge technology ....................................................................................10
3 Basics of communication .......................................................................................................................17
3.1 EtherCAT basics..............................................................................................................................17
3.2 Watchdog setting.............................................................................................................................17
3.3 EtherCAT State Machine.................................................................................................................20
3.4 CoE interface...................................................................................................................................22
3.5 Distributed Clock .............................................................................................................................26
4 Mounting and Cabling.............................................................................................................................27
4.1 Mounting..........................................................................................................................................27
4.1.1 Dimensions ...................................................................................................................... 27
4.1.2 Fixing ............................................................................................................................... 28
4.1.3 Nut torque for connectors ................................................................................................ 29
4.1.4 Additional checks............................................................................................................. 30
4.2 EtherCAT.........................................................................................................................................31
4.2.1 EtherCAT connection....................................................................................................... 31
4.2.2 EtherCAT - Fieldbus LEDs .............................................................................................. 32
4.3 Power supply ...................................................................................................................................34
4.3.1 Power Connection ........................................................................................................... 34
4.3.2 Status LEDs for power supply ......................................................................................... 37
4.3.3 Power cable conductor losses M8 ................................................................................... 38
4.3.4 Conductor losses 7/8"...................................................................................................... 39
4.4 Cabling ............................................................................................................................................40
4.5 UL Requirements.............................................................................................................................42
4.6 ATEX notes .....................................................................................................................................43
4.6.1 ATEX - Special conditions ............................................................................................... 43
4.6.2 BG2000-0000 - EtherCAT Box protection enclosure....................................................... 44
4.6.3 ATEX Documentation ...................................................................................................... 45
5 EP3356-0022 - Signal connection ..........................................................................................................46
5.1 Analog voltage inputs M12 and meaning of the LEDs.....................................................................46
6 Commissioning/Configuration ...............................................................................................................48
6.1 TwinCAT configuration setup, manual.............................................................................................48
6.2 Configuration setup: TwinCAT - online scan ...................................................................................51
6.3 EtherCAT slave process data settings (PDO) .................................................................................58
6.4 Configuration via TwinCAT..............................................................................................................59
6.5 Basic function principles ..................................................................................................................67
6.6 Application notes .............................................................................................................................77
Table of contents
EP3356-00224 Version: 1.1.0
6.7 Calibration and adjustment..............................................................................................................80
6.8 Notices on analog specifications .....................................................................................................84
6.9 Voltage measurement .....................................................................................................................89
6.10 Distributed Clocks mode (EL3356-0010 and EP3356-0022 only)...................................................91
6.11 Process data....................................................................................................................................92
6.12 Object description and parameterization.......................................................................................100
6.13 Example program ..........................................................................................................................113
6.14 Restoring the delivery state...........................................................................................................118
7 Appendix ................................................................................................................................................119
7.1 General operating conditions.........................................................................................................119
7.2 EtherCAT Box- / EtherCATPBox - Accessories ..........................................................................120
7.3 Support and Service ......................................................................................................................121
Foreword
EP3356-0022 5Version: 1.1.0
1 Foreword
1.1 Notes 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®, EtherCATP®, SafetyoverEtherCAT®, TwinSAFE®, XFC® and XTS® 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, DE102004044764, DE102007017835 with corresponding applications or registrations in various other countries.
The TwinCAT Technology is covered, including but not limited to the following patent applications and patents: EP0851348, US6167425 with corresponding applications or registrations in various other countries.
EtherCAT® is registered trademark and patented technology, licensed by Beckhoff Automation GmbH, Germany.
Copyright
© Beckhoff Automation GmbH & Co. KG, Germany. The reproduction, distribution and utilization of this document as well as the communication of its contents to others without express authorization are prohibited. Offenders will be held liable for the payment of damages. All rights reserved in the event of the grant of a patent, utility model or design.
Foreword
EP3356-00226 Version: 1.1.0
1.2 Safety instructions
Safety regulations
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.
Foreword
EP3356-0022 7Version: 1.1.0
1.3 Documentation issue status
Version Changes
1.1.0 • Update Safety instructions
• Update chapter Mounting and Cabling
1.0.4 • Technical Data updated
• EP3356-0022 – Signal connection updated
1.0.3 • Basic function principles updated
1.0.2 • Nut torque for connectors updated
1.0.1 • Parallel connection of strain gauges updated
1.0.0 • first publication
0.5 • first preliminary version
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 HH
WW - week of production (calendar week) YY - year of production FF - firmware version HH - hardware version
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
Product overview
EP3356-00228 Version: 1.1.0
2 Product overview
2.1 EP3356-0022 - Introduction
Fig.1: EP3356-0022
1-channel precise load cell analysis (resistor bridge), 24 bit
The EP3356 EtherCAT Box enables direct connection of a resistor bridge or load cell in a 4-wire connection technology. The ratio between the bridge voltage UD and the supply voltage U
ref
is determined simultaneously in the input circuit and the final load value is calculated as a process value on the basis of the settings in the EP3356. With automatic self-calibration (can be deactivated), dynamic filters and distributed clock support, the EP3356 with measuring cycles of 100µs can be used for fast and precise monitoring of torque or vibration sensors.
Installation [}27]
Configuration [}48]
Product overview
EP3356-0022 9Version: 1.1.0
2.2 EP3356-0022 - Technical data
Technical data EP3356-0022
Number of inputs 2, for 1 resistor bridge in full bridge technology
Signal connection sockets [}46]
M12
Resolution 24Bit, 32bit presentation Conversion time 0.1ms…250ms, configurable, max. 10,000 samples/s Nominal voltage 24VDC (-15%/+20%) Distributed Clocks yes selectable modes yes (2) Measuring error <±0.01% for the calculated load value in relation to the final load value
with a 12V feed and 24mV bridge voltage (hence nominal strain gauge characteristic value of 2mV/V), self-calibration active, 50Hz filter active.
Attention: Due to external influences such as temperature drifts [}10] and HF-disturbances may possibly occur a not insignificant error!
Measuring range U
D
max. -27mV…+27mV typ. (see note [}89] concerning voltage measuring recommended: -25mV…+25mV rated voltage
Measuring range U
ref
max. -13.8V…+13.8V typ. (see note [}89] concerning voltage measuring recommended: -12V…+12V rated voltage
Supported nominal sensitivity all, resolution of parameter: 0.01µV/V
Recommended: 0.5mV/V…4mV/V
Min. strain gauge resistor parallel operation of strain gauges only with suitable strain gauges
recommended
Input filter limit frequency (hardware)
10kHz low pass (-3dB)
Filter (software) Present 50Hz,
Configurable: 50/60Hz FIR notch filter, IIR low pass 4-fold averager
Internal resistance >200kΩ (U
ref
), > 1MΩ (Ud)
Special features self-calibration, quadruple averager, dynamic filters, fast data sampling,
parallel connection
Sensor supply U
ref
= 10V (supplied by the EP3356)
Current consumption from U
S
(without sensor current)
120mA
Power supply connection feed: 1 x M8 male socket, 4-pin
downstream connection: 1 x M8 female socket, 4-pin
Permissible ambient temperature during operation
-25°C…+60°C 0°C ... +55°C (according to cULus, see UL Requirements)
Permissible ambient temperature during storage
-40°C…+85°C
Vibration / shock resistance conforms to EN60068-2-6 / EN60068-2-27 EMC immunity/emission conforms to EN61000-6-2 / EN61000-6-4 Dimensions 126mm x 60mm x 40mm Weight approx.. 450g Installation position variable Protection class IP65, IP66, IP67 (according to EN60529) Approvals CE, UL
Product overview
EP3356-002210 Version: 1.1.0
2.3 Basic principles of strain gauge technology
Basic information on the technological field of "strain gauges/load cells" as metrological instruments is to be given below. The information is of general nature; it is up to the user to check the extent to which it applies to his application.
• Strain gauges serve either to directly measure the static (0 to a few Hz) or dynamic (up to several KHz) elongations, compressions or torsions of a body by being directly fixed to it, or to measure various forces or movements as part of a sensor (e.g. load cells/force transducers, displacement sensor, vibration sensors).
• In the case of the optical strain gauge (e.g. Bragg grating), an application of force causes a proportional change in the optical characteristics of a fiber used as a sensor. Light with a certain wavelength is fed into the sensor. Depending upon the deformation of the grating, which is laser-cut into the sensor, due to the mechanical load, part of the light is reflected and evaluated using a suitable measuring transducer (interrogator).
The commonest principle in the industrial environment is the electrical strain gauge. There are many common terms for this type of sensor: load cell, weighbridge, etc.
Structure of electrical strain gauges
A strain gauge consists of a carrier material (e.g. stretchable plastic film) with an applied metal film from which a lattice of electrically conductive resistive material is worked in very different geometrical forms, depending on the requirements.
Fig.2: Strain gauge
This utilizes a behavior whereby, for example in the case of strain, the length of a metallic resistance network increases and its diameter decreases, as a result of which its electrical resistance increases proportionally.
ΔR/R = k*ε
ε = Δl/l thereby corresponds to the elongation; the strain sensitivity is called the k-factor. This also gives rise to the typical track layout inside the strain gauge: the resistor track or course is laid in a meandering pattern in order to expose the longest possible length to the strain.
Example
The elongation ε = 0.1% of a strain gauge with k-factor 2 causes an increase in the resistance of 0.2%. Typical resistive materials are constantan (k~2) or platinum tungsten (92PT, 8W with k ~4). In the case of semiconductor strain gauges a silicon structure is glued to a carrier material. The conductivity is changed primarily by deformation of the crystal lattice (piezo-resistive effect); k-factors of up to 200 can be achieved.
Measurement of signals
The change in resistance of an individual strain gauge can be determined in principle by resistance measurement (current/voltage measurement) using a 2/3/4-conductor measurement technique
Product overview
EP3356-0022 11Version: 1.1.0
Usually 1/2/4 strain gauges are arranged in a Wheatstone bridge (-> quarter/half/full bridge); the nominal resistance/impedance R0 of all strain gauges (and the auxiliary resistors used if necessary) is usually equivalent to R1=R2=R3=R4=R0. Typical values in the non-loaded state are R0 = 120Ω, 350Ω, 700Ω and 1kΩ.
The full bridge possesses the best characteristics such as linearity in the feeding of current/voltage, four times the sensitivity of the quarter-bridge as well as systematic compensation of disturbing influences such as temperature drift and creeping. In order to achieve high sensitivity, the 4 individual strain gauges are arranged on the carrier in such a way that 2 are elongated and 2 are compressed in each case.
Fig.3: quarter, half and full bridge
The measuring bridges can be operated with constant current, constant voltage, or also with AC voltage using the carrier frequency method.
Measuring procedure
The Beckhoff EL/KL335x Terminals and the EP3356 Box support only the constant excitation
Full bridge strain gauge at constant voltage (ratiometric measurement)
Since the relative resistance change ΔR is low in relation to the nominal resistance R0, a simplified equation is given for the strain gauge in the Wheatstone bridge arrangement:
UD/UV = ¼ * (ΔR1-ΔR2+ΔR3-ΔR4)/R
0
ΔR usually has a positive sign in the case of elongation and a minus sign in the case of compression.
A suitable measuring instrument measures the bridge supply voltage UV (or U
Supply
) and the resulting bridge
voltage UD (or U
Bridge
), and forms the quotients from both voltages, i.e. the ratio. After further calculation and scaling the measured value is output, e.g. in kg. Due to the division of UD and UV the measurement is in principle independent of changes in the supply voltage.
If the voltages UV and UD are measured simultaneously, i.e. at the same moment, and placed in relation to each other, then this is referred to as a ratiometric measurement.
The advantage of this is that (with simultaneous measurement!) brief changes in the supply voltage (e.g. EMC effects) or a generally inaccurate or unstable supply voltage likewise have no effect on the measurement.
A change in UV by e.g. 1% creates the same percentage change in UD according to the above equation. Due to the simultaneous measurement of UD and UV the error cancels itself out completely during the division.
4-conductor vs. 6-conductor connection
If supplied with a constant voltage of 5 to 12V a not insignificant current flows of e.g. 12V/350Ω=34.3mA. This leads not only to dissipated heat, wherein the specification of the strain gauge employed must not be exceeded, but possibly also to measuring errors in the case of inadequate wiring due to line losses not being taken into account or compensated.
In principle a full bridge can be operated with a 4-conductor connection (2 conductors for the supply UV and 2 for the measurement of the bridge voltage UD).
If, for example, a 25m copper cable (feed + return = 50m) with a cross section q of 0.25mm² is used, this results in a line resistance of
RL = l/ (κ * q) = 50m / (58S*m/mm² * 0.25mm²) = 3.5Ω
Product overview
EP3356-002212 Version: 1.1.0
If this value remains constant, then the error resulting from it can be calibrated out. However, assuming a realistic temperature change of, for example, 30° the line resistance RL changes by
ΔRL =30° * 3.9 * 10-4 * 3.5Ω = 0.41Ω
In relation to a 350Ω measuring bridge this means a measuring error of > 0.1%.
Fig.4: 4-conductor connection
This can be remedied by a 6-conductor connection, in particular for precision applications (only possible with EL3356).
Fig.5: 6-conductor connection
Product overview
EP3356-0022 13Version: 1.1.0
The supply voltage UV is thereby fed to the strain gauge (= current carrying conductor). The incoming supply voltage U
ref
is only measured with high impedance directly at the measuring bridge in exactly the same way as the bridge voltage UD with two currentless return conductors in each case. The conductor-related errors are hence omitted.
Since these are very small voltage levels of the order of mV and µV, all conductors should be shielded. The shield must be connected to pin 5 of the M12 connector.
EP3356-0022: No 6-conductor connection necessary
The connection of a strain gauge over 4-conductor with the EP3356-0022 is sufficient because due to the shorter cable lengths no measurement errors occur.
Structure of a load cell with a strain gauge
One application of the strain gauge is the construction of load cells.
This involves gluing strain gauges (full bridges as a rule) to an elastic mechanical carrier, e.g. a double­bending beam spring element, and additionally covered to protect against environmental influences.
The individual strain gauges are aligned for maximum output signals according to the load direction (2 strain gauges in the elongation direction and 2 in the compression direction).
Fig.6: Example of a load cell
The most important characteristic data of a load cell
Characteristic data
Please enquire tot he sensor manufacturer regarding the exact characteristic data!
Nominal load E
max
Maximum permissible load for normal operation, e.g. 10 kg
Nominal characteristic value mV/V
Product overview
EP3356-002214 Version: 1.1.0
The nominal characteristic value 2mV/V means that, with a supply of US=10V and at the full load E
max
of the load cell, the maximum output voltage UD = 10V * 2mV/V *E = 20mV. The nominal characteristic value is always a nominal value – a manufacturer’s test report is included with good load cells stating the characteristic value determined for the individual load cell, e.g. 2.0782mV/V.
Minimum calibration value V
min
This indicates the smallest mass that can be measured without the maximum permissible error of the load cell being exceeded [RevT].
This value is represented either by the equation V
min
= E
max
/ n (where n is an integer, e.g. 10000), or in % of
E
max
(e.g. 0.01).
This means that a load cell with E
max
= 10kg has a maximum resolution of
V
min
= 10kg / 10000 = 1g or V
min
= 10kg * 0.01% = 1g.
Accuracy class according to OIML R60
The accuracy class is indicated by a letter (A, B, C or D) and an additional number, which encodes the scale interval d with a maximum number n
max
(*1000); e.g. C4 means Class C with maximally 4000d scale
intervals.
The classes specify a maximum and minimum limit for scale intervals d:
• A: 50,000 – unlimited
• B: 5000 – 100,000
• C: 500 – 10,000
• D: 500 – 1000
The scale interval n
max
= 4000d states that, with a load cell with a resolution of V
min
= 1g, a calibratable set of
scales can be built that has a maximum measuring range of 4000d * V
min
= 4kg. Since V
min
is thereby a minimum specification, an 8kg set of scales could be built – if the application allows – with the same load cell, wherein the calibratable resolution would then fall to 8kg/4000d=2g. From another point of view the scale interval n
max
is a maximum specification; hence, the above load cell could be used to build a set of scales with a measuring range of 4kg, but a resolution of only 2000 divisions = 2g, if this is adequate for the respective application. Also the classes differ in certain error limits related to non-repeatability/creep/TC
Accuracy class according to PTB
The European accuracy classes are defined in an almost identical way (source: PTB).
Class Calibration values Minimum load Max/e
Minimum
value
Maximum
value
|
Fine scales
0.001g <= e 100 e 50000
||
Precision scales
g <= e <=0.05g
g <= e
20 e 50 e
100
5000
100000 100000
|||
Commercial scales
g <= e <=2g
g <= e
20 e 20 e
100 500
10000 10000
||||
Coarse scales
5g <= e 10 e 100 1000
Minimum application range or minimum measuring range in % of rated load
This is the minimum measuring range/measuring range interval, which a calibratable load cell/set of scales must cover.
Example: above load cell E
max
= 10kg; minimum application range e.g. 40% E
max
Product overview
EP3356-0022 15Version: 1.1.0
The used measuring range of the load cell must be at least 4kg. The minimum application range can lie in any range between E
min
and E
max
, e.g. between 2kg and 6kg if a tare mass of 2kg already exists for
structural reasons. A relationship between n
max
and V
min
is thereby likewise apparent: 4000 * 1g = 4kg .
There are further important characteristic values, which are for the most part self-explanatory and need not be discussed further here, such as nominal characteristic value tolerance, input/output resistance, recommended supply voltage, nominal temperature range etc.
Parallel connection of strain gauges
It is usual to distribute a load mechanically to several strain gauge load cells at the same time. Hence, for example, the 3-point bearing of a silo container on 3 load cells can be realized. Taking into account wind loads and loading dynamics, the total loading of the silo including the dead weight of the container can thus be measured. The mechanically parallel-connected load cells are usually also electrically connected in parallel and connect at two arbitrarily M12 sockets of EP3356-0022 (see figure below). To this end the following must be observed:
• the load cells must be matched to each other and approved by the manufacturer for this mode of operation
• the impedance of the load cells must be such that the current feed capability of the transducer electronics (max. 350mA) is not overloaded.
Fig.7: Parallel connection of strain gauges
Sources of error/disturbance variables
Inherent electrical noise of the load cell
Electrical conductors exhibit so-called thermal noise (thermal/Johnson noise), which is caused by irregular temperature-dependent movements of the electrons in the conductor material. The resolution of the bridge signal is already limited by this physical effect. The rms value en of the noise can be calculated by en = √4kTRB
In the case of a load cell with R0 = 350Ω at an ambient temperature T = 20°C (= 293K) and a bandwidth of the measuring transducer of 50Hz (and Boltzmann constant k = 1.38 * 10
-23
J/K), the rms en= 16.8nV. The
peak-peak noise epp is thus approx. epp ~ 4* en = 67.3nV.
Example:
In relation to the maximum output voltage U
out-max
of a bridge with 2mV/V and Us = 5V, this corresponds to
U
out-max
= 5V * 2mV/V = 10mV. (For the nominal load) this results in a maximum resolution of 10mV/67.3nV = 148588digits. Converted into bit resolution: ln(148588)/ln(2) = 17bits. Interpretation: a higher digital measuring resolution than 17bits is thus inappropriate for such an analog signal in the first
Product overview
EP3356-002216 Version: 1.1.0
step. If a higher measuring resolution is used, then additional measures may need to be taken in the evaluation chain in order to obtain the higher information content from the signal, e.g. hardware low-pass filter or software algorithms.
This resolution applies alone to the measuring bridge without any further interferences. The resolution of the measuring signal can be increased by reducing the bandwidth of the measuring unit.
If the strain gauge is glued to a carrier (load cell) and wired up, both external electrical disturbances (e.g. thermovoltage at connection points) and mechanical vibrations in the vicinity (machines, drives, transformers (mechanical and audible 50Hz vibration due to magnetostriction etc.)) can additionally impair the result of measurement.
Creep
Under a constant load, spring materials can further deform in the load direction. This process is reversible, but it generates a slowly changing measured value during the static measurement. In an ideal case the error can be compensated by constructive measures (geometry, adhesives).
Hysteresis
If even elongation and compression of the load cell take place, then the output voltage does not follow exactly the same curve, since the deformation of the strain gauge and the carrier may be different due to the adhesive and its layer thickness.
Temperature drift (inherent heating, ambient temperature)
Relatively large currents can flow in strain gauge applications, e.g. I=US/R0=10V/350Ω=26mA. The power dissipation at the sensor is thus PV=U*I=10V*26mA=260mW. Depending on application/carrier material (= cooling) and ambient temperature, a not insignificant error can arise that is termed apparent elongation. The sensor manufacturers integrate suitable compensation elements in their strain gauges.
Inadequate circuit technology
As already shown, a full bridge may be able (due to the system) to fully compensate non-linearity, creep and temperature drift. Wiring-related measuring errors are avoided by the 6-conductor connection.
References
Some organizations are listed below that provide the specifications or documents for the technological field of weighing technology:
• OIML (ORGANISATION INTERNATIONALE DE MÉTROLOGIE LÉGALE) www.oiml.org/en
• PTB - Physikalisch-Technischen Bundesanstalt www.ptb.de/cms/
www.eichamt.de
• WELMEC - European cooperation in legal metrology www.welmec.org
• DAkkS – Deutsche Akkreditierungsstelle www.dakks.de
• Fachgemeinschaft Waagen (AWA) im Verband Deutscher Maschinen- und Anlagenbau VDMA
www.vdma.org
Basics of communication
EP3356-0022 17Version: 1.1.0
3 Basics of communication
3.1 EtherCAT basics
Basic information on the EtherCAT fieldbus can be found in the EtherCAT system documentation.
3.2 Watchdog setting
General information on watchdog settings
The ELxxxx Terminals and EPxxxx Box Modules are equipped with a safety device (watchdog) that switches the outputs to a safe state after a time that can be preset, for example in the case of interrupted process data traffic, or to OFF, for example depending on device and setting.
The EtherCAT Slave Controller (ESC) has two watchdogs:
• SM watchdog (default: 100 ms)
• PDI watchdog (default: 100 ms)
SM Watchdog (SyncManagerWatchdog)
The SyncManager watchdog is reset after each successful EtherCAT process data communication with the terminal/box. If no EtherCAT process data communication takes place with the terminal/box for longer than the set and activated SM watchdog time, e.g. in the event of a line interruption, the watchdog is triggered and the outputs are set to FALSE. The OP status of the terminal/box is unaffected by this. The watchdog is only reset after a successful EtherCAT process data access. Set the monitoring time as specified below.
The SyncManager watchdog monitors correct and timely process data communication with the ESC from the EtherCAT side.
PDI watchdog (process data watchdog)
If no PDI communication with the EtherCAT slave controller (ESC) takes place for longer than the set and activated PDI watchdog time, this watchdog is triggered.
PDI (Process Data Interface) is the internal interface between the ESC and local processors in the EtherCAT slave, for example. The PDI watchdog can be used to monitor this communication for failure.
The PDI watchdog monitors correct and timely process data communication with the ESC but from the application side.
The SM and PDI watchdogs should be set separately for each slave in the TwinCAT System Manager:
Basics of communication
EP3356-002218 Version: 1.1.0
Fig.8: EtherCAT tab --> Advanced settings --> Behavior --> Watchdog
Comments:
• The multiplier applies to both watchdogs.
• Each watchdog has its own timer setting, which together with the multiplier results in a time.
• Important: The multiplier/timer setting is loaded into the slave on start-up, if the corresponding checkbox is ticked. If the checkbox is not ticked, no download takes place, and the ESC setting remains unchanged.
Multiplier
Both watchdogs receive their pulses from the local terminal/box clock, divided by the watchdog multiplier.
1/25 MHz * (watchdog multiplier + 2) = 100µs (for default setting of 2498 for the multiplier)
The standard setting of 1000 for the SM watchdog corresponds to a release time of 100 ms.
The value in multiplier + 2 corresponds to the number of basic 40ns ticks representing a watchdog tick.
The multiplier can be modified in order to adjust the watchdog time over a larger range.
Example "Set SM watchdog"
This checkbox enables manual setting of the watchdog times. If the outputs are set and the EtherCAT communication is interrupted, the SM watchdog is triggered after the set time and the outputs are deleted. This setting can be used for adapting a terminal to a slower EtherCAT master or long cycle times. The default SM watchdog setting is 100 ms. The setting range is from 0 to 65535. Together with a multiplier in a range from 1 to 65535, this covers a watchdog period of 0 to ~170 seconds.
Calculation
Multiplier = 2498 → watchdog base time = 1 / 25MHz * (2498 + 2) = 0.0001seconds = 100µs
SM watchdog = 10000 → 10000 * 100µs = 1second watchdog monitoring time
Basics of communication
EP3356-0022 19Version: 1.1.0
CAUTION
Caution! Unintended behavior of the system is possible!
The function for switching off of the SM watchdog via SM watchdog = 0 is only implemented in terminals from version -0016. In previous versions this operating mode should not be used.
CAUTION
Caution! Damage to the equipment and unintended behavior of the system is possible!
If the SM watchdog is activated and a value of 0 is entered the watchdog switches off completely. This is watchdog deactivation! Outputs are then NOT set to a safe state, in the event of an interruption in commu­nication!
Outputs in SAFEOP
Watchdog monitoring is activated by default. It sets the outputs in the module to a safe state (e.g. OFF), depending on the SAFEOP and OP settings, and depending on the device and its settings. If this is prevented due to deactivation of watchdog monitoring in the module, outputs can be switched or remain set in device state SAFEOP.
Basics of communication
EP3356-002220 Version: 1.1.0
3.3 EtherCAT 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.9: 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 DP­RAM areas of the EtherCAT slave controller (ECSC).
Basics of communication
EP3356-0022 21Version: 1.1.0
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.
Basics of communication
EP3356-002222 Version: 1.1.0
3.4 CoE 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:
Basics of communication
EP3356-0022 23Version: 1.1.0
Fig.10: 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 re­placed 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 pro­cessed 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
Basics of communication
EP3356-002224 Version: 1.1.0
• If the value is to be stored permanently, enter it in the Startup list. The order of the Startup entries is usually irrelevant.
Fig.11: 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
Basics of communication
EP3356-0022 25Version: 1.1.0
Fig.12: 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.13: Online list
Basics of communication
EP3356-002226 Version: 1.1.0
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
hex
steps. The parameter range
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 EtherCAT system documentation on the Beckhoff website.
3.5 Distributed Clock
The distributed clock represents a local clock in the EtherCAT slave controller (ESC) with the following characteristics:
• Unit 1ns
• Zero point 1.1.2000 00:00
• Size 64bit (sufficient for the next 584years; however, some EtherCAT slaves only offer 32-bit support, i.e. the variable overflows after approx. 4.2seconds)
• The EtherCAT master automatically synchronizes the local clock with the master clock in the EtherCAT bus with a precision of <100ns
For detailed information please refer to the EtherCAT system description.
Mounting and Cabling
EP3356-0022 27Version: 1.1.0
4 Mounting and Cabling
4.1 Mounting
4.1.1 Dimensions
Fig.14: Dimensions of the EtherCAT Box Modules
All dimensions are given in millimeters.
Housing properties
EtherCAT Box lean body wide bodies
Housing material PA6 (polyamide) Casting compound Polyurethane Mounting two fastening holes Ø3mm for M3 two fastening holes Ø3mm for M3
two fastening holes Ø4.5mm for M4 Metal parts Brass, nickel-plated Contacts CuZn, gold-plated Power feed through max. 4A (M8)
max. 16A (7/8“)
max. 15.5A (B17 5G 1.5mm2) Installation position variable Protection class IP65, IP66, IP67 (conforms to EN 60529) when screwed together Dimensions
(HxWxD)
app. 126 x 30 x 26.5mm app. 126 x 60 x 26,5mm
app. 150 x 60 x 26.5mm (without 7/8", B17)
Mounting and Cabling
EP3356-002228 Version: 1.1.0
4.1.2 Fixing
Note or pointer
While mounting the modules, protect all connectors, especially the IP-Link, against contamination! Only with connected cables or plugs the protection class IP67 is guaranteed! Unused connectors have to be protected with the right plugs! See for plug sets in the catalogue.
Modules with narrow housing are mounted with two M3 bolts. Modules with wide housing are mounted with two M3 bolts to the fixing holes located at the corners or mounted with two M4 bolts to the fixing holes located centrally.
The bolts must be longer than 15 mm. The fixing holes of the modules are not threaded.
When assembling, remember that the fieldbus connectors increases the overall height. See chapter accessories.
Mounting Rail ZS5300-0001
The mounting rail ZS5300-0001 (500 mm x 129 mm) allows the time saving assembly of modules.
The rail is made of stainless steel, 1.5 mm thick, with already pre-made M3 threads for the modules. The rail has got 5.3 mm slots to mount it via M5 screws to the machine.
Fig.15: Mounting Rail ZS5300-000
The mounting rail is 500 mm long, that way 15 narrow modules can be mounted with a distance of 2 mm between two modules. The rail can be cut to length for the application.
Mounting Rail ZS5300-0011
The mounting rail ZS5300-0011 (500 mm x 129 mm) has in addition to the M3 treads also pre-made M4 treads to fix 60 mm wide modules via their middle holes.
Up to 14 narrow or 7 wide modules may be mixed mounted.
Mounting and Cabling
EP3356-0022 29Version: 1.1.0
4.1.3 Nut torque for connectors
M8 connectors
It is recommended to pull the M8 connectors tight with a nut torque of 0.4 Nm. When using the torque control screwdriver ZB8800 is also a max. torque of 0.5Nm permissible.
Fig.16: EtherCAT Box with M8 connectors
M12 connectors
It is recommended to pull the M12 connectors tight with a nut torque of 0.6 Nm.
Fig.17: EtherCAT Box with M8 and M12 connectors
Mounting and Cabling
EP3356-002230 Version: 1.1.0
7/8" plug connectors
We recommend fastening the 7/8" plug connectors with a torque of 1.5Nm.
Fig.18: 7/8" plug connectors
Torque socket wrenches
Fig.19: ZB8801 torque socket wrench
Ensure the right torque
Use the torque socket wrenches available by Beckhoff to pull the connectors tight (ZB8800, ZB8801-0000)!
4.1.4 Additional checks
The boxes have undergone the following additional tests:
Verification Explanation
Vibration 10 frequency runs in 3 axes
5Hz < f < 60Hz displacement 0.35mm, constant amplitude
60.1Hz < f < 500Hz acceleration 5g, constant amplitude
Shocks 1000 shocks in each direction, in 3 axes
35g, 11ms
Loading...
+ 94 hidden pages