449:
well explained than most documents you can locate easily. Finally, you're accessing information that *your* vehicle is making available to you to aid in diagnosis and, for the most part, emissions monitoring...the more people that monitor this and keep their car's pollution levels minimized the better. Anyway, monitoring scan codes via software is no different than the old method of turning the key on and off a few times with shorted pins and counting the flashing MIL. For what it's worth, if you're smart enough to build a J1850 compliant interface and build a scanner using this information, you're smarter than most of the automotive professionals I deal with. Information like this is a valuable addition to
Knowledge (XXG).
384:
copied fashion. Incomplete and inaccurate information will result in an increase of the cost of
Vehicle ownership to society as a whole. Scantools are already very cheap, as low as $ 10USD, and free software are available, that already used the FULL SAE and ISO documents to develop the free software. What is the purpose of this wiki? so that home hobbyists can do something that can already be done by 1000s of aftermarket companies using the FULL SAE and ISO documentation? Perhaps you need to find some backyard hobbyiest forum to post your so-called new found information.
112:
510:"baud" is a way of expressing the speed of serial data in symbols per second. The term gives credit to a pioneer in serial data, Emiel Baudot, but the baud term is all lower case. In a given serial data line, bit rate is always higher than baud rate. For example, in a 64QAM modem, M=64, and so the bit rate is N=6 times the baud rate. It is common for authors who are unfamiliar with "baud" to mistakenly substitute the term in place of "bits per second".
102:
81:
50:
21:
448:
I am an automotive engineer AND a "backyard hobbyist" . I also have all the SAE documents and, if you have ever seen them, this format is much easier to follow. The guy above is quite simply wrong...this information may not be as full as that found in the the SAE docs, but it is correct and much more
630:
There must be a better way than writing (256*A+B)/4 (AB is two's complement signed). What exactly is A and B if AB is signed? I would like to reference the page to people who are not "versed in programming", but know how to use an online unsignedââsigned calculator. As I understand, the intention of
806:
When a DTC is raised by the ECU it stores a freeze frame of data (eg rpm). This is often helpful when trying to figure out what caused the problem (eg maybe it raises a DTC for misfire but only when rpm is higher than 5000, which indicates maybe a weak coil). "Freeze DTC" merely indicates which DTC
431:
It is clear that the information here is not in copyright violation. It exists in the SAE and ISO documents in completely different form. I suggest putting a note in there that describes that this information may not be correct and then refer by direct link to the SAE/ISO documents (not just link
407:
Wouldn't this fall under "fair-use"? The copywritten materials are not being copied here - only the knowledge, which can't be copywritten. The remark about "increase cost of
Vehicle ownership" is absurd. That's like saying we should charge for the instructions to newly purchased electronics because
383:
This information is not publicly available, and if it is, then its in violation of international copyright law. Have you read the ISO documents on the SAE and ISO websites, they are fully complete and accurate. What you are posting here is bits and pieces from those documents in an incomplete and
190:
PID $ 23 is not limited to diesel engines, any engine where the fuel rail pressure is greater than that allowed by PID $ 22 may use it, gasoline direct injection for instance. Manufactures are required to report on one of the 3 fuel rail pressure PIDs PIDs $ 0A $ 22 or $ 23 if a fuel rail pressure
570:
Actually, when you add an unsigned 8-bit value of the second half to the signed first half multiplied by 256, you get the correct 16-bit 2's complement value. Therefore given a functionâsigned(a)âthat tells a calculator to take these 8-bits as 2's complement, the following expression results in a
194:
Rich and Lean fuel trims were switched. A negative fuel trim means the initially calculated fuel amount is too much (Rich) to achieve the desired Air/Fuel Ratio (14.7:1 under most driving conditions), and the ecm has to remove (hence the negative) a percentage from the calculated fuel amount.
311:
However, I also would like to add mode 22 PIds from SAE J/2190. Those are vendor specific; and there's issues about addressing those and prioritizing those messages on the OBD bus. What is the right answer for these? I'll put the PIDs in as they are, but presumably more information on this
657:
The typical way is to calculate 256*A+B as though it was unsigned and then assign it into a signed 16-bit variable. 2's complement arithmetic will do the unsigned to signed conversion automatically - both forms have the same bit-pattern in memory. If you can't declare the number of bits or
506:
b/sec is bit rate per second. kb or kb/sec is bit rate in thousands of bits per second. B and kB are symbols for Bytes and KiloBytes. These Bytes typically contain 8 or 9 bits each and are used often when discussing "storage" of data, not serial transport as we discuss here.
334:
Looks like the table of PID codes has been deleted. Is this information not accessible publicly? I'm really interested in the legality of having such information on
Knowledge (XXG). And shouldn't there be some sort of discussion before it's just up and removed?
766:
4 bytes representing an unsigned 32-bit number goes from 0 to 4294967295. Since each value counts 0.1 metres, that means the max distance is 429496729.5 metres. I have no idea where that old value came from but it is clearly wrong. I have fixed the article.
536:
The description of Mode 3 DTC parameter data seems to be specific to CAN-bus OBD-II ECUs. Older, pre-2003 OBD-II ECUs (i.e., J1850 VPW/PWM, ISO 9142-2 and
Keyword 2000) pack DTC data into multiple OBD-II response packets somewhat differently.
604:. By expressing it in terms of bytes A and B they can specify that A represents always the higher order byte, even on CPUs that use the opposite convention. This is a common problem for computer data communications and also a common solution.
408:
if the consumer wants them they should have to pay. I am a "backyard hobbyist" trying to develop something that would actually add significant value to vehicles by using this information which is quite contrary to what you are imagining.
791:
Service 1 PID 2 needs clarifying. The description of "Freeze DTC" with no units or formula leaves me confused about it's meaning. Is it a count of the number of DTCs for which there is a 'freeze frame' of associated data?
599:
The standards are expressed in terms of bytes because there is no universal standard on how to send 16-bits across a serial link. Some vendors send the upper 8-bits first and some send the lower 8-bits first - see
209:
I also have some doubts on the PID=0x23 line that is marked with "?". Some sources state that the return will be packed in 2 bytes. Some sources sugest a convertion factor of 10 to achieve a result in kPa.
556:
It's strange that this is the only magnitude signed, if it is, I guess formula shoud be a "(AB)/4 (being AB a 16bit signed value)" which is not the same than "((A*256)+B)/4 (A is signed)"
658:
signed/unsigned (typical of many scripting languages) then you do (256*A)+B as unsigned, then subtract 65536 (2) if the answer is greater than 32767 (2-1). Do the final divide by 4
631:
256*A+B is to specify the byte order without using big words like Big Endian. How about signed16(256*A+B)/4 where signed16(n) is two's complement signed of 16-bit integer n?
483:
Would adding vendor-specific codes to this page pose a copyright problem (Obtained by deciphering and relating messages by hand, without any official vendor-material)? --
168:
31:
351:
This was already discussed back in 2008, and it was decided to keep the page rather than remove it. Why was this decision ignored and the page deleted anyway?
895:
158:
308:
This article is great, and I just added two new PIDs from the range 0x50-0x60. I'll go through my notes and add more mode 1 PIDs over the next few days.
134:
890:
391:
125:
86:
867:
This is listed as being 9 bytes, yet it's described as a single temperature value and the formula only uses two bytes, which seems odd.
721:
517:
415:
315:
352:
276:
465:
61:
755:
578:
It would be easier, I agree, if OBD software makers were more widely able to take in two bytes directly as a 16-bit number.
27:
872:
853:
834:
797:
395:
67:
725:
521:
419:
740:
The calculation leads to 252645135 when I assume 15 (max) for all values and not 526 385 151.9 hm (km/10)
743:
717:
513:
453:
411:
387:
356:
261:
367:
I'm reverting the page back to before the table was deleted pending further discussion on it's removal. --
319:
294:
255:
868:
849:
830:
793:
636:
461:
848:
Service 1 PID 5F is described as bit encoded, but we're lacking an explanation of what the bits map to.
751:
583:
280:
233:
133:
on
Knowledge (XXG). If you would like to participate, please visit the project page, where you can join
196:
819:
775:
670:
612:
561:
632:
488:
457:
49:
20:
747:
579:
433:
368:
336:
214:
542:
437:
372:
340:
241:
557:
484:
290:
251:
813:
769:
664:
606:
236:
seems that it should merged into this article because there is more information here. â
811:. Maybe we can change the terse "Freeze DTC" to "DTC that triggered the freeze frame".
884:
538:
237:
275:
The OBD-II codes themselves are property of the
Society of Automotive Engineers.
808:
117:
601:
130:
107:
503:
The article needs standardization on data rates and abbreviations for such;
101:
80:
699:
312:
addressing belongs in a separate article on PWM/CAN modulation etc...?
829:
Ah, that makes perfect sense, thank you so much for explaining it. --
221:
876:
857:
838:
824:
807:
triggered the freeze frame data to be stored. This is explained in
801:
780:
759:
729:
675:
640:
617:
587:
565:
546:
525:
492:
469:
441:
423:
399:
376:
360:
344:
323:
298:
284:
265:
245:
199:
215:
http://groups.yahoo.com/group/opendiag/message/4888?viscount=100
43:
15:
714:
ISO 15031-5:2006 refers to "services" rather than modes.
596:
Beware that you are answering a question from 8 years ago.
129:, a collaborative effort to improve the coverage of
809:OBD-II_PIDs#Service_02_-_Show_freeze_frame_data
8:
75:
478:Adding non-standard/Vendor-specific PIDs?
30:on 7 November 2008 (UTC). The result of
700:https://onlinetoolz.net/unsigned-signed
692:
143:Knowledge (XXG):WikiProject Automobiles
77:
47:
7:
191:sensor is fitted to their vehicles.
123:This article is within the scope of
896:High-importance Automobile articles
499:kb, bits, Kilobits, baud and Baudot
304:Adding more PIDs, and Mode 22 PIDs?
66:It is of interest to the following
222:http://www.obd-2.de/tech_prog.html
14:
662:the unsigned/signed conversion.
146:Template:WikiProject Automobiles
110:
100:
79:
48:
19:
163:This article has been rated as
26:This article was nominated for
470:13:29, 13 September 2010 (UTC)
1:
760:17:03, 29 December 2020 (UTC)
730:02:59, 19 December 2012 (UTC)
676:13:45, 8 September 2021 (UTC)
641:17:54, 6 September 2021 (UTC)
547:17:00, 14 December 2011 (UTC)
526:23:53, 23 November 2011 (UTC)
299:20:53, 29 February 2008 (UTC)
137:and see a list of open tasks.
324:14:58, 7 November 2008 (UTC)
285:17:09, 19 January 2008 (UTC)
891:B-Class Automobile articles
781:03:42, 3 January 2021 (UTC)
618:03:49, 3 January 2021 (UTC)
566:19:13, 27 August 2012 (UTC)
266:17:59, 6 January 2008 (UTC)
246:04:21, 2 January 2008 (UTC)
912:
877:00:55, 21 March 2023 (UTC)
858:00:52, 21 March 2023 (UTC)
839:19:56, 21 March 2023 (UTC)
825:03:13, 21 March 2023 (UTC)
802:00:47, 21 March 2023 (UTC)
588:00:52, 17 March 2016 (UTC)
442:19:09, 4 August 2009 (UTC)
169:project's importance scale
424:18:12, 28 July 2009 (UTC)
400:07:53, 28 July 2009 (UTC)
377:20:17, 27 July 2009 (UTC)
361:20:05, 27 July 2009 (UTC)
345:19:59, 27 July 2009 (UTC)
162:
95:
74:
493:10:15, 21 May 2011 (UTC)
432:to their homepage). --
200:06:15, 5 May 2007 (UTC)
126:WikiProject Automobiles
56:This article is rated
571:signed 16-bit value:
234:Table of OBD-II Codes
60:on Knowledge (XXG)'s
736:PID A6/166 Odometer
149:Automobile articles
532:Mode 3 Description
62:content assessment
746:comment added by
720:comment added by
573:signed(A)Ă256 + B
539:Bruce D. Lightner
516:comment added by
473:
456:comment added by
414:comment added by
390:comment added by
268:
183:
182:
179:
178:
175:
174:
42:
41:
903:
823:
822:
779:
778:
762:
732:
702:
697:
674:
673:
616:
615:
574:
528:
472:
450:
426:
402:
259:
151:
150:
147:
144:
141:
120:
115:
114:
113:
104:
97:
96:
91:
83:
76:
59:
53:
52:
44:
23:
16:
911:
910:
906:
905:
904:
902:
901:
900:
881:
880:
865:
846:
818:
812:
789:
774:
768:
741:
738:
715:
712:
707:
706:
705:
698:
694:
669:
663:
611:
605:
572:
554:
534:
511:
501:
480:
451:
409:
385:
331:
306:
230:
228:Merger proposal
207:
188:
165:High-importance
148:
145:
142:
139:
138:
116:
111:
109:
90:Highâimportance
89:
57:
12:
11:
5:
909:
907:
899:
898:
893:
883:
882:
869:DiscreetParrot
864:
861:
850:DiscreetParrot
845:
842:
831:DiscreetParrot
794:DiscreetParrot
788:
785:
784:
783:
737:
734:
711:
708:
704:
703:
691:
690:
686:
685:
684:
683:
682:
681:
680:
679:
678:
648:
647:
646:
645:
644:
643:
623:
622:
621:
620:
597:
591:
590:
553:
550:
533:
530:
500:
497:
496:
495:
479:
476:
475:
474:
445:
444:
428:
427:
404:
403:
392:60.234.226.126
380:
379:
364:
363:
348:
347:
330:
329:PIDs Copyright
327:
305:
302:
229:
226:
225:
224:
218:
217:
206:
203:
187:
184:
181:
180:
177:
176:
173:
172:
161:
155:
154:
152:
135:the discussion
122:
121:
105:
93:
92:
84:
72:
71:
65:
54:
40:
39:
32:the discussion
24:
13:
10:
9:
6:
4:
3:
2:
908:
897:
894:
892:
889:
888:
886:
879:
878:
874:
870:
862:
860:
859:
855:
851:
843:
841:
840:
836:
832:
827:
826:
821:
817:
816:
810:
804:
803:
799:
795:
786:
782:
777:
773:
772:
765:
764:
763:
761:
757:
753:
749:
745:
735:
733:
731:
727:
723:
722:116.90.136.74
719:
709:
701:
696:
693:
689:
677:
672:
668:
667:
661:
656:
655:
654:
653:
652:
651:
650:
649:
642:
638:
634:
629:
628:
627:
626:
625:
624:
619:
614:
610:
609:
603:
598:
595:
594:
593:
592:
589:
585:
581:
577:
576:
575:
568:
567:
563:
559:
551:
549:
548:
544:
540:
531:
529:
527:
523:
519:
518:71.252.233.46
515:
508:
504:
498:
494:
490:
486:
482:
481:
477:
471:
467:
463:
459:
455:
447:
446:
443:
439:
435:
430:
429:
425:
421:
417:
416:71.59.106.104
413:
406:
405:
401:
397:
393:
389:
382:
381:
378:
374:
370:
366:
365:
362:
358:
354:
350:
349:
346:
342:
338:
333:
332:
328:
326:
325:
321:
317:
313:
309:
303:
301:
300:
296:
292:
291:Davide Andrea
287:
286:
282:
278:
274:
269:
267:
264:was added at
263:
257:
253:
252:Davide Andrea
248:
247:
243:
239:
235:
227:
223:
220:
219:
216:
213:
212:
211:
204:
202:
201:
198:
192:
185:
170:
166:
160:
157:
156:
153:
136:
132:
128:
127:
119:
108:
106:
103:
99:
98:
94:
88:
85:
82:
78:
73:
69:
63:
55:
51:
46:
45:
37:
33:
29:
25:
22:
18:
17:
866:
847:
828:
814:
805:
790:
770:
742:â Preceding
739:
716:â Preceding
713:
695:
687:
665:
659:
607:
569:
555:
535:
512:â Preceding
509:
505:
502:
316:63.107.91.99
314:
310:
307:
288:
272:
270:
249:
231:
208:
197:68.84.176.20
193:
189:
164:
124:
68:WikiProjects
35:
863:S-01 PID-7C
844:S-01 PID-5F
787:S-01 PID-02
452:âPreceding
410:âPreceding
386:âPreceding
353:64.9.88.210
277:64.26.98.90
260:âPreceding
250:-- Agreed!
140:Automobiles
131:automobiles
118:Cars portal
87:Automobiles
885:Categories
688:References
602:byte order
633:Levchenca
458:Quiller69
289:-- Done.
756:contribs
748:Ride4sun
744:unsigned
718:unsigned
580:Vickas54
552:PID $ 32
514:unsigned
466:contribs
454:unsigned
434:Tripzero
412:unsigned
388:unsigned
369:Tripzero
337:Tripzero
238:CZmarlin
186:PID $ 23
28:deletion
815:Stepho
771:Stepho
710:"Modes"
666:Stepho
608:Stepho
273:Comment
262:comment
167:on the
58:B-class
205:Doubts
64:scale.
660:after
558:J VEP
873:talk
854:talk
835:talk
820:talk
798:talk
776:talk
752:talk
726:talk
671:talk
637:talk
613:talk
584:talk
562:talk
543:talk
522:talk
489:talk
485:ND90
462:talk
438:talk
420:talk
396:talk
373:talk
357:talk
341:talk
320:talk
295:talk
281:talk
256:talk
242:talk
232:The
159:High
36:keep
34:was
271:--
258:)
887::
875:)
856:)
837:)
800:)
758:)
754:â˘
728:)
639:)
586:)
564:)
545:)
537:--
524:)
491:)
468:)
464:â˘
440:)
422:)
398:)
375:)
359:)
343:)
335:--
322:)
297:)
283:)
244:)
871:(
852:(
833:(
796:(
750:(
724:(
635:(
582:(
560:(
541:(
520:(
487:(
460:(
436:(
418:(
394:(
371:(
355:(
339:(
318:(
293:(
279:(
254:(
240:(
171:.
70::
38:.
Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.