Herunterladen Inhalt Inhalt Diese Seite drucken

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

Vorschau ausblenden Andere Handbücher für VEGACAL 65:
Inhaltsverzeichnis

Werbung

Additional Cyclic Value
1
2
Byte-No.
Format
IEEE-754-
Fliesskommazahl
PA-OUT
Value
(FB1)
Beispiel 2 mit Distanzwert ohne zusätzlichen zyklischen Wert:
AI (PA-OUT)
Free Place
Byte-No.
1
2
IEEE-754-
Format
Floating point value
PA-OUT
Value
(FB1)

Datenformat des Ausgangssignals

Byte2 Byte1 Byte0
Byte4 Byte3
Status
Value (IEEE-754)
Abb. 29: Datenformat des Ausgangssignals
Das Statusbyte entspricht dem Profil 3,0 "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
4
7
6
5
3
2
1
VZ
2
7
2
2
2
4
2
2
6
5
3
Sign
Exponent
Bit
VZ
(Exponent - 127)
Value = (-1)
2
Abb. 30: Datenformat des Messwerts

Codierung des Statusbytes beim PA-Ausgangswert

Status-
Beschreibung lt. Profibus-
code
norm
0x00
bad - non-specific
0x04
bad - configuration error
0x0C
bad - sensor failure
0x10
bad - sensor failure
VEGACAL 65 • Profibus PA
3
4
5
Status
Status
(FB1)
3
4
5
Status
Status
(FB1)
Byte n+1
Bit
Bit
Bit
Bit
Bit
Bit
Bit
0
7
6
5
4
3
2
2
2
-3
2
1
0
2
-1
2
-2
2
-4
Significant
(1 + Significant)
Mögliche Ursache
Flash-Update aktiv
– Abgleichfehler
– Konfigurationsfehler bei PV-Scale (PV-Span too small)
– Maßeinheit-Unstimmigkeit
– Fehler in der Linearisierungstabelle
– Hardwarefehler
– Wandlerfehler
– Leckpulsfehler
– Triggerfehler
– Messwertgewinnungsfehler
6
7
8
9
IEEE-754-
Fliesskommazahl
Zus tzlicher
zyklischer Wert
Byte n+2
Bit
Bit
Bit
Bit
Bit
Bit
7
6
5
4
2
1
0
2
-9
-10 -11 -12 -13 -14 -15 -16 -17
2
2
2
2
-8
2
-5
2
-6
-7
Significant
10
Status
Status
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
10 Anhang
Byte n+3
Bit
Bit
Bit
Bit
Bit
4
3
2
1
0
2
2
2
2
2
Significant
47

Werbung

Inhaltsverzeichnis
loading

Inhaltsverzeichnis