Herunterladen Inhalt Inhalt Diese Seite drucken

Datenformat Des Ausgangssignals - VEGA VEGAPULS 41 Betriebsanleitung

Vorschau ausblenden Andere Handbücher für VEGAPULS 41:
Inhaltsverzeichnis

Werbung

7.3 Datenformat des Ausgangssignals

Byte4
Byte3
Status
Messwert (IEEE-754 Format, siehe unten)
Status-Byte:
Das Status-Byte entspricht dem Profil 3,0 „Profibus PA Profile for Process Control Devices"
codiert. Der Status „Messwert OK" ist als 80 (hex) codiert (Bit7 = 1, Bit 6 ... 0 = 0).
Messwert:
Der Messwert wird als 32 Bit Gleitpunktzahl im IEEE-754 Format übertragen.
Byte n
Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit
7
6
5
4
3
7
6
5
VZ
2
2
2
2
Vor-
zei-
Exponent
chen
Byte n+2
Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit
7
6
5
4
3
-8
-9
-10
-11
2
2
2
2
2
Mantisse
Formel:
Messwert = (-1)
Beispiele:
41 70 00 00 (hex) = 0100 0001 0111 0000 0000 0000 0000 0000 (bin)
Messwert
50
Byte2
2
1
0
7
4
3
2
1
0
2
2
2
2
2
1
0
7
-12
-13
-14
-15
-16
2
2
2
2
VZ
• 2
(Exponent - 127)
0
(130 - 127)
= (-1)
• 2
3
= 1 • 2
• (1 + 0,5 + 0,25 + 0,125)
= 1 • 8 • 1,875
= 15,0
Byte1
Byte0
Byte n+1
6
5
4
3
2
-1
-2
-3
-4
-5
2
2
2
2
2
Mantisse
Byte n+3
6
5
4
3
2
-17
-18
-19
-20
-21
2
2
2
2
2
Mantisse
• (1 + Mantisse)
-1
-2
• (1 + 2
+ 2
+ 2
Technische Daten
1
0
-6
-7
2
2
1
0
-22
-23
2
2
-3
)
VEGAPULS 41 – Profibus PA

Werbung

Inhaltsverzeichnis
loading

Inhaltsverzeichnis