Skip to Content

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 caseDescription
Fuel consumptionRead ECU data from vehicle
🚗 Engine dataRPM, temperature, pressure
📊 Advanced telemetryOBD2/J1939 information
🚚 Transport fleetsMonitoring trucks and buses

Commands

Configure

SCXCANa,bbb,cccc,ddd,eee,f

Query

QCXCAN

Response

RCXCANa,bbb,cccc,ddd,eee,f

Parameters

FieldDescriptionValues
aEnable0=Disabled, 1=Enabled
bbbTransmission speed125K, 250K, 500K, etc.
ccccProtocolJ1939, OBD2, etc.
dddTime delay-
eeeFuelTripSoftEnable0=Disable calculation, 1-100=Enable with percentage factor
fFuelTripSoftEngineTypeEngine 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 vehicles

Once 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 vehicles

The 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

Last updated