Formato dati del segnale d'uscita, Codifica del byte di stato per valore in uscita pa – VEGA FIBERTRAC 31 Profibus PA Manuale d'uso

Pagina 79

Advertising
background image

79

11 Appendice

FIBERTRAC 31 • Profibus PA

43833-IT

-131230

Formato dati del segnale d'uscita

Byte4 Byte3 Byte2 Byte1 Byte0

Status

Value (IEEE-754)

Figura 24: Formato dati del segnale d'uscita

Il byte di stato é codificato e corrisponde al profilo 3.02 "Profibus PA Profile for Process Control

Devices". Lo stato "Valore di misura OK" é codificato come 80 (hex) (Bit7 = 1, Bit6 … 0 = 0).
Il valore di misura sarà trasmesso come numero da 32 bit a virgola mobile in formato IEEE-754.

Byte n

Byte n+1

Bit

7

VZ

Exponent

Bit

6
2

Bit

5
2

Bit

4
2

Bit

3
2

Bit

2
2

Bit

1
2

Bit

0
2

Bit

7
2

Bit

6
2

Bit

5
2

Bit

4
2

Bit

3
2

Bit

2
2

Bit

1
2

Bit

0
2

Sign

Bit

Significant

7

6

5

4

3

2

1

0

-1

-2

-3

-4

-5

-6

-7

Byte n+2

Byte n+3

Bit

7
2

Significant

Bit

6
2

Bit

5
2

Bit

4
2

Bit

3
2

Bit

2
2

Bit

1
2

Bit

0
2

Bit

7
2

Bit

6
2

Bit

5
2

Bit

4
2

Bit

3
2

Bit

2
2

Bit

1
2

Bit

0
2

Significant

-9

-10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23

-8

Value = (-1)

VZ

2

(Exponent - 127)

(1 + Significant)

Figura 25: Formato dati del valore di misura

Codifica del byte di stato per valore in uscita PA

Trovate ulteriori informazioni relative alla codifica del byte di stato nella Device Description 3.02 su

www.profibus.com.

Codice di stato

Descrizione secondo

norma Profibus

Descrizione dell'errore

0 x 24

bad

(F) Failure

0 x 3C

bad

(C) Function Check

0 x 78

uncertain

(S) Out of Spec

0 x A4

good

(M) Maintenance required

0 x A8

good

(M) Maintenance demanded

0 x 00

good

(G) Good

Mapping - User error codes

Priorità

Descrizione secondo

norma Profibus

User Error Codes

Stato NE 107

31

Hardware Failure

40, 41

FAILURE

30

Memory Failure

34, 35, 36, 37

FAILURE

29

Software Failure

80

FAILURE

28

Parameterization corrupt

72

FAILURE

27

Undefined 27

-

-

26

Undefined 26

-

-

25

Parameterization Error

16, 17, 25, 52, 53, 57, 66,

117, 120

FAILURE

24

Conflict in MGC

121, 122, 141

FAILURE

Advertising