Jump to content

FMB tachocheck

From Teltonika Telematics Wiki

Command Overview

The tachocheck SMS command can be sent to the device to verify if connections were done correctly. It is used to get status information.

The SMS response structure is as follows:

CAN_2:[TRC],[ABCD], K-Line:[K], Addr:[XXX], Baud:[YYY], Ign:[Z]

[T] – Tachograph presence on the bus:

  • 0 – Tachograph doesn’t respond on the bus.
  • 1 – Tachograph responds on bus.

[R] – Response to Open Remote Session validity check:

  • 0 – Wrong or unknown response (failed to open Remote Session).
  • 1 – Tachograph responds positively (Remote Session opened successfully).

[C] – Response to Close Last Authentication Session validity check:

  • 0 – Wrong or unknown response (failed to close last authentication session).
  • 1 – Last authentication session closed successfully, the device is ready to open a new authentication session.

[ABCD] – FMS data presence on the bus:

  • FMS1 - If FMS is on CAN1 to return
  • FMS2 - If FMS is on CAN2 to return
  • FMS3 - If FMS is on BOTH to return
  • 0000 - If no FMS is present

[K] – K-Line data presence on the bus:

  • 0 – K-Line data do not present on the bus;
  • 1 – K-Line data present on bus.

[XXX] – Address used by the tachograph for communication over CAN

  • By default, its 251

[YYY] – Baud rate used by the tachograph

  • Most common value is 250 kbps

[Z] – Ignition Status (based on Ignition Source Settings)

  • 0 – Ignition is turned OFF
  • 1 – Ignition is turned ON

In FM64/FM65, the CAN line connected to tachograph must be configured in device configuration.

Examples

Example of command sending and response received via phone:

Breakdown:

CAN_2:000, 0000, K-Line:1, Addr:251, Baud:500, Ign:1

000

  • 0 – Tachograph doesn’t respond on the bus.
  • 0 – Wrong or unknown response (failed to open Remote Session);
  • 0 – Wrong or unknown response (failed to close last authentication session);

0000 - No FMS data is present.
1 - K-Line data present on bus.
251 - Address used by the tachograph for communication over CAN.
500 - Baud rate used by the tachograph.
1 – ignition is ON.

Additional example:

CAN_2:111, FMS1, K-Line:1, Addr:251, Baud:250, Ign:1

111

  • 1 – Tachograph responds on bus.
  • 1 – Tachograph responds positively (Remote Session opened successfully).
  • 1 – Last authentication session closed successfully, the device is ready to open a new authentication session.

FMS1 - FMS is on CAN1 to return.
1 - K-Line data present on bus.
251 - Address used by the tachograph for communication over CAN.
250 - Baud rate used by the tachograph.
1 – ignition is ON.

Important: All the values should only be interpreted if the Ignition is 1.

Updates

Previously, for FMX64 devices using FW 01.02.29.Rev.00 or older the response to “tachocheck” command did not have Tacho address, Baudrate and Ignition status as shown below:

CAN_2:[TRC],[ABCD], K-Line:[K]

This was added from FW 01.02.29.Rev.02 onwards for FMC640.