Материал: m083300e

Внимание! Если размещение файла нарушает Ваши авторские права, то обязательно сообщите нам

Fieldbus coupler / controller

• 57

Fieldbus coupler 750-333

 

 

 

3.1.9Diagnosis

The slave diagnosis of the bus coupler now comprises of a 6 byte standard diagnosis, a 9 byte identification diagnosis, a 7 byte device status and an up to 42 byte channel based diagnosis.

In the reply telegram of the diagnosis selection the identification based diagnosis and the device status are transmitted together with the standard diagnosis. This can be followed by up to 14 channel based diagnosis messages (3 byte per message).

Byte 0

1 Station status 1 to 3

2

3

 

PROFIBUS-DP master address

4

 

Manufacturer identification

 

5

 

 

 

 

6

 

 

 

 

7

 

Identification based diagnosis

 

:

 

 

:

 

14

:

 

15

 

 

 

 

 

 

Device status

 

 

21

 

 

 

 

22

 

 

 

 

 

 

 

 

Channel based diagnosis

 

 

 

 

 

 

(3 bytes per channel)

 

 

63

 

 

 

 

 

WAGO-I/O-SYSTEM 750

D R A F T

PROFIBUS

2001-02-27

58 • Fieldbus coupler / controller

Fieldbus coupler 750-333

3.1.9.1Station status 1 to 3

see EN 50170

3.1.9.2PROFIBUS-DP master address

The PROFIBUS-DP master address is located in byte 3 of the slave diagnosis and includes the address of the master which has parameterised the station and which has read and write access.

3.1.9.3Manufacturer‘s identification

The manufacturer’s identification is located in byte 4 and 5 and includes a 16 bit code, which serves for the identification of the device or the device class.

3.1.9.4Identification based diagnosis

The identification based diagnosis comprises of a bit field, which contains one bit of information for each connected module. The individual bit provides evidence about the current operating status. A 0 means no fault, a 1 indicates a faulty module condition. The bus coupler can be equipped with up to 63 modules, so that the identification based diagnosis including the header covers 9 bytes from byte 6 to byte 14.

Byte

Information

 

 

 

 

Meaning

 

 

 

 

 

 

 

 

 

 

6

0

1

0

0

1

0

0

1

Header byte

 

 

 

 

 

 

 

 

 

(9 byte identification based diagnosis

 

 

 

 

 

 

 

 

 

incl. header)

 

 

 

 

 

 

 

 

 

 

7

7

6

5

4

3

2

1

0

 

 

 

 

 

 

 

 

 

 

 

8

15

14

13

12

11

10

9

8

 

 

 

 

 

 

 

 

 

 

 

9

23

22

21

20

19

18

17

16

Diagnosis allocation to

 

 

 

 

 

 

 

 

 

 

10

31

30

29

28

27

26

25

24

I/O module n (n=1 ... 63)

 

 

 

 

 

 

 

 

 

 

11

39

38

37

36

35

34

33

32

Coupler (n=0)

 

 

 

 

 

 

 

 

 

 

12

47

46

45

44

43

42

41

40

 

 

 

 

 

 

 

 

 

 

 

13

55

54

53

52

51

50

49

48

 

 

 

 

 

 

 

 

 

 

 

14

63

62

61

60

59

58

57

56

 

 

 

 

 

 

 

 

 

 

 

D R A F T

WAGO-I/O-SYSTEM 750

2001-02-27

PROFIBUS

Fieldbus coupler / controller

• 59

Fieldbus coupler 750-333

 

 

 

3.1.9.5Device status

The device status encompasses 7 bytes including the required overhead and transmits status information of an internal nature and relating to the I/O module (internal bus), PROFIBUS-DP and the PFC-RTS to the master or the higher ranking controls.

Byte

Information

 

 

 

 

Meaning

 

 

 

 

 

 

 

 

 

 

 

 

15

0

0

0

0

0

1

1

1

Header byte

 

 

 

 

 

 

 

 

 

 

