Jump to content

FMB tachocheck: Difference between revisions

From Teltonika Telematics Wiki
Created page with "The “tachocheck” SMS command can be sent to the device to verify if connections were done correctly. It is used for getting status information. The SMS response structure is as follows: CAN_2:[<span style="color:orange;">TRC</span>],[<span style="color:green;">ABCD</span>], K-Line:[<span style="color:blue;">K</span>], Addr:[<span style="color:purple;">XXX</span>], Baud:[<span style="color:red;">YYY</span>], Ign:[<span style="color:teal;">Z</span>] [<span style="c..."
Tags: Mobile edit Mobile web edit
 
No edit summary
Tags: Mobile edit Mobile web edit
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
The “tachocheck” SMS command can be sent to the device to verify if connections were done correctly. It is used for getting status information.
===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:  
The SMS response structure is as follows:  


CAN_2:[<span style="color:orange;">TRC</span>],[<span style="color:green;">ABCD</span>], K-Line:[<span style="color:blue;">K</span>], Addr:[<span style="color:purple;">XXX</span>], Baud:[<span style="color:red;">YYY</span>], Ign:[<span style="color:teal;">Z</span>]
CAN_2:[<span style="color:orange;">TRC</span>],[<span style="color:green;">ABCD</span>], K-Line:[<span style="color:blue;">K</span>], Addr:[<span style="color:mediumorchid;">XXX</span>], Baud:[<span style="color:red;">YYY</span>], Ign:[<span style="color:deepskyblue;">Z</span>]


[<span style="color:orange;">T</span>] – Tachograph presence on the bus:
[<span style="color:orange;">T</span>] – Tachograph presence on the bus:
Line 27: Line 28:
*1 – K-Line data present on bus.
*1 – K-Line data present on bus.


[<span style="color:purple;">XXX</span>] – Address used by the tachograph for communication over CAN
[<span style="color:mediumorchid;">XXX</span>] – Address used by the tachograph for communication over CAN
*By default, its 251  
*By default, its 251  


[<span style="color:red;">YYY</span>] – Baud rate used by the tachograph
[<span style="color:red;">YYY</span>] – Baud rate used by the tachograph
*Most common value is 250 kbps
*Most common value is 250 kbps
[<span style="color:teal;">Z</span>] – Ignition Status (based on Ignition Source Settings)
[<span style="color:deepskyblue;">Z</span>] – Ignition Status (based on Ignition Source Settings)
*0 – Ignition is turned OFF  
*0 – Ignition is turned OFF  
*1 – Ignition is turned ON  
*1 – Ignition is turned ON  
Line 38: Line 39:
In FM64/FM65, the CAN line connected to tachograph must be configured in device configuration.   
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:
Example of command sending and response received via phone:


Line 44: Line 46:
''Breakdown:''
''Breakdown:''


CAN_2:<span style="color:orange;">000</span>, <span style="color:green;">0000</span>, K-Line:<span style="color:blue;">1</span>, Addr:<span style="color:purple;">251</span>, Baud:<span style="color:red;">500</span>, Ign:<span style="color:teal;">1
CAN_2:<span style="color:orange;">000</span>, <span style="color:green;">0000</span>, K-Line:<span style="color:blue;">1</span>, Addr:<span style="color:mediumorchid;">251</span>, Baud:<span style="color:red;">500</span>, Ign:<span style="color:deepskyblue;">1


<span style="color:orange;">000
<span style="color:orange;">000
Line 53: Line 55:
<span style="color:green;">0000</span> - No FMS data is present. <br>
<span style="color:green;">0000</span> - No FMS data is present. <br>
<span style="color:blue;">1</span> - K-Line data present on bus.<br>
<span style="color:blue;">1</span> - K-Line data present on bus.<br>
<span style="color:purple;">251</span> - Address used by the tachograph for communication over CAN.<br>
<span style="color:mediumorchid;">251</span> - Address used by the tachograph for communication over CAN.<br>
<span style="color:red;">500</span> - Baud rate used by the tachograph.<br>
<span style="color:red;">500</span> - Baud rate used by the tachograph.<br>
<span style="color:teal;">1</span> – ignition is ON.<br>
<span style="color:deepskyblue;">1</span> – ignition is ON.<br>


''Additional example:''
''Additional example:''


CAN_2:<span style="color:orange;">111</span>, <span style="color:green;">FMS1</span>, K-Line:<span style="color:blue;">1</span>, Addr:<span style="color:purple;">251</span>, Baud:<span style="color:red;">250</span>, Ign:<span style="color:teal;">1</span>
CAN_2:<span style="color:orange;">111</span>, <span style="color:green;">FMS1</span>, K-Line:<span style="color:blue;">1</span>, Addr:<span style="color:mediumorchid;">251</span>, Baud:<span style="color:red;">250</span>, Ign:<span style="color:deepskyblue;">1</span>


<span style="color:orange;">111
<span style="color:orange;">111
Line 68: Line 70:
<span style="color:green;">FMS1</span> - FMS is on CAN1 to return.<br>
<span style="color:green;">FMS1</span> - FMS is on CAN1 to return.<br>
<span style="color:blue;">1</span> - K-Line data present on bus.<br>
<span style="color:blue;">1</span> - K-Line data present on bus.<br>
<span style="color:purple;">251</span>Address used by the tachograph for communication over CAN.<br>
<span style="color:mediumorchid;">251</span> - Address used by the tachograph for communication over CAN.<br>
250 - Baud rate used by the tachograph.<br>
<span style="color:red;">250</span> - Baud rate used by the tachograph.<br>
1 – ignition is ON.<br>
<span style="color:deepskyblue;">1</span> – ignition is ON.<br>


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


'''What are the changes from before?'''
===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:
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:

Latest revision as of 11:36, 19 December 2025

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.