Member-only story

AUTO-DIAG 25: Routine Control

Arun Kumar
3 min readSep 11, 2022

--

Do you know today’s personal assistants have a feature called routine which performs a specific set of tasks when you utter a keyword? Like “Good morning” which you can customize to set the home temperature, brief the news, make coffee, etc. The same applies in the diagnostics world. Consider an ID associated with a set of tasks to be performed when the ID is invoked, the client uses the routine control service to do so.

The service ID for routine control is 0x31.

There are two guidelines provided by the standard to implement remote service routines.

  1. The client should stop the routine in the server after starting a specific routine
  2. The client only starts the routine and the server is responsible to stop the routine after the set of tasks is completed

Sub-functions supported by routine control are

Let’s go through them one by one in detail -

2. Stop routine — This sub-function is used to stop an in-progress routine. This can be successfully commanded only after a “start routine” is issued by the client or tester. The sub-function ID is 0x02

3. Request routine results — This sub-function is used to request results from the server or ECU after the functionality in the server is completed. A busy response is provided by the server when this sub-function is commanded by the client when the routine is ongoing. The sub-function ID is 0x03

Response Options Positive response message

Negative response code supported

Thank you :)

Originally published at https://allautotech.net on September 11, 2022.

--

--

Arun Kumar
Arun Kumar

Written by Arun Kumar

Automotive enthusiast | Balanced philosopher

No responses yet