Diagnostics – BECKHOFF BK3000 User Manual
Page 48

Appendix
48
BK3xxx/LC3100
Terminal
DP configuration data
KL1501
Standard format:
0xB4
Alternative format (compact): 0xB3
Alternative format (complete): 0xB5
KL2502, KL5302 1 channel: 0xB2 (must be used twice for each terminal)
2 channels: 0xB5 (must only be used once for each terminal)
KL5001
Standard 32 bits in (compact):
0x93
Standard 40 bits in/out (complete):
0xB4
Standard 40 bits in/ 8 bits out (user data, status, control):
0xC0,0x00,0x84
Standard 40 bits in (user data, status):
0x40,0x84
Standard 32 bits in, 8 bit out (user data, control):
0xC0,0x00,0x83
Alternative compact:
0x93
Alternative complete:
0xB5
KL5051,
KL5101, KL5111
0xB5
KL6001,
KL6011,
KL6021
Standard 2 bytes (control and 1 data byte):
0xB1
Standard 3 bytes (control and 2 data bytes):
0xB2
Standard 4 bytes (control and 3 data bytes):
0xB3
Standard 5 bytes (control and 4 data bytes):
0xB4
Standard 6 bytes (control and 5 data bytes):
0xB5
Alternative compact:
0xB3
Alternative complete:
0xB5
KL6051
4 bytes (compact): 0xB3
6 bytes (complete): 0xB5
Programmed configuration (only BK3000 and BK3100)
You can use the configurator to place the terminals as desired into the
local process image, and this image is then transferred by the
Data_Exchange service.
The DP configuration data of the programmed configuration is located in
table 70 of the bus coupler:
Table 70
Description
Register 0
Length of the DP configuration data (n, in the range 1-64)
Register
1-n
DP configuration data
This configuration data is also expected for the Chk_Cfg service and any
other configuration data will be rejected.
Diagnostics
The diagnostic data is automatically reported to the DP master by the bus
coupler whenever it changes. The meaning of the first 6 bytes is the same
for all DP slaves, after which device-specific diagnostic data follows. The
structure for a bus coupler is specified according to the setting of “Old
format / DPV1 format”.
Usually the DP master has the ability to interrogate a flag in the PLC to
determine whether diagnostic data has changed. The diagnostic data itself
can then in most cases be read by means of a function block. In the S5 the
diagnostic data is read with the FB IM308C function block, and in the S7