background image

Diagnostics and error handling

BK3xx0

69

Version: 4.3.0

Error code 10*

Error during the register communication. The settings to be written via the UserPrm data were executed
incorrectly.

Error argument

Description

x

Problems with terminal x

Error code 11*

Error during the register communication. The settings to be written via the UserPrm data were aborted with a
timeout.

Error argument

Description

x

Problems with terminal x

* Only for BK3120 or BK3150 with the GSD file and slot-oriented mapping (E312BECE.GS? or
E315BECE.GS?)

6.2.3

Reaction to PROFIBUS Error

A PROFIBUS error (failure of the master, withdrawal of the PROFIBUS plug etc.) is detected after the DP
watchdog has elapsed (usually in the region of 100 ms, unless this has been deactivated in the master) or by
bus timeout (the baud rate supervision time is set to 10 s).

The reaction at the output data of the coupler can be set in the 

UserPrmData [

}

 35]

:

Byte

Bit

Value Description

10

0-1

00

bin

Reaction to PROFIBUS error: K-bus cycle is abandoned (default, digital outputs
become 0, complex outputs are set to a planned substitute value)

01

bin

Reaction to PROFIBUS error: K-bus outputs become 0

10

bin

Reaction to PROFIBUS error: K-bus outputs remain unchanged

6.3

K-bus diagnosis

6.3.1

K-bus interruption

If the K-bus is interrupted, or suffers from a relatively long malfunction, the coupler enters the 

K-bus error

state. Depending on the setting made for 

Reaction to K-Bus error

 in the 

UserPrmData [

}

 35]

, the coupler

abandons DP data exchange and sets the Stat_Diag bit in the 

diagnostic data [

}

 64]

 at the next DP start-up

(with the consequence that DP data exchange is not carried out), sets the DP inputs to 0, or leaves the DP
inputs unchanged.

Byte

Bit

Value Description

10

2-3

00

bin

Reaction to K-bus error: DP data exchange is abandoned (default)

01

bin

Reaction to K-bus error: DP inputs set to 0

10

bin

Reaction to K-bus error: DP inputs remain unchanged

When the interruption or malfunction on the K-bus has been rectified, the setting of 

Response to K-bus error

in the 

UserPrmData [

}

 35]

 determines whether the 

K-bus error

 state is left manually (by means of a K-bus

reset), or automatically:

Byte

Bit

Value Description

7

0

0

bin

Response to K-bus error: manual K-bus reset (default)

1

bin

Response to K-bus error: automatic K-bus reset

Summary of Contents for BK3 0 Series

Page 1: ...Documentation BK3xx0 Bus Coupler for PROFIBUS DP 4 3 0 2019 04 03 Version Date...

Page 2: ......

Page 3: ...3 4 3 Potential groups insulation testing and PE 24 3 4 4 Power supply 26 3 4 5 PROFIBUS cabling 29 3 5 ATEX 33 3 5 1 ATEX Special conditions standard temperature range 33 3 5 2 ATEX Special conditio...

Page 4: ...DP Start up 67 6 2 3 Reaction to PROFIBUS Error 69 6 3 K bus diagnosis 69 6 3 1 K bus interruption 69 6 3 2 Terminal Diagnostics 70 7 Extended functions 72 7 1 2 byte PLC Interface 72 7 2 Word Alignme...

Page 5: ...nder 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 b...

Page 6: ...uction 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 o...

Page 7: ...ained specialists in control automation and drive engineering who are familiar with the applicable national standards Description of instructions In this documentation the following instructions are u...

Page 8: ...rected 4 0 0 Migration 3 5 1 Notes regarding compliance with UL requirements added 3 5 BK3150 with firmware version B0 added 3 03 Corrections in English translation 3 02 GSD files updated for BK3110 B...

Page 9: ...Product overview BK3xx0 9 Version 4 3 0 2 Product overview 2 1 BK30x0 BK3100 BK3110 BK3120 LC3100 Technical data Fig 1 BK3120 and LC3100 Bus Couplers for PROFIBUS DP...

