Programming; Transfer Modes; General Command Structure - RayTek XR Operating Instructions Manual

Infrared sensor lt,lth,mt,g5,p7
Table of Contents

Advertisement

7 Programming

7.1 Transfer Modes

The unit's serial interface is RS485.
Settings:
transfer rate: 9.6 kBaud, 8 data bits, 1 stop bit, no parity, flow control: none (half duplex
mode).
There are two possible transfer modes for the serial interface:
Poll Mode:
By user interface control, a parameter will be set or requested.
Burst Mode:
A pre-defined data string ("burst string") will be transferred as fast as possible as long
as the burst mode is activated. The data will be transferred in one direction only, from
the unit to the user interface.
V=P
"P" starts the Poll mode (allows to request or to set parameters)
V=B
"B" starts the Burst mode (data will be transferred as fast as possible; necessary: data
string definition – "Burst string")
$=UTIE
"$" sets the parameter combination ("burst string")
"U" unit (°C or °F)
"T" temperature value
"I" internal temperature of the terminal block connector (terminal block type) or
electronics housing (circular type)
"E" emissivity
?X$
gives the burst string parameters while in poll mode
Return from the burst mode to the poll mode:
If the poll mode shall be activated while the burst mode is still active, send a character
and within the following 3 seconds the command V=P.

7.2 General Command Structure

Requesting a parameter (Poll Mode)
?E<CR>
"?" is the command for "Request"
"E" is the parameter requested
<CR> (carriage return, 0D
It is possible to close with <CR> <LF> (0D
Setting a parameter (Poll Mode)
The parameter will be stored into the device EEPROM.
E=0.975<CR>
"E" is the parameter to be set
"=" is the command for "set a parameter"
"0.975" is the value for the parameter
<CR> (carriage return, 0D
It is possible to close with <CR> <LF> (0D
XR
) is closing the request
h
0A
) but not necessary.
h
h
) is closing the request
h
0A
) but not necessary.
h
h
Rev. B2 Feb 2017
Programming
45

Advertisement

Table of Contents
loading

Table of Contents