Setup guide · Teltonika + DFM CAN

Connect a DFM CAN fuel flow meter to a Teltonika FMB640

Wire a DFM CAN fuel flow meter to the CAN1 port of a Teltonika FMB640, read total fuel used, fuel rate, operating hours and temperature with Manual CAN, and set up the sensors in Wialon.

wagencontrol.eu/compatibility/teltonika/fmb640-dfm-can/

Tracker
Teltonika FMB640
Flow meter
DFM CAN fuel flow meter
Interface
CAN (J1939) at 250 kbit/s, CAN1 port, read with Manual CAN
Flow meter software
ServiceS6 DFM 1.24 or later with the SK S6 adapter
Tracker software
Teltonika Configurator 1.3.5 or later
Server in this guide
Wialon Hosting

Wire the flow meter

DFM CAN wireSignalFMB640
WhiteCAN LCAN1 L (pin 2)
BlueCAN HCAN1 H (pin 12)
BrownGroundPower supply −
OrangePowerPower supply +
BlackK-LineNot used
Wiring diagram: DFM CAN white to CAN1 L, blue to CAN1 H, brown to ground, orange to +Vbat, 120 ohm terminators
Figure 1. The flow meter on the CAN bus.
FMB640 connector pinout and the DFM CAN cable connector with its wire table
Figure 2. FMB640 connector and DFM cable wires.
Build the CAN bus with the S6 SC CW 700 cable: it has a twisted pair and two 120 Ω terminating resistors. With two devices on two such cables, leave the second cable's resistor unconnected.

Set up the DFM CAN

  1. Connect the flow meter to a PC with the SK S6 adapter and open ServiceS6 DFM 1.24 or later.
  2. Check the CAN settings: source address 111 and baud rate 250 kbit/s (both are the defaults). Flow meters on one bus need different addresses.
  3. Save the settings.
ServiceS6 DFM CAN settings: protocol, source address 111 and baud rate 250 kbit/s
Figure 3. Address 111, 250 kbit/s.
ServiceS6 DFM source address list
Figure 4. Changing the address for a second flow meter.
ServiceS6 DFM profile menu with the save option
Figure 5. Save the settings.

Set up the FMB640

  1. In Teltonika Configurator (1.3.5 or later), enter the SIM operator's APN and the Wialon server address and port.
  2. Open Manual CAN IO and add the inputs below as Extended (29-bit) messages on CAN1. The last byte of each CAN ID is the flow meter address: 6F = 111.
  3. Tick the data bytes for each input as in the figure.
Teltonika Configurator GPRS settings with APN and Wialon server address
Figure 6. GSM operator and server settings.
Teltonika Configurator Manual CAN IO: CAN0 to CAN8 with extended CAN IDs 18F7046F, 18FE4D6F, 18F6056F, 18F6856F, 18F6866F and 18FEEE6F
Figure 7. Manual CAN inputs for the flow meter.
InputCAN IDValueWialon parameter
CAN018F7046FTotal fuel used, Lio_145*const0.001
CAN118F7046FOperating hoursio_146/const3600
CAN218FE4D6FAverage fuel rate, L/hio_147*const0.05
CAN318F6056FFuel rate, feed chamber, L/hio_148*const0.05
CAN418F6056FFuel rate, return chamber, L/hio_149*const0.05
CAN518F6856FFuel used while tampering, Lio_150*const0.001
CAN618F6866FNegative fuel used, Lio_151*const0.001
CAN718F6056FOperating time with interferenceio_152
CAN818FEEE6FFuel temperature, °Cio_153-const40

Set up the sensors in Wialon

Register the FMB640 in Wialon. On the unit's Sensors tab, create one sensor per value with the parameters from the table above. Total fuel used is an Absolute fuel consumption sensor; the fuel temperature is a temperature sensor; the others are custom sensors.

Wialon unit sensors list: total fuel used, engine hours, fuel rates, tampering, negative, interference and temperature
Figure 8. Sensors on the unit.
Wialon sensor properties: High Resolution Engine Total Fuel Used, absolute fuel consumption sensor, io_145*const0.001
Figure 9. Example: total fuel used.
Wialon sensor properties: Engine Hours Of Operation, io_146/const3600
Figure 10. Example: operating hours.

On the Fuel Consumption tab, tick Absolute fuel consumption sensor so that fuel reports use the flow meter.

Wialon Fuel Consumption tab with absolute fuel consumption sensor ticked
Figure 11. The flow meter as the consumption source.

Check the data

Request the unit's messages: all values should arrive. Compare them with the readings in ServiceS6 DFM.

Wialon messages table with the DFM CAN values
Figure 12. Flow meter values on the server.
ServiceS6 DFM counters with the same values highlighted
Figure 13. The same values in ServiceS6 DFM.

Last updated 1 December 2026.

Setting up Teltonika FMB640 + DFM CAN?

Send us your tracker firmware, the server you use and a screenshot of the settings. An engineer checks the setup and helps with the calibration.

Ask an engineer