Page 10: ...K bus current 4 500 mA max BK3x00 70 mA total K bus current 4 200 mA max BK3x10 70 mA total K bus cur rent 4 max 500 mA 70 mA total K bus cur rent 4 max 200 mA Starting current 2 5 x continuous curre...

Page 11: ...Product overview BK3xx0 11 Version 4 3 0 2 2 BK3150 Technical data Fig 2 BK3150 Bus Coupler for PROFIBUS DP...

Page 12: ...current Us 70 mA total K bus current 4 max 320 mA Starting current Us 2 5 x continuous current K bus current 5 V up to hardware version 04 1000 mA from hardware version 05 1750 mA Power contact volta...

Page 13: ...iber with 2 HP Simplex con nectors 2 x optical fibers with 2 HP Simplex con nectors each Power supply 24 VDC 15 20 Input current 70 mA total K bus current 4 500 mA 500 mA max Starting current 2 5 x co...

Page 14: ...led 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 smal...

Page 15: ...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 f...

Page 16: ...n which the DP configuration the sequence of DP modules specifies the assignment of the output and or input data to the slave s actual process data Diagnosis during cyclic data exchange A slave can se...

Page 17: ...tup of the cyclic DP mode Acyclic DPV1 C1 read and write telegrams can be sent from the master to the slave from the state WAIT CFG of the slave In contrast the C2 connection is established separately...

Page 18: ...fibers plastic film etc Surroundings working place packaging and personnel should by grounded probably when handling with the devices Each assembly must be terminated at the right hand end with an EL...

Page 19: ...l polycarbonate polyamide PA 6 6 Dimensions W x H x D 50 mm x 100 mm x 68 mm 44 mm x 100 mm x 68 mm 21 mm x 100 mm x 68 mm Mounting on 35 mm mounting rail according to EN60715 with locking mechanism S...

Page 20: ...be made by pushing the housings together on the mounting rail When correctly assembled no significant gap can be seen between the attached housings Fig 7 Groove and tongue of the housings NOTE Bus Te...

Page 21: ...nsity Standard wiring ELxxxx KLxxxx Fig 8 Standard wiring The terminals of ELxxxx and KLxxxx series have been tried and tested for years They feature integrated screwless spring force technology for f...

Page 22: ...esign as the packaging density is twice as large as that of the standard 12 mm Bus Terminals Massive conductors and conductors with a wire end sleeve can be inserted directly into the spring loaded te...

Page 23: ...e wire size width Terminal housing ELxxxx KLxxxx ESxxxx KSxxxx Wire size width single core wires 0 08 2 5 mm2 0 08 2 5 mm2 Wire size width fine wire conductors 0 08 2 5 mm2 0 08 2 5 mm2 Wire size widt...

Page 24: ...s Terminal Controller and Bus Terminals is realized automatically by latching the components The transfer of the data and the supply voltage for the intelligent electronics in the Bus Terminals is per...

Page 25: ...ng e g breakdown of the insulation from a 230 V power consuming device to the PE conductor The PE supply line at the Bus Coupler Bus Terminal Controller must be disconnected for an insulation test In...

Page 26: ...an operating voltage of 24 VDC The connection is made by means of the upper spring loaded terminals labelled 24 V and 0 V This supply voltage is used for the electronic components of the Bus Coupler...

Page 27: ...nts of the Bus Terminals It is galvanically separated from the field level voltage Fig 15 Power supply connections for BKxx50 and BKxx51 Fig 16 UL identification DANGER Note the UL requirements for th...

Page 28: ...of an EKxxxx 3 4 4 5 Power contacts Power contacts supply Up The bottom six connections with spring loaded terminals can be used to feed the supply for the peripherals The spring loaded terminals are...

Page 29: ...ively connected to the base of the Fieldbus Box Pin assignment M12 socket B310 Fig 18 Pin assignment M12 socket B310 Pin assignment M12 socket plug connector B318 Fig 19 Pin assignment M12 socket plug...

Page 30: ...the PROFIBUS standard see PROFIBUS layer 1 Physical Layer The types of area where a fieldbus system can be used is largely determined by the choice of the transmission medium and the physical bus inte...

Page 31: ...or a connected PROFIBUS station not to achieve a connection but for it to be included again when the neighboring station is disconnected Or there may be transmission errors when a specific bit pattern...

Page 32: ...to the last module Installation guidelines When assembling the modules and laying the cables observe the technical guidelines provided by the PROFIBUS User Organization PROFIBUS Nutzerorganisation e V...

Page 33: ...ct against the rated operating voltage being exceeded by more than 40 due to short term interference voltages The individual terminals may only be unplugged or removed from the Bus Terminal system if...

Page 34: ...om the Bus Terminal system if the supply voltage has been switched off or if a non explosive atmosphere is ensured The connections of the certified components may only be connected or disconnected if...

Page 35: ...e list which is not accessible from outside In case of an error the Bus Coupler enters the Stop state Once the start up has completed without error the Bus Coupler enters the fieldbus start state Fig...

Page 36: ...0 0bin 2 byte PLC interface not activated default Extended 1bin 2 byte PLC interface is active see 2 byte PLC interface 72 7 0 0bin Response to K bus error Manual K bus reset default see K bus interr...

Page 37: ...d 01bin If K bus mode is synchronous synchronous mode with optimized input update one cycle 10bin If K bus mode is synchronous synchronous mode with optimized input update two cycles 12 4 7 0bin Maxim...

Page 38: ...ex function modules 39 Digital function modules 41 For TwinCAT applications these rules are followed by the TwinCAT system manager It adds the terminals or IE modules in the sequence in which they are...

Page 39: ...input output are transmitted for each channel so that access can be had to the terminal s registers in addition to transmission of the 16 bit input value 0xB5 in GSD file 0xB2 0xB2 alternatively 0xF2...

Page 40: ...y KL6021 KL6021 0xB5 in GSD file 0xF2 alternatively KL6051 compact KL6051 only the 32 input bits and 32 output bits are transmitted 0xB3 in GSD file 0xF1 alternatively KL6051 complex KL6051 48 input b...

Page 41: ...8 digital input bits 1 x KL2012 2 digital output bits 52 digital input bits and 26 digital output bits The following combinations of DP modules could for instance now be added in the DP configuration...

Page 42: ...duced to compensate If we have 20 x 4 channel KL3314 thermocouples then in compact mapping we find 20 Bus Terminals 4 channels 2 bytes per channel 20 4 2 160 bytes 160 bytes is larger than the 128 byt...

Page 43: ...s of a download After a login to the terminal station it is possible to define settings in couplers terminals and Fieldbus Box modules directly online The same high level dialogs and register access a...

Page 44: ...e g Visual C projects Script interface ADS script DLL for e g VBScript JScript etc The TwinCAT System Manager has the following properties Bit wise connection between server process images and I O ch...

Page 45: ...e PROFIBUS DP I O modules selection of the PROFIBUS DP master PC card 2 Following the master card the bus nodes are then inserted Fig 27 Configuration of the PROFIBUS DP I O modules inserting the bus...

Page 46: ...e devices in the Siemens software they must be copied into the Step7 S7Data NcBmp directory Fig 29 Busklemn bmp Fig 30 Busklems bmp Inserting the GSD files Go to Extras Install new GSD in the hardware...

Page 47: ...ion to DP errors Reaction to fieldbus error 35 Reaction to K bus errors Reaction to K bus errors 35 Configuration of the BK3120 module with digital inputs outputs only Sample 1 1 x BK3120 10 x KL1xx4...

Page 48: ...es i e enter 6 x 8 bit or 1 x 48 bit or 1 x 8 bit 1 x 40 bit etc see Fig Example for entering individual bytes and Fig Example for entering contiguous bytes Fig 32 Example for entering individual byte...

Page 49: ...he complex modules must first be entered in the sequence in which they are plugged into the Bus Coupler For some byte oriented Bus Terminals it is possible to distinguish between compact and complex m...

Page 50: ...0 50 Version 4 3 0 Fig 34 Example for compact representation of the Bus Terminal KL3312 Example 2 b 1 x BK3120 2 x KL1012 1 x KL2022 1 x KL3312 complex mapping 1 x KL9010 Fig 35 Example for compact re...

Page 51: ...ates a memory area containing the current input bits and ensures that the bits in a second output memory area dedicated to the output channels are written out immediately following the update command...

Page 52: ...s Coupler collects consecutively the individual entries for each of the channels in order to create the assignment list counting from left to right Four groups are distinguished in the assignment Grou...

Page 53: ...used this is possible on the Beckhoff tab of the DP coupler in the System Manager K bus modes The K bus mode the type of synchronisation between the K bus cycles and the DP cycle is set via the UserPr...

Page 54: ...lowing reception of the Data_Exchange telegram from the DP master The outputs are therefore generated as quickly as possible while the input cycles are always one DP cycle old Fig 41 K bus standard sy...

Page 55: ...important here to ensure that two times the duration of the K bus cycle plus the delay time plus approx 20 to allow for the lower priority processes on the coupler is shorter than the DP cycle time w...

Page 56: ...ssary for the K bus cycle counter byte to be configured in the CfgData before the complex terminals CfgData DP modules 0x10 K bus cycle counter 5 2 DPV1 acyclic data transfer 5 2 1 DPV1 Interface By d...

Page 57: ...channel 2 in the function module 128 191 R W 2 Registers 0 63 of the channel 3 in the function module 192 254 R W 2 Registers 0 63 of the channel 4 in the function module Accessing parameters Index Ac...

Page 58: ...Assignment of module 4 0 DP DataExchange default 2 disabled configured module missing Byte 1 bit 0 1 Assignment of module 5 0 DP DataExchange default 2 disabled configured module missing Byte 15 bit...

Page 59: ...ts 15 1bin Always 1bin indicates that the terminal is digital Reading the terminal composition The terminal composition is represented in the DPV1 addressing as follows Slot number Index Byte Descript...

Page 60: ...wing which the K bus error is detected Diagnostic data 64 5 2 3 5 Cycle Time Measuring The duration of the process data cycle 53 can be measured with DPV1 The cycle time measurement is started or stop...

Page 61: ...ection to these Bus Terminals Fieldbus LEDs The upper three LEDs or the two LEDs on the left indicate the operating state of the PROFIBUS communication Fig 44 LEDs BK3120 and BK3150 BK3xx0 I O RUN BF...

Page 62: ...on Operating state RUN inputs are read and outputs are set Everything is operating correctly on on blinking on 1 Bus activity but slave is already parameterized Start master 2 Bus error with reaction...

Page 63: ...known data type Software update required for the coupler 2 pulses 0 Programmed configuration incorrect Check programmed configuration for correctness n 0 Incorrect table entry Bus Coupler incorrect ta...

Page 64: ...rminals is no longer correct n number of Bus Terminals after booting 18 pulses n Bus Terminal identifier no longer correct after reset n Bus Terminal number Error location The number of pulses indicat...

Page 65: ...ize and reconfigure slave 0x01 1 StatDiag slave signaling static diagnosis DPV1 slave application not yet ready for data exchange 0x01 2 PROFIBUS DP slave 0x01 3 WdOn DP watchdog on 0x01 4 FreezeMode...

Page 66: ...15 0 7 DP start up error argument 67 Errors in the modules terminals IP modules IE module etc Diagnosis of the modules 70 must be activated through the UserPrmData 35 Couplers with a maximum of 64 pos...

Page 67: ...ng DP start up this is indicated both through the fieldbus LEDs 61 and in the diagnostic data DiagData 64 Possible DP start up errors are identified by an error code and an error argument Errors when...

Page 68: ...lated from the CfgData is too large 4 The length of the DP output data that has been calculated from the CfgData is too large 5 12 Reserve 13 Maximum input length exceeded 14 Maximum output length exc...

Page 69: ...plex outputs are set to a planned substitute value 01bin Reaction to PROFIBUS error K bus outputs become 0 10bin Reaction to PROFIBUS error K bus outputs remain unchanged 6 3 K bus diagnosis 6 3 1 K b...

Page 70: ...to the master and two bytes of diagnostic information starting at byte 16 of each channel for which a diagnosis is pending are inserted see Diagnostic data 64 Terminal diagnosis can be activated in t...

Page 71: ...ry but if on the other hand consistency between the process data and the diagnostic data is desired then the diagnostic data should be transmitted along with the cyclic process data Maximum diagnosis...

Page 72: ...gData checking is deactivated In that case the setting made in the UserPrmData applies to all modules The compact or complex mapping can be set in the UserPrmData 35 Byte Bit Value Description 9 2 0bi...

Page 73: ...specify compact complex mapping textually in the master s configuration tool 7 4 Multi Configuration Mode Applications of the multi configuration mode Multi configuration mode can be used for the fol...

Page 74: ...sabling Bus Terminals Those Bus Terminals that are present in the DP configuration but that are not in fact plugged in must be disabled This can be done in the UserPrmData 35 via DPV1 KS2000 or throug...

Page 75: ...inal 128 0 DP DataExchange Default 2 disabled Multi Config Mode Enabling disabling via DPV1 Write The terminals are enabled disabled through Slot_Number 0 and Index 1 or 2 Index Byte Bit Description 1...

Page 76: ...15 Assignment for terminal 8 0 DP DataExchange Default 2 disabled Multi Config Mode 31 14 15 Assignment for terminal 128 0 DP DataExchange Default 2 disabled Multi Config Mode Note the size of the Cf...

Page 77: ...a software reset before the new value is adopted Register Description 2 maximum length of input data 3 maximum length of output data 4 maximum length of diagnosis data 5 maximum length of configuratio...

Page 78: ...e necessary software modules are activated according to whichever machine extensions are in fact being used In order to create a control program suited to all implementation levels of the machine it i...

Page 79: ...and the inputs are received in the associated telegram response In the PROFIBUS DP master interface the process images exchanged with the Bus Couplers are mapped to the process images of the control...

Page 80: ...erminals present Setting the Bus Terminal extension in the Bus Coupler So that the same process image can always be transferred between the PROFIBUS DP master and the Bus Coupler independently of the...

Page 81: ...information that is missing is that of which of the Bus Terminals that are included in the PROFIBUS DP configuration are indeed truly present This information can be transmitted via the acyclic DPV1 W...

Page 82: ...nt activated not activated has been written by the PROFIBUS DP master the Bus Coupler again carries out an examination of the PROFIBUS DP configuration and automatically enters cyclic data exchange th...

Page 83: ...Extended functions BK3xx0 83 Version 4 3 0 Fig 50 State transitions in the Bus Coupler...

Page 84: ...ance According to EN 60068 2 27 EMC resistance According to EN 61000 6 2 Emission According to EN 61000 6 4 Transport and storage Condition Permissible range Permissible ambient temperature during sto...

Page 85: ...fication Organisation for North America based in the USA C Canada US USA LISTED 22ZA the test results can be inspected under this entry Production identification From left to right this sequence of ch...

Page 86: ...ledge with comparison options Franzis Verlag 2001 244 pages ISBN 3 7723 5745 8 English books in preparation Standards PROFIBUS DP IEC 61158 and IEC 61784 DIN 19245 Part 3 Euronorm EN 50170 Web sites h...

Page 87: ...us for communication between Bus Coupler and Bus Terminals PNO PROFIBUS User Organisation seewww profibus de Repeater Provides signal conditioning connecting individual bus segments PLC Programmable l...

Page 88: ...onents there Beckhoff Headquarters Beckhoff Automation GmbH Co KG Huelshorstweg 20 33415 Verl Germany Phone 49 0 5246 963 0 Fax 49 0 5246 963 198 e mail info beckhoff com Beckhoff Support Support offe...

Page 89: ...sub socket 29 Fig 21 Pin assignment socket plug connector Fieldbus Box modules 30 Fig 22 PROFIBUS cable assignment 31 Fig 23 Start up behaviour of the Bus Coupler 35 Fig 24 KS2000 configuration softwa...

Page 90: ...e 78 Fig 47 Process image of the production machine 79 Fig 48 Process images of the two different machine configurations 80 Fig 49 Process images of the two different machine configurations with deact...

Reviews: