CXECU Command
Configuration of custom parsers to extract specific data from CAN messages.
What is it for?
| Use case | Description |
|---|---|
| 🔧 Custom parameters | Extract non-standard data from vehicles with proprietary protocols |
| 🚗 Manufacturer-specific data | Read exclusive PIDs from each vehicle brand |
| 📊 Advanced monitoring | Capture up to 28 CAN parameters simultaneously |
| ⚙️ Value conversion | Apply factor and offset to obtain values in real units |
| 🔄 Total flexibility | Configure endianness, sign and bit range to extract |
Description
The CXECU command allows configuring dynamic parsers to extract specific data from CAN messages. This is useful when you need to read non-standard parameters or from vehicles with proprietary protocols.
Support for up to 28 independent configurations (CXECU00-CXECU27), allowing simultaneous monitoring of multiple parameters.
Features
- Configurable parsers - Define exactly which bits to extract
- 28 instances - Up to 28 custom parameters
- Factor and offset - Raw value conversion
- Endianness - Big Endian and Little Endian support
- Signed values - Signed and Unsigned
Commands
Configuration
SCXECU[idx][enable],[can_id],[start_bit],[length],[factor],[offset],[min],[max],[endian],[signed]Query
QCXECU[idx]Response
RCXECU[idx][enable],[can_id],[start_bit],[length],[factor],[offset],[min],[max],[endian],[signed]Parameters
| Parameter | Description |
|---|---|
idx | ECU parser index (00-27) |
enable | E to enable, D to disable |
can_id | CAN message ID (hex) |
start_bit | Data start bit (0-511) |
length | Number of bits (1-64) |
factor | Multiplier factor (float) |
offset | Offset to add (float) |
min/max | Minimum/maximum valid values (int) |
endian | BE = Big Endian, LE = Little Endian |
signed | S = Signed, U = Unsigned |
Formula:
final_value = (raw_value * factor) + offsetExamples
RPM Capture:
SCXECU00E,3E8,24,16,0.125,0,0,8000,BE,U // Parser 00 for RPM, CAN ID 0x3E8Temperature Capture (offset -40°C):
SCXECU06E,2A0,0,8,1.0,-40,-40,215,BE,S // Engine temp with -40 offsetEnable and Disable:
SCXECU00E // Enable parser 00
SCXECU00D // Disable parser 00Predefined ECU Indices
Standard Engine Parameters (00-19)
| Index | Name | Description |
|---|---|---|
00 | engine_speed | Engine speed (RPM) |
01 | accel_pct | Throttle percentage (%) |
02 | fuel_pct | Fuel level (%) |
03 | odometer_total | Total odometer (km) |
04 | odoliter_total | Total odoliter (liters) |
05 | speed | Vehicle speed (km/h) |
06 | engine_temp | Engine temperature (C) |
07 | oil_press | Oil pressure (kPa) |
08 | fuel_trip | Trip fuel (liters) |
09 | fuel_trip_soft | Software trip fuel (liters) |
10 | time_engine_on | Total operation hours (hours) |
11 | chassis_code | Chassis code |
12 | fuel_rate | Consumption rate (L/h) |
13 | maf_sensor | Mass air flow sensor (g/s) |
14 | actualPercTorque | Actual torque percentage (%) |
15 | wheel_speed | Wheel speed (km/h) |
16 | status_dtc | Diagnostic trouble code status |
17 | engine_load | Engine load (%) |
18 | engine_runtime | Time since startup (seconds) |
19 | dist_traveled_mil | Distance since MIL (km) |
Custom Parameters (20-27)
| Index | Name | Description |
|---|---|---|
20 | custom.fuel_liters | Fuel liters |
21 | custom.fuel_milliliters | Fuel milliliters |
22 | custom.handbrake_status | Handbrake status (0/1) |
23 | custom.brake_pedal_status | Brake pedal status (0/1) |
24 | custom.accelerator_pct | Accelerator percentage |
25 | custom.door_driver | Driver door status (0/1) |
26 | custom.door_passenger | Passenger door status (0/1) |
27 | custom.clutch_pedal_status | Clutch pedal status (0/1) |
Related
Compatibility
💾Firmware:v1.00.00
SPLegacy
ULLegacy
SP-IOT
SM-IOT
ZE-IOT
See Also
- ECU Command - ECU variable query
- CXCAN Command - CAN bus configuration
- CAN00 Command - J1939 reading
- CAN01 Command - OBD-II reading
Last updated