CXCAN Command - CAN Bus Configuration
Configures the usage mode of the integrated CAN module. Data capture and subsequent analysis will depend on the type of protocol and data transmission speed.
What is it for?
| Use case | Description |
|---|---|
| ⛽ Fuel consumption | Read ECU data from vehicle |
| 🚗 Engine data | RPM, temperature, pressure |
| 📊 Advanced telemetry | OBD2/J1939 information |
| 🚚 Transport fleets | Monitoring trucks and buses |
Commands
Configure
SCXCANa,bbb,cccc,ddd,eee,fQuery
QCXCANResponse
RCXCANa,bbb,cccc,ddd,eee,fParameters
| Field | Description | Values |
|---|---|---|
| a | Enable | 0=Disabled, 1=Enabled |
| bbb | Transmission speed | 125K, 250K, 500K, etc. |
| cccc | Protocol | J1939, OBD2, etc. |
| ddd | Time delay | - |
| eee | FuelTripSoftEnable | 0=Disable calculation, 1-100=Enable with percentage factor |
| f | FuelTripSoftEngineType | Engine type for Software FuelTrip calculation |
Examples
Configure CAN with J1939 at 250K
>SCXCAN1,250K,J1939<
// 1 → Enabled
// 250K → Speed 250 Kbaud
// J1939 → Protocol for heavy vehiclesOnce the protocol/speed is configured, it is not necessary to reconfigure it each time you want to enable or disable reading.
Enable reading
>SCXCAN1<Disable reading
>SCXCAN0<1 Mbps speed
The speed field (bbb) accepts the value 1M to run the CAN bus at 1 Mbps, in addition to the Kbaud values (125K, 250K, 500K, …). The suffix indicates the unit: K = Kbaud, M = Mbaud.
>SCXCAN1,1M,J1939<
// 1 → Enabled
// 1M → Speed 1 Mbps (1000 Kbaud)
// J1939 → Protocol for heavy vehiclesThe 1M value is supported at the hardware level from firmware v1.09.21. Use the speed that matches the vehicle’s bus; 1 Mbps is common on high-speed CAN buses.
Compatibility
💾Firmware:v1.00.00
💾Firmware v1.00.00
SP-IOT
SM-IOT
ZE-IOT
Parameters eee and f from v1.02.06
See Also
- CAN00 Command - CAN Configuration
- ECU Command - ECU Reading
Last updated