(7 byte status information

 

 

 

 

 

 

 

 

 

incl. header)

 

 

 

 

 

 

 

 

 

 

 

 

16

1

0

1

0

0

0

0

0

Status type

 

 

 

 

 

 

 

 

 

 

(manufacturer specific device status)

 

 

 

 

 

 

 

 

 

 

17

0

0

0

0

0

0

0

0

Slot number 0

 

 

 

 

 

 

 

 

 

 

18

0

0

0

0

0

0

0

0

Status differentiation

 

 

 

 

 

 

 

 

 

(none)

 

 

 

 

 

 

 

 

 

 

 

19

q

q

n

n

n

n

n

n

Status message

 

 

 

 

 

 

 

 

 

q – Status source

 

 

 

 

 

 

 

 

 

'00'

Internal status

 

 

 

 

 

 

 

 

 

'01'

Internal bus status

 

 

 

 

 

 

 

 

 

'10'

PROFIBUS DP status

 

 

 

 

 

 

 

 

 

n – Status number

 

 

 

 

 

 

 

 

 

 

20

x

x

x

x

x

x

x

x

Status argument

 

 

 

 

 

 

 

 

 

 

 

21

0

0

0

0

0

0

0

0

Reserved

 

 

 

 

 

 

 

 

 

 

 

 

WAGO-I/O-SYSTEM 750

D R A F T

PROFIBUS

2001-02-27

60 • Fieldbus coupler / controller

Fieldbus coupler 750-333

3.1.9.5.1Internal status messages and arguments

Status

Status

Description

message

argument

 

0x00

0x00

No fault

 

 

 

0x01

0x00

EEPROM check sum fault / check sum fault in the parameter

 

 

area of the flash

 

 

 

0x01

0x01

Overflow inline code buffer

 

 

 

0x01

0x02

Unknown data type

 

 

 

0x01

0x03

Module type of the flash program memory could not be de-

 

 

termined / is incorrect

 

 

 

0x01

0x04

Fault when writing in the FLASH memory

 

 

 

0x01

0x05

Fault when deleting the FLASH memory

 

 

 

0x01

0x06

Changed I/O modules configuration determined following

 

 

AUTORESET

 

 

 

0x01

0x07

Fault when writing in the serial EEPROM

 

 

 

0x01

0x08

Invalid firmware

 

 

 

0x02

0x00

Incorrect table entry

 

 

 

0x07

n

Non-supported modules at position n (n = 1...63)

 

 

 

3.1.9.5.2Internal bus status messages and arguments

Status

Status

Description

message

argument

 

0x63

0xFF

At least one module cannot interpret an internal bus command

 

 

 

0x64

0x00

A data fault or an internal bus interruption exists behind the

 

 

bus coupler

 

 

 

0x64

n

An internal bus interruption exists behind the module n

 

 

 

0x65

n

Fault in the register communication with module n

 

 

 

D R A F T

WAGO-I/O-SYSTEM 750

2001-02-27

PROFIBUS

Fieldbus coupler / controller

• 61

Fieldbus coupler 750-333

 

 

 

3.1.9.5.3PROFIBUS-DP status messages and arguments

Status

Status

Description

message

argument

 

0x81

0x01

Insufficient parameterisation data configuration data

 

 

 

0x81

0x02

Too much parameterisation data

 

 

 

0x82

n

n. parameter byte faulty

 

 

 

0x83

0x01

Insufficient configuration data

 

 

 

0x83

0x02

Too much configuration data

 

 

 

0x84

n

n. configuration byte (module) faulty

 

 

 

0x85

0x01

maximum input data length exceeded

 

 

 

0x85

0x02

maximum output data length exceeded

 

 

 

0x86

0x01

Compilate buffer overflow for DP process image

 

 

 

0x86

0x02

Compilate buffer overflow for PFC process image

 

 

 

WAGO-I/O-SYSTEM 750

D R A F T

PROFIBUS

2001-02-27

Источник: https://studfile.net/preview/16369742/