BECKHOFF BK3000 User Manual

Page 50

Advertising
background image

Appendix

50

BK3xxx/LC3100


Old format

If the old diagnostic format is set in the User_Prm_Data (byte 2, bit 3 = 0),
the diagnostic data has the following form (is supported by all BK3xx0
devices and the LC3100):

Byte no.; bit no.

Description

Byte 0

Bit 0: slave does not answer (is set internally by the DP master)
Bit 1: slave is starting up (parameterisation and configuration are being evaluated)
Bit 2: configuration error
Bit 3: Ext_Diag_Data available (from byte 6)
Bit 4: function not supported

Bit 5: incorrect answer from slave (is set internally by the DP master)
Bit 6: parameterisation error

Bit 7: slave is exchanging data with another master (is set internally by the DP master)

Byte 1

Bit 0: slave must be parameterised again
Bit 1: slave has static diagnostics
Bit 2: 1
Bit 3: DP watchdog is active
Bit 4: slave is in freeze mode
Bit 5: slave is in sync mode
Bit 6: reserved
Bit 7: slave is deactivated (is set internally by the DP master)

Byte 2

Bit 0-6:

reserved

Bit 7: too much Ext_Diag_Data

Byte 3

Station address of the master with which data is being exchanged

Byte 4,5

Ident number

Manufacturer-specific diagnostics

Byte 6

Length of the Ext_Diag_Data, including length byte

Byte 7

0 (reserved for extensions)

Byte 8 – x:

8 bytes per diagnostic message (x: 9,17,25,33,41,49,57)


Diagnostic messages from
the terminals

There is a diagnostic message for each terminal, which is laid out as
follows:

Byte no.

Description

Byte 0

Terminal no. (1-64)

Byte 1

Channel no. (1-4)

Byte 2

reserved for expansions

Byte 3

reserved for expansions

Byte 4

reserved for expansions

Byte 5

Analogue terminals: Status byte of terminal
Digital terminals: bit 1: short circuit channel 0

short circuit channel 1

Byte 6

reserved for expansions

Byte 7

reserved for expansions


Diagnostic messages from
the bus coupler

In addition to the diagnostic messages from the terminals, there are also
two diagnostic messages from the bus coupler.

Byte no.

Description

Byte 0

0

Byte 1

0

Byte 2

Initialization error

Byte 3

Terminal bus error

Byte 4

Test of bus reset revealed errors

Byte 5

Incorrect terminal number on bus reset

Byte 6

Number of first terminal which is not supported

Byte 7

0

Advertising
This manual is related to the following products: