background image

 

 

RS

 485 Coupler BK8000 

 

BK8000 

19 

 
Response 

In its response, the bus coupler answers the request by the master.  

 

Description of the response 

Byte 

Value range 

Start identifier 

’p‘   (0x70) 

Number of process data input words 

0 – 255 

Message ident 

0 –255 

Multipoint Addresse 

0 – 99 

Status 

0 – 255 

Process data input   LOW Byte              
( optional ) 

5 + 2 x n  
(n = 0,1,2,..., 125) 

0 – 255 

Process data output   HIGH Byte           
( optional ) 

6 + 2 x n  

0 – 255 

Checksum 

6 + 2 x n + 1 

0 – 255 

 

 

The "start identifier" consists of one byte and identifies the start of a data 
packet. The "number of process data input words" specifies the size of the 
input process image in the bus coupler in words. If the number of bytes of 
the process image is odd, the bus coupler enters a dummy byte before the 
checksum.  
 
The corresponding value of the request string is entered as the "message 
ident".  
 
The "multipoint address" corresponds to the master address 0. The status 
byte contains information about the status of the bus coupler (see table).  
If available, the "process data inputs" are entered as data words in INTEL 
format.  
 
The "checksum" is generated by adding up the contents of the individual 
bytes (complete response string without checksum byte). Any occurring 
overflow is ignored. 

 

Status byte of the bus 
coupler

 

Bus coupler 
status byte 

Error (Bit = 1) 

 

Status.0 

Terminal bus error: an error has occurred in data communication 
with the terminals 

 

Status.1 

Configuration error: see occur codes 1 and 2 (page 13) 

 

Status.2 

-- 

 

Status.3 

-- 

 

Status.4 

Invalid process data output length: the received number of process 
output words is unequal to the physically existing data length on the 
K bus.  

 

Status.5 

-- 

 

Status.6 

-- 

 

Status.7 

-- 

 

Example 

The BK8000 is connected to a PC via the RS 485 interface. The address 5 
has been set on the coupler.The coupler has been expanded with the 
following terminals (the mapped bits in the process image of the bus 
coupler are given in brackets):  
 
3 x KL1002 (digital input terminal 3 x 2 input bits = 6 bits I) 
2 x KL1114 (digital input terminal 2 x 4 input bits = 8 bits I) 
1 x KL3002 (analog input terminal 2 x 16 bits I) 
1 x KL9200 (potential infeed terminal 24 V DC, no I/O bits in the PI) 
4 x KL2012 (digital output terminal 4 x 2 output bits = 8 bits O) 
1 x KL4002 (analog output terminal 2 x 16 bits O A) 
1 x KL9010 (end terminal, no I/O bits in PI) 
 

 

Содержание BK8000

Страница 1: ...Bus coupler with RS485 interface BK8000 Technical Documentation Version 1 2 2006 10 30...

Страница 2: ...Connection 8 K bus contacts 8 Supply isolation 8 The operating modes of the bus coupler 9 Mechanical construction 10 Electrical data 10 The peripheral data in the process image 12 Starting operation...

Страница 3: ...cked for consistency with performance data standards or other characteristics None of the statements of this manual represents a guarantee Garantie in the meaning of 443 BGB of the German Civil Code o...

Страница 4: ...ed and nullify the liability of Beckhoff Automation GmbH Description of safety symbols The following safety symbols are used in this documentation They are intended to alert the reader to the associat...

Страница 5: ...ventional terminal as the cabling level in the switch cabinet the switch cabinet can be made smaller The Beckhoff bus terminal system combines the advantages of a bus system with the functionality of...

Страница 6: ...isolation Potential input terminal Power contacts RS485 bus coupler BK8000 Power supply for the bus coupler X1 X10 Bus couplers for various fieldbus systems You can use a variety of bus couplers to at...

Страница 7: ...ith spring terminals can be used to supply power to the peripherals The spring terminals are connected in pairs to the power contacts The power supply to the power contacts has no connection to the po...

Страница 8: ...xchange of data between the bus coupler and the bus terminals Part of the data exchange takes place via a ring structure within the K bus Disengaging the K bus for example by pulling on one the bus te...

Страница 9: ...to test the attached bus terminals the bus terminal test and read in the configuration from which it constructs an internal structure list which is not accessible from outside If an error occurs the b...

Страница 10: ...can remove them without effort if you first release the latching mechanism by pulling the orange tab You should carry out work on the bus terminals and the bus coupler only while they are switched off...

Страница 11: ...disconnect other power supply points for the duration of the test by drawing the power supply terminals out from the remaining row of terminals by at least 10mm If you do this there will be no need to...

Страница 12: ...e oriented The processing of analog signals is always byte oriented and analog input and output values are stored in memory in a two byte representation The values are held as SIGNED INTEGER or twos c...

Страница 13: ...s no contradictions is said to be consistent The following consistency is required here 1 The high byte and low byte of an analog value word consistency 2 The control status byte and the corresponding...

Страница 14: ...he pattern of flashes as follows Flashing code Fast flashingq Start of the error code First slow sequence Error code Second slow sequence Error argument Error code Error argument Description 1 pulse 0...

Страница 15: ...the serial communication link The 4 communication LEDs indicate the status of RS 485 transfer The operating states are indicated by the WD RX TX and ERROR LEDs WD RX TX ERROR RS 485 LED Operating sta...

Страница 16: ...hed from the PC s serial interface to the bus coupler This OCX can be used by all programming languages that operate on the basis of the Microsoft Component Object Model COM specifications You will fi...

Страница 17: ...ned from Beckhoff RS 485 transmission Fundamental characteristics of physical data transmission per RS 485 Network topology Linear bus active bus terminator at both ends stubs are possible Medium Scre...

Страница 18: ...0 operates as the master and the slave bus coupler must be assigned the address 1 Request In the request the master sends the process output data to be transferred to the slave In the response the sla...

Страница 19: ...INTEL format The checksum is generated by adding up the contents of the individual bytes complete response string without checksum byte Any occurring overflow is ignored Status byte of the bus coupler...

Страница 20: ...ock Bus terminal 0 1 None POS06 KL3002 Channel 1 2 3 None POS06 KL3002 Channel 2 4 0 POS01 KL1002 Channel 1 4 1 POS01 KL1002 Channel 2 4 2 POS02 KL1002 Channel 1 4 3 POS02 KL1002 Channel 2 4 4 POS03 K...

Страница 21: ...70 p Start identifier Byte 3 0x05 3 input data words Byte 4 0x12 Returned message ident Byte 5 0x00 Master address 0 Byte 6 0x Status byte Byte 7 0xXX Data byte 0 Byte 8 0xXX Data byte 1 Byte 12 0xXX...

Страница 22: ...l input POS17 2 channel digital input POS18 2 channel digital output POS19 2 channel digital output POS20 2 channel analog output POS21 End terminal In the default settings RS485 RS232 CANopen DevicNe...

Страница 23: ...Area for bit oriented data digital inputs Relative byte address Bit position Process image in the control unit Position in the block 4 0 I4 POS02 4 1 I4 POS02 4 2 I4 POS03 4 3 I4 POS03 4 4 I4 POS04 4...

Страница 24: ...t significant bits are irrelevant Using the KS2000 configuration software it is possible to insert the third byte into the process image for any chosen channels The least significant byte has control...

Страница 25: ...econdary process image This representation is not available in the bus coupler s default setting The KS2000 software is needed The meanings of the registers and of the status bytes are explained in th...

Страница 26: ...here Beckhoff Headquarters Beckhoff Automation GmbH Eiserstr 5 33415 Verl Germany phone 49 0 5246 963 0 fax 49 0 5246 963 198 e mail info beckhoff com web www beckhoff com Beckhoff Support Support off...

Отзывы: