Herunterladen Inhalt Inhalt Diese Seite drucken

Datenformat Des Ausgangssignals; Codierung Des Statusbytes Beim Pa-Ausgangswert - VEGA Betriebsanleitung Betriebsanleitung

Radiometrischer sensor zur grenzstanderfassung
Inhaltsverzeichnis

Werbung

11 Anhang

Datenformat des Ausgangssignals

Byte2 Byte1 Byte0
Byte4 Byte3
Status
Value (IEEE-754)
Abb. 21: Datenformat des Ausgangssignals
Das Statusbyte entspricht dem Profil 3.02 "Profibus PA Profile for Process Control Devices" codiert.
Der Status "Messwert OK" ist als 80 (hex) codiert (Bit7 = 1, Bit6 ... 0 = 0).
Der Messwert wird als 32 Bit Gleitpunktzahl im IEEE-754-Format übertragen.
Byte n
Bit
Bit
Bit
Bit
Bit
Bit
Bit
7
6
5
4
3
2
VZ
7
2
4
2
2
6
5
2
2
3
Sign
Exponent
Bit
(Exponent - 127)
Value = (-1)
VZ
2
Abb. 22: Datenformat des Messwerts

Codierung des Statusbytes beim PA-Ausgangswert

Weitere Informationen zur Codierung des Statusbytes finden Sie in der Device Description 3.02 auf
www.profibus.com.
Statuscode
0 x 24
0 x 3C
0 x 78
0 x A4
0 x A8
0 x 00
Mapping - User error codes
Priorität
31
30
29
28
27
26
25
24
56
Byte n+1
Bit
Bit
Bit
Bit
Bit
Bit
1
0
7
6
5
4
3
2
2
-3
2
2
1
2
0
2
-1
2
-2
2
-4
Significant
(1 + Significant)
Beschreibung lt. Profi-
busnorm
bad
bad
uncertain
good
good
good
Beschreibung lt. Profi-
busnorm
Hardware Failure
Memory Failure
Software Failure
Parameterization corrupt
Undefined 27
Undefined 26
Parameterization Error
Conflict in MGC
Byte n+2
Bit
Bit
Bit
Bit
Bit
Bit
Bit
7
6
5
4
2
1
0
-10 -11 -12 -13 -14 -15 -16 -17
2
2
2
-9
2
2
-8
2
-5
2
-6
-7
Significant
Fehlerbeschreibung
(F) Failure
(C) Function Check
(S) Out of Spec
(M) Maintenance required
(M) Maintenance demanded
(G) Good
User Error Codes
40, 41
34, 35, 36, 37
80
72
-
-
16, 17, 25, 52, 53, 57, 66,
117, 120
121, 122, 141
Bit
Bit
Bit
Bit
Bit
Bit
Bit
3
2
1
0
7
6
5
2
-18 -19 -20 -21 -22 -23
2
2
2
2
2
2
NE-107-Status
FAILURE
FAILURE
FAILURE
FAILURE
-
-
FAILURE
FAILURE
POINTRAC 31 • Profibus PA
Byte n+3
Bit
Bit
Bit
Bit
Bit
4
3
2
1
0
2
2
2
2
2
Significant

Werbung

Inhaltsverzeichnis
loading

Inhaltsverzeichnis