ISO 14230 describes diagnostic communication over K-Line. The ECU and tester exchange addressed frames once communication has been initialised. A service identifier tells the ECU which diagnostic operation the tester is asking for.
Reading the network or diagnostic trace
A negative response carries 0x7F, the requested service identifier and a reason code. Read the request and response together to distinguish refusal of a service from no reply on the line.
See K-Line diagnostics and the vehicle diagnostics protocol guide.
Sources: ACTIA IME overview.
Detailed reference
Keyword Protocol 2000 (KWP 2000) is a diagnostic protocol used by older vehicle control units. ISO 14230 specifies its use over K-Line. The series covers the physical interface, the data link, diagnostic services and requirements for emissions-related diagnostics.
Requests and responses
The diagnostic tester initiates an exchange. The message header carries addressing information, and the payload carries a service identifier (SID) and any parameters. An ECU negative response begins with 0x7F, followed by the requested SID and a negative response code.
| Example service | Request SID | Positive response SID |
|---|---|---|
| StartDiagnosticSession | 0x10 | 0x50 |
| ReadECUIdentification | 0x1A | 0x5A |
| ReadDataByLocalIdentifier | 0x21 | 0x61 |
Related references
For the link between diagnostic requests and measurements, see Diagnostic communication protocols for serial logging. For diagnostics carried over CAN, see OBD-II and UDS diagnostic CAN IDs.