Programming – CUE sensorCUE User Manual

Page 8

Advertising
background image

5. Programming

(REMARK: the following text is relevant for sensorCUE firmware versions 20 and higher)

The standard command for reading out the data from sensorCUE is:

RemoteVariableGet (reference as Word, paneladdress As Byte) as Word

The reference allows to identify which measured value should be read while the paneladdress
identifies which sensorCUE unit is to answer.

The following reference values are supported:

Reference = 0

sensorCUE firmware version

Reference = 1

temperature value

Reference = 2

lighting level value



Reference = 0

sensorCUE firmware version


Response value is in range 0 - 65535
The latest firmware version is 20.

Example: Fw = RemoteVariableGet (0, 34)

This command has assigned the firmware version number of sensorCUE-W (with the serial number
CS0265.0134) to the Fw variable.



Reference = 1

temperature value


The temperature is measured using 12bit resolution sensor. It covers the measuring range from

+125

°C to -55 °C

The temperature value is encoded into a 16-bit response value according to the following rules:

Response value bit weight

BIT

15

14

13

12

11

10

9 8 7 6 5 4 3 2 1 0

S S S S S 2

6

2

5

2

4

2

3

2

2

2

1

2

0

2

-1

2

-2

2

-3

2

-4

S means sign.
S=0 for positive and S=1 for negative values.





User Manual sensorCUE

www.cuesystem.com

Page 8 of 14

Advertising