Digitaler Befehlssatz
5
Digitaler Befehlssatz
Dezimal
HEX
1
0x01
LESEN Objekttemperatur
2
0x02
LESEN Kopftemperatur
3
0x03
LESEN aktuelle Objekttemperatur
4
0x04
LESEN Emissionsgrad
5
0x05
LESEN Transmission
9
0x09
LESEN Prozessortemperatur
14
0x0E
LESEN Serien-Nr.
15
0x0F
LESEN Firmware-Rev.
129
0x81
SETZEN mA-Ausgang
132
0x84
SETZEN Emissionsgrad
133
0x85
SETZEN Transmission
Schnittstellen Einstellungen:
8 Datenbits, 1 Stopbit, keine Parität, keine Flusskontrolle
BEISPIELE
Auslesen der Objekttemperatur:
(alle bytes in HEX)
Senden:
01
Kommando zum lesen der Objekt Temperatur
Empfangen:
04 D3
Objekttemperatur in Zehntel Grad + 1000
04 D3 = dez.1235
1235 - 1000 = 235
235 / 10 = 23,5 °C
Setzen des Emmissionsgrades:
(alle bytes in HEX)
Senden:
84 03 B6
Kommando zum setzen des Emmissionsgrades auf 0.950
Empfangen:
03 B6
Emissionsgrad x 1000
03 B6 = dez. 950
950 / 1000 = 0.950
thermoMETER CX
Kommando
Daten
keine
keine
keine
keine
keine
keine
keine
keine
byte1
byte1 byte2
byte1 byte2
Antwort
byte1 byte2
= (byte1 x 256 + byte2 - 1000) / 10
byte1 byte2
= (byte1 x 256 + byte2 - 1000) / 10
byte1 byte2
= (byte1 x 256 + byte2 - 1000) / 10
byte1 byte2
= (byte1 x 256 + byte2) / 1000
byte1 byte2
= (byte1 x 256 + byte2) / 1000
byte1 byte2
= byte1 x 256 + byte2
byte1 byte2 byte3
= byte1 x 65536 + byte2 x 256 + byte3
byte1 byte2
= byte1 x 256 + byte2
byte1
byte 1= mA*10 (z.B. 4mA = 4*10=40)
byte1 byte2
= (byte1 x 256 + byte2) / 1000
byte1 byte2
= (byte1 x 256 + byte2) / 1000
Ergebnis
Einheit
°C
°C
°C
°C
mA
23