
Operating Manual CHM 8k
R1.7 / 01-2020
Communication via RS485 & Ethernet
30
8.2 Device configuration with RS485
The user can change settings via the RS485 interface:
•
for controlling the measuring processes
•
for configuring the communication interfaces
8.2.1 Reading out a parameter
A parameter can be queried with the command:
get<SPACE><RS485Number>:<ParameterName><CR><LF>
If <ParameterName> contains a valid name according to Table 4 or Table 5, the value is delivered via
<STX>get<SPACE><Device>:<ParameterName>=<Value>;<ASCIITwo’sComplement><CR><LF><E
OT>
Example with the default RS485Number 16 and the device name CHM198001
The short command
get 16: DVN<CR><LF>
can be used to query the device name and receive a response, here:
STX>get 16:DeviceName=CHM198001;8E<CR><LF><EOT>
Each of the non-printable characters <STX>, <CR>, <LF> and <EOT> stand for one byte with
hexadecimal codes 02, 0D, 0A and 04. The characters 3F represents the checksum of the two's
complement formed over the whole response line, excluding these two characters (3F) in accordance
with the protocol response formats (see sections 8.3.3 to 8.3.5).
8.2.2 Setting a parameter
A configuration parameter is changed via the command
set<SPACE><RS485Number>:<ParameterName>=<Value><CR><LF>
A successful change is confirmed with
<STX>set<SPACE><RS485Number>:<ParameterName>=<Value*>;<ASCIITwo’sComplement><CR>
<LF><EOT>
If <value> in the query command is within the limits of the permissible value range, the newly set value
<value*> also corresponds to this parameter. If the values are too small (too large), the minimum
(maximum) of the permissible range is used. For alphanumeric values as <value>, the default value is
used.
Example with RS485Number = 16:
With the command
set 16:Unit(m/ft)=ft<CR><LF>
or in the short form
set 16:UNT=ft<CR><LF>
the value of all range dependent parameters in the protocol responses is changed from the default meters
(m) to feet (ft) scale. Since Unit(m/ft) belongs to the changeable parameters, it should be confirmed with
<STX>set 16:Unit(m/ft)=ft;2A<CR><LF><EOT>
Содержание CHM 8k
Страница 1: ...General Information 1 User Manual Lufft CHM 8k Ceilometer...
Страница 72: ...Index of Tables 72...