CXOW Command — OneWire Module Configuration
Enables the OneWire module for temperature sensors and iButton coded keys.
What is it for?
| Use case | Description |
|---|---|
| 🌡️ Temperature monitoring | Enable DS18B20 sensors for cold chain |
| 🔑 Driver identification | Use iButton/Dallas keys for access control |
| 🆔 Sensors as keys | Register temperature sensors as ICL coded keys |
| 🔁 Code as engraved | Have the key code come out as it is engraved on the key (CRC first), the way other platforms load it |
Syntax
Configure
SCXOWa,b,cFields are positional and an empty field keeps its value: >SCXOW,,1< only changes the key notation.
Query
QCXOWResponse
RCXOWa,b,cParameters
| Parameter | Description |
|---|---|
| a | Working 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.
c | Example |
|---|---|
0 (default) | 01343C2B1600009C |
1 | 9C0000162B3C3401 |
- The bytes are reversed, not the characters.
- With
c=1the reversed code is used by everything that identifies the driver: theRIBandRCTreports, 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.
Related Commands
| Command | Description |
|---|---|
| OW | OneWire devices query |
| DT | OneWire temperature reading |
| ICL | Driver identification by key |