2 profibus pa – formato dati e byte di stato, 2 profibus pa - formato dati e byte di stato – VEGA VEGAFLEX 62 Profibus PA Manuale d'uso
Pagina 57

10.2 Profibus PA - Formato dati e byte di stato
F
ormato dati del segnale d'uscita
Byte4
Byte3
Byte2
Byte1 Byte0
Status
Value (IEEE-754)
Figura 33: Formato dati del segnale d'uscita
B
yte di stato:
Il byte di stato é codificato e corrisponde al profilo 3,0 "Profibus PA Profile for Process Control
Devices". Lo stato "Valore di misura OK" é codificato come 80 (hex) (Bit7 = 1, Bit6 … 0 = 0).
V
alore di misura (Value):
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
C
odifica del byte di stato per valore in uscita PA
C
odice di
stato
D
escrizione secondo norma
P
rofibus
P
ossibile causa
0x00
bad - non-specific
Flash-Update attivo
0x04
bad - configuration error
l Errore di taratura
l Errore di configurazione nella PV-Scale (PV-Span too small)
l Unità di misura-Discrepanza
l Errore nella tabella di linearizzazione
0x0C
bad - sensor failure
l Errore hardware
l Errore del convertitore
l Errore d'impulso di perdita
l Errore di trigger
0x10
bad - sensor failure
l Errore guadagno valore di misura
l Errore misura di temperatura
0x1f
bad - out of service constant
Inserito modo "Out of Service"
VEGAFLEX 62 • Profibus PA
57
10 Appendice
31839
-IT
-110615