Beckoff BK9105 Completo - 3
Beckoff BK9105 Completo - 3
Documentation for
First Steps
Mapping Calculator
Version: 1.3.0
Date: 2011-02-22
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.
For that reason the documentation is not in every case checked for consistency with performance data, standards or other characteristics.
In the event that it contains technical or editorial errors, we retain the right to make alterations at any time and without warning.
No claims for the modification of products that have already been supplied may be made on the basis of the data, diagrams and descriptions in this
documentation.
Trademarks
Beckhoff®, TwinCAT®, EtherCAT®, Safety over EtherCAT ®, TwinSAFE® and XFC® are registered trademarks of and licensed by Beckhoff Automation
GmbH.
Other designations used in this publication may be trademarks whose use by third parties for their own purposes could violate the rights of the owners.
Patent Pending
The EtherCAT Technology is covered, including but not limited to the following patent applications and patents:
EP1590927, EP1789857, DE102004044764, DE102007017835
with corresponding applications or registrations in various other countries.
The TwinCAT Technology is covered, including but not limited to the following patent applications and patents:
EP0851348, US6167425 with corresponding applications or registrations in various other countries.
Copyright
© Beckhoff Automation GmbH.
The reproduction, distribution and utilization of this document as well as the communication of its contents to others without express authorization are
prohibited.
Offenders will be held liable for the payment of damages. All rights reserved in the event of the grant of a patent, utility model or design.
Safety instructions
Safety rules
Consider the following safety instructions and descriptions!
Product specific safety instructions are to be found on the following pages or in the areas mounting, wiring, commissioning etc.
Disclaimer
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.
Personnel qualification
This description is only intended for the use of trained specialists in control, automation and drive engineering who are familiar with the applicable national
standards.
Description of symbols
The following symbols with a adjoining safety advise or notice are used in this documentation. You have to read the safety advices carefully and adhere them
strictly!
If you do not adhere the safety advise adjoining this symbol, there is immediate danger to life and health of individuals!
DANGER
Risk of injury!
If you do not adhere the safety advise adjoining this symbol, there is danger to life and health of individuals!
WARNING
Hazard to individuals!
If you do not adhere the safety advise adjoining this symbol, there is obvious hazard to individuals!
CAUTION
Hazard to devices and environment
If you do not adhere the notice adjoining this symbol, there is obvious hazard to materials and environment.
Attention
Note or pointer
Firmware notes
BK9105
Determine which firmware was fitted when the Bus Coupler left the factory by checking the adhesive label underneath the bus coupler (see the
fifth and sixth figures of the production number).
Example:
3200B2020000
The firmware in this example is B2.
In order to update your firmware, you require the KS2000 configuration software and the serial cable included with that software. You will find the firmware
under www.beckhoff.com.
Firmware Description
B5 DIP-Switch Settings
B3 New: K-Bus Counter
B2 First release
BK9055 - Introduction
The Compact BK9055 Bus Coupler connects EtherNet/IP with the modular, extendable electronic terminal blocks. One unit consists of one Bus Coupler, any
number from 1 to 64 terminals (255 with K-bus extension) and one end terminal.
The Bus Coupler recognizes the terminals to which it is connected, and performs the assignment of the inputs and outputs to the words of the process image
automatically. The BK9055 Bus Coupler supports 10 Mbit/s and 100 Mbit/s Ethernet. Connection is through normal RJ 45 connectors. The IP address is set on
the DIP switch (offset to 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.
Ethernet/IP is the Industrial Ethernet standard of ODVA (Open DeviceNet Vendor Association). Ethernet/IP is based on Ethernet TCP/IP and UDP/IP – IP
stands for Industrial Protocol. Essentially, the CIP (Common Industrial Protocol) used in ControlNet and DeviceNet was ported to Ethernet TCP/IP and UDP/IP.
The BK9000 and BK9050 Bus Couplers support the operation of all Bus Terminal types.
The analog and multi-functional Bus Terminals can be adapted to each specific application using the KS2000 configuration set. Depending on the type, the
analog Bus Terminals' registers contain temperature ranges, gain values and linearization characteristics. With the KS2000, the required parameters can be set on
a PC. The Bus Terminals store settings permanently and in a fail-safe manner.
Optionally, the Bus Terminals can also be controlled by the control system. Via function blocks (FBs), the programmable logic controller (PLC) or the Industrial
PC (IPC) handles configuration of the complete periphery during the start-up phase. If required, the controller can upload the decentrally created configuration
data in order to centrally manage and store this data. Therefore, new adjustments are not necessary in the event of replacement of a Bus Terminal. The controller
carries out the desired setting automatically after switching on.
BECKHOFF BK9105: Product overview
BK9105 - Introduction
The BK9105 Bus Coupler connects EtherNet/IP with the modular, extendable electronic terminal blocks. One unit consists of one Bus Coupler, any number
from 1 to 64 terminals (255 with K-bus extension) and one end terminal.
The Bus Coupler recognizes the terminals to which it is connected, and performs the assignment of the inputs and outputs to the words of the process image
automatically. The BK9105 Bus Coupler supports 10 Mbit/s and 100 Mbit/s Ethernet. Connection is through normal RJ 45 connectors. The IP address is set on
the DIP switch (offset to 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 BK9105 contains a 3-port switch. Two ports operate external on RJ 45 connectors and can be utilized. 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 BK9105 Bus Couplers are cascadable, so that a maximum line length of 2 km can be achieved.
Ethernet/IP is the Industrial Ethernet standard of ODVA (Open DeviceNet Vendor Association). Ethernet/IP is based on Ethernet TCP/IP and UDP/IP – IP
stands for Industrial Protocol. Essentially, the CIP (Common Industrial Protocol) used in ControlNet and DeviceNet was ported to Ethernet TCP/IP and UDP/IP.
The BK9105 Bus Coupler supports the operation of all Bus Terminal types.
The analog and multi-functional Bus Terminals can be adapted to each specific application using the KS2000 configuration set. Depending on the type, the
analog Bus Terminals' registers contain temperature ranges, gain values and linearization characteristics. With the KS2000, the required parameters can be set on
a PC. The Bus Terminals store settings permanently and in a fail-safe manner.
Optionally, the Bus Terminals can also be controlled by the control system. Via function blocks (FBs), the programmable logic controller (PLC) or the Industrial
PC (IPC) handle configuration of the complete periphery during the start-up phase. If required, the controller can upload the decentrally created configuration
data in order to centrally manage and store this data. Therefore, new adjustments are not necessary in the event of replacement of a Bus Terminal. The controller
carries out the desired setting automatically after switching on.
Technical data
System
System data EtherNet/IP
Number of I/O modules only limited by the IP address space
Number of I/O points depending on the controller
Data transfer medium twisted pair copper cable, 4 x 2, shielded, category 5 (100 Mbaud), category 3 (10 MBaud)
Distance between modules 100 m
Data transfer rate 10/100 MBaud
Topology line or star wiring
Cascading up to 20 BK9105 or max. line length 2 km
Bus Coupler
Technical data BK9055 BK9105
Number of Bus Terminals 64 (255 with K-Bus extension) 64
Digital peripheral signals 512 byte input and 512 byte output 256 byte input and 256 byte output
Analog peripheral signals 128 inputs and 128 outputs
Protocol EtherNet/IP
Configuration possibility Via the KS2000 configuration software or the controller (TwinCAT)
Maximum number of bytes 512 bytes of input data and 512 bytes of output data
Bus connection 1 x RJ 45 2 x RJ 45 (2 Port Switch)
Power supply 24 VDC (-15%/+20%)
Input current 70 mA + (total K-Bus current)/4
Starting current app. 2.5 x continuous current
Recommended fuse 10 A
K-Bus power supply up to 1750 mA 1750 mA
Power contact voltage max. 24 VDC
Power contact current load max. 10 A
Dielectric strength 500 V (power contact / supply voltage / fieldbus)
Weight app. 100 g app. 170 g
Assembly on 35 mm mounting rail according to EN 50022
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, EN 60068-2-29
EMC resistance burst / ESD conforms to EN 61000-6-2 / EN 61000-6-4
Installation position variable
Protection class IP20
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. For each technical signal form, terminals are available each having two I/O
channels, and these can be mixed in any order. 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 easy, space-saving, assembly on a standardized mounting rail (EN 50022, 35 mm), and the direct wiring of actuators and sensors, without cross -connections
between the terminals, standardizes the installation. The consistent labelling scheme also contributes.
The small physical size and the great flexibility of the Bus Terminal system allows 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 terminals can be used within one terminal strip. 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.
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). 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)
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 number 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.
BECKHOFF Fieldbus Components: Installation and wiring
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.
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.
BKxxxx BKxx50
Mechanical data BXxxxx LCxxxx
BCxxxx BCxx50
Design form compact terminal housing with signal LED
Polyamide Polyamide Polyamide
Material Polycarbonate
(PA 6.6) (PA 6.6) (PA 6.6)
81 (BX8000 61) x 100 x
Dimensions (W x H x D) 49 x 100 x 68 mm 44 x 100 x 68 21 x 100 x 68
89 mm
Assembly on 35 mm C-rail in accordance with EN 50022 with latching
Stackable by Double groove-tongue connection
Labelling Standard terminal block labelling
Vibration / shock resistance conforms to EN 60068-2-6/EN 60068-2-27/ 29
EMC resistance burst / ESD conforms to EN 61000-6-2 / EN 61000-6-4
BKxxxx BKxx50
Connection BXxxxx LCxxxx
BCxxxx BCxx50
Wiring Cage Clamp® spring-loaded system
Connection cross-section 0.08 mm²... 2.5 mm², stranded, solid wire, 28-14 AWG
Fieldbus connection depending on fieldbus spring-loaded terminals
Power contacts 3 spring contacts
Current loading IMAX 10 A (125 A short circuit)
Nominal voltage 24 V DC
Assembly
The Bus Coupler and Bus Terminals are attached to commercially available 35 mm mounting rails (DIN rails according to EN 50022) by applying slight
pressure:
During the installation of the Bus Terminals, the locking mechanism of the terminals must not come into conflict with the fixing bolts of the mounting rail.
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 disassembled terminal, 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 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 Terminals) do not or not fully loop through the power contacts.
Note Power Feed Terminals (KL91xx, KL92xx or EL91xx, EL92xx
PE power contact
The power contact labeled 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.
Attention For insulation testing, disconnect the PE supply line at the Bus Coupler or the Power Feed Terminal! In order to decouple further feed points
for testing, these
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 securely and permanently.
Shielding
The Bus Couplers require a 24 V DC 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
can not 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.
Configuration Interface (not for BK1250)
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, which are electrically isolated. The supply voltage is also used to generate the operating voltage for the fieldbus.
Remark: All the Bus Terminals are electrically isolated from the K-Bus/E-Bus. The K-Bus/E-Bus is thus electrically isolated from everything else.
The Bus Coupler can be made to enter the normal operating state by switching it on again once the fault has been rectified.
The following parameterizations can be carried out without using configuration software, with the aid of the DIP switches and the end terminal (KL9010).
This parameterization mode is only active if only one end terminal (KL9010) is inserted. Otherwise, the normal settings apply.
Switch off the Bus Coupler, and plug in just the end terminal (KL9010).
Set all the DIP switches to ON, and switch the Bus Coupler on again.
Once the default parameters have successfully been set, the Error LED lights, and the I/O Run and I/O Error LEDs flash alternately.
You can then switch the Bus Coupler off, connect the Bus Terminals, and continue as usual.
Setting the Ethernet parameters
Switch off the Bus Coupler, and plug in just the end terminal (KL9010).
Set all the DIP switches to OFF, and switch the Bus Coupler on again.
The I/O RUN and I/O Error LEDs light steadily.
Make the desired setting in accordance with the following table.
Network Classes
Three different network classes are distinguished. They specify how many address bits are reserved for the Network -ID and how many for the computer number
(or node number). The difference is located in the first 3 bits of the IP address.
Network- Number of bits Possible number Number of bits for Possible number of
class for the Network ID of networks the node address nodes per network
A 7 126 24 16 777 214
B 14 16 382 16 65 536
C 21 2 097 150 8 254
Unique IP address
IP Address
The IP address can be set using four different procedures, and these will be described in more detail below.
Table 100
Register High byte Low byte
0 IP byte 2 IP byte 1
1 Not used IP byte 3
Default
Byte Default value (hex) Default value (dec)
1 0xAC 172dec
2 0x10 16dec
3 0x11 17dec
4 (DIP switch) (0 to 255 dec)
Example
Switch no. 1 2 3 4 5 6 7 8 9 10
Weight 1 2 4 8 16 32 64 128 - -
In this
ON OFF OFF ON OFF OFF ON ON OFF OFF
example
Value 1 0 0 8 0 0 64 128 - - Total=201
Software reset
To save changes at the charts of a Bus Coupler a software reset is necessary. A hardware reset (power on/off) is not sufficient!
Note
Procedure
Set DIP switches 9 and 10 to OFF. DIP switches 1-8 then no longer have any address function.
Open a DOS box on your PC.
Enter the command "ping <OLD IP address>" to create an entry in the ARP table.
Read the table with the command "ARP -a".
Enter "ARP -d <OLD IP address>" to remove the Bus Coupler from the table.
Use "ARP -s <NEW IP address> <MAC-ID>" to make an entry manually.
With "ping -l 123 <NEW IP address>" the new IP address becomes valid.
A short flash from the ERROR LED at the moment of switching on indicates that the Bus Coupler is being addressed by ARP, and that DIP switches 1 -8 give no
indication of the address that is set.
When the IP address is changed, all the dynamic ARP entries should be cleared. To change the IP address it is one ping with the length of 123
bytes is permitted for reconfiguration of the IP address (<ping -l "IP address>) necessary.
Note
Example
1. C:>ping 172.16.17.255
2. C:>arp -a
172.16.17.255 00-01-05-00-11-22
3. C:>arp -d 172.16.17.255
4. C:>arp -s 172.16.44.44 00-01-05-00-11-22
5. C:>ping -l 123 172.16.44.44
BECKHOFF BK9105: Parametrization and commissioning
1. Statically store an IP address by switching all the dip switches 1-9 to the on position
When choosing this mode, power cycling the BK9105 with the dip switches set to ON 1-9 will keep the IP address set by the BootP server. The BootP server
does not need to be present after this point.
2. Dynamically set an IP address that is assigned by the BootP by turning on only dip switch 9
Be sure to configure the BootP server with the Mac ID of the BK9105 and the desired IP address.
Then, start the server and reboot the BK9105. The error led will blink for 10 to 15 seconds and stop after an IP address is established. After a connection and an
IP address are established, the following time stamp appears:
Note: It is not possible to change dip switches 1-9 for a static IP address. They must remain on. If using the BootP server to assign the address every time the
BK9105 is powered on, make sure dip switch 9 is on.
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 with the 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
Switch the DIP Switch 1-8 ON or OFF and DIP 9-10 ON.
Take note that the dip switches 1-8 no longer hold any addressing capabilities.
The MAC Address begins with 00-01-05-xx-xx-xx (see under the BK9105 to find the MAC address).
After a successful addressing you can disable the BOOTP addressing.
In this state, the DHCP service is switched on, and the Bus Coupler is assigned an IP address by the DHCP server.
For this purpose the DHCP server must know the Bus Coupler's MAC-ID and should assign the same IP-Address to this MAC-ID at every startup!
The TCP/IP Error LED flashes while the address is being allocated.
Subnet mask
The subnet mask is subject to the control of the network administrator, and specifies the structure of the subnet.
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.
The subnet mask is a 32-bit number.
Neither host number 0 nor the host number consisting only of ones may be used!
If the IP address is set using the KS2000 configuration software, it is necessary for the subnet mask also to be changed with the KS2000
configuration software.
Note
If ARP addressing is used, the associated standard subnet mask, based on the IP address, is entered.
Change the IP address on your PC to 172.16.x.x and the Subnet mask to 255.255.0.0
The IP address when supplied by the manufacturer on the BC9000 and BK9000 is 172.16.17.255 (DIP switches 1 to 8 are set to ON).
The IP address of the IP67 Fieldbus Boxes are set to 172.16.18.(rotary switch setting).
Start the DOS Window
Send a Ping to IP address 172.16.17.xxx
Read the MAC-ID with arp -a.
Mapping
Type: ETHERNET-MODULE Generic Ethernet Module
Comm Format: SINT, INT or DINT
Assembly Instance:
Input: 101 Size: 4 x SINT (BYTE) + terminals (2 x INT + terminals or 1 x DINT + terminals)
Output: 102 Size: 4 x SINT (BYTE) + terminals (2 x INT + terminals or 1 x DINT + terminals)
Configuration: 100 Size 0
Mapping rules
Word Alignment
complex mapping
*) complex terminals, example KL15xx, KL25xx, KL3xxx, Kl4xxx, KL5xxx, KL6xxx, KL8xxx
**) digital terminals, example KL1xxx, KL2xxx, KM1xxx, KM2xxx
*) complex terminals, example KL15xx, KL25xx, KL3xxx, Kl4xxx, KL5xxx, KL6xxx, KL8xxx
**) digital terminals, example KL1xxx, KL2xxx, KM1xxx, KM2xxx
*) complex terminals, example KL15xx, KL25xx, KL3xxx, Kl4xxx, KL5xxx, KL6xxx, KL8xxx
**) digital terminals, example KL1xxx, KL2xxx, KM1xxx, KM2xxx
Mapping terminals
Example 2:
Comm Format INT
Size: 7 x Input, 7 x Output
1 x BK9105
1 x KL1408
2 x KL2012
1 x KL3312
1 x KL9010
K1 - if K1 = TRUE, K-Bus error, Error Code bit 16-31 (see K-Bus Error LED)
L1 or L2 active
* Firmware version B3 increment if a K-Bus cycle is ready
0 1 2* 3* 4 5 6 7 8 9 10 11 12 13 14 15 16-23 24-31
K1 R1 L1 L2 - - - - - - - - - - - - - -
The BK9105 can be mapped as short integer (byte), integer (word), or double integer (double word).
In the following description it is mapped as double integer!
Note
Installation
Download the file EIPTOOL.zip from this CHM-File by double click on the following symbol:
Extract all the contained files from the ZIP file into a folder (e.g. BK9105helper) on your PC
Start the EtherNetIPConfigTool.exe
Overview
This application note covers how to use the EthernetIP Tag Wizard. After reading this note you will be able to build a rack of Beckhoff IO and automatically
import it into RSLogix 5000. Not only will the nodes be automatically created, but the IO will have an exact description in the IO map.
Put link to BK9105 here, as well as the link to the EIP tool.
Key Concepts
With this tool a user will be able to create the Beckhoff IO Rack, save the IO mapping configuration and Import that configuration into RSLogix 5000. RSLogix
5000 does not need to be installed on the PC you have the Tag Wizard on, however it will be convenient.
Procedure
To get started we have to have an RSLogix configuration with a minimum of a processor and Ethernet IP Master. If you are simply adding a rack to an existing
configuration, this process will be the same.
All one has to do is simply save this configuration as an .L5K file to the desired location. In this example, all files are saved to the root directory of the Tag
Wizard.
Once the RSLogix 5000 configuration is saved please minimize and open up the folder where the tag wizard is stored. In this folder you will find a couple
reference files. The EthernetIPMaster.txt is very important. This is a text file that stores the name that Rockwell gives its scanners. If your scanner is NOT in the
list, please feel free to add it. It is VERY important that the scanner is added just as it appers in your .L5K file.
At this point all one has to do is double click on EtherNetIPConfigTool.exe and it will open. Once open, add your BK9105 or IL230x -B905 to the configuration.
When adding your coupler you will be prompted to enter the correct IP address.
If you select the Field Bus Box IL230X-B905 you will be prompted additionally with the following.
The software automatically is adding the 230x combo box to your configuration.
At this point you simply add the IO to your configuration in the order that they are left to right on the coupler, by simply double clicking on the
correct terminal.
Once you have all the IO added in the correct order, you have a couple different selections as to how to save review or export this data. To review, all one has to
do is simply select the coupler you want to review and then Report>Coupler (Or network [If network is selected only the first coupler will show graphically but
the mapping below is correct])
All one has to do at this point to save or export the data is File>Save XML (this saves the configuration to a XML file, File>Save Network Report (saves so as
you can print it for machine documentation) Save>Configuration (If you want to add to this configuration in the future) and File>Save To L5K file.
When saving to a L5K file you are prompted to select the correct Ethernet IP master (This list is read from the text file mentioned earlier).
Next you will be prompted to select the correct path to the stored .L5K file, and select Open. Once opened you will notice a AB.L5K file in the same directory
you saved the original L5K file.
After the import is successful, please see that the Coupler Status and Coupler Control is described at the bit level. Also the status and control
for each complex channel is defined with the HBYTE->Empty LBYTE Status or Ctrl as the upper byte is padded.
Note
Mapping
Create a master Ethernet IP (limitation only master, not Multimaster support)
Save as the project as .L5k format
Create the project with the configurator and export with the push button AB CSV
Select the file L5k, that you have generated
Diagnostic LEDs
After switching on, the Bus Coupler immediately checks the connected configuration. Error-free start-up is indicated when the red I/O ERR LED goes out. If the
I/O ERR LED blinks, an error in the area of the terminals is indicated. The error code can be determined from the frequency and number of blinks. This permits
rapid rectification of the error.
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.
LEDs at RJ45
LED Meaning
off No physical connection present
LED Link/Act on Physical connection present
flashes Communication available
LED 10/100 MBaud off 10 MBaud (if LED Link/Act is shining or flashing)
(BK9105 only on 100 MBaud
Example:
Start Error Code: Red LED is flashing, fast green LED Off
Red LED is ON, green LED show you the Error Code flashing 2 times (1 Sec)
Red LED OFF, green LED off
Red LED flashing 5 times (1 Sec), error argument, green LED off
First Steps
Mapping
The BK9105 can be mapped as short integer (byte), integer (word), or double integer (double word).
In the following description it is mapped as double integer!
Note
The MAC Address begins with 00-01-05-xx-xx-xx (see under the BK9105, here you find the MAC address).
When creating a new project make sure to select the correct controller type and controller settings. In this example we are using a SoftLogix Virtual Chasis,
with the BK9105 (Beckhoff EthernetIP Bus coupler)
Now you need to add your main communications module. Make sure you know the IP address of the card that is setup as the EtherNet IP card, that address will
have to be set in the module settings along with the slot the card is in.
When adding the BK9105 box you must select the "ETHERNET-MODULE" as it is a generic Ethernet/IP device and we will configure it to work with our
BK9105.
Configuring the BK9105 in RSLogix
For the example here we used two KL1012 terminals and two KL2032. With these cards that gave us 2 words total of input and output data. On the properties
dialog you will need to change some of the box settings, please read below for recommendations on settings.
Download the code to the controller unit, once you go online you will be able to toggle IO. Keep in mind that the first DINT is the Status for both the input and
output data. At this point if you have the controller in RUN mode you will be able to toggle inputs and see the value in "bk9105:I.Data[1]" change and you
should be able to update the values in "bk9105:O.Data[1]" and see the outputs change.
The BK9105 can be mapped as short integer (byte), integer (word), or double integer (double word).
In the following description it is mapped as double integer!
Note
Process Image
The figure below illustrates the hardware of the Beckhoff node in this example.
The process image table (I/O map) is displayed in double word format below the figure.
In order to properly configure the Ethernet Bridge, the process image of the Beckhoff BK9105 node must be determined. When the coupler is powered up, it
automatically addresses the I/O modules of the node. The data for complex modules (modules using 2 or more bytes) are mapped first in the process image in
the order of their physical position after the coupler. As such, they start at Double word 3. Following this, the digital modules are grouped into the next available
Integer. The bits are arranged in the order of the modules location. When the number of digital points exceeds 32 (1 -double integer), the coupler automatically
starts the next Double Integer.
Note: The modules can be mapped as Byte, Word, or Double Word. The example below maps them as Double Word, using 2 digital input cards (KL1104,
KL1408), 2 digital output cards (KL2134, KL2408), 1 four channel analog input card (KL3064), 1 two channel analog output card (KL4002), and 1 High speed
counter card (KL5101).
When creating a new project make sure to select the correct controller type and controller settings. This example uses a SoftLogix Virtual Chasis, with the
BK9105 (Beckhoff EthernetIP Bus coupler).
Add the main communications module. Be sure to know the IP address of the card that is setup as the EtherNet IP card. That address will have to be set in the
module settings along with the slot the card is in.
When adding the BK9105 box, select the "ETHERNET-MODULE", since it is a generic Ethernet/IP device, and it will be configured to work with the BK9105.
Configuring the BK9105 in RSLogix
The example uses two KL1012 terminals and two KL2032 terminals. These cards gave 2 total words of input and output data. On the properties dialog, change
some of the box settings. Please read the following for recommendations on settings:
Download the code to the controller unit. Go online to toggle IO. Keep in mind that the first DINT is the Status for both the input and output data. At this
point, if the controller is in RUN mode, toggle inputs to see the value in "bk9105:I.Data[1]" change. One should be able to update the values in "bk9105:O.Data
[1]" and see the outputs change.
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:
EN 61000-6-4
Vibration resistance
EN 60068-2-6 Vibration Testing
Bibliography
TCP/IP
TCP/IP (English)
Illustrated, Volume1 The Protocols
by W. Richard Stevens
Publisher: ADDISON-WESLEY Longmann Verlag
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
Modbus/TCP
http://www.modicon.com/
http://www.modbus.org
TwinCAT
Beckhoff Information System
http://infosys.beckhoff.com
List of Abbreviations
ADS
IP (20)
IPC
Industrial PC
I/O
K-Bus
Terminal bus
KS2000
Configuration Software for Bus Terminals, Bus Coupler, Bus Terminal Controller, Fieldbus Box Modules and so on
PE
TwinCAT
support
design, programming and commissioning of complex automation systems
and extensive training program for Beckhoff system components
The addresses of Beckhoff's branch offices and representatives round the world can be found on her internet pages:
http://www.beckhoff.com
You will also find further documentation for Beckhoff components there.
Beckhoff Headquarters
Beckhoff Automation GmbH
Eiserstr. 5
33415 Verl
Germany
Phone: +49(0)5246/963-0
Fax: +49(0)5246/963-198
e-mail: [email protected]
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(0)5246/963-157
Fax: +49(0)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(0)5246/963-460
Fax: +49(0)5246/963-479
e-mail: [email protected]