Formato dati del segnale d'uscita – VEGA VEGASON 62 Profibus PA Manuale d'uso
Pagina 47

47
10 Appendice
VEGASON 62 • Profibus PA
28785-IT
-130507
•
AI (PA-OUT)
•
Temperature
•
Additional Cyclic Value
Byte-No.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Format
Value
IEEE-754-
Floating point value
PA-OUT
(FB1)
Status
Status
(FB1)
IEEE-754-
Floating point value
Temperature
(FB2)
IEEE-754-
Floating point value
Additional Cyclic
Value
Status
Status
(FB2)
Status
Status
Esempio 2 con valore distanza, valore temperatura, senza valore ciclico supplementare:
•
AI (PA-OUT)
•
Temperature
•
Free Place
Byte-No.
1
2
3
4
5
6
7
8
9
10
Format
Value
IEEE-754-
Floating point value
PA-OUT
(FB1)
Status
Status
(FB1)
IEEE-754-
Floating point value
Temperature
(FB2)
Status
Status
(FB2)
Esempio 3 con valore distanza e valore ciclico supplementare, senza valore temperatura:
•
AI (PA-OUT)
•
Free Place
•
Additional Cyclic Value
Struttura del messaggio:
Byte-No.
1
2
3
4
5
6
7
8
9
10
Status
Status
Status
Status
(FB1)
IEEE-754-
Floating point value
PA-OUT
(FB1)
IEEE-754-
Floating point value
Additional Cyclic
Value
Format
Value
Formato dati del segnale d'uscita
Byte4 Byte3 Byte2 Byte1 Byte0
Status
Value (IEEE-754)
Figura 33: Formato dati del segnale d'uscita
Il byte di stato é codificato e corrisponde al profilo 3,0 "Profibus PA Profile for Process Control Devi-
ces". 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 34: Formato dati del valore di misura