7.3-3 Antwortdatenarten
Die vom Kalibrator zurückgegebenen Daten lassen sich in vier Arten unterteilen:
Ganze Zahlen
Bei den meisten Steuerungen und Computern sind dies Dezimalzahlen im Bereich von -32768
bis 32768. Zum Beispiel:
* ESE 140; *ESE? liefert als Antwort 140
Gleitkommazahlen
Zahlen mit bis zu 15 signifikanten Stellen und Exponenten. Zum Beispiel:
CPRT_COEFA? liefert als Antwort 3,908000E-03
Zeichenantwortdaten (CRD)
Daten werden als Schlüsselworte zurückgeliefert. Zum Beispiel:
RTDJTYPE? liefert als Antwort PT385JO zurück.
Unbestimmte ASCII-Zeichen (IAD)
Alle ASCII-Zeichen, nach denen ein Endezeichen folgt. Zum Beispiel:
*IDN? liefert als Antwort MARTEL, ASC300, 250, 1.00
7.3-4 Kalibratorstatus
Statusregister, Aktivierungsregister und Warteschlangen liefern Statusinformationen für den
Kalibrator. Jedes Statusregister und jede Warteschlange hat ein Summary-Bit in dem Status-
Byte der seriellen Abfrage. Aktivierungsregister erzeugen Summary-Bits in dem Status-Byte der
seriellen Abfrage. Im Folgenden finden Sie eine Liste der Register- und Warteschlangen sowie
deren Funktion.
Status-Byte der seriellen Abfrage (STB)
Das STB wird versendet, wenn der Kalibrator auf den Befehl *STB? reagiert. Abbildung 24 zeigt
die Funktion. Der Wert wird gelöscht, wenn die Stromversorgung resetet wird.
Aktivierungsregister für Wertungsanfrage (SRE)
Aktiviert oder deaktiviert die Bits für den STB. Der Wert wird gelöscht, wenn die Stromversor-
gung resetet wird. Das setzen der Bits auf 0 deaktiviert diese im STB. Das Setzen der Bits auf 1
aktiviert sie. Bitzuordnungen für SRE und STB finden Sie in der folgenden Abbildung.
7
6
5
4
3
2
1
0
0
MSS
ESB
0
EAV
0
0
0
MSS
Master Summary-Status wird auf 1 gesetzt, wenn ESB bzw. EAV auf 1 sind
(aktiviert). Ein Lesevorgang erfolgt mit dem Befehl * STB?
ESB
Wird auf 1 gesetzt, wenn mindestens 1 Bit in ESR auf 1 gesetzt ist.
EAV
Fehler. Es wurde ein Fehler in die Fehlerschleife eingetragen. Er kann mit
dem Befehl Fault? ausgelesen werden.
29