BK 3 XX 0 en
BK 3 XX 0 en
BK 3 XX 0 en
BK3xx0
Bus Coupler for PROFIBUS-DP
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 BK3000, BK3010, BK3100, BK3110, BK3120, LC3100 .................................................................... 9
2.2 BK3150 ............................................................................................................................................ 11
2.3 BK3500 and BK3520 (optical fibers) ............................................................................................... 12
2.4 The Beckhoff Bus Terminal system ................................................................................................. 13
2.5 PROFIBUS - Introduction ................................................................................................................ 14
2.5.1 PROFIBUS DP ................................................................................................................ 14
2.5.2 PROFIBUS DPV1 ............................................................................................................ 16
5 PROFIBUS DP communication............................................................................................................... 56
5.1 DataExchange - cyclic data exchange ............................................................................................ 56
5.1.1 Process data, process image .......................................................................................... 56
5.1.2 K-bus Cycle ..................................................................................................................... 58
5.2 DPV1 - acyclic data transfer ............................................................................................................ 61
5.2.1 DPV1 Interface ................................................................................................................ 61
5.2.2 Assignment of the DPV1 slot number.............................................................................. 62
5.2.3 DPV1 at the coupler......................................................................................................... 63
8 Appendix .................................................................................................................................................. 89
8.1 General operating conditions........................................................................................................... 89
8.2 Approvals......................................................................................................................................... 90
8.3 Bibliography ..................................................................................................................................... 91
8.4 List of Abbreviations ........................................................................................................................ 91
8.5 Support and Service ........................................................................................................................ 93
1 Foreword
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
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.
Copyright
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
DANGER
Serious risk of injury!
Failure to follow this safety instruction directly endangers the life and health of persons.
WARNING
Risk of injury!
Failure to follow this safety instruction endangers the life and health of persons.
CAUTION
Personal injuries!
Failure to follow this safety instruction can lead to injuries to persons.
NOTE
Damage to environment/equipment or data loss
Failure to follow this instruction can lead to environmental damage, equipment damage or data loss.
Tip or pointer
This symbol indicates information that contributes to better understanding.
2 Product overview
Bus Couplers for PROFIBUS DP
Bus Coupler Description Bus interface
BK3000 [} 9] Standard Bus Coupler D-Sub-Stecker
BK3010 [} 9] Economy Bus Coupler D-Sub-Stecker
BK3100 [} 9] Standard Bus Coupler D-Sub-Stecker
BK3110 [} 9] Economy Bus Coupler D-Sub-Stecker
BK3120 [} 9] Economy Plus Bus Coupler D-Sub-Stecker
BK3150 [} 11] Compact Bus Coupler D-Sub-Stecker
BK3500 [} 12] Standard Bus Coupler with optical fiber connection HP Simplex connectors
BK3520 [} 12] Economy Plus Bus Coupler with optical fiber connection HP Simplex connectors
LC3100 [} 9] Low Cost Bus Coupler spring-loaded terminals
Technical data
Type BK3120
Number of Bus Terminals 64 (255 with K-bus extension)
Digital peripheral signals max. 1020 inputs/outputs
Analog peripheral signals max. 64 inputs/outputs
Configuration possibility Via the KS2000 configuration software or the controller
Max. number of bytes 128 bytes
(inputs and outputs)
Baud rate (automatic detection) up to max. 12 Mbaud
Bus connection 1 x D-sub plug, 9-pin with shielding
Power supply 24 VDC (-15 % /+20 %)
Input current 70 mA + (total K bus current)/4, max. 500 mA
Starting current 2.5 x continuous current
Recommended fuse maximum 10 A
K-bus current up to 1750 mA
Power contact voltage maximum 24 VDC
Power contact current load maximum 10 A
Electrical isolation Power contact / supply / fieldbus
Dielectric strength 500 V (power contact / supply / fieldbus)
Weight approx. 170 g
Permissible ambient temperature (operation) -25°C … +60°C
Permissible ambient temperature (storage) -25°C … +85°C
Permissible relative humidity 95% (no condensation)
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
Protection class IP20
Installation position variable
Approvals / markings CE, cULus, GL, ATEX [} 34], IECEx [} 35], cFMus [} 37]
Ex markings ATEX: II 3 G Ex nA IIC T4 Gc
II 3 D Ex tc IIIC T135 °C Dc
IECEx: Ex nA IIC T4 Gc
Ex tc IIIC T135 °C Dc
cFMus: Class I, Division 2, Groups A, B, C, D
Class I, Zone 2, AEx ec IIC T4 Gc
2.2 BK3150
Technical data
Type BK3150
Number of Bus Terminals 64 (255 with K-bus extension)
Digital peripheral signals 256 inputs/outputs (BK3x10)
Analog peripheral signals 128 inputs/outputs (BK3x00)
Configuration possibility Via the KS2000 configuration software or the controller
Max. number of bytes 128 bytes (DP operation only)
(inputs and outputs)
Baud rate (automatic detection) up to max. 12 Mbaud
Bus connection 1 x D-sub plug, 9-pin with shielding
Power supply (Us) 24 VDC (-15% /+20%) Use a 4 A fuse or an NEC Class 2 power supply to meet the
UL requirements!
Input current (Us) 70 mA + (total K bus current)/4, max. 320 mA
Starting current (Us) 2.5 x continuous current
K-bus current (5 V) up to hardware version 04: 1000 mA
from hardware version 05: 1750 mA
Power contact voltage (Up) maximum 24 VDC
Power contacts current load (Up) maximum 10 A
Recommended backup fuse (Up) maximum 10 A
Electrical isolation Power contact / supply / fieldbus
Dielectric strength 500 V (power contact / supply / fieldbus)
Weight approx. 100 g
Permissible ambient temperature (operation) -25°C … +60°C
Permissible ambient temperature (storage) -25°C … +85°C
Permissible relative humidity 95% (no condensation)
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
Protection class IP20
Installation position variable
Approvals / Markings CE, cULus, ATEX [} 34]
Ex markings ATEX: II 3 G Ex nA IIC T4 Gc
Fig. 3: BK3500 and BK3520 - Bus Couplers with optical fiber connection for PROFIBUS DP
Technical data
Type BK3500 BK3520
Number of Bus Terminals 64 64 (255 with K-bus extension)
Digital peripheral signals max. 512 inputs/outputs max. 1020 inputs/outputs
Analog peripheral signals max. 64 inputs/outputs max. 64 inputs/outputs
Configuration possibility Via the KS2000 configuration software or the controller
Max. number of bytes 128 bytes 128 bytes
(inputs and outputs)
Baud rates up to max. 1.5 Mbaud (manual setting) up to max. 12 Mbaud (automatic detec-
tion)
Bus connection 1 x optical fiber with 2 HP Simplex con- 2 x optical fibers with 2 HP Simplex con-
nectors nectors each
Power supply 24 VDC (-15% /+20%)
Input current 70 mA + (total K-bus current)/4, 500 mA, 500 mA max.
Starting current 2.5 x continuous current
Recommended fuse maximum 10 A
K-bus power supply up to 1750 mA
Power contact voltage maximum 24 VDC
Power contact current load maximum 10 A
Electrical isolation Power contact / supply / fieldbus
Dielectric strength 500 V (power contact / supply / fieldbus)
Weight approx. 170 g approx. 170 g
Permissible ambient temperature (operation) 0°C … +55°C
Permissible ambient temperature (storage) -25°C … +85°C
Permissible relative humidity 95% (no condensation)
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
Protection class IP20
Installation position variable
Approvals / Markings CE, cULus, ATEX [} 32]
Ex markings ATEX: II 3 G Ex nA IIC T4 Gc
The Bus Terminal system is the universal interface between a fieldbus system and the sensor / actuator
level. A unit consists of a Bus Coupler as the head station, and up to 64 electronic series terminals, the last
one being an end terminal. Up to 255 Bus Terminals can be connected via the K-Bus extension. For each
technical signal form, terminals are available with one, two, four or eight I/O channels, which can be mixed
as required. All the terminal types have the same mechanical construction, so that difficulties of planning and
design are minimized. The height and depth match the dimensions of compact terminal boxes.
Fieldbus technology allows more compact forms of controller to be used. The I/O level does not have to be
brought to the controller. The sensors and actuators can be wired decentrally, using minimum cable lengths.
The controller can be installed at any location within the plant.
The use of an Industrial PC as the controller means that the operating and observing element can be
implemented in the controller's hardware. The controller can therefore be located at an operating panel, in a
control room, or at some similar place. The Bus Terminals form the decentralized input/output level of the
controller in the control cabinet and the subsidiary terminal boxes. The power sector of the plant is also
controlled over the bus system in addition to the sensor/actuator level. The Bus Terminal replaces the
conventional series terminal as the wiring level in the control cabinet. The control cabinet can have smaller
dimensions.
The Beckhoff Bus Terminal system unites the advantages of a bus system with the possibilities of the
compact series terminal. Bus Terminals can be driven within all the usual bus systems, thus reducing the
controller parts count. The Bus Terminals then behave like conventional connections for that bus system. All
the performance features of the particular bus system are supported.
The installation is standardized thanks to the simple and space-saving mounting on a standardized mounting
rail (EN 60715, 35 mm) and the direct wiring of actuators and sensors, without cross connections between
the terminals. The consistent labelling scheme also contributes.
The small physical size and the great flexibility of the Bus Terminal system allow it to be used wherever a
series terminal is also used. Every type of connection, such as analog, digital, serial or the direct connection
of sensors can be implemented.
Modularity
The modular assembly of the terminal strip with Bus Terminals of various functions limits the number of
unused channels to a maximum of one per function. The presence of two channels in one terminal is the
optimum compromise of unused channels and the cost of each channel. The possibility of electrical isolation
through potential feed terminals also helps to keep the number of unused channels low.
The integrated LEDs show the state of the channel at a location close to the sensors and actuators.
K-Bus
The K-Bus is the data path within a terminal strip. The K-Bus is led through from the Bus Coupler through all
the terminals via six contacts on the terminals' side walls. The end terminal terminates the K-Bus. The user
does not have to learn anything about the function of the K-Bus or about the internal workings of the
terminals and the Bus Coupler. Many software tools that can be supplied make project planning,
configuration and operation easy.
The operating voltage is passed on to following terminals via three power contacts. You can divide the
terminal strip into arbitrary isolated groups by means of potential feed terminals. The potential feed terminals
play no part in the control of the terminals, and can be inserted at any locations within the terminal strip.
Up to 64 Bus Terminals can be used in a terminal block, with optional K-Bus extension for up to 256 Bus
Terminals. This count does include potential feed terminals, but not the end terminal.
Various Bus Couplers can be used to couple the electronic terminal strip quickly and easily to different
fieldbus systems. It is also possible to convert to another fieldbus system at a later time. The Bus Coupler
performs all the monitoring and control tasks that are necessary for operation of the connected Bus
Terminals. The operation and configuration of the Bus Terminals is carried out exclusively by the Bus
Coupler. Nevertheless, the parameters that have been set are stored in each Bus Terminal, and are retained
in the event of voltage drop-out. Fieldbus, K-Bus and I/O level are electrically isolated.
If the exchange of data over the fieldbus is prone to errors or fails for a period of time, register contents (such
as counter states) are retained, digital outputs are cleared, and analog outputs take a value that can be
configured for each output when commissioning. The default setting for analog outputs is 0 V or 0 mA. Digital
outputs return in the inactive state. The timeout periods for the Bus Couplers correspond to the usual
settings for the fieldbus system. When converting to a different bus system it is necessary to bear in mind the
need to change the timeout periods if the bus cycle time is longer.
The interfaces
A Bus Coupler has six different methods of connection. These interfaces are designed as plug connectors
and as spring-loaded terminals.
2.5.1 PROFIBUS DP
In PROFIBUS DP systems a master (PLC, PC, etc.) usually communicates with many slaves (I/Os, drives,
etc.); only the master actively accesses the bus (by sending unsolicited telegrams), while a DP slave only
sends telegrams when requested by the master.
DP StartUp
Before the master and slave can cyclically exchange data, the parameter and configuration data is
transmitted from the master to the slaves during the DP StartUp phase. After the parameter and
configuration data has been sent, the master interrogates the slave's diagnostic data until the slave indicates
that it is ready for data exchange. Depending on the scope of the calculations the slave has to carry out as a
result of receiving parameter and configuration data, it may take several seconds before it is ready for data
exchange. For this reason the slave possesses the following states.
Parameter data
The parameter data is sent from the master to the slave in the SetPrmLock request telegram. The
SetPrmLock response telegram does not contain any data, and therefore consists of a single byte, the short
acknowledgement. The parameter data consists of DP parameters (e.g. the setting of the DP watchdog or
checking the IdentNumber (unique to each DP device)), of DPV1-/DPV2 parameters and of application-
specific parameters that only have to be transmitted once during the StartUp. If an error is found in the
parameter data, this is indicated in the diagnostic data, and the slave either remains in or enters the WAIT-
PRM state.
Configuration data
The configuration data is sent from the master to the slave in the ChkCfg request telegram. The ChkCfg
response telegram does not contain any data, and therefore consists of a single byte, the short
acknowledgement. The configuration data describes the assignment of the DP modules to the cyclic I/O data
that is to be exchanged between the master and slave via the Data_Exchange telegram in the cyclic data
exchange phase. The sequence of the DP modules added to a slave in the DP configuration tool determines
the sequence of the associated I/O data in the Data_Exchange telegram.
Diagnostic data
The diagnostic data is requested by the master using a SlaveDiag request telegram without any data. The
slave replies with the diagnostic data in a SlaveDiag response telegram. The diagnostic data consists of the
standard DP diagnostics (e.g. the state of the slave, the IdentNumber) and of application-specific diagnostic
data.
At the core of the PROFIBUS DP protocol is the cyclic data exchange, during which the master exchanges I/
O data with each slave within a PROFIBUS DP cycle. This involves the master sending the outputs to each
slave with a DataExchange request telegram, while the slave replies with the inputs in a DataExchange
response telegram. This means that all the output and/or input data is transmitted in one telegram, in which
the DP configuration (the sequence of DP modules) specifies the assignment of the output and/or input data
to the slave's actual process data.
A slave can send a diagnostics signal to the master during cyclic data exchange. In this case, the slave sets
a flag in the DataExchange response telegram, whereby the master recognizes that there is new diagnostic
data in the slave. It then fetches that data in the SlaveDiag telegram. The diagnostic data is therefore not
available at the same time as the cyclic I/O data, but always delayed by at least one DP cycle.
The Sync and Freeze commands in the GlobalControl request telegram (broadcast telegram) allow the
master to synchronise the activation of the outputs (Sync) or the reading of the inputs (Freeze) in a number
of slaves. When the Sync command is used, the slaves are first switched into Sync mode (a process that is
acknowledged in the diagnostic data). The I/O data is then exchanged sequentially with the slaves in the
DataExchange telegram. Transmitting the Sync command in the GlobalControl telegram then has the effect
of causing the slaves to generate the most recently received outputs. In Freeze operation a Freeze
command is first sent in the GlobalControl telegram, in response to which all the slaves latch their
inputs. These are then fetched sequentially by the master in the DataExchange telegram.
The master distinguishes between the CLEAR state (all outputs are set to the Fail_Safe value) and the
OPERATE state (all outputs have the process value). The Master is usually switched into the CLEAR mode
when, for instance, the PLC enters STOP.
The Class 1 master refers to the controller that carries out cyclic I/O data exchange with the slaves, while a
Class 2 master is a B&B device that generally only has read access to the slaves' I/O data.
When two masters are used, however, is must always be borne in mind that these share bus access (a
token is exchanged), so that time relationships are less favorable than in the case of a single master system.
3.2 Dimensions
The Beckhoff Bus Terminal system is characterized by low physical volume and high modularity. When
planning a project, it must be assumed that at least one Bus Coupler and a number of Bus Terminals will be
used. The dimensions of the Bus Couplers are independent of the fieldbus system.
The total width in practical cases is composed of the width of the Bus Coupler with the KL9010 Bus End
Terminal and the width of the Bus Terminals in use. Depending on function, the Bus Terminals are 12 mm or
24 mm wide. The front wiring increases the total height of 68 mm by about 5 mm to 10 mm, depending on
the wire thickness.
Mechanical data BK3000, BK3010, BK3150 LC3100
BK3100, BK3110, BK3120,
BK3500, BK3520
Material polycarbonate, polyamide (PA 6.6)
Dimensions 50 mm x 100 mm x 68 mm 44 mm x 100 mm x 68 mm 21 mm x 100 mm x 68 mm
(W x H x D)
Mounting on 35 mm mounting rail according to EN 60715 with locking mechanism
Stackable by double groove-tongue connection
Labelling Standard terminal block labelling and text slide (8 mm x 47 mm, not BK3150)
3.3 Mounting
The Bus Coupler and all the Bus Terminals can be clipped, with a light press, onto a 35 mm mounting rail. A
locking mechanism prevents the individual housings from being pulled off again. For removal from the
mounting rail the orange colored tension strap releases the latching mechanism, allowing the housing to be
pulled off the rail without any force.
Up to 64 Bus Terminals can be attached to the Bus Coupler on the right hand side. When plugging the
components together, be sure to assemble the housings with groove and tongue against each other. A
properly working connection cannot be made by pushing the housings together on the mounting rail. When
correctly assembled, no significant gap can be seen between the attached housings.
NOTE
Bus Terminals should only be pulled or plugged in switched-off state.
Insertion and removal of Bus Terminals is only permitted when switched off. The electronics in the Bus Ter-
minals and in the Bus Coupler are protected to a large measure against damage, but incorrect function and
damage cannot be ruled out if they are plugged in under power.
3.4 Connection
Overview
The bus terminal system offers different connection options for optimum adaptation to the respective
application:
• The terminals of ELxxxx and KLxxxx series with standard wiring include electronics and connection
level in a single enclosure.
• The terminals of ESxxxx and KSxxxx series feature a pluggable connection level and enable steady
wiring while replacing.
• The High Density Terminals (HD Terminals) include electronics and connection level in a single
enclosure and have advanced packaging density.
The terminals of ELxxxx and KLxxxx series have been tried and tested for years.
They feature integrated screwless spring force technology for fast and simple assembly.
The terminals of ESxxxx and KSxxxx series feature a pluggable connection level.
The assembly and wiring procedure is the same as for the ELxxxx and KLxxxx series.
The pluggable connection level enables the complete wiring to be removed as a plug connector from the top
of the housing for servicing.
The lower section can be removed from the terminal block by pulling the unlocking tab.
Insert the new component and plug in the connector with the wiring. This reduces the installation time and
eliminates the risk of wires being mixed up.
The familiar dimensions of the terminal only had to be changed slightly. The new connector adds about 3
mm. The maximum height of the terminal remains unchanged.
A tab for strain relief of the cable simplifies assembly in many applications and prevents tangling of individual
connection wires when the connector is removed.
Conductor cross sections between 0.08 mm2 and 2.5 mm2 can continue to be used with the proven spring
force technology.
The overview and nomenclature of the product names for ESxxxx and KSxxxx series has been retained as
known from ELxxxx and KLxxxx series.
The terminals from these series with 16 terminal points are distinguished by a particularly compact design,
as the packaging density is twice as large as that of the standard 12 mm bus terminals. Massive conductors
and conductors with a wire end sleeve can be inserted directly into the spring loaded terminal point without
tools.
Wiring HD Terminals
The High Density Terminals of the ELx8xx and KLx8xx series doesn't support pluggable wiring.
3.4.2 Wiring
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!
Terminals for standard wiring ELxxxx/KLxxxx and for pluggable wiring ESxxxx/KSxxxx
Up to eight terminal points enable the connection of solid or finely stranded cables to the bus terminal. The
terminal points are implemented in spring force technology. Connect the cables as follows:
1. Open a terminal point by pushing a screwdriver straight against the stop into the square opening
above the terminal point. Do not turn the screwdriver or move it alternately (don't toggle).
2. The wire can now be inserted into the round terminal opening without any force.
3. The terminal point closes automatically when the pressure is released, holding the wire securely and
permanently.
See the following table for the suitable wire size width.
Terminal housing ELxxxx, KLxxxx ESxxxx, KSxxxx
Wire size width (single core wires) 0.08 ... 2.5 mm2 0.08 ... 2.5 mm2
Wire size width (fine-wire conductors) 0.08 ... 2.5 mm2 0,08 ... 2.5 mm2
Wire size width (conductors with a wire end sleeve) 0.14 ... 1.5 mm2 0.14 ... 1.5 mm2
Wire stripping length 8 ... 9 mm 9 ... 10 mm
The conductors of the HD Terminals are connected without tools for single-wire conductors using the direct
plug-in technique, i.e. after stripping the wire is simply plugged into the terminal point. The cables are
released, as usual, using the contact release with the aid of a screwdriver. See the following table for the
suitable wire size width.
Terminal housing High Density Housing
Wire size width (single core wires) 0.08 ... 1.5 mm2
Wire size width (fine-wire conductors) 0.25 ... 1.5 mm2
Wire size width (conductors with a wire end sleeve) 0.14 ... 0.75 mm2
Wire size width (ultrasonically “bonded" conductors) only 1.5 mm2
Wire stripping length 8 ... 9 mm
Potential groups
A Beckhoff Bus Terminal block usually has three different potential groups:
• The fieldbus interface is electrically isolated (except for individual Low Cost couplers) and forms the
first potential group.
• Bus Coupler / Bus Terminal Controller logic, K-bus and terminal logic form a second electrically
isolated potential group.
• The inputs and outputs are supplied via the power contacts and form further potential groups.
Groups of I/O terminals can be consolidated to further potential groups via potential supply terminals or
separation terminals.
Insulation testing
The connection between Bus Coupler / Bus Terminal Controller and Bus Terminals is realized automatically
by latching the components. The transfer of the data and the supply voltage for the intelligent electronics in
the Bus Terminals is performed by the K-bus. The supply of the field electronics is performed through the
power contacts. Plugging together the power contacts creates a supply rail. Since some Bus Terminals (e.g.
analog Bus Terminals or 4-channel digital Bus Terminals) are not looped through these power contacts or
not completely the Bus Terminal contact assignments must be considered.
The potential feed terminals interrupt the power contacts, and represent the start of a new supply rail. The
Bus Coupler / Bus Terminal Controller can also be used for supplying the power contacts.
PE power contacts
The power contact labelled PE can be used as a protective earth. For safety reasons this contact mates first
when plugging together, and can ground short-circuit currents of up to 125 A.
It should be noted that, for reasons of electromagnetic compatibility, the PE contacts are capacitively
coupled to the mounting rail. This can both lead to misleading results and to damaging the terminal during
insulation testing (e.g. breakdown of the insulation from a 230 V power consuming device to the PE
conductor). The PE supply line at the Bus Coupler / Bus Terminal Controller must be disconnected for an
insulation test. In order to uncouple further feed locations for the purposes of testing, the feed terminals can
be pulled at least 10 mm out from the connected group of other terminals. In that case, the PE conductors do
not have to be disconnected.
The power contact with the label PE must not be used for other potentials.
The connection is made by means of the upper spring-loaded terminals labelled 24 V and 0 V. This supply
voltage is used for the electronic components of the Bus Coupler and Bus Terminal Controllers and (via the
K-bus) the electronic components of the Bus Terminals. It is galvanically separated from the field level
voltage.
Fig. 14: Power supply connections for BKxx00, BKxx10, BKxx20 and LCxxxx
The connection is made by means of the upper spring-loaded terminals labelled Us and GNDs. This supply
voltage is used for the electronic components of the Bus Coupler and Bus Terminal Controllers and (via the
K-bus) the electronic components of the Bus Terminals. It is galvanically separated from the field level
voltage.
Fig. 16: UL identification
DANGER
Note the UL requirements for the power supply.
To comply with the UL requirements, the 24 VDC supply voltage for Us must originate
• from an isolated source protected by a fuse of max. 4A (according to UL248) or
• from a voltage supply complying with NEC class 2.
An NEC class 2 voltage source must not be connected in series or parallel with another NEC class 2
voltage source!
DANGER
No unlimited voltage sources!
To comply with the UL requirements, Us must not be connected with unlimited voltage sources.
The bottom six connections with spring-loaded terminals can be used to feed the supply for the peripherals.
The spring-loaded terminals are joined in pairs to a power contact. The power supply for the power contacts
has no connection to the power supply for the Bus Couplers / Bus Terminal Controllers.
The spring-loaded terminals are designed for wires with cross-sections between 0.08 mm² and 2.5 mm².
The assignment in pairs and the electrical connection between feed terminal contacts allows the connection
wires to be looped through to various terminal points. The current load from the power contact must not
exceed 10 A for long periods. The current carrying capacity between two spring-loaded terminals is identical
to that of the connecting wires.
Power contacts
Three spring contacts of the power contact connections can be found on the right of the Bus Coupler / Bus
Terminal Controller. The spring contacts are hidden in slots so that they cannot be accidentally touched. By
attaching a Bus Terminal the blade contacts on the left hand side of the Bus Terminal are connected to the
spring contacts. The tongue & groove design of the top and bottom of the Bus Coupler / Bus Terminal
Controller and Bus Terminals enables secure fitting of the power contacts.
The M12 socket is inverse-coded and has five pins. Pin 1 transfers 5 VDC, pin 3 transfers GND for the active
termination resistor. These must never be misused for other functions, as this can lead to destruction of the
device.
Pins 2 and 4 transfer the PROFIBUS signals. These must never be swapped over, as this will prevent
communication. Pin 5 transfers the shield, which is capacitively connected to the base of the Fieldbus Box.
Nine-pin D-Sub
Pin 6 transfers 5 VDC, pin 5 transfers GND for the active termination resistor. These must never be misused
for other functions, as this can lead to destruction of the device.
Pins 3 and 8 transfer the PROFIBUS signals. These must never be swapped over, as this will prevent
communication.
The Fieldbus Box modules are connected either directly or via a T-piece (or Y-piece).
The B318 series features a socket and a plug connector, i.e. this is where the PROFIBUS is routed in the
module. The supply voltage (+5 VDC) for the termination resistor is only present at the socket. The termination
resistor ZS1000-1610 is only available as a plug connector.
The types of area where a fieldbus system can be used is largely determined by the choice of the
transmission medium and the physical bus interface. In addition to the requirements for transmission
security, the expense and work involved in acquiring and installing the bus cable is of crucial significance.
The PROFIBUS standard therefore allows for a variety of implementations of the transmission technology
while retaining a uniform bus protocol.
Cable-based transmission
This version, which accords with the American EIA RS-485 standard, was specified as a basic version for
applications in production engineering, building management and drive technology. A twisted copper cable
with one pair of conductors is used. Depending on the intended application area (EMC aspects should be
considered) the screening may be omitted.
Two types of conductor are available, with differing maximum conductor lengths (see the RS-485 table).
Note the special requirements on the data cable for baud rates greater than 1.5 Mbaud. The correct cable is
a basic requirement for correct operation of the bus system. If a simple 1.5 Mbaud cable is used, reflections
and excessive attenuation can lead to some surprising phenomena. It is possible, for instance, for a
connected PROFIBUS station not to achieve a connection, but for it to be included again when the
neighboring station is disconnected. Or there may be transmission errors when a specific bit pattern is
transmitted. The result of this can be that when the equipment is not operating, PROFIBUS works without
faults, but that there are apparently random bus errors after start-up. Reducing the baud rate (< 93.75 kbaud)
corrects this faulty behavior.
If reducing the baud rate does not correct the error, then in many cases this can indicate a wiring fault. The
two data lines may be crossed over at one or more connectors, or the termination resistors may not be
active, or they may be active at the wrong locations.
Recommended cables
Installation is made a great deal more straightforward if preassembled cables from Beckhoff are
used! Wiring errors are avoided, and commissioning is more rapidly completed. The Beckhoff range
includes fieldbus cables, power supply cables, sensor cables and accessories such as termination
resistors and T-pieces. Connectors and cables for field assembly are nevertheless also available.
Termination resistors
In systems with more than two stations all devices are wired in parallel. The PROFIBUS cable must
be terminated with resistances at both ends, in order to avoid reflections and associated transfer
problems.
Distances
The bus cable is specified in EN 50170. This yields the following lengths for a bus segment.
Baud rate in kbits/sec 9.6 19.2 93.75 187.5 500 1500 12000
Cable length in m 1200 1200 1200 1000 400 200 100
Stubs up to 1500 kbaud <6.6 m; at 12 Mbaud stub segments should not be used.
Bus segments
A bus segment consists of at most 32 devices. 126 devices are permitted in a PROFIBUS network.
Repeaters are required to refresh the signal in order to achieve this number. Each repeater is counted as
one device.
IP-Link is the subsidiary bus system for Fieldbus Boxes, whose topology is a ring structure. There is an IP
master in the coupler modules (IP230x-Bxxx or IP230x-Cxxx) to which up to 120 extension modules (IExxxx)
may be connected. The distance between two modules may not exceed 5 m. When planning and installing
the modules, remember that because of the ring structure the IP-Link master must be connected again to the
last module.
Installation guidelines
When assembling the modules and laying the cables, observe the technical guidelines provided by the
PROFIBUS User Organization (PROFIBUS Nutzerorganisation e.V.) for PROFIBUS DP/FMS (see https://
www.profibus.com).
A PROFIBUS cable (or a cable segment when using repeaters) can be checked with a few simple resistance
measurements. The cable should meanwhile be removed from all stations:
1. Resistance between A and B at the start of the lead: approx. 110 Ohm
2. Resistance between A and B at the end of the lead: approx. 110 Ohm
3. Resistance between A at the start and A at the end of the lead: approx. 0 Ohm
4. Resistance between B at the start and B at the end of the lead: approx. 0 Ohm
5. Resistance between screen at the start and screen at the end of the lead: approx. 0 Ohm
If these measurements are successful, the cable is okay. If, in spite of this, bus malfunctions still occur, this
is usually a result of EMC interference. Observe the installation notes from the PROFIBUS User
Organization (https://www.profibus.com).
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
• EN 60079-31:2013 (only for certificate no. KEMA 10ATEX0075 X Issue 9)
Marking
The Beckhoff fieldbus components with standard temperature range certified according to the ATEX directive
for potentially explosive areas bear one of the following markings:
or
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
• EN 60079-31:2013 (only for certificate no. KEMA 10ATEX0075 X Issue 9)
Marking
The Beckhoff fieldbus components with extended temperature range (ET) certified according to the ATEX
directive for potentially explosive areas bear the following marking:
or
Standards
The fundamental health and safety requirements are fulfilled by compliance with the following standards:
• EN 60079-0:2011
• EN 60079-15:2010
• EN 60079-31:2013 (only for certificate no. IECEx DEK 16.0078X Issue 3)
Identification
Beckhoff fieldbus components that are certified in accordance with IECEx for use in areas subject to an
explosion hazard bear the following markings:
Marking for fieldbus components of certificate IECEx DEK 16.0078 X
no. IECEx DEK 16.0078X Issue 3: Ex nA IIC T4 Gc
Ex tc IIIC T135°C Dc
Notes on the use of the Beckhoff terminal systems in hazardous areas according to ATEX and
IECEx
Standards
The fundamental health and safety requirements are fulfilled by compliance with the following standards:
M20US0111X (US):
• FM Class 3600:2018
• FM Class 3611:2018
• FM Class 3810:2018
• ANSI/UL 121201:2019
• ANSI/ISA 61010-1:2012
• ANSI/UL 60079-0:2020
• ANSI/UL 60079-7:2017
FM20CA0053X (Canada):
• CAN/CSA C22.2 No. 213-17:2017
• CSA C22.2 No. 60079-0:2019
• CAN/CSA C22.2 No. 60079-7:2016
• CAN/CSA C22.2 No.61010-1:2012
Identification
Beckhoff fieldbus components that are certified in accordance with cFNus for use in areas subject to an
explosion hazard bear the following markings:
FM20US0111X (US): Class I, Division 2, Groups A, B, C, D
Class I, Zone 2, AEx ec IIC T4 Gc
The Bus Coupler can be made to enter the normal operating state by switching it on again once the fault has
been rectified.
4.4 Configuration
For TwinCAT applications, these rules are followed by the TwinCAT system manager. It adds the terminals
or IE modules in the sequence in which they are plugged in, and the modules for functions are added
automatically if the corresponding function is activated in the UserPrmData [} 39].
Sample
The following combinations of DP modules could, for instance, now be added in the DP configuration tool to
the Bus Coupler:
Alternative 1
Alternative 2
Other alternatives are possible, provided the total of digital inputs is 56 bits (the next number larger than 52
divisible by 8) and that the sum of the digital inputs is 32 bits (the next number larger than 26 divisible by 8).
GSD files can be found in the chapter Downloads for PROFIBUS [} 46]
The sizes can be adjusted through the PrmData [} 78]. The length is changed in 8-byte steps.
Sample
If it is desired to increase the size of the input data, other sizes must be reduced to compensate.
If we have 20 x 4 channel KL3314 thermocouples, then in compact mapping we find 20 Bus Terminals * 4
channels * 2 bytes per channel = 20 * 4 * 2 = 160 bytes
160 bytes is larger than the 128 byte default figure - settings must therefore be modified.
Set PrmData byte 12 bits 4-7 to 15dec or 0xFhex, set byte for 37 to 160 (input data) and byte 38 to 96 (output
data).
Images
Bus Coupler/ Usage Date Download
Bus Terminal Controller
All Image 1 for fieldbus configuration software 1995-12-07 Busklemn.bmp
All Image 2 for fieldbus configuration software 1997-11-11 Busklems.bmp
Standard
Bus Coupler/ Usage Language Date Download
Bus Terminal Controller
BK3000 Common for all PROFIBUS master german 2009-05-15 BK30becf.GSG
BK3000 Common for all PROFIBUS master english 2009-05-15 BK30becf.GSE
BK3010 Common for all PROFIBUS master german 2009-05-15 BK3010.GSG
BK3010 Common for all PROFIBUS master english 2009-05-15 BK3010.GSE
BK3100 Common for all PROFIBUS master german 2009-05-15 BK31bece.GSG
BK3100 Common for all PROFIBUS master english 2009-05-15 BK31bece.GSE
BK3110 Common for all PROFIBUS master german 2009-05-15 B311BECE.GSG
BK3110 Common for all PROFIBUS master english 2009-05-15 B311BECE.GSE
BK3100 Special version for pure PROFIBUS DP operation english 2009-05-15 BK3100_DP.GSE
BK3120 Common for all PROFIBUS master german 2009-05-15 B312bece.GSG
BK3120 Common for all PROFIBUS master english 2009-05-15 B312bece.GSE
BK3150 Common for all PROFIBUS master german 2009-05-15 B315bece.GSG
BK3150 Common for all PROFIBUS master english 2009-05-15 B315bece.GSE
BK3500 Common for all PROFIBUS master german 2009-05-15 BK3500.GSG
BK3500 Common for all PROFIBUS master english 2009-05-15 BK3500.GSE
BK3520 Common for all PROFIBUS master german 2009-05-15 B352bece.GSG
BK3520 Common for all PROFIBUS master english 2009-05-15 B352bece.GSE
LC3100 Common for all PROFIBUS master german 2009-05-15 LC3100.GSG
LC3100 Common for all PROFIBUS master english 2009-05-15 LC3100.GSE
BC3100 Common for all PROFIBUS master german 2009-05-15 BC3100.GSG
BC3100 Common for all PROFIBUS master english 2009-05-15 BC3100.GSE
BC3150 Common for all PROFIBUS master german 2008-10-17 BC3150.GSG
BC3150 Common for all PROFIBUS master english 2008-10-17 BC3150.GSE
BX3100 Common for all PROFIBUS master german 2008-10-17 BX3100.GSG
BX3100 Common for all PROFIBUS master english 2008-10-17 BX3100.GSE
Slot-oriented mapping
Bus Coupler/ Usage Language Date Download
Bus Terminal Controller
BK3120 Common for all PROFIBUS master german 2016-08-09 E312BECE.GSG
from firmware C0 *
BK3120 Common for all PROFIBUS master english 2016-08-09 E312BECE.GSE
from firmware C0 *
BK3150 Common for all PROFIBUS master german 2016-08-09 E315BECE.GSG
from firmware B8 *
BK3150 Common for all PROFIBUS master english 2016-08-09 E315BECE.GSE
from firmware B8 *
EK3100 Common for all PROFIBUS master english/ 2017-05-24 EK3100DAA.ZIP
from firmware 01(V00.07) german
EK3100 Common for all PROFIBUS master english/ 2019-09-20 EK3100DAA02.zip
from firmware 02(V00.11) german
EK3100, EK9xxx Driver for USB interface - 2015-10-02 EK9XXX_RNDIS6.ZIP
for Web Diagnostics
EK3100, EK9xxx Driver for USB interface - 2018-02-15 EK9XXX_RNDIS6_WIN10.ZIP
for Web Diagnostics, Windows 10
*) Firmware update
You can obtain the current firmware at [email protected]. To load the firmware onto the Bus
Coupler / Bus Terminal Controller you need the KS2000 configuration software and the appropriate
cable.
Configuration
You can configure the Fieldbus stations with the Configuration Software KS2000 offline. That means, setting
up a terminal station with all settings on the couplers and terminals resp. the Fieldbus Box Modules can be
prepared before the commissioning phase. Later on, this configuration can be transferred to the terminal
station in the commissioning phase by means of a download. For documentation purposes, you are provided
with the breakdown of the terminal station, a parts list of modules used and a list of the parameters you have
modified. After an upload, existing fieldbus stations are at your disposal for further editing.
Parameterization
KS2000 offers simple access to the parameters of a fieldbus station: specific high-level dialogs are available
for all bus couplers, all intelligent bus terminals and Fieldbus Box modules with the aid of which settings can
be modified easily. Alternatively, you have full access to all internal registers of the bus couplers and
intelligent terminals. Refer to the register description for the meanings of the registers.
Commissioning
The KS2000 software facilitates commissioning of machine components or their fieldbus stations: Configured
settings can be transferred to the fieldbus modules by means of a download. After a login to the terminal
station, it is possible to define settings in couplers, terminals and Fieldbus Box modules directly online. The
same high-level dialogs and register access are available for this purpose as in the configuration phase.
The KS2000 offers access to the process images of the bus couplers and Fieldbus Box modules.
• Thus, the coupler's input and output images can be observed by monitoring.
• Process values can be specified in the output image for commissioning of the output modules.
All possibilities in the online mode can be used in parallel with the actual fieldbus mode of the terminal
station. The fieldbus protocol always has the higher priority in this case.
TwinCAT*System-Manager
The TwinCAT System Manager Tool is used to configure the FC310x PROFIBUS DP PCI card. The System
Manager provides a representation of the number of programs of the TwinCat PLC systems, the
configuration of the axis control and of the connected I/O channels as a structure, and organizes the
mapping of the data traffic.
For applications without TwinCAT PLC or NC, the TwinCAT System Manager configures the programming
interfaces for a wide range of application programs:
• ActiveX control (ADS-OCX) for e.g. Visual Basic, Visual C++, Delphi, etc.
• DLL interface (ADS-DLL) for e.g. Visual C++ projects
• Script interface (ADS script DLL) for e.g. VBScript, JScript, etc.
1. The corresponding PROFIBUS DP master PC card is selected first, and inserted into the I/O configu-
ration.
Fig. 26: Configuration of the PROFIBUS DP I/O modules - selection of the PROFIBUS DP master PC card
2. Following the master card, the bus nodes are then inserted:
Fig. 27: Configuration of the PROFIBUS DP I/O modules - inserting the bus nodes
3. The appropriate Bus Terminals are now inserted at the PROFIBUS DP Bus Coupler.
Fig. 28: Configuration of the PROFIBUS DP I/O modules - appending the Bus Terminals
In order to assign an image to the devices in the Siemens software, they must be copied into the
Step7 \ S7Data \ NcBmp directory.
Fig. 29: Busklemn.bmp
Fig. 30: Busklems.bmp
Settings
Sample 1:
1 x BK3120
10 x KL1xx4
1 x KL9100 (is not entered, as this Bus Terminal is entirely passive)
11 x KL2xx4
1 x KL9010 (is not entered, as this Bus Terminal is entirely passive)
The sum total of digital bytes must be added together and entered.
Digital inputs
10 x KL1xx4, i.e. 10 x 4 bits = 40 bits
40 bit / 8 = 5 bytes, i.e. enter 5 x 8 bit or 1 x 40 bit or 1 x 8 bit + 1 x 32 bit, etc. (see Fig. Example for
entering individual bytes and Fig. Example for entering contiguous bytes)
Digital outputs
11 x KL2xx4, i.e. 10 x 4 bit = 44 bit
44 bit / 8 = 5.5 bytes, rounded up to 6 bytes, i.e. enter 6 x 8 bit or 1 x 48 bit or 1 x 8 bit + 1 x 40 bit etc. (see
Fig. Example for entering individual bytes and Fig. Example for entering contiguous bytes)
Byte-oriented modules are the first to be mapped into the process image, and for this reason all the complex
modules must first be entered in the sequence in which they are plugged into the Bus Coupler. For some
byte-oriented Bus Terminals, it is possible to distinguish between compact and complex mapping.
Compact - only user data
Complex - user data plus status (for extended diagnosis) and control (for register communication)
Finally the digital signals are entered and rounded up to a whole byte.
Example 2.a:
1 x BK3120
2 x KL1012
1 x KL2022
1 x KL3312 compact mapping
1 x KL9010
Example 2.b:
1 x BK3120
2 x KL1012
1 x KL2022
1 x KL3312 complex mapping
1 x KL9010
5 PROFIBUS DP communication
After being switched on, the Bus Coupler determines the configuration of the inserted input/output terminals.
The assignment of the physical slots for the input/output channels and the addresses in the process image is
carried out automatically by the Bus Coupler.
The Bus Coupler creates an internal assignment list, in which the input/output channels have a specific
position in the process image of the Bus Coupler. A distinction is made here according to inputs and outputs,
and according to bit-oriented (digital) and byte-oriented (analog or complex) signal processing.
Two groups are created, one for inputs and the other for outputs. Each group has the byte-oriented channels
in ascending sequence, starting from the lowest address, and these are followed by the bit-oriented
channels.
The digital signals are bit-oriented. This means that one bit in the process image is assigned to each
channel. The Bus Coupler creates a memory area containing the current input bits, and ensures that the bits
in a second (output) memory area dedicated to the output channels are written out immediately, following the
update command.
The details of the assignment of the input and output channels to the controller's process image is explained
fully with the aid of an example in the appendix.
The processing of analog signals is always byte-oriented. Analog input and output values are represented in
memory by two bytes each. Values are represented in SIGNED INTEGER format. The number 0 stands for
the input/output value 0 V, 0 mA or 4 mA. The maximum value of an output or input value is represented,
according to the standard settings, by 0x7FFF. The intermediate values are correspondingly proportional. A
range with a resolution of 15 bits is not achieved for all inputs and outputs. If the actual resolution is 12 bits,
the last three bits have no effect in outputs, while as inputs they are read as 0. Each channel also has a
control and status byte. The control and status byte is the most significant byte in the most significant word.
An analog channel is represented by 4 bytes in the process image, of which 3 bytes are used. In the BK3000
and BK4000 only 2 bytes are occupied in the process image of the corresponding bus system for each
analog channel. The Bus Terminal's control and status bytes can also be included through appropriate
configuration of the Bus Coupler and Bus Terminals.
The Bus Coupler supports Bus Terminals with other interfaces such as RS232, RS485, incremental encoder
and others. These signals can be considered similarly to the analog signals named above. For some special
signals the bit width of 16 is not sufficient. The Bus Coupler can support any byte width. It is necessary to
consider how data consistency is ensured when accessing these values. This means that update commands
must not be issued nor must the Bus Coupler be placed into the free running mode between the accesses.
Once it has been switched on, the Bus Coupler finds out how many Bus Terminals are inserted, and creates
an assignment list. The analog and digital channels, divided into inputs and outputs, are assembled into
separate parts of this list. The assignment starts on the left next to the Bus Coupler. The software in the Bus
Coupler collects consecutively the individual entries for each of the channels in order to create the
assignment list counting from left to right. Four groups are distinguished in the assignment:
Overview of the distribution of the process image within the Bus Coupler
The K-bus cycle time can be calculated with a precision of around 10 % using the following formula (4-
channel terminals or terminals with more than 6 bytes data (exception: ASI terminal KL6201: more than 12
bytes of data) require two or more K-bus cycles).
Tcyc (in µs) = number of K-Bus cycles x (600 + number of digital channels x 2.5 + number of analog
input channels x 32 + number of analog output channels x 42)
The K-bus cycle time can be read via DPV1 [} 65]. If TwinCAT is used, this is possible on the "Beckhoff" tab
of the DP coupler in the System Manager.
K-bus modes
The K-bus mode (the type of synchronisation between the K-bus cycles and the DP cycle) is set via the
UserPrmData [} 39]:
Byte 9, bit 4 Byte 9, bit 6 Byte 12, bit 0 Byte 12, bit 1 K-bus mode
0bin 1bin 0bin 0bin Slow FreeRun
1bin 1bin 0bin 0bin Fast FreeRun
0bin 0bin 0bin 0bin Synchronous
0bin 0bin 1bin 0bin Synchronous with optimized input update,
one cycle
0bin 0bin 0bin 1bin Synchronous with optimized input update,
two cycles
FreeRun mode
In the FreeRun mode there is no synchronisation between the K-bus cycle and the DP cycle. It is a
characteristic feature of the Slow FreeRun mode that the K-bus cycle is called from the main task. Acyclic
communication or events result in heavy jitter in the K-bus cycle (KS2000, DPV1, terminal diagnosis, etc.),
because all of these functions are also called from the main task.
Fast FreeRun
To avoid the jitter resulting from acyclic communication or events and to achieve fast K-bus update times,
the Fast FreeRun mode can be activated. The K-bus cycle is called by a higher priority task, controlled by a
timer. At the end of the K-bus cycle the low-priority tasks (DPV1, KS2000 interface, etc.) are assigned
computing time corresponding to 12.5 % of the preceding K-bus cycle duration, before the next K-bus cycle
is started. In fast FreeRun mode therefore the inputs and outputs are up-to-date, but are not synchronized to
the DP cycle:
Synchronous mode
As explained in the table above, there are three different synchronous modes.
In standard synchronous mode the K-bus cycle is always started immediately following reception of the
Data_Exchange telegram from the DP master. The outputs are therefore generated as quickly as possible,
while the input cycles are always one DP cycle old.
It is important here to ensure that the duration of the K-bus cycle plus approx. 20 % (to allow for the lower
priority processes on the coupler) is shorter than the DP cycle time (which, under TwinCAT, means the cycle
time of the associated task).
In optimized input update, the start of the K-bus cycle can be delayed following reception of the
Data_Exchange telegram, so that the inputs are more up-to-date than they are in standard synchronous
mode, whereas generation of the outputs is more severely delayed. It is important here to ensure that the
duration of the K-bus cycle, plus the delay time, plus approx. 20 % (to allow for the lower priority processes
on the coupler) is shorter than the DP cycle time (which, under TwinCAT, means the cycle time of the
associated task).
Fig. 42: K-bus - synchronous mode with optimized input update (one cycle)
The delay time is set by means of the UserPrmData [} 39] (in µs, in Motorola format). The extended GSD file
of the Bus Coupler is, however, necessary for this:
In the third mode of synchronous operation, the advantages of the other two operating modes are combined.
Two K-bus cycles are carried out within one DP cycle. The first cycle begins immediately after reception of
the Data_Exchange telegram from the master, which means that the outputs are generated as quickly as
possible. The second cycle is started after a delay time that begins after completion of the first cycle has
elapsed, so that the inputs are as recent as possible. It is important here to ensure that two times the
duration of the K-bus cycle, plus the delay time, plus approx. 20 % (to allow for the lower priority processes
on the coupler) is shorter than the DP cycle time (which, under TwinCAT, means the cycle time of the
associated task).
Fig. 43: K-bus - synchronous mode with optimized input update (two cycles)
The delay time is set by means of the UserPrmData [} 39] (in µs, in Motorola format). The extended GSD file
of the Bus Coupler is, however, necessary for this:
Byte Description
13 Delay time (in µs) high byte
14 Delay time (in µs) low byte
The Bus Coupler's PROFIBUS DP ASIC can only generate an interrupt after reception of a Data_Exchange
telegram if output data has been received. This means that at least one output byte must be transferred via
DP in synchronous mode. If only input terminals are plugged in, and no output data is therefore present, a
dummy output byte can be configured. It is activated in the UserPrmData [} 39], and must be entered as the
module in the CfgData. The extended GSD file for the Bus Coupler is, however, necessary for this:
It is also necessary for the dummy output byte to be configured in the CfgData before the complex terminals:
CfgData DP modules
0x20 Dummy output byte
In order for the master to be able to check reliably whether precisely one (or two) K-bus cycles are always
being carried out during one DP cycle, a K-bus cycle counter can be transferred in the input data from the
Bus Coupler to the master. This is incremented after each K-bus cycle (0 is omitted, so that 1 follows after
255). The K-bus cycle counter must be activated in the UserPrmData and entered as a module in the
CfgData. The extended GSD file for the Bus Coupler is, however, necessary for this:
It is also necessary for the K-bus cycle counter byte to be configured in the CfgData before the complex
terminals:
CfgData DP modules
0x10 K-bus cycle counter
The MSAC_C2 connection can be used either by the C1 master (which communicates with the slave
cyclically) or by a C2 master (which then only communicates with the slave acyclically), and has its own
establishment of connection. The parameters at the establishment of the MSAC_C2 connection
(Feature_Supported, Profile_Feature_Supported, Profile_Ident_Number, etc.) are not examined, and the
parameters of the request are mirrored in the response.
Slot_Number [} 62] = 0 addresses PROFIBUS coupler data, Slot_Number [} 62] > 0 addresses the data of
the function module(s).
The data associated with the PROFIBUS coupler is addressed via an index:
Index Access Description
1-2 R/W Module assignment in multi-configuration mode [} 78]
5 R Firmware information [} 64]
9-19 R/W Device configuration [} 64] (Table 9)
90 R K-bus status [} 65] (Table 90)
98 R/W Internal cycle time [} 65]
99 W Commands: local bus reset [} 74], starting or stopping the internal cycle time
measurement [} 65]
Depending on the type of function module, access is made either to the registers (max. 4 channels, each
with 64 registers) or to the parameters (only supported by a few function modules, where the quantity of data
is insufficient for the register model)
Accessing registers
Index Access Length Description
0-63 R(/W) 2 Registers 0-63 of the channel 1 in the function module
64-127 R(/W) 2 Registers 0-63 of the channel 2 in the function module
128-191 R(/W) 2 Registers 0-63 of the channel 3 in the function module
192-254 R(/W) 2 Registers 0-63 of the channel 4 in the function module
Accessing parameters
Index Access Length Description
0 R(/W) 4-32 (must be divisible by 4) Parameters 0x0000-0x0007 of the function
module
1 R(/W) 4-32 (must be divisible by 4) Parameters 0x0008-0x000F of the function
module
... ... ...
127 R(/W) 4-32 (must be divisible by 4) Parameters 0x03F8-0x03FF of the function
module
The same data can also be accessed by a DPV1 Write. In this case the Bus Coupler compares the value
that has been written with the true value, returning a negative DPV1 Write response if the data does not
agree. This permits more precise checking of the terminal configuration than is possible by checking the
CfgData. The length must match the actual length of table 9. The calculation should include two bytes for
each terminal with process data. The Bus Coupler ID in register 0 of table 9 is not taken into account.
Error_Code_1 Error_Code_2
0xBE Number of terminals
0xBF First faulty byte in the written data
The minimum, maximum, mean (of the last 200 cycles) and current cycle time can be read with DPV1 Read
and reset with DPV1 Write:
Slot number Index Length Data Description
0 98 8 Byte 0, 1 Minimum cycle time in µs (INTEL format, low byte first)
Byte 2, 3 Maximum cycle time in µs (INTEL format, low byte first)
Byte 4, 5 Mean cycle time in µs (INTEL format, low byte first)
Byte 6, 7 Current cycle time in µs (INTEL format, low byte first)
6.1 LEDs
The Bus Coupler has two groups of LEDs for the display of status. The upper group (BK3xx0) or left hand
group (LC3100) indicates the state of the fieldbus.
On the upper right hand side of the BK3xx0 Bus Coupler are two more green LEDs that indicate the supply
voltage. The left hand LED indicates the presence of the 24 V supply for the Bus Coupler. The right hand
LED indicates the presence of the supply to the power contacts. The two K-Bus LEDs (I/O RUN, I/O ERR)
are located under the fieldbus LEDs. These indicate the operational state of the Bus Terminals and the
connection to these Bus Terminals.
Fieldbus LEDs
The upper three LEDs (or the two LEDs on the left) indicate the operating state of the PROFIBUS
communication:
BK3xx0
I/O RUN BF DIA Meaning Remedy
on off off Operating state: RUN, inputs are read Everything is operating correctly
and outputs are set
on on off, blinking 1. Bus activity, but slave is already Start master
parameterized
2. Bus error with reaction to Check parameters, configuration
PROFIBUS error: (possible error in DP start-up [} 72])
a.) K-bus outputs become 0 or b.) K-
bus outputs are retained
off off off Data exchange with the master is not PLC start
started
off on on No bus activity Start the master, check the bus cable
off on off, blinking Bus error with reaction to PROFIBUS Start master, check parameters,
error: K-bus cycle is stopped configuration (possible error in DP start-
up [} 72])
If an error occurs in the paramétrisation or configuration during DP start-up [} 72], this is indicated both
through the fieldbus LEDs and in the diagnostic data.
Flashing Code
fast blinking Start of the error code
First slow sequence Error code
Second slow sequence Error argument (error location)
LC3100
I/O RUN BF RUN Meaning Remedy
on off on Operating state: RUN, inputs are read Everything is operating correctly
and outputs are set
on on, on 1. Bus activity, but slave is already Start master
blinking parameterized
2. Bus error with reaction to Check parameters, configuration
PROFIBUS error: (possible error in DP start-up [} 72])
a.) K-bus outputs become 0 or b.) K-
bus outputs are retained
off off on Data exchange with the master is not PLC start
started
off on off No bus activity Start the master, check the bus cable
off on, on Bus error with reaction to PROFIBUS Start master, check parameters,
blinking error: K-bus cycle is stopped configuration (possible error in DP start-
up [} 72])
Two LEDs, the K-bus LEDs, indicate the operational state of the Bus Terminals and the connection to these
Bus Terminals. The green LED (I/O RUN) lights up in order to indicate fault-free operation. The red LED (I/O
ERR) flashes with two different frequencies in order to indicate an error. The errors are displayed in the blink
code in the following way:
Error type
Error location
The number of pulses indicates the position of the last Bus Terminal before the fault. Passive Bus Terminals,
such as a power feed terminal, are not included in the count.
6.2 DP diagnostics
When the DP diagnostic data changes, the slave reports this fact to the master, and the master will
automatically fetch the changed diagnostic data. This means that DP diagnostic data is not included in the
DP process data in real-time, but is always sent to the controller a few cycles later.
In TwinCAT the DP diagnostic data is read from the DP Master interface (FC310x, CX1500-M310) using
ADS (see the section describing Slave Diagnosis in the FC310x documentation).
Offset Meaning
0x00.0 StationNonExistent: slave did not reply to the last telegram
0x00.1 StationNotReady: slave still processing the Set_Prm / Chk_Cfg telegram
0x00.2 CfgFault: slave signaling a configuration error
0x00.3 ExtDiag: extended DiagData available and valid
0x00.4 NotSupported: slave does not support a feature requested via Set_Prm or Global_Control
0x00.5 InvalidSlaveResponse: slave response not DP-compatible
0x00.6 PrmFault: slave reports a paramétrisation error
0x00.7 MasterLock: slave currently exchanging data with another master
0x01.0 PrmReq: re-parameterize and reconfigure slave
0x01.1 StatDiag: slave signaling static diagnosis / DPV1 slave application not yet ready for data
exchange
0x01.2 PROFIBUS DP slave
0x01.3 WdOn: DP watchdog on
0x01.4 FreezeMode: DP slave in freeze mode
0x01.5 SyncMode: DP slave in sync mode
0x01.6 reserved
0x01.7 Deactivated: DP slave has been deactivated
0x02.0 reserved
0x02.1 reserved
0x02.2 reserved
0x02.3 reserved
0x02.4 reserved
0x02.5 reserved
0x02.6 reserved
0x02.7 ExtDiagOverflow: too much extended data present
0x03 MasterAdd: station address of master with which slave is exchanging data
0x04,0x05 IdentNumber
from 0x06 Device-specific diagnostic data (extended DiagData)
The meaning of the first 4 bytes of the DPV1 status message is specified by the DPV1 standard, while the
bytes that follow are manufacturer-specific.
Diagnosis of the modules [} 75] must be activated through the UserPrmData [} 39].
Possible DP start-up errors are identified by an error code and an error argument.
Error code 1
Error code 1 indicates that a reserved bit in the UserPrmData has been set to an incorrect value, or that the
function corresponding to the bit in the UserPrmData is not supported. The error argument describes which
UserPrmData byte has been detected as containing an error (the offset of the faulty byte + 1).
Error code 3
Error code 3 indicates that a combination of functions selected in the UserPrmData is not allowed. The error
argument describes the impermissible combination.
Error code 2
Error code 2 indicates that a byte in the CfgData is not correct. The error argument describes which CfgData
byte has been detected as containing an error (the offset of the faulty byte + 1).
Error code 5
Error code 5 indicates that the length of the digital outputs (in bytes) calculated from the CfgData is not
correct. The error argument contains the expected byte length.
Error code 6
Error code 6 indicates that the length of the digital inputs (in bytes) calculated from the CfgData is not
correct. The error argument contains the expected byte length.
Error code 7
Error code 7 indicates a variety of errors when checking the CfgData. The error argument describes the
error.
Error code 8
Error code 8 indicates that the length of the DP buffer is greater than the size of the DP RAM in the
PROFIBUS ASIC. The error argument contains the difference (divided by 8). DP communication is
deactivated.
Error code 9
Error code 9 indicates a variety of errors that may be detected as the device boots. The error argument
describes the error.
Error during the register communication. The settings to be written via the UserPrm data were executed
incorrectly.
Error during the register communication. The settings to be written via the UserPrm data were aborted with a
timeout.
* Only for BK3120 or BK3150 with the GSD file and slot-oriented mapping (E312BECE.GS? or
E315BECE.GS?)
The reaction at the output data of the coupler can be set in the UserPrmData [} 39]:
When the interruption or malfunction on the K-bus has been rectified, the setting of Response to K-bus error
in the UserPrmData [} 39] determines whether the K-bus error state is left manually (by means of a K-bus
reset), or automatically:
A K-bus error is indicated both on the I/O-ERR LED and in the DPV1 status message in the DP diagnostic
data [} 69] (bytes 11-13).
K-bus reset
By default, the diagnostic bits for the digital terminals that have diagnosis (KL12x2 and KL22x2) are
transmitted cyclically in the process image. These terminals occupy 4 bits each in both the input and output
data. If terminal diagnosis is active, then UserPrmData can be used to specify that only the I/O data for the
digital terminals with diagnosis (KL12x2: 2 bit inputs, KL22x2: 4 bit outputs) is to be included in the cyclic
process image transfer:
When making use of terminal diagnosis, it should always be borne in mind that the diagnostic data always
reaches the controller at least one cycle later, and that as a rule access also takes place through different
mechanisms from those used for cyclic process data. This means that process data can already be faulty,
but the controller program is only informed of this in the following cycle or the one after that. If the diagnostic
bits of digital terminals with diagnostics or the status of complex terminals are mapped to the process image,
the control program always has a consistent state between process and diagnostic data. The appropriate
setting therefore depends on the way that the diagnosis is to be used. If it is only intended for diagnostic
display, transmission within the cyclic process data is unnecessary, but if on the other hand consistency
between the process data and the diagnostic data is desired, then the diagnostic data should be transmitted
along with the cyclic process data.
If more diagnostic terminal data are active than specified in the maximum diagnostic data length, the
ExtDiagOverflow bit of the standard diagnostic data [} 69] is set. Since older controllers have trouble
handling the maximum diagnostic data length of 64 bytes (default setting), the maximum diagnostic data
length can be limited in UserPrmData [} 39]:
It is only possible to set the maximum diagnostic data length in text form in the extended GSD file.
7 Extended functions
Deactivation of the CfgData checking can also be useful if a specific address range is to be reserved in the
PLC for future extensions. In that case, more input and output data is to be transferred than is in fact
necessary.
In general, the I/O data from the modules (terminals or IE modules) is written by the coupler in the standard
sequence (first the complex, then the digital modules), as is also the case for other fieldbus couplers; this
has already been described in connection with the structure of the process image in the coupler. The
decision on a module-to-module basis as to whether the module is mapped in compact or complex form,
which would otherwise be possible under DP, is omitted when CfgData checking is deactivated. In that case,
the setting made in the UserPrmData applies to all modules:
The extended GSD file must be used to deactivate CfgData checking and to specify compact/complex
mapping textually in the master's configuration tool.
When using the DP modules it is necessary to ensure that only those complex modules that are identified
with word alignment are used.
The extended GSD file must be used in order to set word alignment in text form in the master's configuration
tool and to be able to select the word alignment module.
Deactivation of the CfgData checking can also be useful if a specific address range is to be reserved in the
PLC for future extensions. In that case, more input and output data is to be transferred than is in fact
necessary.
In general, the I/O data from the modules (terminals or IE modules) is written by the coupler in the standard
sequence (first the complex, then the digital modules), as is also the case for other fieldbus couplers; this
has already been described in connection with the structure of the process image in the coupler. The
decision on a module-to-module basis as to whether the module is mapped in compact or complex form,
which would otherwise be possible under DP, is omitted when CfgData checking is deactivated. In that case,
the setting made in the UserPrmData applies to all modules:
The extended GSD file must be used to deactivate CfgData checking and to specify compact/complex
mapping textually in the master's configuration tool.
Multi-configuration mode can be used for the following types of application. A more extensive consideration,
considering, in particular, the various implementation levels of the Bus Coupler, is given in the Requirements
of a production machine [} 82].
If a PLC program is to be used for controlling different configurations of a process, it may make sense to use
the same DP configuration even if the terminal configuration is different. In this case the address offsets in
the process image do not change, and the DP configuration of the PROFIBUS DP master does not have to
be re-saved for each version. With the multi-configuration mode it is now possible to define a maximum
configuration for the Bus Coupler, and in this case it will only be necessary to disable those terminals that
are not present in accordance with the current implementation level.
Because all the analog terminals are configured first in the DP configuration, before the digital terminals, the
consequence of inserting analog terminals at a later stage is that the address offsets of the digital terminals
are shifted. The insertion of a digital terminal within the existing terminal structure (which can, for instance,
be useful if digital terminals with different input voltages are used) also has the consequence that the offsets
of the digital terminals that follow it are shifted. If a digital terminal is inserted before the end terminal
however, the offset of the existing terminals are not shifted. With multi-configuration mode it is now possible
to configure additional terminals as reserves at any location within the terminal structure.
Because digital terminals are always grouped into bytes, which therefore means that the smallest DP
configuration module is an 8-bit module, a difficulty arises when the associated terminals are to be
distributed over a number of bytes in the PLC process image. This is because in the PLC it is usually only
possible to assign addresses for each DP configuration module. With multi-configuration mode it is now
possible to configure additional digital terminals as "dummy" terminals at any desired locations, enabling the
address offsets of the other terminals to be shifted in the PLC process image.
Multi-configuration mode requires a few additional rules to be observed, in addition to those for standard
configuration:
• Only one DP module may be configured for each analog terminal
• The digital terminals are to be declared as KLxxxx Multi-Cfg mode modules at their true position
• The digital terminals are to be declared after the analog modules moreover as input/output sum
modules, corresponding to their bit width, as is also the case for standard configuration in the process
image.
• All modules for the maximum configuration, including the reserve modules, are to be declared
• Modules that are not inserted must be disabled
Those Bus Terminals that are present in the DP configuration, but that are not in fact plugged in, must be
disabled. This can be done in the UserPrmData [} 39], via DPV1, KS2000 or through the 2-byte PLC
interface.
Making the setting through DPV1 or through the 2-byte PLC interface has the advantage that the terminal
assignment for the multi-configuration mode can usually be made directly from the PLC program, without
having to change the DP configuration of the master.
As long as the inserted Bus Terminals do not agree with the non-disabled Bus Terminals to be expected
from the DP configuration, the Bus Terminal will normally set the Stat_Diag bit in the diagnostic data, with
the consequence that it is not yet ready for cyclic data exchange.
If, however, the enabling and disabling is to be carried out via the 2-byte PLC interface, it is a precondition
for function of the 2-byte PLC interface that the coupler is in cyclic data exchange mode. For that reason it is
also possible to deactivate remaining in the Stat_Diag state:
The assignment of the terminals (a maximum of 128 terminals is possible) is entered from byte 15 to byte 30
and from byte 41 to byte 56 of the UserPrmData [} 39]. Two bits are reserved here for each terminal,
indicating whether the relevant terminal is enabled (value 0) or disabled (value 2). If the UserPrmData is to
be displayed as text in the DP configuration tool, then the parameters Assignment of module x are to be set
to DP DataExchange (enabled) or Multi-Config. mode (disabled).
By default, a maximum of 128 bytes of input data is set on the Bus Coupler.
The maximum lengths of the DP buffers can be changed, although the amount by which a length is
increased has to be subtracted from another, and the sizes must only be modified in 8-byte steps:
By default, a maximum of 128 bytes of output data is set on the Bus Coupler.
The maximum length of the DP buffer can be changed. The amount, however, by which one length is
increased must be taken away from another, and it must be noted that the sizes can only be changed in 8-
byte steps:
By default, a maximum of 64 bytes of configuration data is set on the Bus Coupler. Normally, this is only a
problem in very rare cases. In multi-configuration mode, however, this limit is reached with no more than a
30 digital terminals, because each KLxxxx MultiCfgMode module occupies two bytes in the configuration
data, on top of which there is at least one sum byte for digital inputs or for digital outputs.
The maximum lengths of the DP buffers can be changed, although the amount by which a length is
increased has to be subtracted from another, and the sizes must only be modified in 8-byte steps:
The maximum DP buffer sizes can be modified in Table 100, although it is necessary for the Bus Coupler to
be reset (power off/power on, or a software reset) before the new value is adopted:
Register Description
2 maximum length of input data
3 maximum length of output data
4 maximum length of diagnosis data
5 maximum length of configuration data
The Bus Coupler's reset is carried out automatically if the DP buffers are set using UserPrmData [} 39]:
Production machines often consist of a machine part that is always present in the machine and of machine
extensions that may be added as options. This division also usually applies as well both to the software (the
control program) and to the hardware (the necessary process signals via Beckhoff Bus Terminals)
associated with the machine. A machine, with machine extensions A, B and C, whose process signals are to
be read or output over the PROFIBUS DP through Beckhoff Bus Couplers BK3110, BK3120 or BK3520,
could be structured as follows.
The machine illustrated consists of a controller (e.g. TwinCAT, S7-400, etc.), a PROFIBUS DP master
interface (e.g. FC3101, CP???, etc.) that sends or receives the process signals over the PROFIBUS DP, and
of Bus Couplers with Bus Terminals that form the interface to the machine process. The areas shown in grey
relate to machine parts that are always present. The machine extensions A, B and C are shown in red, green
and blue. It can be seen that each machine extension is associated both with software modules within the
control program and process signals that are connected to the controller via Bus Terminals.
Because the machine builder will not want to maintain eight different control programs for all possible
combinations of the machine extensions, it is helpful if the control program is designed in such a way that the
necessary software modules are activated according to whichever machine extensions are in fact being
used. In order to create a control program suited to all implementation levels of the machine it is however
necessary for the same process signals always to appear at the same addresses in the controller's process
image, independently of which process signals are in fact present in the relevant implementation level. For
conventional DP slaves, a different configuration of the PROFIBUS DP master interface is necessary in such
cases. The following sections explain how this problem can be solved with Beckhoff Bus Couplers, using a
single configuration of the PROFIBUS DP master interface.
The advantage of this solution is that two machine configurations only differ in terms of the hardware used
(machine components and Bus Terminals), but not in terms of the software. If the machine is upgraded, it is
only necessary for the additional Bus Terminals to be inserted and wired-up, and for the relevant extension
to be activated (e.g. via the man-machine interface to the machine). Software changes are no longer
required.
The interfaces between controller, PROFIBUS DP master interface, Bus Coupler and Bus Terminals form
process images, in which the process signals are stored according to certain algorithms.
The process signals of a DP slave (Bus Coupler BK3110, BK3120 or BK3520) are always transferred in a
Data_Exchange telegram, in which the outputs are sent by the DP master and the inputs are received in the
associated telegram response. In the PROFIBUS DP master interface, the process images exchanged with
the Bus Couplers are mapped to the process images of the control according to a mapping rule.
As shown in the two examples in the figure below, the mapping rule in the PROFIBUS DP master interface
changes, depending on which machine extensions are used (there are two examples here).
In order to solve the problem of the changed mapping rule, a facility is provided in the BK3110, BK3120 and
BK3520 Bus Couplers through which the mapping can be carried out in the Bus Coupler (multi-configuration
mode), so that they always exchange the same process image with the PROFIBUS DP master,
independently of the Bus Terminals present:
So that the same process image can always be transferred between the PROFIBUS DP master and the Bus
Coupler, independently of the implementation level of the machine or of the Bus Terminals, the maximum
Bus Terminal implementation for the Bus Coupler is always configured in the PROFIBUS DP master under
multi-configuration mode. This PROFIBUS DP configuration is sent from the PROFIBUS DP master to the
Bus Coupler when the PROFIBUS DP bus is starting up. This then compares the received PROFIBUS DP
configuration with the bus terminals that are actually present.
If the Bus Coupler is not already being operated with the maximum Bus Terminal implementation level, the
PROFIBUS DP configuration will not agree with the Bus Terminal structure that it finds. So that the Bus
Coupler can nevertheless represent the process signals from the connected Bus Terminals in the process
image that is to be exchanged with the PROFIBUS DP master, the mapping rule is now required.
Because the Bus Coupler maps the process signals from the Bus Terminals into the DP process image
according to a fixed algorithm (first complex, then digital terminals, each in the sequence in which they are
plugged in), the only information that is missing is that of which of the Bus Terminals that are included in the
PROFIBUS DP configuration are indeed truly present. This information can be transmitted via the acyclic
DPV1 Write, or through the 2-byte PLC interface for those PROFIBUS DP master interfaces that do not
support PROFIBUS DPV1. The acyclic DPV1 Write is usually available through function blocks (TwinCAT:
ADS-Write, S7 400: SFB 52 (read) and SFB53 (write)) from the controller program. The 2-byte PLC interface
of the Bus Coupler is mapped directly into the controller's process image. As soon as a machine extension is
activated or deactivated, the controller program can therefore activate or deactivate the associated Bus
Terminals.
Fig. 49: Process images of the two different machine configurations with deactivated terminals
If the PROFIBUS DP configuration received does match the Bus Terminal configuration in multi-configuration
mode, the Bus Coupler sets the "static diagnostics" bit in the PROFIBUS DP diagnostic data and delays the
execution of a terminal bus cycle (I/O RUN LED remains off). As soon as the terminal assignment (activated/
not activated) has been written by the PROFIBUS DP master, the Bus Coupler again carries out an
examination of the PROFIBUS DP configuration, and automatically enters cyclic data exchange (the "static
diagnosis" bit in PROFIBUS DP diagnostic data is cleared, and the terminal bus cycle is executed cyclically
(the I/O-RUN LED goes on during the terminal cycle)). Furthermore, the terminal assignment is stored in the
non-volatile memory of the Bus Coupler, so that during a restart of the PROFIBUS DP, the PROFIBUS DP
master does not have to write the terminal configuration again.
8 Appendix
Environmental conditions
Operation
The components may not be used without additional protection in the following locations:
• in difficult environments, such as where there are corrosive vapors or gases, or high dust levels
• in the presence of high levels of ionizing radiation
Component identification
Every supplied component includes an adhesive label providing information about the product's approvals.
For example, on the BK2000:
Fig. 51: Sticker with information about the BK2000 Bus Coupler certification
8.2 Approvals
Underwriter laboratories
UL E172151
Conformity mark
CE
Protection class
8.3 Bibliography
German books
PROFIBUS
• PROFIBUS-DP/DPV1
Basic principles, tips and tricks for users
by Manfred Popp
ISBN: 3778527819
English books
(in preparation)
Standards PROFIBUS-DP
• IEC 61158 and IEC 61784
• DIN 19245, Part 3
• Euronorm EN 50170
Web sites
• https://www.profibus.com
FMS
Freeze mode
GSD file
GSE file
K-bus
Terminal Bus: Internal bus for communication between Bus Coupler and Bus Terminals
PNO
Repeater
PLC
Sync mode
This command makes the slave hold its outputs unchanged until it receives the Sync telegram.
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
Hotline: +49 5246 963 157
Fax: +49 5246 963 9157
e-mail: [email protected]
Beckhoff Service
The Beckhoff Service Center supports you in all matters of after-sales service:
• on-site service
• repair service
• spare parts service
• hotline service
Hotline: +49 5246 963 460
Fax: +49 5246 963 479
e-mail: [email protected]
Beckhoff Headquarters
Huelshorstweg 20
33415 Verl
Germany
Phone: +49 5246 963 0
Fax: +49 5246 963 198
e-mail: [email protected]
web: https://www.beckhoff.com
Table of figures
Fig. 1 BK3120 and LC3100 - Bus Couplers for PROFIBUS DP ............................................................ 9
Fig. 2 BK3150 - Bus Coupler for PROFIBUS DP ................................................................................. 11
Fig. 3 BK3500 and BK3520 - Bus Couplers with optical fiber connection for PROFIBUS DP............... 12
Fig. 4 Spring contacts of the Beckhoff I/O components......................................................................... 17
Fig. 5 Dimensions, using BK3120 and LC3100 as examples................................................................ 18
Fig. 6 Release the locking mechanism by pulling the orange tab.......................................................... 19
Fig. 7 Groove and tongue of the housings............................................................................................. 19
Fig. 8 Standard wiring............................................................................................................................ 20
Fig. 9 Pluggable wiring .......................................................................................................................... 20
Fig. 10 High Density Terminals................................................................................................................ 21
Fig. 11 Connecting a cable on a terminal point ....................................................................................... 22
Fig. 12 Potential groups of a Bus Terminal block .................................................................................... 23
Fig. 13 Power contact on the left ............................................................................................................. 24
Fig. 14 Power supply connections for BKxx00, BKxx10, BKxx20 and LCxxxx........................................ 25
Fig. 15 Power supply connections for BKxx50 and BKxx51 .................................................................... 26
Fig. 16 UL identification ........................................................................................................................... 26
Fig. 17 Potential connection diagram of an EKxxxx ................................................................................ 27
Fig. 18 Pin assignment M12 socket (-B310)............................................................................................ 28
Fig. 19 Pin assignment M12 socket/plug connector (-B318) ................................................................... 28
Fig. 20 Pin assignment of the PROFIBUS D-sub socket......................................................................... 28
Fig. 21 Pin assignment socket/plug connector Fieldbus Box modules.................................................... 29
Fig. 22 PROFIBUS cable assignment ..................................................................................................... 30
Fig. 23 Start-up behaviour of the Bus Coupler ........................................................................................ 39
Fig. 24 KS2000 configuration software.................................................................................................... 48
Fig. 25 TwinCAT System Manager.......................................................................................................... 49
Fig. 26 Configuration of the PROFIBUS DP I/O modules - selection of the PROFIBUS DP master PC
card.............................................................................................................................................. 50
Fig. 27 Configuration of the PROFIBUS DP I/O modules - inserting the bus nodes ............................... 50
Fig. 28 Configuration of the PROFIBUS DP I/O modules - appending the Bus Terminals...................... 51
Fig. 29 Busklemn.bmp ............................................................................................................................. 51
Fig. 30 Busklems.bmp ............................................................................................................................. 51
Fig. 31 Parameter data for the BK3120 ................................................................................................... 52
Fig. 32 Example for entering individual bytes. ......................................................................................... 53
Fig. 33 Example for entering associated bytes........................................................................................ 54
Fig. 34 Example for compact representation of the Bus Terminal KL3312 ............................................. 55
Fig. 35 Example for compact representation of the Bus Terminal KL3312 ............................................. 55
Fig. 36 Output data in the Bus Coupler ................................................................................................... 57
Fig. 37 Input data in the Bus Coupler ..................................................................................................... 57
Fig. 38 Configuration of the K-bus cycle for the DP couplers .................................................................. 58
Fig. 39 K-bus - Slow FreeRun mode (default setting).............................................................................. 58
Fig. 40 K-bus mode fast FreeRun............................................................................................................ 59
Fig. 41 K-bus - standard synchronous mode........................................................................................... 59
Fig. 42 K-bus - synchronous mode with optimized input update (one cycle)........................................... 60
Fig. 43 K-bus - synchronous mode with optimized input update (two cycles) ......................................... 60