3 formato dei dati del segnale di uscita – VEGA VEGAPULS 43 Profibus PA Manuale d'uso

Pagina 61

Advertising
background image

VEGAPULS 43 – Profibus PA

61

Dati tecnici

8.3 Formato dei dati del segnale di uscita

Byte4

Byte3

Byte2

Byte1

Byte0

Stato

Valore di misura (IEEE-754 Formato, vedi sotto)

Il byte di stato corrisponde al profilo 3,0 „Profibus PA Profile for Process Control Devices“
codificato. Lo stato „Valore di misura OK“ é codificato come 80 (esadecimale) (Bit7 = 1, Bit 6 … 0
= 0).

Valore di misura:

Il valore di misura viene trasmesso sotto forma di numero con virgola mobile di 32 Bit in formato IEEE-754.

Byte n

Byte n+1

Bit

Bit

Bit

Bit

Bit

Bit

Bit

Bit

Bit

Bit

Bit

Bit

Bit

Bit

Bit

Bit

7

6

5

4

3

2

1

0

7

6

5

4

3

2

1

0

VZ

2

7

2

6

2

5

2

4

2

3

2

2

2

1

2

0

2

-1

2

-2

2

-3

2

-4

2

-5

2

-6

2

-7

Se-
gno

Esponente

Mantissa

Byte n+2

Byte n+3

Bit

Bit

Bit

Bit

Bit

Bit

Bit

Bit

Bit

Bit

Bit

Bit

Bit

Bit

Bit

Bit

7

6

5

4

3

2

1

0

7

6

5

4

3

2

1

0

2

-8

2

-9

2

-10

2

-11

2

-12

2

-13

2

-14

2

-15

2

-16

2

-17

2

-18

2

-19

2

-20

2

-21

2

-22

2

-23

Mantissa

Mantissa

Formula:

Valore di misura = (-1)

VZ

• 2

(esponente - 127)

• (1 + mantissa)

Esempi:

41 70 00 00 (hex) = 0100 0001 0111 0000 0000 0000 0000 0000 (bin)
Valore di misura

= (-1)

0

• 2

(130 - 127)

• (1 + 2

-1

+ 2

-2

+ 2

-3

)

= 1 • 2

3

• (1 + 0,5 + 0,25 + 0,125)

= 1 • 8 • 1,875
= 15,0

Advertising