METIS M311 / M322 / H311 / H322 (17-pin)
Communication via Serial Interface / Interface Commands
51
11 Communication via Serial Interface / Interface Commands
Interface commands are used to communicate directly with a Sensortherm pyrometer. Commands can
be used to write an own access control or can be entered in the terminal field of the software Sensor-
Tools (see 7.4 Communication / Options) or entered via a terminal software.
Data is exchanged in ASCII format with the following transmission parameters:
8 bit, 1 stop bit, even parity (8,1,e)
Command sequence to write parameters:
2-digit device address command parameter <CR> (Carriage Return)
Command sequence to read out the current set parameters:
2-digit device address command <CR> (Carriage Return)
Device address (also see in 6.14): In factory setting the device address is 00 but can be
changed directly at the pyrometer (under INTERFACE> ADD).
In the terminal field of the SensorTools software no address is required.
Parameters are encoded in hexadecimal unless specified otherwise.
When writing with valid parameters, the response will be ok + <CR>
When writing with invalid parameters, the response will be no + <CR>
Deviating reading commands are in parentheses at the respective commands.
Example:
Input in terminal programs
with device address 00
Input in terminal program of SensorTools
without device address
00ar1<CR> sets the 2
nd
analog output to 4-20 mA
00ar reads out how the analog output is set
ar1<CR> sets the 2
nd
analog output to 4-20 mA
ar reads out how the analog output is set
Note: The following commands are valid with the newest firmware version.
Output of analog output 2
X=2 (analog output 2); Y=0...8, output temperature or controller
Y=0 = No output Y=3 = Temperature channel 2
Y=1 = 2-color temperature Y=6 = manipulated variable (devices with PID controller)
Y=2 = temperature channel 1 Y=8 = Device temperature
Measured temperature (for temperature reading see mw command)
X=0...3; 0=2-color channel; 1=channel 1; 2=channel 2
Analog output 2
X=0...1; 0=0–20mA; 1=4–20mA
Analog output 1
X=0...1; 0=0–20mA; 1=4–20mA
Switch-off level in 1/10%
XXXX=0x0014...0x0384 (corresponds to 2.0…90.0%)
Response time of the switch-off (in steps of 100 µs to 10 s)
XXXXXX=0x000000...0x0186A0
Reference number pyrometer (18-digit ASCII)
Reference number pyrometer (21-digit ASCII)
Buffer mode selection (XX = 00...02)
Poll of the buffer data (only one current packet!)
Buffer mode 00: answer: AAAA
AAAA = Display temperature (0xF001 => Overflow)
Buffer mode 01: answer: AAAABBBBCCCC
AAAA = Temperature channel 1 (0xF001 => Overflow)
BBBB = Temperature channel 2 (0xF001 => Overflow)
CCCC = 2-color temperature (0xF001 => Overflow)