欢迎访问ic37.com |
会员登录 免费注册
发布采购

ELM327_13 参数 Datasheet PDF下载

ELM327_13图片预览
型号: ELM327_13
PDF下载: 下载PDF文件 查看货源
内容描述: OBD转RS232解释 [OBD to RS232 Interpreter]
分类和应用:
文件页数/大小: 82 页 / 393 K
品牌: ELM [ ELM ELECTRONICS ]
 浏览型号ELM327_13的Datasheet PDF文件第28页浏览型号ELM327_13的Datasheet PDF文件第29页浏览型号ELM327_13的Datasheet PDF文件第30页浏览型号ELM327_13的Datasheet PDF文件第31页浏览型号ELM327_13的Datasheet PDF文件第33页浏览型号ELM327_13的Datasheet PDF文件第34页浏览型号ELM327_13的Datasheet PDF文件第35页浏览型号ELM327_13的Datasheet PDF文件第36页  
ELM327  
Interpreting Trouble Codes  
Likely the most common use that the ELM327 will  
be put to is in obtaining the current Diagnostic Trouble  
Codes (or DTCs). Minimally, this requires that a mode  
03 request be made, but first one should determine  
how many trouble codes are presently stored. This is  
done with a mode 01 PID 01 request as follows:  
6 bytes in the response have to be read in pairs to  
show the trouble codes (the above would be  
interpreted as 0133, 0000, and 0000). Note that the  
response has been padded with 00’s as required by  
the SAE standard for this mode – the 0000’s do not  
represent actual trouble codes.  
As was the case when requesting the number of  
stored codes, the most significant bits of each trouble  
code also contain additional information. It is easiest to  
use the following table to interpret the extra bits in the  
first digit as follows:  
>01 01  
To which a typical response might be:  
41 01 81 07 65 04  
If the first hex digit received is this,  
Replace it with these two characters  
The 41 01 signifies a response to the request, and  
the next data byte (81) is the number of current trouble  
codes. Clearly there would not be 81 (hex) or 129  
(decimal) trouble codes present if the vehicle is at all  
operational. In fact, this byte does double duty, with  
the most significant bit being used to indicate that the  
malfunction indicator lamp (MIL, or ‘Check Engine  
Light’) has been turned on by one of this module’s  
codes (if there are more than one), while the other 7  
bits of this byte provide the actual number of stored  
trouble codes. In order to calculate the number of  
stored codes when the MIL is on, simply subtract 128  
(or 80 hex) from the number.  
The above response then indicates that there is  
one stored code, and it was the one that set the Check  
Engine Lamp or MIL on. The remaining bytes in the  
response provide information on the types of tests  
supported by that particular module (see the J1979  
document for further information).  
In this instance, there was only one line to the  
response, but if there were codes stored in other  
modules, they each could have provided a line of  
response. To determine which module is reporting the  
trouble code, one would have to turn the headers on  
(AT H1) and then look at the third byte of the three  
byte header for the address of the module that sent  
the information.  
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
P0  
P1  
P2  
P3  
C0  
C1  
C2  
C3  
B0  
B1  
B2  
B3  
U0  
U1  
U2  
U3  
Powertrain Codes - SAE defined  
“ - manufacturer defined  
“ - SAE defined  
“ - jointly defined  
Chassis Codes - SAE defined  
“ - manufacturer defined  
“ - manufacturer defined  
“ - reserved for future  
Body Codes - SAE defined  
“ - manufacturer defined  
“ - manufacturer defined  
“ - reserved for future  
Network Codes - SAE defined  
“ - manufacturer defined  
“ - manufacturer defined  
“ - reserved for future  
Taking the example trouble code (0133), the first  
digit (0) would then be replaced with P0, and the 0133  
reported would become P0133 (which is the code for  
an ‘oxygen sensor circuit slow response’). Note that  
the ISO 15765-4 (CAN) protocol is very similar, but it  
adds an extra data byte (in the second position),  
showing how many data items (DTCs) are to follow.  
To provide a few more examples, if the received  
code was D016, you would replace the D with U1, and  
the resulting trouble code would be U1016. Similarly,  
1131 received would actually be for the code P1131.  
Having determined the number of codes stored,  
the next step is to request the actual trouble codes  
with a mode 03 request (there is no PID needed):  
>03  
A response to this could be:  
43 01 33 00 00 00 00  
The ‘43’ in the above response simply indicates  
that this is a response to a mode 03 request. The other  
ELM327DSI  
Elm Electronics – Circuits for the Hobbyist  
www.elmelectronics.com  
32 of 82  
 
 复制成功!