Skip to Content

CXOW Command — OneWire Module Configuration

Enables the OneWire module for temperature sensors and iButton coded keys.


What is it for?

Use caseDescription
🌡️ Temperature monitoringEnable DS18B20 sensors for cold chain
🔑 Driver identificationUse iButton/Dallas keys for access control
🆔 Sensors as keysRegister temperature sensors as ICL coded keys
🔁 Code as engravedHave the key code come out as it is engraved on the key (CRC first), the way other platforms load it

Syntax

Configure

SCXOWa,b,c

Fields are positional and an empty field keeps its value: >SCXOW,,1< only changes the key notation.

Query

QCXOW

Response

RCXOWa,b,c

Parameters

ParameterDescription
aWorking mode: 0 = disabled, 1 = enabled (the firmware accepts values 0-30 without error, but only 0 and 1 have supported effect)
b(Optional) Temperature sensors: 0 = temperature only, 1 = as coded keys for ICL, 2 = automatic DT assignment by TH/TL
c(Optional) iButton key code: 0 = as the device reads it, 1 = as it is engraved on the key (reversed)

Key code (c)

An iButton key code has 8 bytes: family, serial number and CRC. The device builds it in the order it reads it (family first); on the key it is engraved the other way around (CRC first), and that is how other platforms show or load it.

cExample
0 (default)01343C2B1600009C
19C0000162B3C3401
  • The bytes are reversed, not the characters.
  • With c=1 the reversed code is used by everything that identifies the driver: the RIB and RCT reports, the driver session (IC), the ICL code list and the DRV driver (Wialon, templates, TRIP).
  • The ICL code list is loaded in the same notation: with c=1, with the number engraved on the key.
  • The bus scan (QOW) and the temperature sensor IDs, used to configure the DTs, do not change.

Parameter b is available from firmware v1.09.04 (value 2 from 1.09.28.T16) and parameter c from 1.09.28.T61. Since T61 an empty field keeps its value; before, >SCXOW,,1< changed the working mode.

The firmware does not strictly validate that a is 0 or 1: it accepts any value between 0 and 30 without error, but only 0 and 1 have supported and documented behavior. Do not send other values.


CommandDescription
OWOneWire devices query
DTOneWire temperature reading
ICLDriver identification by key

Compatibility

💾Firmware:v1.02.03
💾Firmware v1.02.03
SP-IOT
SM-IOT
Parameter b from v1.09.04; c from v1.09.28.T61
Last updated