Skip to Content

IO Command — I/O Status Query

The IO command returns the current state of digital inputs, digital outputs (XP), ignition sensor (IGN), and system voltages.


What is it for?

🔌 Quick diagnostics — View all I/O status in one command
🚗 Ignition status — Check if vehicle is running
📥 Digital inputs — Query door sensors, panic button, etc.
📤 Digital outputs — Confirm relay and actuator status
🔋 Voltages — Monitor main and backup battery


Syntax

OperationCommandDescription
QueryQIORead all I/O states

Response

RIO;IGN{0|1};IN{bit6..bit0};XP{bit2..bit0};V{dV};VBU{cV}
FieldDescriptionFormat
IGNIgnition state0=OFF, 1=ON
INDigital inputs7-bit binary (MSB→LSB)
XPDigital outputs3-bit binary
VMain voltageTenths of volt
VBUBackup voltageHundredths of volt

Examples

Vehicle with ignition on

>QIO< >RIO;IGN1;IN1111110;XP010;V127;VBU420;ID=1234;*55<

Decoding:

ParameterValueMeaning
IGN1🔑 Ignition ON
IN1111110IN0=GND ⚡, IN1-IN6=OPEN
XP010XP1=ON ✅, XP0/XP2=OFF
V127🔋 12.7V (battery OK)
VBU420🔋 4.20V (backup OK)

Vehicle turned off

>QIO< >RIO;IGN0;IN1111111;XP000;V125;VBU415;ID=1234;*3A< // IGN OFF, all inputs open, outputs off

Interpretation:

- IGN: OFF - IN: All open - XP: All off - V: 12.5 V - VBU: 4.15 V

Alarm activated

>QIO<

Response:

>RIO;IGN0;IN1111101;XP001;V126;VBU418...

Interpretation:

  • IN01=0 (door sensor activated)
  • XP00=1 (siren activated)

IN Input Decoding

Inputs are reported in binary from MSB (bit 6) to LSB (bit 0):

BitInputState 1State 0
6IN6OpenGrounded
5IN5OpenGrounded
4IN4OpenGrounded
3IN3OpenGrounded
2IN2OpenGrounded
1IN1OpenGrounded
0IN0OpenGrounded

Example: IN=1111110

  • IN06-IN01: Open (1)
  • IN00: Grounded (0)

XP Output Decoding

Outputs are reported in binary from MSB (bit 2) to LSB (bit 0):

BitOutputState 1State 0
2XP2ActivatedDeactivated
1XP1ActivatedDeactivated
0XP0ActivatedDeactivated

Example: XP=010

  • XP2: OFF (0)
  • XP1: ON (1)
  • XP0: OFF (0)

Voltage Values

Main Voltage (V)

Expressed in tenths of volt:

  • V127 = 12.7 V
  • V140 = 14.0 V (charging)
  • V115 = 11.5 V (low battery)

Backup Voltage (VBU)

Expressed in hundredths of volt:

  • VBU420 = 4.20 V (LiPo battery OK)
  • VBU350 = 3.50 V (low battery)

Typical LiPo battery backup voltage is 3.7-4.2V. Values below 3.5V indicate need for recharge.

Compatibility

💾Firmware v1.03.00
SPLegacy
ULLegacy
💾Firmware v1.00.00
SP-IOT
SM-IOT
ZE-IOT

See Also

Last updated