4 Mounting and cabling..............................................................................................................................15
4.1Instructions for ESD protection........................................................................................................15
8.7Support and Service ......................................................................................................................111
EL67524Version: 2.1
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®, EtherCATP®, SafetyoverEtherCAT®, 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.
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.
EL67526Version: 2.1
Foreword
1.3Documentation issue status
VersionComment
2.1• Chapter “Explicit messages” added
• Update chapter “Technical data”
• Update structure
• Update revision status
2.0• Migration
• Update structure
1.4• Addendum: chapter "Configuration": changing DeviceNet address and baud
rate via ADS
• Update structure
1.3• Correction to chapter "Technical data"
• Addendum:chapter "Firmware status"
• Update structure
1.2• Corrections to chapter "Mounting and wiring"
1.1• Corrections to chapter "Mounting and wiring"
1.0• Corrections and addenda, first publication
0.2• Corrections and addenda
0.1• Preliminary version for internal use
1.4Version 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
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)
3314 (4-channel thermocouple
terminal)
3602 (2-channel voltage
measurement)
0000 (basic type) 0016
0010 (highprecision version)
0017
EL67527Version: 2.1
Foreword
• 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
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
EL67528Version: 2.1
Examples of markings
Fig.1: EL5021 EL terminal, standard IP20 IO device with serial/ batch number and revision ID (since
2014/01)
Foreword
Fig.2: EK1100 EtherCAT coupler, standard IP20 IO device with serial/ batch number
Fig.3: CU2016 switch with serial/ batch number
EL67529Version: 2.1
Foreword
Fig.4: EL3202-0020 with serial/ batch number 26131006 and unique ID-number 204418
Fig.5: EP1258-00001 IP67 EtherCAT Box with batch number/ date code 22090101 and unique serial
number 158102
Fig.6: EP1908-0002 IP67 EtherCAT Safety Box with batch number/ date code 071201FF and unique serial
number 00346070
Fig.7: EL2904 IP20 safety terminal with batch number/ date code 50110302 and unique serial number
00331701
EL675210Version: 2.1
Foreword
Fig.8: ELM3604-0002 terminal with unique ID number (QR code) 100001051 and serial/ batch number
44160201
EL675211Version: 2.1
Product overview
2Product overview
2.1Introduction
Fig.9: EL6752
Master and slave terminals for DeviceNet
The master and slave terminals for DeviceNet correspond to the FC5201 PCI card from Beckhoff. Thanks to
the connection via EtherCAT, no PCI slots are required in the PC. Within an EtherCAT terminal network, the
terminal enables the integration of any DeviceNet devices.
The EL6752 is optionally available in a master or slave version and has a powerful protocol implementation
with many features:
• All I/O modes of the DeviceNet are supported: polling, change of state, cyclic, strobed
• Unconnected message manager (UCMM)
• Powerful parameter and diagnostics interfaces
• Error management freely configurable for each bus device
A description of all functionalities and operating modes can be found in the chapter "Configuration [}65]"
and the corresponding subsections.
EL675212Version: 2.1
Product overview
2.2Technical data
Technical dataEL6752-0000EL6752-0010
Bus systemDeviceNet
VarianteMasterSlave
Number of fieldbus channels1
Data transfer rate125, 250 or 500 kbaud
Bus interfaceOpen style 5-pin connector according to DeviceNet specification,
galvanically isolated; card comes with connector.
Bus devicesmaximum 63 slaves
CommunicationDeviceNet network master
(scanner)
DiagnosticsStatus LEDs
Power supplyvia the E-bus
Current consumption via E-bustyp. 260 mA
Electrical isolation500 V (E-bus/CANopen)
Configurationwith TwinCAT System Manager
Weightapprox. 70 g
Permissible ambient temperature range
during operation
Permissible ambient temperature range
during storage
Permissible relative humidity95%, no condensation
Dimensions (W x H x D)approx. 26 mm x 100 mm x 52 mm
Mounting [}15]
Vibration/shock resistanceconforms to EN 60068-2-6 / EN 60068-2-27
EMC immunity/emissionconforms to EN 61000-6-2 / EN 61000-6-4
Protection classIP20
Installation positionvariable
ApprovalCE
-25°C ... +60°C (extended temperature range)
0°C ... +55°C (according to cULus [}97] for Canada and the
USA)
0°C ... +55°C (according to ATEX [}27], see special conditions[}27])
-40°C ... +85°C
on 35 mm mounting rail conforms to EN 60715
ATEX [}27]
cULus [}97]
DeviceNet - slave
EL675213Version: 2.1
Basic DeviceNet principles
3Basic DeviceNet principles
Introduction to the system
DeviceNet is an open system based on CAN. CAN was developed some years ago by R. Bosch for data
transmission in motor vehicles. Millions of CAN chips are now in use. A disadvantage for application in
automation is that CAN does not contain definitions for the application layer. CAN only defines the physical
and data link layer.
DeviceNet specifies a uniform application layer and this makes it possible to use the CAN protocol for
industrial applications. ODVA (the Open DeviceNet Vendor Association) is an independent association which
supports manufacturers and users of the DeviceNet system. ODVA ensures that all devices which conform
to the specification can operate together in one system, regardless of their manufacturer. CAN’s bit
arbitration procedure makes it theoretically possible to operate communication networks using master/slave
and multimaster access methods.
Further details can be found on the official website of the ODVA (http://www.odva.org).
Fig.10: Example of DeviceNet in use
Bus cable
The bus cable consists of two pairs of shielded twisted-pair wiring, one for the data transfer and one for the
power supply. The latter can carry currents of up to 8 amperes. The maximum possible length of a line
depends essentially on the baud rate. If you choose the highest Baud rate (500 kbaud) you are restricted to
lines of at most 100 m. With the lowest Baud rate (125 kbaud) you will be able to use cable with an overall
length of 500 m. Refer to the chapter "Mounting and wiring [}19]" for details
Fig.11: Example of DeviceNet cabling
EL675214Version: 2.1
Mounting and cabling
4Mounting and cabling
4.1Instructions for ESD protection
NOTE
Destruction of the devices by electrostatic discharge possible!
The devices contain components at risk from electrostatic discharge caused by improper handling.
• Please ensure you are electrostatically discharged and avoid touching the contacts of the device directly.
• Avoid contact with highly insulating materials (synthetic fibers, plastic film etc.).
• Surroundings (working place, packaging and personnel) should by grounded probably, when handling
with the devices.
• Each assembly must be terminated at the right hand end with an EL9011 or EL9012 bus end cap, to ensure the protection class and ESD protection.
Fig.12: Spring contacts of the Beckhoff I/O components
4.2Recommended mounting rails
Terminal Modules und EtherCAT Modules of KMxxxx and EMxxxx series, same as the terminals of the
EL66xx and EL67xx series can be snapped onto the following recommended mounting rails:
• DIN Rail TH35-7.5 with 1mm material thickness (according to EN60715)
• DIN Rail TH35-15 with 1,5mm material thickness
Pay attention to the material thickness of the DIN Rail
Terminal Modules und EtherCAT Modules of KMxxxx and EMxxxx series, same as the terminals of
the EL66xx and EL67xx seriesdoes not fit to the DIN Rail TH35-15 with 2,2 to 2,5mm material
thickness (according to EN60715)!
4.3Mounting and demounting - terminals with traction
lever unlocking
The terminal modules are fastened to the assembly surface with the aid of a 35 mm mounting rail (e.g.
mounting rail TH 35-15).
EL675215Version: 2.1
Mounting and cabling
Fixing of mounting rails
The locking mechanism of the terminals and couplers extends to the profile of the mounting rail. At
the installation, the locking mechanism of the components must not come into conflict with the fixing
bolts of the mounting rail. To mount the recommended mounting rails under the terminals and couplers, you should use flat mounting connections (e.g. countersunk screws or blind rivets).
WARNING
Risk of electric shock and damage of device!
Bring the bus terminal system into a safe, powered down state before starting installation, disassembly or
wiring of the Bus Terminals!
Mounting
• Fit the mounting rail to the planned assembly location.
and press (1) the terminal module against the mounting rail until it latches in place on the mounting
rail (2).
• Attach the cables.
Demounting
• Remove all the cables. Thanks to the KM/EM connector, it is not necessary to remove all the cables
separately for this, but for each KM/EM connector simply undo 2 screws so that you can pull them off
(fixed wiring)!
• Lever the unlatching hook on the left-hand side of the terminal module upwards with a screwdriver (3).
As you do this
◦ an internal mechanism pulls the two latching lugs (3a) from the top hat rail back into the terminal
module,
◦ the unlatching hook moves forwards (3b) and engages
EL675216Version: 2.1
Mounting and cabling
• In the case 32 and 64 channel terminal modules (KMxxx4 and KMxxx8 or EMxxx4 and EMxxx8) you
now lever the second unlatching hook on the right-hand side of the terminal module upwards in the
same way.
• Pull (4) the terminal module away from the mounting surface.
4.4Mounting and demounting - terminals with front
unlocking
The terminal modules are fastened to the assembly surface with the aid of a 35 mm mounting rail (e.g.
mounting rail TH 35-15).
EL675217Version: 2.1
Mounting and cabling
Fixing of mounting rails
The locking mechanism of the terminals and couplers extends to the profile of the mounting rail. At
the installation, the locking mechanism of the components must not come into conflict with the fixing
bolts of the mounting rail. To mount the recommended mounting rails under the terminals and couplers, you should use flat mounting connections (e.g. countersunk screws or blind rivets).
WARNING
Risk of electric shock and damage of device!
Bring the bus terminal system into a safe, powered down state before starting installation, disassembly or
wiring of the Bus Terminals!
Mounting
• Fit the mounting rail to the planned assembly location.
and press (1) the terminal module against the mounting rail until it latches in place on the mounting
rail (2).
• Attach the cables.
Demounting
• Remove all the cables.
• Lever the unlatching hook back with thumb and forefinger (3). An internal mechanism pulls the two
latching lugs (3a) from the top hat rail back into the terminal module.
EL675218Version: 2.1
Mounting and cabling
• Pull (4) the terminal module away from the mounting surface.
Avoid canting of the module; you should stabilize the module with the other hand, if required.
4.5DeviceNet wiring
4.5.1CAN / DeviceNet topology
CAN/DeviceNet is a 2-wire bus system, to which all participating devices are connected in parallel (i.e. using
short drop lines) (Fig. DeviceNet Topology). The bus must be terminated at each end with a 120 (or 121)
Ohm terminating resistor to prevent reflections. This is also necessary even if the cable lengths are very
short!
Fig.13: DeviceNet topology
Since the CAN signals are represented on the bus as the difference between the two levels, the CAN leads
are not very sensitive to incoming interference (EMI): Both leads are affected, so the interference has very
little effect on the difference.
EL675219Version: 2.1
Mounting and cabling
Fig.14: Low interference through difference levels
4.5.2Bus length
The maximum length of a CAN bus is primarily limited by the signal propagation delay. The multi-master bus
access procedure (arbitration) requires signals to reach all the nodes at effectively the same time (before the
sampling within a bit period). Since the signal propagation delays in the CAN connecting equipment
(transceivers, opto-couplers, CAN controllers) are almost constant, the line length must be chosen in
accordance with the baud rate:
Baud rateBus length
500 kbit/s< 100m
250 kbit/s< 250m
125 kbit/s< 500m
4.5.3Drop lines
Drop lines must always be avoided as far as possible, since they inevitably cause reflections. The reflections
caused by drop lines are not however usually critical, provided they have decayed fully before the sampling
time. In the case of the bit timing settings selected in the Bus Couplers it can be assumed that this is the
case, provided the following drop line lengths are not exceeded:
Baud rateDrop line lengthTotal length of all drop lines
500 kbit/s< 6m< 39m
250 kbit/s< 6m< 78m
125 kbit/s< 6 m< 156m
Drop lines must not be furnished with termination resistors (Fig. Drop line topology).
Fig.15: Drop line topology
EL675220Version: 2.1
Mounting and cabling
4.5.4Star Hub (Multiport Tap)
Shorter drop line lengths must be maintained when passive distributors ("multiport taps"), such as the
Beckhoff ZS5052-4500 Distributor Box. The following table indicates the maximum drop line lengths and the
maximum length of the trunk line (without the drop lines):
Guide values
The following values are recommended by BECKHOFF.
Baud rateDrop line length with multiport topologyTrunk line length (without drop lines)
500 kbit/s< 1.2 m< 66 m
250 kbit/s< 2.4m< 120m
125 kbit/s< 4.8m< 310m
EL675221Version: 2.1
Mounting and cabling
4.5.5CAN cable
Screened twisted-pair cables (2x2) with a characteristic impedance of between 108 and 132 Ohm is
recommended for the CAN wiring. If the CAN transceiver’s reference potential (CAN ground) is not to be
connected, the second pair of conductors can be omitted. (This is only recommended for networks of small
physical size with a common power supply for all the participating devices).
ZB5200 CAN/DeviceNet Cable
The ZB5200 cable material corresponds to the DeviceNet specification, and is also suitable for CANopen
systems. The ready-made ZK1052-xxxx-xxxx bus cables for the Fieldbus Box modules are made from this
cable material. It has the following specification:
• 2 x 2 x 0.34 mm² (AWG 22) twisted pairs
• double screened - braided screen with filler strand
• characteristic impedance (1 MHz): 126 ohm
• Conductor resistance 54 Ohm/km
• sheath: grey PVC, outside diameter 7.3 mm
• printed with "InterlinkBT DeviceNet Type 572" as well as UL and CSA ratings
• stranded wire colours correspond to the DeviceNet specification
• UL recognized AWM Type 2476 rating
• CSA AWM I/II A/B 80°C 300V FT1
• corresponds to the DeviceNet "Thin Cable" specification
Fig.16: DeviceNet cable configuration
4.5.6Shielding
The screen is to be connected over the entire length of the bus cable, and only galvanically grounded at one
point, in order to avoid ground loops.
The design of the screening, in which HF interference is diverted through R/C elements to the mounting rail
assumes that the rail is appropriately earthed and free from interference. If this is not the case, it is possible
that HF interference will be transmitted from the mounting rail to the screen of the bus cable. In that case the
screen should not be attached to the couplers - it should nevertheless still be fully connected through.
EL675222Version: 2.1
4.5.7Cable colours and pin assignment
Fig.17: Pin assignment (top view EL6752)
Suggested method of using the Beckhoff CAN cable on Bus Terminal and Fieldbus Box:
PinEL6752 assignmentZB5200 cable color
1V+ (24 V)red
2CAN Highwhite
3ShieldFiller strand
4CAN Lowblue
5V-black
Mounting and cabling
4.6Installation positions
NOTE
Constraints regarding installation position and operating temperature range
Please refer to the technical data for a terminal to ascertain whether any restrictions regarding the installation position and/or the operating temperature range have been specified. When installing high power dissipation terminals ensure that an adequate spacing is maintained between other components above and below the terminal in order to guarantee adequate ventilation!
Optimum installation position (standard)
The optimum installation position requires the mounting rail to be installed horizontally and the connection
surfaces of the EL/KL terminals to face forward (see Fig. “Recommended distances for standard installationposition”). The terminals are ventilated from below, which enables optimum cooling of the electronics through
convection. "From below" is relative to the acceleration of gravity.
EL675223Version: 2.1
Mounting and cabling
Fig.18: Recommended distances for standard installation position
Compliance with the distances shown in Fig. “Recommended distances for standard installation position” is
recommended.
Other installation positions
All other installation positions are characterized by different spatial arrangement of the mounting rail - see
Fig “Other installation positions”.
The minimum distances to ambient specified above also apply to these installation positions.
EL675224Version: 2.1
Fig.19: Other installation positions
Mounting and cabling
EL675225Version: 2.1
Mounting and cabling
4.7Positioning of passive Terminals
Hint for positioning of passive terminals in the bus terminal block
EtherCAT Terminals (ELxxxx / ESxxxx), which do not take an active part in data transfer within the
bus terminal block are so called passive terminals. The passive terminals have no current consumption out of the E-Bus.
To ensure an optimal data transfer, you must not directly string together more than 2 passive terminals!
Examples for positioning of passive terminals (highlighted)
Fig.20: Correct positioning
Fig.21: Incorrect positioning
EL675226Version: 2.1
Mounting and cabling
4.8ATEX - Special conditions (standard temperature
range)
WARNING
Observe the special conditions for the intended use of Beckhoff fieldbus components with
standard temperature range in potentially explosive areas (directive 94/9/EU)!
• The certified components are to be installed in a suitable housing that guarantees a protection class of at
least IP54 in accordance with EN 60529! The environmental conditions during use are thereby to be
taken into account!
• If the temperatures during rated operation are higher than 70°C at the feed-in points of cables, lines or
pipes, or higher than 80°C at the wire branching points, then cables must be selected whose temperature data correspond to the actual measured temperature values!
• Observe the permissible ambient temperature range of 0 to 55°C for the use of Beckhoff fieldbus components standard temperature range in potentially explosive areas!
• Measures must be taken to protect against the rated operating voltage being exceeded by more than
40% due to short-term interference voltages!
• The individual terminals may only be unplugged or removed from the Bus Terminal system if the supply
voltage has been switched off or if a non-explosive atmosphere is ensured!
• The connections of the certified components may only be connected or disconnected if the supply voltage has been switched off or if a non-explosive atmosphere is ensured!
• The fuses of the KL92xx/EL92xx power feed terminals may only be exchanged if the supply voltage has
been switched off or if a non-explosive atmosphere is ensured!
• Address selectors and ID switches may only be adjusted if the supply voltage has been switched off or if
a non-explosive atmosphere is ensured!
Standards
The fundamental health and safety requirements are fulfilled by compliance with the following standards:
• EN 60079-0:2012+A11:2013
• EN 60079-15:2010
Marking
The Beckhoff fieldbus components with standard temperature range certified for potentially explosive areas
bear one of the following markings:
II 3GKEMA 10ATEX0075 X Ex nA IIC T4 GcTa: 0…55°C
or
II 3GKEMA 10ATEX0075 X Ex nC IIC T4 GcTa: 0…55°C
EL675227Version: 2.1
DeviceNet communication
5DeviceNet communication
5.1DeviceNet Introduction
Fig.22: DeviceNet
DeviceNet is an open system based on CAN. CAN was developed some years ago by R. Bosch for data
transmission in motor vehicles. Millions of CAN chips are now in use. A disadvantage for application in
automation is that CAN does not contain definitions for the application layer. CAN only defines the physical
and data link layer.
DeviceNet specifies a uniform application layer and this makes it possible to use the CAN protocol for
industrial applications. ODVA (the Open DeviceNet Vendor Association) is an independent association which
supports manufacturers and users of the DeviceNet system. ODVA ensures that all devices which conform
to the specification can operate together in one system, regardless of their manufacturer.
Fig.23: Example of DeviceNet in use
DeviceNet is a sensor/actuator bus system. It is internationally standardised (EN50325) and is based on
CAN (Controller Area Network). DeviceNet supports a number of communication types for the input and
output data:
• Polling: The master module ("scanner") sends the output data cyclically to the assigned devices and
receives the input data in an answer telegram.
• Change-of-State: Telegrams are sent as soon as their contents have changed.
• Cyclic : The modules send the data automatically after a cycle time has elapsed.
• Strobed: The scanner requests the input data using a broadcast telegram to all the devices.
The DeviceNet devices support all I/O communication types.
The DeviceNet devices are parameterized via acyclical services (explicit messaging).
The effective utilization of the bus bandwidth allows DeviceNet, particularly in Change-of-State mode, to
achieve short system reaction times in spite of the relatively low data rates. The BECKHOFF DeviceNet
devices have a powerful implementation of the protocol. Through active participation in the ODVA's technical
committees, BECKHOFF are contributing to the further development of this bus system, and has in this way
itself gathered profound DeviceNet expertise.
EL675228Version: 2.1
DeviceNet communication
Configuration
The node address is set in the range from 0 to 63 using two decimally coded rotary switches. The data
transfer rate set at the DeviceNet scanner is automatically recognized by the DeviceNet Box (auto baud
rate). "Electronic Data Sheets" (EDS files) for DeviceNet configuration tools are available for download from
the Beckhoff internet site (http://www.beckhoff.de), and on the BECKHOFF product CDs. Special I/O
parameters that are not covered by the DeviceNet standard can be set via the KS2000 software (serial
connection) or via acyclical explicit messages.
Diagnostics
The extensive diagnostic functions of the BECKHOFF DeviceNet devices allow rapid fault localisation. The
diagnostic messages are transmitted over the bus and collated by the master. The status of the network
connection, the device status, the status of the inputs and outputs and of the power supply are displayed by
LEDs.
Data transfer rates
Three data transfer rates from 125 kbaud to 500 kbaud are available for different bus lengths. The effective
utilization of the bus bandwidth allows DeviceNet to achieve short system reaction times at relatively low
data rates.
Topology
DeviceNet is based on a linear topology. The number of devices participating in each network is logically
limited by DeviceNet to 64, but physically the present generation of drivers allows up to 64 nodes in one
network segment. The maximum possible size of the network for any particular data rate is limited by the
signal propagation delay required on the bus medium. For 500kbaud, for instance, the network may extend
100 m, whereas at 125kbaud the network may reach up to 500 m. At low data rates the size of the network
can be increased by repeaters, which also allow the construction of tree structures.
Bus access procedures
CAN utilizes the Carrier Sense Multiple Access (CSMA) procedure, i.e. all participating devices have the
same right of access to the bus and may access it as soon as it is free (multi-master bus access). The
exchange of messages is thus not device-oriented but message-oriented. This means that every message is
unambiguously marked with a prioritized identifier. In order to avoid collisions on the bus when messages
are sent by different devices, a bit-wise bus arbitration is carried out at the start of the data transmission. The
bus arbitration assigns bus bandwidth to the messages in the sequence of their priority. At the end of the
arbitration phase only one bus device occupies the bus, collisions are avoided and the bandwidth is optimally
exploited.
Configuration and parameterization
The TwinCAT System Manager allows all the DeviceNet parameters to be set conveniently. An "eds" file
(electronic data sheet) is available on the BECKHOFF website (http://www.beckhoff.de) for the
parameterization of BECKHOFF DeviceNet devices using configuration tools from other manufacturers.
EL675229Version: 2.1
DeviceNet communication
5.2Explicit messages
Program example „ExplMessageEditor“: https://infosys.beckhoff.com/content/1033/el6752/Resources/
zip/5979571979.zip
With the following ADS commands you can use EL6752 to send explicit messages.
GET_ATTRIBUTE_SINGLE via ADSRead Data Transfer
SET_ATTRIBUTE_SINGLE via ADSWrite Data Transfer
COMMON SERVICE via ADSReadWrite Data Transfer
For the ADS NetID and the port, the values from the system manager are to be used.
(*
GET_ATTRIBUTE_SINGLE via ADSRead Data Transfer
IDXGRP: Index GroupNumber = Object Class
IDXOFFS: Index OffsetNumber = (Object Instance *. 0x100) + Attribute Id
LEN: Read Data Lengths in Bytes
DESTADDR: Address of DataBuffer to read with the Get-Attribute Single Service
*)
IDXGRP: Index GroupNumber = Object Class
IDXOFFS: Index OffsetNumber = (Object Instance *. 0x100) + Service Id
WRITELEN: Write Data Lengths in Bytes
READLEN: Read Data Lengths in Bytes
SRCADDR: Address of DataBuffer to write
DESTADDR: Address of DataBuffer to read
*)
(*
SET_ATTRIBUTE_SINGLE via ADSWrite Data Transfer
IDXGRP: Index GroupNumber = Object Class
IDXOFFS: Index OffsetNumber = (Object Instance *. 0x100) + Attribute Id
LEN: Write Data Lengths in Bytes
SRCADDR: Address of DataBuffer to write with the Set-Attribute Single Service
*)