Herunterladen Inhalt Inhalt Diese Seite drucken

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

Vorschau ausblenden Andere Handbücher für VEGABAR 81:
Inhaltsverzeichnis

Werbung

11 Anhang
Byte-
1
2
No.
Format IEEE-754-Floating point
value
Value
AI FB1 (OUT)
Beispiel 2
AI FB1 (OUT)
Free Place
Free Place
Byte-No.
Format
Value
Hinweis:
Die Bytes 6-15 sind in diesem Beispiel nicht belegt.

Datenformat des Ausgangssignals

Byte2 Byte1 Byte0
Byte4 Byte3
Status
Value (IEEE-754)
Abb. 38: 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
2
4
2
7
2
6
5
2
2
3
Sign
Exponent
Bit
(Exponent - 127)
Value = (-1)
VZ
2
Abb. 39: 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 00
70
3
4
5
Status
IEEE-754-Floating point
AI FB1
1
IEEE-754-Floating point value
Byte n+1
Bit
Bit
Bit
Bit
Bit
Bit
1
0
7
4
6
5
3
2
2
-3
2
2
1
2
0
2
-1
2
-2
2
-4
Significant
(1 + Significant)
Beschreibung lt. Profi-
busnorm
bad - non-specific
6
7
8
9
value
AI FB2 (OUT)
2
3
AI FB1 (OUT)
Byte n+2
Bit
Bit
Bit
Bit
Bit
Bit
Bit
7
6
5
4
0
2
1
2
2
2
-9
2
-10 -11 -12 -13 -14 -15 -16 -17
2
-8
2
-5
2
-6
-7
Significant
Mögliche Ursache
Flash-Update aktiv
10
11
12
13
Status
IEEE-754-Floating point
value
AI FB2
AI FB3 (OUT)
4
Bit
Bit
Bit
Bit
Bit
Bit
Bit
3
2
1
0
7
6
5
2
2
2
2
2
2
2
VEGABAR 81 • Profibus PA
14
15
Status
AI FB3
5
Status
AI FB1
Byte n+3
Bit
Bit
Bit
Bit
Bit
4
3
2
1
0
2
-18 -19 -20 -21 -22 -23
2
2
2
2
Significant

Werbung

Inhaltsverzeichnis
loading

Inhaltsverzeichnis