Beckhoff Manual
Beckhoff Manual
Table of contents
1 Foreword .................................................................................................................................................... 5
1.1 Notes on the documentation ............................................................................................................. 5
1.2 Safety instructions ............................................................................................................................. 6
1.3 Notes on information security............................................................................................................ 7
1.4 Documentation issue status .............................................................................................................. 8
5 Configuration........................................................................................................................................... 36
5.1 GSDML configuration files .............................................................................................................. 36
5.2 Mapping the Bus Terminals ............................................................................................................ 36
5.3 Configuration example with Step 7 ................................................................................................. 36
8 Appendix .................................................................................................................................................. 48
8.1 General operating conditions .......................................................................................................... 48
8.2 Bibliography .................................................................................................................................... 50
8.3 List of Abbreviations ........................................................................................................................ 50
8.4 Support and Service........................................................................................................................ 51
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.
In addition, the recommendations from Beckhoff regarding appropriate protective measures should be
observed. Further information regarding information security and industrial security can be found in our
https://www.beckhoff.com/secguide.
Beckhoff products and solutions undergo continuous further development. This also applies to security
functions. In light of this continuous further development, Beckhoff expressly recommends that the products
are kept up to date at all times and that updates are installed for the products once they have been made
available. Using outdated or unsupported product versions can increase the risk of cyber threats.
To stay informed about information security for Beckhoff products, subscribe to the RSS feed at https://
www.beckhoff.com/secinfo.
You can determine which firmware was fitted when the Bus Coupler left the factory from the adhesive label
underneath (see the fifth and sixth figures of the production number).
Example: 3200B2020000
The firmware in the example is B2.
The KS2000 configuration software and the corresponding serial cable included with, is required for updating
your firmware.
New firmware versions can be found at https://www.beckhoff.com.
BK9103
Firmware Description
C0 • Supported terminals - KL6781, KL8519, KL8524, KL8528 and KL8548
BF • The record index 0x1010 can be used to deselect a parametrization (= write) of the
K-bus -> e.g. for the IO-Link terminal
BE • Internal buffer for frames increased
BD • Support compact mapping for KL6051
• After a K-bus reset via KS2000 or DAP Ctrl the AR is always disassembled
• Only one LLDP is accepted; the REMMIB is not deleted and a new neighbor is not
accepted until the TTL has elapsed
BC • Reading of the RemPort MIB rectified (via SNMP)
BB • GSDML for Schema V2.3
• MRP client is now supported
• Multiple write is supported
BA • In the event of a pull/plug alarm only the states of the affected modules are set to
BAD/GOOD
B9 • Support of KL6224 (IO-Link master)
B8 • I&M2 and I&M3 supported
B7 • HD terminals included
B6 • KL2791, KL1212, KL2641 implemented
• Step 7 online view supported
B5 • Alias name revised
B4 • LLDP, SNMP implemented
• I&M0, I&M1, I&M4 supported
B3 • Support for all KL terminals
B2 • Support for new Bus Terminals implemented.
• KL3xxx and KL4xxx can now also be entered in compact form.
B0 • First published
BK9053
Firmware Description
• Supported terminals - KL6781, KL8519, KL8524, KL8528 and KL8548
B7 • The record index 0x1010 can be used to deselect a parametrization (= write) of the
K-bus -> e.g. for the IO-Link terminal
B6 • Internal buffer for frames increased
B5 • Support compact mapping for KL6051
• After a K-bus reset via KS2000 or DAP Ctrl the AR is always disassembled
• Only one LLDP is accepted; the REMMIB is not deleted and a new neighbor is not
accepted until the TTL has elapsed
B4 • Reading of the RemPort MIB rectified (via SNMP)
B3 • Support of KL6224 (IO-Link master)
• GSDML for Schema V2.3
B2 • Firmware released
B0 • First publication (preliminary)
2 Product overview
Fig. 1: BK9053
PROFINET is the open Industrial Ethernet-standard of the PNO (PROFIBUS User Organisation).
Internationally established IT standards are used for communication.
PROFINET IO describes data exchange between controllers and field devices. It can be used in standard
Ethernet networks and networked via commercially available switches. Linking to any PROFINET controller
takes place via the GSDML basic device file.
The BK9053 Bus Coupler connects PROFINET with the modular, extendable electronic terminal blocks. A
unit consists of a Bus Coupler, any number (between 1 and 64) of terminals (255 with K-bus extension) and
one end terminal.
The Bus Couplers recognize the terminals to which they are connected, and perform the assignment of the
inputs and outputs to the words of the process image automatically.
Fig. 2: BK9103
The BK9103 Bus Coupler connects PROFINET with the modular, extendable electronic terminal blocks. A
unit consists of a Bus Coupler, any number (between 1 and 64) of terminals, and a bus end terminal (255
Bus Terminals with Terminal Bus extension).
The Bus Couplers recognize the terminals to which they are connected, and perform the assignment of the
inputs and outputs to the words of the process image automatically.
The BK9103 Bus Coupler supports 10 Mbit/s and 100 Mbit/s Ethernet. Connection is through normal RJ 45
connectors. The IP address is set on a DIP switch (the offset from a freely selectable start address). In
networks with DHCP (a service for the allocation of the logical IP address to the physical node address
(MAC-ID)) the Bus Coupler obtains its IP address from the DHCP server.
The BK9103 has an additional RJ-45 port. Both Ethernet ports operate as 2-channel switches. The I/O
stations can thus be configured with a line topology, instead of the classic star topology. In many
applications; this significantly reduces the wiring effort and the cabling costs. The maximum distance
between two couplers is 100 m. Up to 20 BK9103 Bus Couplers are cascadable, so that a maximum line
length of 2 km can be achieved.
The BK9000 Bus Coupler supports operation of all K-Bus Terminals. As far as the user is concerned, the
inputs and outputs are not handled any differently from the way they are by other coupler series. The
information is made available for use as a byte array in the process image of the automation device.
The KS2000 configuration software allows the analog and multifunctional Bus Terminals to be adapted to the
specific application. Depending on the particular type, the registers in the analog Bus Terminals contain
temperature ranges, amplification factors and linearization curves. The KS2000 software can be used to set
the desired paramétrisation via the PC. The Bus Terminal stores the setting permanently, even if the voltage
supply fails. Having the controller (PLC, IPC) carry out the configuration of the Bus Terminals is a further
option. The PLC or IPC uses function blocks (FB) to take care of the configuration of all the peripherals
during the start-up phase. The controller can, if required, upload the non-centrally generated configuration
data in order to manage and store them centrally. This means that it is not necessary to carry out the setting
procedure again if a Bus Terminal is exchanged. The controller carries out the desired setting automatically
after switching on.
Bus Coupler
Technical data BK9053 BK9103
Number of Bus Terminals 64 (255 with K-bus extension)
Digital peripheral signals 512 inputs/outputs 512 inputs/outputs
Analog peripheral signals 256 inputs/outputs 256 inputs/outputs
Protocols PROFINET RT (class B)
TCP-ADS for access via Ethernet with KS2000 configuration software
Configuration possibility Via the KS2000 configuration software or the controller
Maximum number of bytes 512 bytes of input data and 512 bytes of output data
Bus connection 1 x RJ45 2 x RJ45
Power supply 24 VDC (-15%/+20%)
Current consumption 70 mA + (total K bus current)/4, max. 500 mA
Starting current approx. 2.5 x continuous current
K-Bus power supply up to 1750 mA
Power contact voltage maximal 24 VDC
Power contact current load maximal 10 A
Dielectric strength 500 V (power contact/supply voltage/Ethernet/fieldbus)
Recommended fuse ≤ 10 A
Weight approx. 100 g approx. 170 g
Mounting [} 18] on 35 mm mounting rail conforms to EN 60715
Permissible ambient temperature range dur- 0 °C ... +55 °C -25 °C ... +60 °C
ing operation
Permissible ambient temperature range dur- -25 °C ... +85 °C -40 °C ... +85 °C
ing storage
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
Installation position variable
Protection class IP20
Approvals/markings* CE, UKCA, cULus, EAC, ATEX [} 25] CE, UKCA, cULus, EAC, GL ATEX [} 26]
*) Real applicable approvals/markings see type plate on the side (product marking).
Ex marking
Standard Marking
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.
3.2 Dimensions
The system of the Beckhoff Bus Terminals 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 mechanical dimensions of the Bus Couplers are independent of the fieldbus system.
Fig. 5: Dimensions
The total width in practical cases is composed of the width of the Bus Coupler, the KL9010 Bus End
Terminal and the width of the bus terminals in use. Depending on function, the Bus Terminals are 12 or
24 mm wide. The front wiring increases the total height of 68 mm by about 5 to 10 mm, depending on the
wire thickness.
Mechanical data BKxxxx BKxx50 BXxxxx LCxxxx
BCxxxx BCxx50
Design form compact terminal housing with signal LED
Material Polyamide Polyamide Polycarbonate Polyamide
(PA 6.6) (PA 6.6) (PA 6.6)
Dimensions (W x H x D) 49 x 100 x 68 mm 44 x 100 x 68 mm 81 (BX8000 61) x 100 x 21 x 100 x 68 mm
89 mm
Mounting on 35 mm C-rail in accordance with EN 60715 with latching
Stackable by Double groove-tongue connection
Labelling Standard terminal block labelling
Vibration/shock conforms to EN 60068-2-6 / EN 60068-2-27
resistance
EMC immunity/ conforms to EN 61000-6-2 / EN 61000-6-4
emission
Mounting
The Bus Couplers and Bus Terminals are attached to commercially available 35 mm mounting rails (DIN rail
according to EN 60715) by applying slight pressure:
Disassembly
Each terminal is secured by a lock on the mounting rail, which must be released for disassembly:
1. Carefully pull the orange-colored lug approximately 1 cm out of the terminal to be disassembled, until
it protrudes loosely. The lock with the mounting rail is now released for this terminal, and the terminal
can be pulled from the mounting rail without excessive force.
2. Grasp the released terminal with thumb and index finger simultaneous at the upper and lower grooved
housing surfaces and pull the terminal away from the mounting rail.
The electric connections between the Bus Coupler and the Bus Terminals are automatically realized by
joining the components:
• The six spring contacts of the K-Bus/E-Bus deal with the transfer of the data and the supply of the Bus
Terminal electronics.
• The power contacts deal with the supply for the field electronics and thus represent a supply rail within
the Bus Terminal block. The power contacts are supplied via terminals on the Bus Coupler.
Power contacts
During the design of a Bus Terminal block, the pin assignment of the individual Bus Terminals must
be taken account of, since some types (e.g. analog Bus Terminals or digital 4-channel Bus Termi-
nals) do not or not fully loop through the power contacts. Power Feed Terminals (KL91xx, KL92xx
and EL91xx, EL92xx) interrupt the power contacts and thus represent the start of a new supply rail.
PE power contact
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.
NOTE
Risk of damage to the device
Note that, for reasons of electromagnetic compatibility, the PE contacts are capacitatively coupled to the
mounting rail. This may lead to incorrect results during insulation testing or to damage on the terminal (e.g.
disruptive discharge to the PE line during insulation testing of a consumer with a nominal voltage of 230 V).
For insulation testing, disconnect the PE supply line at the Bus Coupler or the Power Feed Terminal! In or-
der to decouple further feed points for testing, these Power Feed Terminals can be released and pulled at
least 10 mm from the group of terminals.
WARNING
Risk of electric shock!
The PE power contact must not be used for other potentials!
Wiring
Up to eight connections enable the connection of solid or finely stranded cables to the Bus Terminals. The
terminals are implemented in spring force technology. Connect the cables as follows:
1. Open a spring-loaded terminal by slightly pushing with a screwdriver or a rod into the square opening
above the terminal.
2. The wire can now be inserted into the round terminal opening without any force.
3. The terminal closes automatically when the pressure is released, holding the wire safely and perma-
nently.
Shielding
Analog sensors and actuators should always be connected with shielded, pair-wise twisted cables.
3.4 Disposal
Products marked with a crossed-out wheeled bin shall not be discarded
with the normal waste stream. The device is considered as waste
electrical and electronic equipment. The national regulations for the
disposal of waste electrical and electronic equipment must be observed.
The Bus Couplers require a 24 VDC supply for their operation. The connection is made by means of the upper
spring-loaded terminals labelled 24 V and 0 V. The supply voltage feeds the Bus Coupler electronics and,
over the K-Bus/E-Bus, the Bus Terminals. The power supply for the Bus Coupler electronics and that of the
K-Bus/E-Bus are electrically separated from the potential of the field level.
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 feed for the power contacts has no
connection to the voltage supply for the Bus Coupler. The design of the feed permits voltages of up to 24 V.
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 drawn from the power contacts 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
On the right hand face of the Bus Coupler there are three spring contacts for the power contact connections.
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 and groove guides on the top and bottom of the Bus Coupler and of the Bus Terminals
guarantees that the power contacts mate securely.
The standard Bus Couplers have an RS232 interface at the bottom of the front face. The miniature connector
can be joined to a PC with the aid of a connecting cable and the KS2000 configuration software. The
interface permits the Bus Terminals to be configured, for example adjusting the amplification factors of the
analog channels. The interface can also be used to change the assignments of the bus terminal data to the
process image in the Bus Coupler. The functionality of the configuration interface can also be reached via
the fieldbus using string communication facility.
Electrical isolation
The bus couplers operate by means of three independent potential groups. The supply voltage feeds the K-
Bus/E-Bus electronics in the Bus Coupler and the K-Bus/E-Bus itself in an electrically isolated manner. The
supply voltage is also used to generate the operating voltage for the fieldbus.
Note: All Bus Terminals are electrically isolated from the K-Bus/E-bus. The K-Bus/E-bus is therefore
completely electrically isolated.
Cabling
Connect the PC's network card to the hub using a standard Ethernet cable, and connect the hub, again using
a standard Ethernet cable, to the Bus Terminal controller. Connection via a switch is done in the same way.
A standard Ethernet cable must be used for connecting the PC directly with the Bus Terminal Controller.
Since the BK9053 has only one port, a conventional star topology must be used.
BK9103
The BK9103 features an internal triple switch with two external ports and one internal port. The internal
switch facilitates creation of a line topology. A maximum of 20 BK9103s can be connected in series in a
physical line. The maximum distance between two BK9103s is 100 m. The maximum overall line length is
therefore 2 km. No further switch may be included in this line.
The BK9103 also enables a classic star topology to be set up. In this case the second port is not used. Both
port interfaces are equivalent.
10Base5
The transmission medium for 10Base5 consists of a thick coaxial cable ("yellow cable") with a max.
transmission speed of 10 Mbaud arranged in a line topology with branches (drops) each of which is
connected to one network device. Because all the devices are in this case connected to a common
transmission medium, it is inevitable that collisions occur often in 10Base5.
10Base2
10Base2 (Cheaper net) is a further development of 10Base5, and has the advantage that the coaxial cable is
cheaper and, being more flexible, is easier to lay. It is possible for several devices to be connected to one
10Base2 cable. It is frequent for branches from a 10Base5 backbone to be implemented in 10Base2.
10BaseT
Describes a twisted pair cable for 10 Mbaud. The network here is constructed as a star. It is no longer the
case that every device is attached to the same medium. This means that a broken cable no longer results in
failure of the entire network. The use of switches as star couplers enables collisions to be reduced. Using
full-duplex connections they can even be entirely avoided.
100BaseT
Twisted pair cable for 100 Mbaud. It is necessary to use a higher cable quality and to employ appropriate
hubs or switches in order to achieve the higher data rate.
10BaseF
Twisted-pair copper cable for star topologies, where the distance between two devices may not exceed 100
meters.
UTP
S/UTP
FTP
S/FTP
Screened/foiled-shielded twisted pair (screened with copper braid and aluminium foil)
Has a laminated aluminium screen with a copper braid on top. Such cables can provide up to 70 dB
reduction in interference power.
STP
S/STP
ITP
Industrial Twisted-Pair
The structure is similar to that of S/STP, but, in contrast to S/STP, it has only one pair of conductors.
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:
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:
The Bus Coupler can be made to enter the normal operating state by switching it on again once the fault has
been rectified.
BK9103
• Right switch position: OFF
• Left switch position: ON
The device is PROFINET-compliant if DIP switches 18 are OFF and DIP switches 9 and 10 are ON. All other
modes are available as options.
BK9053
• Right switch position: ON
• Left switch position: OFF
The device is PROFINET-compliant if DIP switches 18 are OFF and DIP switches 1 and 2 are ON. All other
modes are available as options.
Key
PN - Profinet
SNM - SubNetMask
DHCP - Dynamic Host Configuration Protocol
DNS - Domain Name Server
Unique IP address
An IP address must be unique within the entire connected network!
In order to see the PC's own address, the command ipconfig can be entered into a DOS window under
Windows NT/2000/XP.
4.4 IP address
Usually the IP address is specified by the PROFINET controller and therefore does not need to be set in the
bus coupler. The bus couplers are addressed via the PROFINET-Name which can be set using various
procedures (see DIP switch settings [} 29]).
In exceptional cases it makes sense to give the bus coupler an IP address in advance (without connecting
PROFINET), e.g. to access the couplers via KS2000 Software and Ethernet.
Table 100
Default
Sample
Switch no. 1 2 3 4 5 6 7 8 9 10
Valence 1 2 4 8 16 32 64 128 - -
In this example ON OFF OFF ON OFF OFF ON ON OFF OFF
Value 1 0 0 8 0 0 64 128 - - Total=201
Software reset
A software reset is required to save changes in the Bus Coupler tables. A hardware reset (power
on/off) is not sufficient!
The address assigned by the BootP server is stored, and the BootP service will not be restarted after the
next cold start.
The address can be cleared again by reactivating the manufacturers' settings (using the KS2000 software or
by DIP switch and end terminal).
The IP address assigned by the BootP server is only valid until the Bus Coupler is switched off. The BootP
server must assign a new IP address to the Bus Coupler at the next cold start.
The address is, however, retained through a software reset of the Bus Coupler.
Beckhoff supply a BootP server for Windows 98, ME, NT4.0, NT2000 and XP. The installation version of the
Beckhoff TwinCAT CD can be found under the folder >Unsupported Utilities< or under http://
download.beckhoff.com/.
As soon as the BootP server has started, the New MAC Address window shows all the Beckhoff nodes that
are working in BootP mode and still have not received an IP address. The assignment of the MAC-ID to IP
address is made with the "<<" button. Successful assignment is displayed in the log window.
To start the BootP server automatically when your PC boots, it is only necessary to provide a shortcut in the
Windows autostart folder. Include the /Start parameter in the shortcut (.../TcBootPDlg.exe/start).
In this state the DHCP service is switched on, and the Bus Coupler is assigned an IP address by the DHCP
server.
The DHCP server must know the MAC ID of the Bus Coupler and should assign the same IP address to this
MAC ID on each startup.
The TCP/IP error LED flashes while the address is being allocated.
Small networks without a router do not require a subnet mask. The same is true if you do not use registered
IP numbers. A subnet mask can be used to subdivide the network with the aid of the mask instead of using a
large number of network numbers.
Address class Standard subnet mask (decimal) Standard subnet mask (hex)
A 255.0.0.0 FF.00.00.00
B 255.255.0.0 FF.FF.00.00
C 255.255.255.0 FF.FF.FF.00
5 Configuration
For digital Bus Terminals at least one byte is reserved in all cases.
Example: KL1xx2 2 digital inputs, 8 bit, with the first two bits 0-1 reserved for the terminal. Bits 2-7 are not
used.
Complex Bus Terminals are represented with an input and output process image.
Sample: KL3001 1 analog input 1 Byte Control or Status Information, one empty byte, 2 Byte Data.
To this end open the hardware manager. Install the GSDML file.
Add a BK9103 as a node in your Manager, then add the terminals according to your configuration.
Fig. 19: Step 7 - adding the BK9103 Bus Coupler and the Bus Terminals according to the configuration
Enter the name of the PN device, e.g. bk9103-1 (bk must be lower case).
Set DIP switches 1, 9 and 10 of the BK9103 to ON and all others to OFF, then switch on the Coupler).
The configuration will now look as follows, for example. Load the configuration into your control system.
6 Fieldbus system
There are now a number of quite different transmission media: coaxial cable (10Base5), optical fiber
(10BaseF) or twisted pairs (10BaseT) with screen (STP) or without screen (UTP). A variety of topologies
such as ring, line or star can be constructed with Ethernet.
Ethernet transmits Ethernet packets from a sender to one or more receivers. This transmission takes place
without acknowledgement, and without the repetition of lost packets. To achieve reliable data
communication, there are protocols, such as TCP/IP, that can run on top of Ethernet.
Basic principles
The internet protocol (IP) forms the basis of this data communication. IP transports data packets from one
device to another; the devices can be in the same network, or in different networks. IP here looks after the
address management (finding and assigning MAC-IDs), segmentation and routing. Like the Ethernet
protocol, IP does not guarantee that the data is transported - data packets can be lost, or their sequence can
be changed.
TCP/IP was developed to provide standardized, reliable data exchange between any numbers of different
networks. TCP/IP is thus substantially independent of the hardware or software being used. Although the
term is often used as if it were a single concept, a number of protocols are layered together: e.g. IP, TCP,
UDP, ARP and ICMP.
The Transmission Control Protocol (TCP) which runs on top of IP is a connection-oriented transport protocol.
It includes error detection and error handling mechanisms. Lost telegrams are repeated.
UDP is connectionless transport protocol. It provides no control mechanism when exchanging data between
sender and receiver. This results in a higher processing speed than, for example, TCP. Checking whether or
not the telegram has arrived must be carried out by the higher-level protocol.
It is used by end devices, to exchange information about the current status of the internet protocol.
BootP
The BootP protocol allows the TCP/IP address to be set or altered, by addressing the network device with its
MAC-ID.
6.2 Ethernet
Ethernet was originally developed by DEC, Intel and XEROX (as the "DIX" standard) for passing data
between office devices. The term nowadays generally refers to the IEEE 802.3 CSMA/CD specification,
published in 1985. Because of the high acceptance around the world this technology is available everywhere
and is very economical. This means that it is easy to make connections to existing networks.
There are now a number of quite different transmission media: coaxial cable (10Base5), optical fiber
(10BaseF) or twisted pairs (10BaseT) with screen (STP) or without screen (UTP). Coaxial cable (10Base5),
optical fiber (10BaseF) or twisted pairs (10BaseT) with screen (STP) or without screen (UTP).
Ethernet transmits Ethernet packets from a sender to one or more receivers. This transmission takes place
without acknowledgement, and without the repetition of lost packets. To achieve reliable data
communication, there are protocols, such as TCP/IP, that can run on top of Ethernet.
MAC-ID
The sender and receiver of Ethernet packets are addressed by means of the MAC-ID. The MAC-ID is a 6
byte identification code unique to every Ethernet device in the world. The MAC-ID consists of two parts. The
first part (i.e. the first 3 bytes) is a manufacturer identifier. The identifier for Beckhoff is 00 01 05. The next 3
bytes are assigned by the manufacturer and implement a unique serial number. The MAC-ID can, for
example, be used for the BootP protocol in order to set the TCP/IP number. This involves sending a
telegram containing the information such as the name or the TCP/IP number to the corresponding node. You
can read the MAC-ID with the KS2000 configuration software.
The internet protocol (IP) forms the basis of this data communication. IP transports data packets from one
device to another; the devices can be in the same network, or in different networks. IP here looks after the
address management (finding and assigning MAC-IDs), segmentation and routing. Like the Ethernet
protocol, IP does not guarantee that the data is transported - data packets can be lost, or their sequence can
be changed.
TCP/IP was developed to provide standardized, reliable data exchange between any numbers of different
networks. TCP/IP was developed to provide standardized, reliable data exchange between any numbers of
different networks. Although the term is often used as if it were a single concept, a number of protocols are
layered together: z. B. IP, TCP, UDP, ARP and ICMP.
The Transmission Control Protocol (TCP) which runs on top of IP is a connection-oriented transport protocol.
It includes error detection and handling mechanisms. Lost telegrams are repeated.
UDP is connectionless transport protocol. It provides no control mechanism when exchanging data between
sender and receiver. This results in a higher processing speed than, for example, TCP. Checking whether or
not the telegram has arrived must be carried out by the higher-level protocol.
Both of these protocols are implemented in parallel on the Bus Coupler, so that no configuration is needed to
activate the protocols.
ADS can be used on top of either TCP or UDP, but ModbusTCP is always based on TCP/IP.
6.3 Topology
In 10BaseT and 100BaseT a number of stations are star connected according to the Ethernet standard.
Star topology
The simplest form of a star LAN consists of a single point-to-point connection. All messages pass via a
central node (the hub or switch), which then passes the information to the desired device according to the
destination address.
Tree topology
A tree topology consists of a number of connected star networks. As soon as the network contains a number
of hubs or switches, the topology is classified as a tree. Ideally the connections between the star couplers
have a particularly wide bandwidth, since these transport the most traffic. When constructing tree topologies,
the repeater rule must be observed. This is also known as the 5-4-3 repeater rule. There must be no more
than two pairs of repeaters (or of hubs) in the transmission path between any two stations, unless they are
separated by bridges, switches or routers. A transmission path may consist of at most five segments and
four repeater sets (two repeater pairs). Up to three of these segments may be coaxial segments to which the
stations are connected. The remaining segments must consist of point-to-point connections; these are also
known as IRL (inter repeater link) connections.
Cabling guidelines
Structured cabling provides general guidelines for constructing the cabling for a LAN. It specifies maximum
permitted cable lengths for the wiring within the grounds, building or floor. Standardized in EN 50173, ISO
11801 and TIA 568-A, structured cabling provides the basis for an advanced, application-independent and
economical network infrastructure. The wiring standards are applicable to a range defined as having a
geographical extent of up to 3 km and an office area of up to one million sq meters, with between 50 and
50,000 end devices. Recommendations for the structure of a cabling system are also given. The figures can
vary, depending on the topology selected, the transmission media and coupling modules used under
industrial conditions, and on the use of components from various manufacturers in one network. The given
figures should therefore only be considered as recommendations.
The Bus Coupler has two groups of LEDs for the display of status. The upper group with four LEDs indicates
the status of the respective fieldbus. The significance of the fieldbus status LEDs is explained in the
appropriate sections of this manual. It corresponds to the usual fieldbus display.
On the upper right hand side of the Bus Couplers 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.
LED Meaning
LED Us off the power supply voltage, Us, is not present
on the power supply voltage, Us, is present
LED Up off Supply voltage Up (for power contacts) not available
on Supply voltage Up (for power contacts) available
LEDs at RJ45
LED Meaning
LED Link/Act off No physical connection present
on Physical connection present
flashing Communication available
LED 10/100 Mbaud off 10 Mbaud (if LED Link/Act is lit or flashes)
(only BK9103) on 100 Mbaud
Configuration Diagnose PN Err (red) PN Run (green) DIAG E (red) DIAG R (green)
OK x x off on
Wrong module x x Slot number 1
Missing module (physical) x x Slot number 2
Missing module (in the configuration) x x Slot number 3
No PROFINET name assigned x x 0 4
Substitute x x Slot number 5
Note:
• In the event of several errors the last faulty module is displayed.
• Substitute is set for incorrectly configured modules that are nevertheless executable (example: KL2xx2
was configured but KL2xx4 was inserted in the slot)
Sample
You have configured a KL2xx4 for the fifth slot, but in fact only four modules are inserted.
• Start Error Code: Red DIAG E LED flickers rapidly, green DIAG R LED is off
• Red DIAG E LED is on, green LED shows the error code and flashes twice (0.5 sec)
• Red and green LED off
• Red DIAG E LED shows the error argument and flashes 5 times (0.5 sec, in this case the slot number),
green LED is off
Legend
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. 27: Sticker with information about the BK2000 Bus Coupler certification
8.2 Bibliography
TCP/IP
TCP/IP (German)
Aufbau und Betrieb eines TCP/IP Netzes (Structure and Operation of a TCP/IP Network)
by Kevin Washburn and Jim Evans
Publisher: ADDISON-WESLEY Longmann Verlag
TCP/IP (English)
Illustrated, Volume1 The Protocols
by W. Richard Stevens
Publisher: ADDISON-WESLEY Longmann Verlag
Modbus/TCP
http://www.modicon.com/
http://www.modbus.org
TwinCAT
IP (20)
IPC
Industrial PC
I/O
K-bus
Terminal bus
KS2000
Configuration software for Bus Terminals, Bus Couplers, Bus Terminal Controllers, fieldbus box modules,
etc.
PE
TwinCAT
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: support@beckhoff.com
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: service@beckhoff.com
Beckhoff Headquarters
Huelshorstweg 20
33415 Verl
Germany
Phone: +49 5246 963 0
Fax: +49 5246 963 198
e-mail: info@beckhoff.com
web: https://www.beckhoff.com
Table of figures
Fig. 1 BK9053 ........................................................................................................................................ 10
Fig. 2 BK9103 ........................................................................................................................................ 11
Fig. 3 The principle of the Bus Terminal ................................................................................................ 15
Fig. 4 Spring contacts of the Beckhoff I/O components ......................................................................... 16
Fig. 5 Dimensions .................................................................................................................................. 17
Fig. 6 Electrical isolation ........................................................................................................................ 20
Fig. 7 RJ45 connector ............................................................................................................................ 21
Fig. 8 Ethernet connection from PC to BK910x via a switch.................................................................. 21
Fig. 9 Direct Ethernet connection from PC to BK910x ........................................................................... 21
Fig. 10 Ethernet topology with several BK9103 in two lines .................................................................... 22
Fig. 11 Start-up behaviour of the Bus Coupler......................................................................................... 28
Fig. 12 DIP switches of the BK9103......................................................................................................... 29
Fig. 13 DIP switches of the BK9053......................................................................................................... 29
Fig. 14 Network classes ........................................................................................................................... 31
Fig. 15 DIP switch .................................................................................................................................... 32
Fig. 16 Configuration of the Beckhoff BootP server ................................................................................. 33
Fig. 17 Testing the IP address using the Ping command......................................................................... 35
Fig. 18 Step 7 - installing the GSDML file ................................................................................................ 36
Fig. 19 Step 7 - adding the BK9103 Bus Coupler and the Bus Terminals according to the configura-
tion ............................................................................................................................................... 37
Fig. 20 Step 7 - enter the name for the PROFINET device...................................................................... 37
Fig. 21 Step 7 - display of the configuration in the controller ................................................................... 38
Fig. 22 User Datagram Protocol (UDP).................................................................................................... 41
Fig. 23 Protocols running on top of TCP/IP and UDP/IP.......................................................................... 41
Fig. 24 LEDs of Bus Couplers BK9053 and BK9103 ............................................................................... 43
Fig. 25 Example for Error Code and Error Argument............................................................................... 44
Fig. 26 Control DWord (output word of the PLC) ..................................................................................... 47
Fig. 27 Sticker with information about the BK2000 Bus Coupler certification .......................................... 49