NRC 0x31: requestOutOfRange

A parameter is outside what the ECU accepts: unknown DID, value out of range, bad address.

What the response looks like

Request:   22 F1 99
Response:  7F 22 31

A DID this ECU does not have. In a negative response, 7F is the negative response service ID, 22 is the service that was refused (ReadDataByIdentifier), and 31 is this code.

When ECUs send it

  • A parameter is outside what the ECU accepts: an unknown DID or routine ID, a value out of range, a memory address or size that is not allowed.
  • ReadDataByIdentifier with a DID the ECU does not have answers 0x31, not 0x11.
  • Functionally addressed requests get no 0x31; ECUs that do not have the DID stay silent.

What to try

Check the DID, routine ID, address or value against the specification.

Services that often return it

Other codes: request format and support

Do it in your browser