HART-ProtokollÜbersicht der HART-Befehlefür die StandardsoftwareD200F001U01_A11
AM54
D184B080U05 Rev. 01 / 06.2001Betriebsanleitung
Automation Products GmbH
HART-ProtokollErstellt vonName:
Datum:
Eggert Appel
25.09.00
Gerät:Kennung:Software:
AM54_31/32_Standard Software A.11D200F001U01_A11
Revision:Name:
Datum:
1Eggert Appel
14.05.01
Inhaltsverzeichnis1 Revisionsübersicht................................................................................................................................................... 1-12 Einleitung ................................................................................................................................................................ 2-13 Universal Commands .............................................................................................................................................. 3-1
3.1 HART-Command 0 : Read Transmitter Unique Identifier .............................................................................. 3-13.2 HART-Command 1 : Read Primary Variable.................................................................................................. 3-13.3 HART-Command 2 : Read Current and Percent of Range .............................................................................. 3-13.4 HART-Command 3 : Read all dynamic Variables and Current....................................................................... 3-23.5 HART-Command 6 : Write Polling Address................................................................................................... 3-23.6 HART-Command 11 : Read Unique Identifier Associated With Tag ............................................................. 3-33.7 HART-Command 12 : Read Message ............................................................................................................. 3-33.8 HART-Command 13 : Read Tag, Descriptor, Date......................................................................................... 3-33.9 HART-Command 14 : Read Primary Variable Sensor Information ................................................................ 3-43.10 HART-Command 15 : Read Primary Variable Output Information................................................................ 3-43.11 HART-Command 16 : Read Final Assembly Number .................................................................................... 3-43.12 HART-Command 17 : Write Message ............................................................................................................ 3-53.13 HART-Command 18 : Write Tag, Descriptor, Date........................................................................................ 3-53.14 HART-Command 19 : Write Final Assembly Number.................................................................................... 3-5
4 Commom Practice Commands ................................................................................................................................ 4-14.1 HART-Command 34 : Write Primary Variable Damping Value..................................................................... 4-14.2 HART-Command 35 : Write Primary Variable Range Values........................................................................ 4-14.3 HART-Command 38 : Reset Configuration Changed Flag ............................................................................. 4-14.4 HART-Command 40 : Enter/Exit Primary Variable Current Mode ................................................................ 4-24.5 HART-Command 45 : Trim Primary Variable Current DAC Zero ................................................................. 4-24.6 HART-Command 46 : Trim Primary Variable Current DAC Gain................................................................. 4-24.7 HART-Command 48 : Read Additional Transmitter Status ............................................................................ 4-3
5 Slot - Kommandos................................................................................................................................................... 5-15.1 Unsigned-char-Variablen.............................................................................................................................. 5.1-1
5.1.1 HART-Command 128 : Lese unsigned-char-Variable.......................................................................... 5.1-15.1.2 HART-Command 129 : Schreibe unsigned-char-Variable ................................................................... 5.1-15.1.3 Tabelle der „unsigned char“ -Variablen ............................................................................................... 5.1-2
5.2 Unsigned-int-Variablen ................................................................................................................................ 5.2-15.2.1 HART-Command 130 : Lese-unsigned int-Variable ............................................................................ 5.2-15.2.2 HART-Command 131 : Schreibe unsigned-int-Variable...................................................................... 5.2-15.2.3 Tabellen der „unsigned int“-Variablen ................................................................................................. 5.2-2
5.3 Float-Variablen............................................................................................................................................. 5.3-15.3.1 HART-Command 132 : Lese float-Variable......................................................................................... 5.3-15.3.2 HART-Command 133 : Schreibe float-Variable .................................................................................. 5.3-1Tabelle der „Float“-Variablen .............................................................................................................................. 5.3-2
5.4 String-Variablen ........................................................................................................................................... 5.4-15.4.1 HART-Command 134 : Lese string-Variable ....................................................................................... 5.4-15.4.2 HART-Command 135 : Schreibe string-Variable ................................................................................ 5.4-1Tabelle der „String“-Variablen............................................................................................................................. 5.4-2
5.5 Kurzübersicht der Slot-Kommandos ............................................................................................................ 5.5-16 Sonstige Kommandos.............................................................................................................................................. 6-1
6.1 HART-Command 140 : Zähler und Überlauf löschen..................................................................................... 6-16.2 HART-Command 150 : Initialisierung der int. und ext. Datenbasis................................................................ 6-16.3 HART-Command 151 : Download der int. in die ext. Datenbasis .................................................................. 6-16.4 HART-Command 165 : Lese „Prog. Ausgang“-Einstellung............................................................................ 6-26.5 HART-Command 166 : Schreibe „Prog. Ausgang“-Einstellung ..................................................................... 6-2
7 Fehlersuche bei Hart................................................................................................................................................ 7-1
Automation Products GmbH
HART-ProtokollErstellt vonName:
Datum:
Eggert Appel
25.09.00
Gerät:Kennung:Software:
AM54_31/32_Standard Software A.11D200F001U01_A11
Revision:Name:
Datum:
1Eggert Appel
14.05.01
1-1
1 Revisionsübersicht
Revision Datum Neue Seiten Geänderte Seiten Name
Nr. Soft
0 A.10 25.09.2000 erstellt - AP
1 A.11 14.05.2001 - 21
(Fehler in Dokument: MaximumRange Water)
AP
Automation Products GmbH
HART-ProtokollErstellt vonName:
Datum:
Eggert Appel
25.09.00
Gerät:Kennung:Software:
AM54_31/32_Standard Software A.11D200F001U01_A11
Revision:Name:
Datum:
1Eggert Appel
14.05.01
2-1
2 EinleitungDie vorliegende Übersicht listet alle verfügbaren HART-Kommandos auf. In ihr sind sowohl die Universal undCommon Practice als auch spezielle Kommandos wie Slot- oder sonstige Kommandos enthalten.Änderungen zu vorhergehenden Kommandoübersichten werden am jeweiligen Kommando im Punkt ‚Revision‘ sichtbargemacht.Durch die abschnittweise Numerierung müssen nur die geänderten Seiten bzw. Abschnitte ausgetauscht werden.
Die vorliegende Dokumentation ist für die folgenden Softwarerevisionen gültig:
A.10A.11
Automation Products GmbH
HART-ProtokollErstellt vonName:
Datum:
Eggert Appel
25.09.00
Gerät:Kennung:Software:
AM54_31/32_Standard Software A.11D200F001U01_A11
Revision:Name:
Datum:
1Eggert Appel
14.05.01
3-1
3 Universal Commands
3.1 HART-Command 0 : Read Transmitter Unique IdentifierRevision
RequestData Bytes
none
ResponseData Bytes
#0#1#2#3#4#5#6#7#8#9
#10#11
Device Type Code for ExpansionManufacturer Identification CodeManufacturer Device TypeNumber of Request PreamblesRevision Level of Universal CommandRevision Level of Transmitter DocumentSoftware Revision LevelHardware Revision LevelFlags, none defined at this timeDevice Identification Number, 24 Bit, MSBDevice Identification Number, 24 BitDevice Identification Number, 24 Bit, LSB
= 254= 26 = ABB= 27 = AM54_31/32_= 8= 5= 0= 0= 0= 0= 0= MSB Gerätenummer= LSB Gerätenummer
ResponseCodes
05
No Command Specific ErrorIncorrect Byte Count
3.2 HART-Command 1 : Read Primary VariableRevision
RequestData Bytes
none
ResponseData Bytes
#0#1..#4
Primary Variable Unit Code (Table 2)Primary Variable, IEEE 754
ResponseCodes
05
No Command Specific ErrorIncorrect Byte Count
Bemerkung Primary Variable =>Durchfluß Q (abhängig von Betriebsartwahl)
3.3 HART-Command 2 : Read Current and Percent of RangeRevision
RequestData Bytes
none
ResponseData Bytes
#0..#3#4..#7
Analog Output Current mA, IEEE 754Percent of Range, IEEE 754
ResponseCodes
05
No Command Specific ErrorIncorrect Byte Count
Automation Products GmbH
HART-ProtokollErstellt vonName:
Datum:
Eggert Appel
25.09.00
Gerät:Kennung:Software:
AM54_31/32_Standard Software A.11D200F001U01_A11
Revision:Name:
Datum:
1Eggert Appel
14.05.01
3-2
3.4 HART-Command 3 : Read all dynamic Variables and CurrentRevision
RequestData Bytes
none
ResponseData Bytes
#0..#3
#4#5..#8
#9#10..#13
#14#15..#18
#19#20..#23
Analog Output Current mA, IEEE 754
Primary Variable Unit Code (Table 2)Primary Variable, IEEE 754
Secondary Variable Unit Code (Table 2)Secondary Variable, IEEE 754
Tertiary Variable Unit Code (Table 2)Tertiary Variable, IEEE 754
4th Variable Unit Code (Table 2)4th Variable, IEEE 754
ResponseCodes
05
No Command Specific ErrorIncorrect Byte Count
Bemerkung Primary Variable =Secondary Variable =
Tertiary Variable =Fourth Variable =
Q Betriebsart, Einheit siehe unsigned char-Slot 20Zähler, Einheit siehe unsigned char-Slot 62 (Zv) oder 63(Zm)Position in Prozent, Einheit %Durchfluß in Prozent, Einheit %
3.5 HART-Command 6 : Write Polling AddressRevision
RequestData Bytes
#0 Polling Address of Device
ResponseData Bytes
#0 Polling Address of Device
ResponseCodes
025
No Command Specific ErrorInvalid SelectionIncorrect Byte Count
Automation Products GmbH
HART-ProtokollErstellt vonName:
Datum:
Eggert Appel
25.09.00
Gerät:Kennung:Software:
AM54_31/32_Standard Software A.11D200F001U01_A11
Revision:Name:
Datum:
1Eggert Appel
14.05.01
3-3
3.6 HART-Command 11 : Read Unique Identifier Associated With TagRevision
RequestData Bytes
#0..#5 Tag, Packed ASCII
ResponseData Bytes
#0#1#2#3#4#5#6#7#8#9
#10#11
Device Type Code for ExpansionManufacturer Identification CodeManufacturer Device TypeNumber of Request PreamblesRevision Level of Universal CommandRevision Level of Transmitter DocumentSoftware Revision LevelHardware Revision LevelFlags, none defined at this timeDevice Identification Number, 24 Bit, MSBDevice Identification Number, 24 BitDevice Identification Number, 24 Bit, LSB
= 254= 26 = ABB= 27 = AM54_31/32_= 8= 5= 0= 0= 0= 0= 0= MSB Gerätenummer= LSB Gerätenummer
ResponseCodes
05
No Command Specific ErrorIncorrect Byte Count
3.7 HART-Command 12 : Read MessageRevision
RequestData Bytes
none
ResponseData Bytes
#0..#23 Message, Packed ASCII
ResponseCodes
05
No Command Specific ErrorIncorrect Byte Count
3.8 HART-Command 13 : Read Tag, Descriptor, DateRevision
RequestData Bytes
none
ResponseData Bytes
#0..#5#6..#17
#18..#20
Tag, Packed-ASCIIDescriptor, Packed-ASCIIDate: Day, Month, Year
ResponseCodes
05
No Command Specific ErrorIncorrect Byte Count
Automation Products GmbH
HART-ProtokollErstellt vonName:
Datum:
Eggert Appel
25.09.00
Gerät:Kennung:Software:
AM54_31/32_Standard Software A.11D200F001U01_A11
Revision:Name:
Datum:
1Eggert Appel
14.05.01
3-4
3.9 HART-Command 14 : Read Primary Variable Sensor InformationRevision
RequestData Bytes
none
ResponseData Bytes
#0..#2#3
#4..#7#8..#11
#12..#15
Sensor Serial Number MSB, 24-bit unsigned integerSensor Limits/Min Span Units, Table II Unit CodesUpper Sensor Limit, IEEE754Lower Sensor Limit, IEEE754Minimum Span, IEEE754
ResponseCodes
05
No Command Specific ErrorIncorrect Byte Count
Bemerkung Sensor Serial NumberUpper Sensor LimitLower Sensor LimitMinimum Span
= 0= Qmax Medium= 0= 0.9 * QmaxDN,
3.10 HART-Command 15 : Read Primary Variable Output InformationRevision
RequestData Bytes
none
ResponseData Bytes
#0#1#2
#3..#6#7..#10
#11..#14#15#16
Alarm Select Code, Table VIPrimary Variable Transfer Function Code, Table IIIPrimary Variable Range Values Units Code, Table IIPrimary Variable Upper Range Value, IEEE754Primary Variable Lower Range Value, IEEE754, always ZeroPrimary Variable Damping Value, IEEE754, Units of SecondsWrite Protect Code, Table VIIPrivate Label Distributor Code, Table VIII
ResponseCodes
05
No Command Specific ErrorIncorrect Byte Count
Bemerkung Alarm Selection CodePV Transfer Function CodePV Upper Range ValuePV Lower Range ValuePV Damping ValueWrite Protect CodePrivate Label Distributor
= 0 = High, 1 = Low= 0 = Linear= Qmax= 0= Dämpfung= 251 = Not Implemented= 26 = ABB
3.11 HART-Command 16 : Read Final Assembly NumberRevision
RequestData Bytes
none
ResponseData Bytes
#0..#2 Final Assembly Number
ResponseCodes
05
No Command Specific ErrorIncorrect Byte Count
Automation Products GmbH
HART-ProtokollErstellt vonName:
Datum:
Eggert Appel
25.09.00
Gerät:Kennung:Software:
AM54_31/32_Standard Software A.11D200F001U01_A11
Revision:Name:
Datum:
1Eggert Appel
14.05.01
3-5
3.12 HART-Command 17 : Write MessageRevision
RequestData Bytes
#0..#23 Message, Packed-ASCII
ResponseData Bytes
#0..#23 Message, Packed-ASCII
ResponseCodes
05
No Command Specific ErrorIncorrect Byte Count
3.13 HART-Command 18 : Write Tag, Descriptor, DateRevision
RequestData Bytes
#0..#5#6..#17
#18..#20
Tag, Packed-ASCIIDescriptor, Packed-ASCIIDate: Day, Month, Year
ResponseData Bytes
#0..#5#6..#17
#18..#20
Tag, Packed-ASCIIDescriptor, Packed-ASCIIDate: Day, Month, Year
ResponseCodes
05
No Command Specific ErrorIncorrect Byte Count
3.14 HART-Command 19 : Write Final Assembly NumberRevision
RequestData Bytes
#0..#2 Final Assembly Number
ResponseData Bytes
#0..#2 Final Assembly Number
ResponseCodes
05
No Command Specific ErrorIncorrect Byte Count
Automation Products GmbH
HART-ProtokollErstellt vonName:
Datum:
Eggert Appel
25.09.00
Gerät:Kennung:Software:
AM54_31/32_Standard Software A.11D200F001U01_A11
Revision:Name:
Datum:
1Eggert Appel
14.05.01
4-1
4 Commom Practice Commands
4.1 HART-Command 34 : Write Primary Variable Damping ValueRevision
RequestData Bytes
#0..#3 Damping Value, IEEE 754
ResponseData Bytes
#0..#3 Actual Damping Value, IEEE 754
ResponseCodes
0345
No Command Specific ErrorPassed Parameter to LargePassed Parameter to SmallIncorrect Byte Count
4.2 HART-Command 35 : Write Primary Variable Range ValuesRevision
RequestData Bytes
#0#1..#4#5..#8
PV Upper and Lower Range Values Units Code, Table IIPrimary Variable Upper Range Value, IEEE 754Primary Variable Lower Range Value, IEEE 754
ResponseData Bytes
#0#1..#4#5..#8
PV Upper and Lower Range Values Units Code, Table IIPrimary Variable Upper Range Value, IEEE 754Primary Variable Lower Range Value, IEEE 754
ResponseCodes
025
111213
No Command Specific ErrorInvalid SelectionIncorrect Byte CountUpper Range Value too HighUpper Range Value too LowUpper and Lower Range Values Out of Limits
Bemerkung PV Upper Range ValuePV lower Range Value
= Qmax= 0
4.3 HART-Command 38 : Reset Configuration Changed FlagRevision
RequestData Bytes
none
ResponseData Bytes
none
ResponseCodes
05
No Command Specific ErrorIncorrect Byte Count
Automation Products GmbH
HART-ProtokollErstellt vonName:
Datum:
Eggert Appel
25.09.00
Gerät:Kennung:Software:
AM54_31/32_Standard Software A.11D200F001U01_A11
Revision:Name:
Datum:
1Eggert Appel
14.05.01
4-2
4.4 HART-Command 40 : Enter/Exit Primary Variable Current ModeRevision
RequestData Bytes
#0..#3 Fixed Primary Variable Current Level, IEEE 754, mA
ResponseData Bytes
#0..#3 Actual Fixed Primary Variable Current Level, IEEE 754, mA
ResponseCodes
0345
11
No Command Specific ErrorPassed Parameter to Large (> 20.8 mA)Passed Parameter to Small (< 4.0 mA)Incorrect Byte CountIn Multidrop Mode
4.5 HART-Command 45 : Trim Primary Variable Current DAC ZeroRevision
RequestData Bytes
#0..#3 Externally Measured Primary Variable Current Level, IEEE 754, Units of mA
ResponseData Bytes
#0..#3 Actual Measured Primary Variable Current Level, IEEE 754, mA
ResponseCodes
03459
11
No Command Specific ErrorPassed Parameter to Large (> 5mA)Passed Parameter to Small (< 3mA)Incorrect Byte CountNot in Proper Current ModeIn Multidrop Mode
4.6 HART-Command 46 : Trim Primary Variable Current DAC GainRevision
RequestData Bytes
#0..#3 Externally Measured Primary Variable Current Level, IEEE 754, Units of mA
ResponseData Bytes
#0..#3: Actual Measured Primary Variable Current Level, IEEE 754, mA
ResponseCodes
03459
11
No Command Specific ErrorPassed Parameter to Large (> 22mA)Passed Parameter to Small (< 18mA)Incorrect Byte CountNot in Proper Current ModeIn Multidrop Mode
Automation Products GmbH
HART-ProtokollErstellt vonName:
Datum:
Eggert Appel
25.09.00
Gerät:Kennung:Software:
AM54_31/32_Standard Software A.11D200F001U01_A11
Revision:Name:
Datum:
1Eggert Appel
14.05.01
4-3
4.7 HART-Command 48 : Read Additional Transmitter StatusRevision
RequestData Bytes
none
ResponseData Bytes
#0..#2 Additional Status Information
Fehlerregister:#0, Bit 0#0, Bit 1#0, Bit 2#0, Bit 3#0, Bit 4#0, Bit 5#0, Bit 6#0, Bit 7#1, Bit 0#1, Bit 1#1, Bit 2#1, Bit 3#1, Bit 4#1, Bit 5#1, Bit 6#1, Bit 7
Statusregister:#0, Bit 0#0, Bit 1#0, Bit 2#0, Bit 3#0, Bit 4#0, Bit 5#0, Bit 6#0, Bit 7
Fehler 0:Fehler 1:Fehler 2:Fehler 3:Fehler 4:Fehler 5a:Fehler 5b:Fehler 6:Fehler 8:Fehler 9:Fehler 10:Fehler 11:Fehler 12:Fehler 13:Fehler 14:Fehler 15:
Unbenutzt / Don’t careFront End (Drehkondensator) / Front EndUnbenutzt / Don’t careDurchfluß > 105% / flow > 105%Unbenutzt / Don’t careInt. Datenbasis / Int. DatabaseExt. Datenbasis / Ext. DatabaseZähler / TotalizerUnbenutzt / Don’t careUnbenutzt / Don’t careUnbenutzt / Don’t careUnbenutzt / Don’t careViskosität / ViscosityUnbenutzt / Don’t careUnbenutzt / Don’t careUnbenutzt / Don’t care
Impulswertigkeit begrenzt / Puls factor limitedImpulsbreite begrenzt / Puls width limitedAlarmMax AlarmMin AlarmZählereinheit wechseln / Change totalizer unitFunktion- oder Selbsttest läuft / Function or self testUnbenutzt
ResponseCodes
05
No Command Specific ErrorIncorrect Byte Count
Automation Products GmbH
HART-ProtokollErstellt vonName:
Datum:
Eggert Appel
25.09.00
Gerät:Kennung:Software:
AM54_31/32_Standard Software A.11D200F001U01_A11
Revision:Name:
Datum:
1Eggert Appel
14.05.01
5-1
5 Slot - KommandosDie Parameter des Meßumformers lassen sich in drei Gruppen einteilen:
unsigned char-Variablen Parameter von Menüs mit Auswahllisten werden als "unsigned char" abgespeichert, z.B. Sprache:
Deutsch = 0Englisch = 1
unsigned int-VariablenEinige Zahlen, die nur ganzzahlig vorkommen, werden als "unsigned int" gespeichert, z.B. Gerätenummer.
float-VariablenDie restlichen Zahlen sind als float (IEEE 754) gespeichert, z.B. Dämpfung.
Im folgenden sind für die drei Gruppen das jeweilige Lese- und Schreib-Kommando und eine Tabelle mit denzugehörigen Parametern dargestellt.
5.1 Unsigned-char-Variablen
5.1.1 HART-Command 128 : Lese unsigned-char-VariableRevision
RequestData Bytes
#0 Slot-Index
ResponseData Bytes
#0#1
Slot-IndexInhalt des Slots
ResponseCodes
056
No Command Specific ErrorIncorrect Byte CountTransmitter Specific Command Error -> Ungültige Slotnummer
5.1.2 HART-Command 129 : Schreibe unsigned-char-VariableRevision
RequestData Bytes
#0#1
Slot-IndexInhalt des Slots
ResponseData Bytes
#0#1
Slot-IndexInhalt des Slots
ResponseCodes
02356
No Command Specific ErrorInvalid SelectionParameter to largeIncorrect Byte CountTransmitter Specific Command Error -> Ungültige Slotnummer
Automation Products GmbH
HART-ProtokollErstellt vonName:
Datum:
Eggert Appel
25.09.00
Gerät:Kennung:Software:
AM54_31/32_Standard Software A.11D200F001U01_A11
Revision:Name:
Datum:
1Eggert Appel
14.05.01
5.1-2
5.1.3 Tabelle der „unsigned char“ -Variablen
Slot-Nummer
Parameter Kennziffer Bedeutung Revision
20 Betriebsart | Flow mode 012345
Flüssigkeit Qv | Liquid QvFlüssigkeit Qm | Liquid QmGas QvGas Norm QnGas Standard QsGas Qm
50 Sprache | Language 01
Deutsch | GermanEnglisch | English
51
52
53
Anzeige 1. Zeile |Display 1. LineAnzeige 2. Zeile |Display 2. LineAnzeige 2.Zeile Multiplex |Display 2. Line Multiplex
0123
Q Betriebsart | Q operationProzent | PercentZähler | TotalizerPosition
54 2. Zeile Multiplex |2. Line multiplex
01
Aus | OffAn | On
60 Einheit Qvol | Unit Qvol Siehe HART-Tabelle:
2417
13828
13119292615
130272216
13623
137183031
132133134135
l/sl/ml/hm3/sm3/mm3/hm3/dft3/sft3/mft3/hft3/dugl/sugl/mugl/hmgl/digl/sigl/migl/higl/dbbl/sbbl/mbbl/hbbl/d
Automation Products GmbH
HART-ProtokollErstellt vonName:
Datum:
Eggert Appel
25.09.00
Gerät:Kennung:Software:
AM54_31/32_Standard Software A.11D200F001U01_A11
Revision:Name:
Datum:
1Eggert Appel
14.05.01
5.1-3
Slot-Nummer
Parameter Kennziffer Bedeutung Revision
61 Einheit Qm | Unit Qml Siehe HART-Tabelle:
7071727374757677787980818283
g/sg/mg/hkg/skg/mkg/hkg/dt/mt/ht/dlb/slb/mlb/hlb/d
62 Zv: Einheit Zähler | UnitTotalizer(betriebsartabhängig.| depends onflow mode)
4143
1124042
lm3ft3usgaligal
63 Zm: Einheit Zähler | UnitTotalizer(betriebsartabhängig.| depends onflow mode)
60616263
gkgtlb
66 Einheit Dichte | Unit Density 95919796929493
g/mlg/cm3g/lkg/lkg/m3lb/ft3lb/ugl
Automation Products GmbH
HART-ProtokollErstellt vonName:
Datum:
Eggert Appel
25.09.00
Gerät:Kennung:Software:
AM54_31/32_Standard Software A.11D200F001U01_A11
Revision:Name:
Datum:
1Eggert Appel
14.05.01
5.2-1
5.2 Unsigned-int-Variablen
5.2.1 HART-Command 130 : Lese-unsigned int-VariableRevision
RequestData Bytes
#0 Slot-Index
ResponseData Bytes
#0#1
#2..#3
Slot-IndexEinheitenkodeInhalt von Slot
ResponseCodes
056
No Command Specific ErrorIncorrect Byte CountTransmitter Specific Command Error -> Ungültige Slotnummer
5.2.2 HART-Command 131 : Schreibe unsigned-int-VariableRevision
RequestData Bytes
#0#1
#2#3
Slot-IndexEinheitenkodeInhalt von SlotMSBLSB
ResponseData Bytes
#0#1
#2#3
Slot-IndexEinheitenkodeInhalt von SlotMSBLSB
ResponseCodes
023456
No Command Specific ErrorInvalid Selection -> Ungültiger EinheitenkodeParameter To Large -> Parameter zu großParameter To Small -> Parameter zu kleinIncorrect Byte Count -> Anzahl Datenbytes ungleich 4Transmitter Specific Command Error -> Ungültige Slotnummer
Automation Products GmbH
HART-ProtokollErstellt vonName:
Datum:
Eggert Appel
25.09.00
Gerät:Kennung:Software:
AM54_31/32_Standard Software A.11D200F001U01_A11
Revision:Name:
Datum:
1Eggert Appel
14.05.01
5.2-2
5.2.3 Tabellen der „unsigned int“-Variablen
Slot-nummer
Parameter Bedeutung Revision
0 Gerätenummer | Instrumentnumber
Einheit:None =
Minimum =Maximum =
250
065535
80 Überlauf | Overflow Einheit:None =
Nur Lesen | Readonly
250
141 Service-Kode | Code number Einheit:None =
Minimum =Maximum =
250
09999
142 Angle Primary | Angle primary Einheit:None =
Nur Lesen | Readonly
250
160 Abgleich Winkel 0%|Adjust angle 0%
Einheit:None =
Minimum =Maximum =
250
3140031800
161 Abgleich Winkel 100% |Adjust angle 100%
Einheit:None =
Minimum =Maximum =
250
3220032600
Automation Products GmbH
HART-ProtokollErstellt vonName:
Datum:
Eggert Appel
25.09.00
Gerät:Kennung:Software:
AM54_31/32_Standard Software A.11D200F001U01_A11
Revision:Name:
Datum:
1Eggert Appel
14.05.01
5.3-1
5.3 Float-Variablen
5.3.1 HART-Command 132 : Lese float-VariableRevision
RequestData Bytes
#0 Slot-Index
ResponseData Bytes
#0#1
#2..#5
Slot-IndexEinheitenkodeInhalt des Slots
ResponseCodes
056
No Command Specific ErrorIncorrect Byte CountTransmitter Specific Command Error -> Ungültige Slotnummer
5.3.2 HART-Command 133 : Schreibe float-VariableRevision
RequestData Bytes
#0#1
#2..#5
Slot-IndexEinheitenkodeInhalt des Slots
ResponseData Bytes
#0#1
#2..#5
Slot-IndexEinheitenkodeInhalt des Slots
ResponseCodes
023456
No Command Specific ErrorInvalid Selection -> Ungültiger EinheitenkodeParameter To Large -> Parameter zu großParameter To Small -> Parameter zu kleinIncorrect Byte Count -> Anzahl Datenbytes ungleich 4Transmitter Specific Command Error -> Ungültige Slotnummer
Automation Products GmbH
HART-ProtokollErstellt vonName:
Datum:
Eggert Appel
25.09.00
Gerät:Kennung:Software:
AM54_31/32_Standard Software A.11D200F001U01_A11
Revision:Name:
Datum:
1Eggert Appel
14.05.01
5.3-2
Tabelle der „Float“-Variablen
Slot-Nummer
Parameter Bedeutung Revision
0 Qmax Medium | Rangemedium
Einheit:Siehe Einheiten-tabelle der einge-stellten Betriebsart| See unit tableflow modeAnmerkung: Qmax Medium kann nur gelesen werden! |Read only!
1 Qmax | Range Einheit:Siehe Einheiten-tabelle der einge-stellten BetriebsartBetriebsart | Seeunit table flowmode
Minimum =
Maximum =
0,9 * Qmax-Medium1,02 * Omax-Medium
2 Schleichmenge | Low flowcutoff
Einheit:% =
Minimum =Maximum =
57
1 %10 %
20 Viskosität |Viscosity
Einheit:mPas=
Minimum =Maximum =
253
0.1 mPas100 mPas
26 Normdichte | Normal density Einheit:Siehe Dichte-Einheit | See unittable density
Minimum =
Maximum =
0,00001[g/cm3]0,1 [g/cm3]
Automation Products GmbH
HART-ProtokollErstellt vonName:
Datum:
Eggert Appel
25.09.00
Gerät:Kennung:Software:
AM54_31/32_Standard Software A.11D200F001U01_A11
Revision:Name:
Datum:
1Eggert Appel
14.05.01
5.3-3
Slot-Nummer
Parameter Bedeutung Revision
27 Betriebsdichte | Operationdensity
Einheit:Siehe Dichte-Einheit | See unittable density
Minimum =
Maximum =
0,00001[g/cm3]Schwebe-körper-dichte |Float density[g/cm3]
90 Impuls Faktor |Puls factor
Einheit:Kehrwert derZählereinheit; be-triebsartabhängig |1/totalizer unit;depends on flowmode
4143112404246
1/l1/m31/ft31/ugl1/igl1/bbl
60616263
1/g1/kg1/t1/lb
91 Impulsbreite | Puls width Einheit:ms =
Minimum =Maximum =
253
5 ms256 ms
100 Dämpfung | Damping Einheit:s =
Minimum =Maximum =
51
0,5 s100 s
101 Iout bei Alarm | Iout at alarm Einhei:mA =
Minimum =Maximum =
39
21 mA23 mA
110 Max Alarm Einheit:%=
Minimum =Maximum =
57
0 %105 %
Automation Products GmbH
HART-ProtokollErstellt vonName:
Datum:
Eggert Appel
25.09.00
Gerät:Kennung:Software:
AM54_31/32_Standard Software A.11D200F001U01_A11
Revision:Name:
Datum:
1Eggert Appel
14.05.01
5.3-4
Slot-Nummer
Parameter Bedeutung Revision
111 Min Alarm Einheit:% =
Minimum =Maximum =
57
0 %105 %
160 Abgleich Iout 4mA | AdjustIout 4 mA
Einheit:mA =
Minimum =Maximum =
39
2 mA6 mA
161 Abgleich Iout 20mA | AdjustIout 20mA
Einheit:mA =
Minimum =Maximum =
39
10 mA30 mA
164 Qmax Wasser | Range water Einheit:l/h =
Minimum =Maximum =
138
20 l/h270999 l/h
165 Schwebekörperdichte | Floatdensity
Einheit:g/cm3 =
Minimum =Maximum =
91
1,000001 g/cm310 g/cm3
166 Viskositätszahl | Viscositynumber
EinheitmPas =
Minimum =Maximum =
253
0.1 mPas100 mPas
170171172173174175176177178179
Masterpoint:M1M2M3M4M5M6M7M8M9M10
Einheit:% =
Minimum =Maximum =
57
M(n-1) ; M(0)= 0%M(n+1)
Automation Products GmbH
HART-ProtokollErstellt vonName:
Datum:
Eggert Appel
25.09.00
Gerät:Kennung:Software:
AM54_31/32_Standard Software A.11D200F001U01_A11
Revision:Name:
Datum:
1Eggert Appel
14.05.01
5.3-5
Slot-Nummer
Parameter Bedeutung Revision
180181182183184185186187188189
Calibration:P1P2P3P4P5P6P7P8P9P10
Einheit:% =
Minimum =Maximum =
57
P(n-1) ; P(0)= 0%P(n+1)
Automation Products GmbH
HART-ProtokollErstellt vonName:
Datum:
Eggert Appel
25.09.00
Gerät:Kennung:Software:
AM54_31/32_Standard Software A.11D200F001U01_A11
Revision:Name:
Datum:
1Eggert Appel
14.05.01
5.4-1
5.4 String-Variablen
5.4.1 HART-Command 134 : Lese string-VariableRevision
RequestData Bytes
#0 Slot-Index
ResponseData Bytes
#0#1..#max
Slot-IndexInhalt des Slots (max. Länge richtet sich nur nach dem String des Slots)
ResponseCodes
056
No Command Specific ErrorIncorrect Byte CountTransmitter Specific Command Error -> Ungültige Slotnummer
5.4.2 HART-Command 135 : Schreibe string-VariableRevision
RequestData Bytes
#0#1..#max
Slot-IndexInhalt des Slots
ResponseData Bytes
#0#1..#max
Slot-IndexInhalt des Slots (max. Länge richtet sich nur nach dem String des Slots)
ResponseCodes
056
No Command Specific ErrorIncorrect Byte CountTransmitter Specific Command Error -> Ungültige Slotnummer
Automation Products GmbH
HART-ProtokollErstellt vonName:
Datum:
Eggert Appel
25.09.00
Gerät:Kennung:Software:
AM54_31/32_Standard Software A.11D200F001U01_A11
Revision:Name:
Datum:
1Eggert Appel
14.05.01
5.4-2
Tabelle der „String“-Variablen
Slot-Nummer
Parameter Bedeutung Revision
160 Auftragsnummer | Order number Max. Länge:16 Zeichen
Automation Products GmbH
HART-ProtokollErstellt vonName:
Datum:
Eggert Appel
25.09.00
Gerät:Kennung:Software:
AM54_31/32_Standard Software A.11D200F001U01_A11
Revision:Name:
Datum:
1Eggert Appel
14.05.01
5.5-1
5.5 Kurzübersicht der Slot-Kommandos
Menütitel Variablentyp Kommando Slot RevisionLesen Schreiben
Betriebsart unsigned char 128 129 20Sprache unsigned char 128 129 50Anzeige 1. Zeile unsigned char 128 129 51Anzeige 2. Zeile unsigned char 128 129 52Anzeige 2. Zeile multiplex unsigned char 128 129 532.Zeile Multiplex unsigned char 128 129 54Einheit Qvol unsigned char 128 129 60Einheit Zähler Zv unsigned char 128 129 62Einheit Zähler Zm unsigned char 128 129 63Einheit Dichte unsigned char 128 129 66
Gerätenummer (2.) unsigned int 130 131 0Überlauf unsigned int 130 131 80Service Kode unsigned int 130 131 141Angle Primary (2.) unsigned int 130 --- 142Abgleich Winkel 0% (2.) unsigned int 130 131 160Abgleich Winkel 100% (2.) unsigned int 130 131 161
Qmax Medium float 132 --- 0Qmax float 132 133 1Schleichmenge float 132 133 2Viskosität float 132 133 20Normdichte float 132 133 26Betriebsdichte float 132 133 27Impulsfaktor (1.) float 132 133 90Impulsbreite (1.) float 132 133 91Dämpfung float 132 133 100Iout bei Alarm float 132 133 101MAX Alarm float 132 133 110MIN Alarm float 132 133 111Abgleich Iout 4mA (2.) float 132 133 160Abgleich Iout 20mA (2.) float 132 133 161Qmax Wasser (2.) float 132 133 164Schwebekörperdichte (2.) float 132 133 165Viskositätszahl (2.) float 132 133 166M1 (2.) float 132 133 170M2 (2.) float 132 133 171M3 (2.) float 132 133 172M4 (2.) float 132 133 173M5 (2.) float 132 133 174M6 (2.) float 132 133 175M7 (2.) float 132 133 176M8 (2.) float 132 133 177M9 (2.) float 132 133 178M10 (2.) float 132 133 179P1 (2.) float 132 133 180
Automation Products GmbH
HART-ProtokollErstellt vonName:
Datum:
Eggert Appel
25.09.00
Gerät:Kennung:Software:
AM54_31/32_Standard Software A.11D200F001U01_A11
Revision:Name:
Datum:
1Eggert Appel
14.05.01
5.5-2
Menütitel Variablentyp Kommando Slot RevisionLesen Schreiben
P2 (2.) float 132 133 181P3 (2.) float 132 133 182P4 (2.) float 132 133 183P5 (2.) float 132 133 184P6 (2.) float 132 133 185P7 (2.) float 132 133 186P8 (2.) float 132 133 187P9 (2.) float 132 133 188P10 (2.) float 132 133 189
Auftragsnummer (2.) String 134 135 160
Anmerkungen: 1. Zusätzlich zu den „normalen“ Abhängigkeiten (Betriebsart -> Qmax usw.) müssen beiÄnderungen der Impulsbreite oder der Impulswertigkeit (Impuls), beide Parameter noch einmalgelesen werden, um die im Meßumformer gespeicherten Werte zu bekommen. | Changing theparameters ‚puls factor‘ or ‚puls width‘ read both again
2. Die Parameter können nur nach Eingabe der Service-Kode-Nummer geändert werden und sinddamit keine kundenzugänglichen Parameter!
Automation Products GmbH
HART-ProtokollErstellt vonName:
Datum:
Eggert Appel
25.09.00
Gerät:Kennung:Software:
AM54_31/32_Standard Software A.11D200F001U01_A11
Revision:Name:
Datum:
1Eggert Appel
14.05.01
6-1
6 Sonstige KommandosIn diesem Abschnitt sind alle übrigen Kommandos aufgeführt, die weder Universal, Common Practice noch Slot-Kommandos sind.
6.1 HART-Command 140 : Zähler und Überlauf löschenRevision
RequestData Bytes
none
ResponseData Bytes
none
ResponseCodes
05
No Command Specific ErrorIncorrect Byte Count
6.2 HART-Command 150 : Initialisierung der int. und ext. DatenbasisRevision
RequestData Bytes
none
ResponseData Bytes
none
ResponseCodes
05
No Command Specific ErrorIncorrect Byte Count
Anmerkung Das Kommando kann nur nach Eingabe der Service-Kode-Nummer benutzt werden und ist damitkein kundenzugängliches Kommando!
Achtung: Bei der Ausführung des Kommandos gehen sämtliche kunden- und gerätespezifischenParameter verloren!
6.3 HART-Command 151 : Download der int. in die ext. DatenbasisRevision
RequestData Bytes
none
ResponseData Bytes
none
ResponseCodes
05
No Command Specific ErrorIncorrect Byte Count
Anmerkung Das Kommando kann nur nach Eingabe der Service-Kode-Nummer benutzt werden und ist damitkein kundenzugängliches Kommando!
Achtung: Bei der Ausführung des Kommandos gehen sämtliche kunden- und gerätespezifischenParameter in der externen Datenbasis verloren!
Automation Products GmbH
HART-ProtokollErstellt vonName:
Datum:
Eggert Appel
25.09.00
Gerät:Kennung:Software:
AM54_31/32_Standard Software A.11D200F001U01_A11
Revision:Name:
Datum:
1Eggert Appel
14.05.01
6-2
6.4 HART-Command 165 : Lese „Prog. Ausgang“-EinstellungRevision
RequestData Bytes
none
ResponseData Bytes
#0 0 = Keine Funktion | No function1 = Impulsausgang | Puls output2 = Min/Max-Alarm _ | Min/Max-alarm _3 = Min/Max-Alarm / | Min/Max-alarm /4 = Sammel-Alarm _ | General-alarm _5 = Sammel-Alarm / | General-alarm /
ResponseCodes
05
No Command Specific ErrorIncorrect Byte Count
6.5 HART-Command 166 : Schreibe „Prog. Ausgang“-EinstellungRevision
RequestData Bytes
#0 0 = Keine Funktion | No function1 = Impulsausgang | Puls output2 = Min/Max-Alarm _ | Min/Max-alarm _3 = Min/Max-Alarm / | Min/Max-alarm /4 = Sammel-Alarm _ | General-alarm _5 = Sammel-Alarm / | General-alarm /
ResponseData Bytes
#0 0 = Keine Funktion | No function1 = Impulsausgang | Puls output2 = Min/Max-Alarm _ | Min/Max-alarm _3 = Min/Max-Alarm / | Min/Max-alarm /4 = Sammel-Alarm _ | General-alarm _5 = Sammel-Alarm / | General-alarm /
ResponseCodes
05
No Command Specific ErrorIncorrect Byte Count
Automation Products GmbH
HART-ProtokollErstellt vonName:
Datum:
Eggert Appel
25.09.00
Gerät:Kennung:Software:
AM54_31/32_Standard Software A.11D200F001U01_A11
Revision:Name:
Datum:
1Eggert Appel
14.05.01
7-1
7 Fehlersuche bei HartWenn die HART-Kommunikation nicht funktioniert, sollten folgende Punkte überprüft werden:
1. Der Meßumformer muß mit einen HART-fähigen Stromausgangsmodul bestückt sein.2. Die Bürde am Stromausgang muß zwischen 250 und 500 Ohm sein.3. Die Geräteadresse im Menü Schnittstelle
Wenn dies alles stimmt und dennoch die HART-Kommunikation nicht funktioniert, kann als nächstes der Empfangüberprüft werden. Im Untermenü "Funktionstest" gibt es die Funktion "HART-Command":
��������������� ���������������
� � ������ ���� ������������������������������������ ���! ������ �"���������������������#� ��� $%���� ����&��� ��! �'������#�����#&��� ��!
Wird hier nichts angezeigt, funktioniert bereits der Empfang nicht. In diesen Fall sollte mit einen Oszilloskop oder AC-DVM kontrolliert werden, ob überhaupt ein HART-Signal am Meßumformer ankommt. Der Signalpegel ist typisch 1mApp, so daß man z.B. an 500 Ohm Bürde 1 mApp * 500 Ohm = 500 mVpp Signal hat.Wenn ein Signal ankommt und der Meßumformer es nicht erkennt, ist vermutlich eine zu schlechte Signalqualitätschuld. In diesen Fall sollte der Test unter besseren Bedingungen wiederholt werden.
Wenn der Meßumformer die HART-Commands empfängt und die Gegenseite (z.B. Hand-Held-Communicator) dennochFehler meldet, sollte das Senden des Meßumformers mit einem AC-DVM oder Oszilloskop überprüft werden. Dies kannmit dem Funktionstest "HART-Transmitter" geschehen:
���������#����������������������
Nach Aufruf sendet der Meßumformer logisch 0 (=2200Hz) und nach einen Tastendruck logisch 1 (=1200Hz).
Weiterhin sollte mit dem Oszilloskop kontrolliert werden, ob der Meßumformer auf das Command antwortet.
ABB Automation Products GmbHDransfelder Str. 2, D-37079 GöttingenTel.: +49 (0) 5 51 9 05 - 0Fax: +49 (0) 5 51 9 05 - 777http://www.abb.de/durchfluss
Diese Technische Dokumentation ist urheberrechtlich geschützt. Die Übersetzung sowie die Vervielfältigung und Verbreitung in jeglicherForm – auch als Bearbeitung oder in Auszügen –, insbesondere als Nachdruck, photomechanische oder elektronische Wiedergabe oderin Form der Speicherung in Datenverarbeitungsanlagen oder Datennetzen ohne Genehmigung des Rechteinhabers sind untersagt undwerden zivil- und strafrechtlich verfolgt.
Technische Daten vorbehalten.Printed in the Fed. Rep. of Germany
Vertriebsadressen Deutschland
Region NordKieler Straße 13122769 HamburgTel: +49 (0)40-8 53 45-0Fax: +49 (0)40-8 53 45-2 75
Hackethalstr. 730179 HannoverTel: +49 (0)5 11-67 82-0Fax: +49 (0)5 11-67 82-6 03
Region MitteIndustriestraße 2865760 EschbornTel: +49 (0)61 96-800-16 63Fax: +49 (0)61 96-800-16 79
Region SüdwestDudenstraße 44-4668167 MannheimTel: +49 (0)6 21-381-0Fax: +49 (0)6 21-381-999
Region WestHeerdter Landstraße 19340549 DüsseldorfTel: +49 (0)2 11-50 07-70 00Fax: +49 (0)2 11-50 07-77 77
Region OstGutenbergplatz 104103 LeipzigTel: +49 (0)3 41-1 28-11 50Fax: +49 (0)3 41-1 28-11 62
Region SüdLandsberger Straße 32860687 MünchenTel: +49 (0)89-5 80 05-0Fax: +49 (0)89-5 80 05-1 39