-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathssm2-protocol
1061 lines (1061 loc) · 33.9 KB
/
ssm2-protocol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
The subaru select monitor protocol uses an ISO9141 interface and uses UART settings:
4800 bps n, 8, 1 all data is sent and recieved using small packets that all share
a common header.
packets all follow this structure:
0x80
Destination byte
Source byte
Data Size byte
data...
...
Checksum byte
known Source and Destination bytes:
0x10 Subaru ECU
0xf0 Diagnostic tool
the Data Size byte specifies the number of data bytes in the packet the Checksum byte is the 8 least significant bits of
the sum of every packet byte (including the header)
for example:
if you send the packet:
0x80 0x10 0xF0 0x01 0xBF 0x40
the ecu might respond with:
0x80 0xF0 0x10 0x39 0xFF 0xA2 0x10 0x0F 0x1B 0x14 0x40 0x05 0x05 0x73 0xFA
0xEB
0x80 0x2B 0xC1 0x02 0xAA 0x00 0x10 0x00 0x60 0xCE 0x54 0xF8 0xB0 0x60 0x00
0x00
0xE0 0x00 0x00 0x00 0x00 0x00 0xDC 0x00 0x00 0x55 0x10 0x00 0x00 0x02 0x00
0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x1F
When sending a packet to the ECU the first data byte is the command byte.
These are the known commands:
0xA0 Read memory
0xA8 Read single address
0xB0 Write memory
0xB8 Write single address
0xBF ECU init
-------------------------------- Command Formats --------------------------------
A0 Block Read Request
A0 PP AA AA AA CC
PP == pad?
AA AA AA = address
CC == byte count - 1
A8 Address Read Request
A8 PP A1 A1 A1 A2 A2 A2 A3 A3 A3...
PP == pad?
A1 A1 A1 == address
A2 A2 A2 ... == optional addressesB0 Write Block Request
B0 AA AA AA DD DD DD DD DD ...
AA AA AA == address
DD DD ... == data of desired length
B8 Address Write Request
B8 AA AA AA DD
AA AA AA == address
DD == data byte
BF ECU Init Request
BF
-------------------------------- Command Examples -------------------------------
Block Read: Read 128 bytes from address 0x200000 (ecu returned all zeros)
Sent:
0x80 0x10 0xF0 0x06 0xA0 0x00 0x20 0x00 0x00 0x7F 0xC5
Received:
0x80 0xF0 0x10 0x81 0xE0
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00
0xE1
-----------------------
Address Read: Read Address 0x000008 and 0x00001C (ecu returns values 0x7D and 0xB1)
Sent:
0x80 0x10 0xF0 0x08 0xA8 0x00 0x00 0x00 0x08 0x00 0x00 0x1C 0x54
Received:
0x80 0xF0 0x10 0x03 0xE8 0x7D 0xB1 0x99
-----------------------
Block Write: Write 4 bytes to address 0x200000 (ecu returns written data)
Sent:
0x80 0x10 0xF0 0x08 0xB0 0x20 0x00 0x00 0x01 0x02 0x03 0x04 0x62
Received:
0x80 0xF0 0x10 0x05 0xF0 0x01 0x02 0x03 0x04 0x7F
-----------------------Write single address: Write value 0x02 to address 0x00006F
Sent:
0x80 0x10 0xF0 0x05 0xB8 0x00 0x00 0x6F 0x02 0xAE
Received:
0x80 0xF0 0x10 0x02 0xF8 0x02 0x7C
----------------------------------------------------------------------------------
Certain bytes in the ECU Init string (returned from request 0xBF) can be examined to determine which parameters the
ECU will support. The individual bits are flags that will be set to one if the parameter can be read from the ECU
(byte 9 is immediately after the 5 byte ECU ID value)
********** BYTE 9 **********
7 Engine Load
6 Coolant Temperature
5 Air/Fuel Correction #1
4 Air/Fuel Learning #1
3 Air/Fuel Correction #2
2 Air/Fuel Learning #2
1 Manifold Absolute Pressure
0 Engine Speed
********** BYTE 10 *********
7 Vehicle Speed
6 Ignition Timing
5 Intake Air Temperature
4 Mass Air Flow
3 Throttle Opening Angle
2 Front O2 Sensor #1
1 Rear O2 Sensor
0 Front O2 Sensor #2
********** BYTE 11 *********
7 Battery Voltage
6 Air Flow Sensor Voltage
5 Throttle Sensor Voltage
4 Differential Pressure Sensor Voltage
3 Fuel Injection #1 Pulse Width
2 Fuel Injection #2 Pulse Width
1 Knock Correction
0 Atmospheric Pressure
********** BYTE 12 **********
7 Manifold Relative Pressure
6 Pressure Differential Sensor
5 Fuel Tank Pressure
4 CO Adjustment
3 Learned Ignition Timing
2 Accelerator Opening Angle
1 Fuel Temperature
0 Front O2 Heater #1
********** BYTE 13 *********
7 Rear O2 Heater Current
6 Front O2 Heater #2
5 Fuel Level
4 -------------------------
3 Primary Wastegate Duty Cycle
2 Secondary Wastegate Duty Cycle
1 CPC Valve Duty Ratio
0 Tumble Valve Position Sensor Right********** BYTE 14 *********
7 Tumble Valve Position Sensor Left
6 Idle Speed Control Valve Duty Ratio
5 Air/Fuel Lean Correction
4 Air/Fuel Heater Duty
3 Idle Speed Control Valve Step
2 Number of Ex. Gas Recirc Steps
1 Alternator Duty
0 Fuel Pump Duty
********** BYTE 15 *********
7 VVT Advance Angle Right
6 VVT Advance Angle Left
5 OCV Duty Right
4 OCV Duty Left
3 OCV Current Right
2 OCV Current Left
1 Air/Fuel Sensor #1 Current
0 Air/Fuel Sensor #2 Current
********** BYTE 16 **********
7 Air/Fuel Sensor #1 Resistance
6 Air/Fuel Sensor #2 Resistance
5 Air/Fuel Sensor #1
4 Air/Fuel Sensor #2
3 Air/Fuel Correction #3
2 Air/Fuel Learning #3
1 Rear O2 Heater Voltage
0 Air/Fuel Adjustment Voltage
********** BYTE 17 **********
7 -------------------------
6 -------------------------
5 Gear Position
4 -------------------------
3 -------------------------
2 -------------------------
1 -------------------------
0 -------------------------
********** BYTE 18 **********
7 -------------------------
6 -------------------------
5 -------------------------
4 Air/Fuel Sensor #1 Heater Current
3 Air/Fuel Sensor #2 Heater Current
2 -------------------------
1 -------------------------
0 -------------------------
********** BYTE 19 **********
7 -------------------------
6 -------------------------
5 -------------------------
4 -------------------------
3 -------------------------
2 -------------------------
1 -------------------------
0 -------------------------********** BYTE 20 **********
7 -------------------------
6 AT Vehicle ID
5 Test Mode Connector
4 Read Memory Connector
3 -------------------------
2 -------------------------
1 -------------------------
0 -------------------------
********** BYTE 21 **********
7 Neutral Position Switch
6 Idle Switch
5 -------------------------
4 Intercooler AutoWash Switch
3 Ignition Switch
2 Power Steering Switch
1 Air Conditioning Switch
0 -------------------------
********** BYTE 22 **********
7 Handle Switchv
6 Starter Switch
5 Front O2 Rich Signal
4 Rear O2 Rich Signal
3 Front O2 #2 Rich Signal
2 Knock Signal 1
1 Knock Signal 2
0 Electrical Load Signal
********** BYTE 23 **********
7 Crank Position Sensor
6 Cam Position Senso
5 Defogger Switch
4 Blower Switch
3 Interior Light Switch
2 Wiper Switch
1 Air-Con Lock Signal
0 Air-Con Mid Pressure Switch
********** BYTE 24 **********
7 Air-Con Compressor Signal
6 Radiator Fan Relay #3
5 Radiator Fan Relay #1
4 Radiator Fan Relay #2
3 Fuel Pump Relay
2 Intercooler Auto-Wash Relay
1 CPC Solenoid Valve
0 Blow-By Leak Connector
********** BYTE 25 **********
7 PCV Solenoid Valve
6 TGV Output
5 TGV Drive
4 Variable Intake Air Solenoid
3 Pressure Sources Change
2 Vent Solenoid Valve
1 P/S Solenoid Valve
0 Assist Air Solenoid Valve********** BYTE 26 **********
7 Tank Sensor Control Valve
6 Relief Valve Solenoid 1
5 Relief Valve Solenoid 2
4 TCS Relief Valve Solenoid
3 Ex. Gas Positive Pressure
2 Ex. Gas Negative Pressure
1 Intake Air Solenoid
0 Muffler Control
********** BYTE 27 **********
7 -------------------------
6 -------------------------
5 -------------------------
4 -------------------------
3 Retard Signal from AT
2 Fuel Cut Signal from AT
1 Ban of Torque Down
0 Request Torque Down VDC
********** BYTE 28 **********
7 Torque Control Signal #1
6 Torque Control Signal #2
5 Torque Permission Signal
4 EAM signal
3 AT coop. lock up signal
2 AT coop. lean burn signal
1 AT coop. rich spike signal
0 AET Signal
********** BYTE 29 **********
7 -------------------------
6 -------------------------
5 -------------------------
4 -------------------------
3 -------------------------
2 -------------------------
1 -------------------------
0 -------------------------
********** BYTE 30 **********
7 -------------------------
6 -------------------------
5 -------------------------
4 -------------------------
3 -------------------------
2 -------------------------
1 -------------------------
0 -------------------------
********** BYTE 31 **********
7 -------------------------
6 -------------------------
5 -------------------------
4 -------------------------
3 -------------------------
2 -------------------------
1 -------------------------
0 -------------------------********** BYTE 32 **********
7 -------------------------
6 -------------------------
5 -------------------------
4 -------------------------
3 -------------------------
2 -------------------------
1 -------------------------
0 -------------------------
********** BYTE 33 **********
7 -------------------------
6 -------------------------
5 -------------------------
4 -------------------------
3 -------------------------
2 -------------------------
1 -------------------------
0 -------------------------
********** BYTE 34 **********
7 -------------------------
6 -------------------------
5 -------------------------
4 -------------------------
3 -------------------------
2 -------------------------
1 -------------------------
0 -------------------------
********** BYTE 35 **********
7 -------------------------
6 -------------------------
5 -------------------------
4 -------------------------
3 -------------------------
2 -------------------------
1 -------------------------
0 -------------------------
********** BYTE 36 **********
7 -------------------------
6 -------------------------
5 -------------------------
4 -------------------------
3 -------------------------
2 -------------------------
1 -------------------------
0 -------------------------
********** BYTE 37 **********
7 -------------------------
6 -------------------------
5 -------------------------
4 -------------------------
3 -------------------------
2 -------------------------
1 -------------------------
0 -------------------------********** BYTE 38 **********
7 -------------------------
6 -------------------------
5 -------------------------
4 -------------------------
3 -------------------------
2 -------------------------
1 -------------------------
0 -------------------------
********** BYTE 39 **********
7 -------------------------
6 -------------------------
5 Throttle Motor Duty
4 Throttle Motor Voltage
3 -------------------------
2 -------------------------
1 -------------------------
0 -------------------------
********** BYTE 40 **********
7 -------------------------
6 -------------------------
5 -------------------------
4 -------------------------
3 -------------------------
2 -------------------------
1 -------------------------
0 -------------------------
********** BYTE 41 **********
7 Sub Throttle Sensor
6 Main Throttle Sensor
5 Sub Accelerator Sensor
4 Main Accelerator Sensor
3 Brake Booster Pressure
2 Fuel Pressure (High)
1 Exhaust Gas Temperature
0 -------------------------
********** BYTE 42 **********
7 Cold Start Injector
6 SCV Step
5 Memorized Cruise Speed
4 -------------------------
3 -------------------------
2 -------------------------
1 -------------------------
0 -------------------------
********** BYTE 43 **********
7 -------------------------
6 -------------------------
5 -------------------------
4 -------------------------
3 -------------------------
2 -------------------------
1 -------------------------
0 -------------------------********** BYTE 44 **********
7 Exhaust VVT Advance Angle Right
6 Exhaust VVT Advance Angle Left
5 Exhaust OCV Duty Right
4 Exhaust OCV Duty Left
3 Exhaust OCV Current Right
2 Exhaust OCV Current Left
1 -------------------------
0 -------------------------
********** BYTE 45 **********
7 -------------------------
6 ETC Motor Relay
5 -------------------------
4 -------------------------
3 -------------------------
2 -------------------------
1 -------------------------
0 -------------------------
********** BYTE 46 **********
7 Clutch Switch
6 Stop Light Switch
5 Set/Coast Switch
4 Resume/Accelerate Switch
3 Brake Switch
2 -------------------------
1 Accelerator Switch
0 -------------------------
********** BYTE 47 **********
7 -------------------------
6 -------------------------
5 -------------------------
4 -------------------------
3 -------------------------
2 -------------------------
1 -------------------------
0 -------------------------
********** BYTE 48 **********
7 -------------------------
6 -------------------------
5 -------------------------
4 -------------------------
3 -------------------------
2 -------------------------
1 -------------------------
0 -------------------------
********** BYTE 49 **********
7 -------------------------
6 -------------------------
5 -------------------------
4 -------------------------
3 -------------------------
2 -------------------------
1 -------------------------
0 -------------------------********** BYTE 50 **********
7 -------------------------
6 -------------------------
5 -------------------------
4 -------------------------
3 -------------------------
2 -------------------------
1 -------------------------
0 -------------------------
********** BYTE 51 **********
7 -------------------------
6 -------------------------
5 -------------------------
4 -------------------------
3 -------------------------
2 -------------------------
1 -------------------------
0 -------------------------
********** BYTE 52 **********
7 -------------------------
6 -------------------------
5 -------------------------
4 -------------------------
3 -------------------------
2 -------------------------
1 -------------------------
0 -------------------------
********** BYTE 53 **********
7 -------------------------
6 -------------------------
5 -------------------------
4 -------------------------
3 -------------------------
2 -------------------------
1 -------------------------
0 -------------------------
********** BYTE 54 **********
7 -------------------------
6 -------------------------
5 -------------------------
4 -------------------------
3 -------------------------
2 -------------------------
1 -------------------------
0 -------------------------
********** BYTE 55 **********
7 -------------------------
6 -------------------------
5 -------------------------
4 -------------------------
3 -------------------------
2 -------------------------
1 -------------------------
0 -------------------------********** BYTE 56 **********
7 Roughness Monitor Cylinder #1
6 Roughness Monitor Cylinder #2
5 Roughness Monitor Cylinder #3
4 Roughness Monitor Cylinder #4
3 -------------------------
2 -------------------------
1 -------------------------
0 -------------------------
Parameters are read by providing a 3 byte address for each parameter via command 0xA8 For example use address
0x000008 for Coolant temp and use addresses 0x00000E and 0x00000F for engine RPM
Parameters **********************************************************
- Engine Load ----------------------------------------------
8 bit value
P0x07 = low byte
Multiply value by 100.0 and divide by 255 to get percent
------------------------------------------------------------
- Coolant Temperature --------------------------------------
8 bit value
P0x008 = low byte
Subtract 40 from value to get Degrees C
------------------------------------------------------------
- Air/Fuel Correction #1 -----------------------------------
8 bit value
P0x009 = low byte
Subtract 128 from value and divide by 1.28 to get percent
------------------------------------------------------------
- Air/Fuel Learning #1 -------------------------------------
8 bit value
P0x00A = low byte
Subtract 128 from value and divide by 1.28 to get percent
------------------------------------------------------------
- Air/Fuel Correction #2 -----------------------------------
8 bit value
P0x00B = low byte
Subtract 128 from value and divide by 1.28 to get percent
------------------------------------------------------------
- Air/Fuel Learning #2 -------------------------------------
8 bit value
P0x00C = low byte
Subtract 128 from value and divide by 1.28 to get percent
------------------------------------------------------------
- Manifold Absolute Pressure -------------------------------
8 bit value
P0x0D = low byte
Multiply value by 37.0 and divide by 255 to get psig
------------------------------------------------------------
- Engine Speed ---------------------------------------------
16 bit value
P0x0E = high byte
P0x0F = low byte
Divide value by 4 to get RPM
------------------------------------------------------------- Vehicle Speed --------------------------------------------
8 bit value
P0x010 = low byte
Value is in km/h
------------------------------------------------------------
- Ignition Timing ------------------------------------------
8 bit balue P0x11 = low byte
Subtract 128 from value and divide by 2 to get degrees
------------------------------------------------------------
- Intake Air Temperature -----------------------------------
8 bit value
P0x012 = low byte
Subtract 40 from value to get Degrees C
------------------------------------------------------------
- Mass Air Flow --------------------------------------------
16 bit value
P0x13 = high byte
P0x14 = low byte
Divide value by 100.0 to get grams/s
------------------------------------------------------------
- Throttle Opening Angle -----------------------------------
8 bit value
P0x15 = low byte
Multiply value by 100.0 and divide by 255 to get percent
------------------------------------------------------------
- Front O2 Sensor #1 ---------------------------------------
16 bit value
P0x016 = high byte
P0x017 = low byte
Multiply value by 0.005 to get voltage
------------------------------------------------------------
- Rear O2 Sensor -------------------------------------------
16 bit value
P0x018 = high byte
P0x019 = low byte
Multiply value by 0.005 to get voltage
------------------------------------------------------------
- Front O2 Sensor #2 ---------------------------------------
16 bit value
P0x01A = high byte
P0x01B = low byte
Multiply value by 0.005 to get voltage
------------------------------------------------------------
- Battery Voltage ------------------------------------------
8 bit value
P0x01C = low byte
Multiply value by 0.08 to get volts
------------------------------------------------------------
- Air Flow Sensor Voltage ----------------------------------
8 bit value
P0x01D = low byte
Multiply value by 0.02 to get volts
------------------------------------------------------------- Throttle Sensor Voltage ----------------------------------
8 bit value
P0x01E = low byte
Multiply value by 0.02 to get volts
------------------------------------------------------------
- Differential Pressure Sensor Voltage ---------------------
8 bit value
P0x01F = low byte
Multiply value by 0.02 to get Volts
------------------------------------------------------------
- Fuel Injection #1 Pulse Width ----------------------------
8 bit value
P0x20 = low byte
Multiply value by 0.256 to get ms
------------------------------------------------------------
- Fuel Injection #2 Pulse Width ----------------------------
8 bit value
P0x21 = low byte
Multiply value by 0.256 to get ms
------------------------------------------------------------
- Knock Correction -----------------------------------------
8 bit value
P0x22 = low byte
Subtract 128 from value and divide by 2 to get degrees
------------------------------------------------------------
- Atmospheric Pressure -------------------------------------
8 bit value
P0x023 = low byte
Multiply value by 37.0 and divide by 255 to get psig
------------------------------------------------------------
- Manifold Relative Pressure -------------------------------
8 bit value
P0x24 = low byte
Subtract 128 from value, multiply by 37.0 and divide by 255 to get psig
------------------------------------------------------------
- Pressure Differential Sensor -----------------------------
8 bit value
P0x25 = low byte
Subtract 128 from value, multiply by 37.0 and divide by 255 to get psig
------------------------------------------------------------
- Fuel Tank Pressure ---------------------------------------
8 bit value
P0x026 = low byte
Subtract 128 from value and multiply by 0.0035 to get psig
------------------------------------------------------------
- CO Adjustment --------------------------------------------
8 bit value
P0x027 = low byte
Multiply value by 0.02 to get volts
------------------------------------------------------------
- Learned Ignition Timing ----------------------------------
8 bit value
P0x028 = low byte
Subtract 128 from value and divide by 2 to get degrees
------------------------------------------------------------- Accelerator Opening Angle --------------------------------
8 bit valuev P0x029 = low byte
Divide value by 2.56 to get percent
------------------------------------------------------------
- Fuel Temperature -----------------------------------------
8 bit value
P0x02A = low byte
Subtract 40 from value to get Degrees C
------------------------------------------------------------
- Front O2 Heater #1 ---------------------------------------
8 bit value
P0x02B = low byte
Multiply value by 10.04 and divide by 256 to get Amps
------------------------------------------------------------
- Rear O2 Heater Current -----------------------------------
8 bit value
P0x02C = low byte
Multiply value by 10.04 and divide by 256 to get Amps
------------------------------------------------------------
- Front O2 Heater #2 ---------------------------------------
8 bit value
P0x02D = low byte
Multiply value by 10.04 and divide by 256 to get Amps
------------------------------------------------------------
- Fuel Level -----------------------------------------------
8 bit value
P0x02E = low byte
Multiply value by 0.02 to get volts
------------------------------------------------------------
- Primary Wastegate Duty Cycle -----------------------------
8 bit value
P0x30 = low byte
Multiply value by 100.0 and divide by 255 to get percent
------------------------------------------------------------
- Secondary Wastegate Duty Cycle ---------------------------
8 bit value
P0x31 = low byte
Multiply value by 100.0 and divide by 255 to get percent
------------------------------------------------------------
- CPC Valve Duty Ratio -------------------------------------
8 bit value
P0x032 = low byte
Divide value by 2.55 to get percent
------------------------------------------------------------
- Tumble Valve Position Sensor Right -----------------------
8 bit value
P0x033 = low byte
Multiply value by 0.02 to get volts
------------------------------------------------------------
- Tumble Valve Position Sensor Left ------------------------
8 bit value
P0x034 = low byte
Multiply value by 0.02 to get volts
------------------------------------------------------------- Idle Speed Control Valve Duty Ratio ----------------------
8 bit value
P0x035 = low byte
Divide value by 2 to get percent
------------------------------------------------------------
- Air/Fuel Lean Correction ---------------------------------
8 bit value
P0x036 = low byte
Divide value by 2.55 to get percent
------------------------------------------------------------
- Air/Fuel Heater Duty -------------------------------------
8 bit value
P0x037 = low byte
Divide value by 2.55 to get percent
------------------------------------------------------------
- Idle Speed Control Valve Step ----------------------------
8 bit value
P0x038 = low byte
Value is in steps
------------------------------------------------------------
- Number of Ex. Gas Recirc. Steps --------------------------
8 bit value
P0x039 = low byte
Value is in steps
------------------------------------------------------------
- Alternator Duty ------------------------------------------
8 bit value
P0x03A = low byte
Value is in percent
------------------------------------------------------------
- Fuel Pump Duty -------------------------------------------
8 bit value
P0x03B = low byte
Divide value by 2.55 to get percent
------------------------------------------------------------
- Intake VVT Advance Angle Right ---------------------------
8 bit value
P0x03C = low byte
Subtract 50 from value to get degrees
------------------------------------------------------------
- Intake VVT Advance Angle Left ---------------------------
8 bit value
P0x03D = low byte
Subtract 50 from value to get degrees
------------------------------------------------------------
- Intake OCV Duty Right ------------------------------------
8 bit value
P0x03E = low byte
Divide value by 2.55 to get percent
------------------------------------------------------------
- Intake OCV Duty Left -------------------------------------
8 bit value
P0x03F = low byte
Divide value by 2.55 to get percent
------------------------------------------------------------- Intake OCV Current Right ---------------------------------
8 bit value
P0x040 = low byte
Multiply value by 32 to get mA
------------------------------------------------------------
- Intake OCV Current Left ----------------------------------
8 bit value
P0x041 = low byte
Multiply value by 32 to get mA
------------------------------------------------------------
- Air/Fuel Sensor #1 Current -------------------------------
8 bit value
P0x042 = low byte
Subtract 128 from value and multiply by .125 to get mA
------------------------------------------------------------
- Air/Fuel Sensor #2 Current -------------------------------
8 bit value
P0x043 = low byte
Subtract 128 from value and multiply by .125 to get mA
------------------------------------------------------------
- Air/Fuel Sensor #1 Resistance ----------------------------
8 bit value
P0x044 = low byte
Value is in ohms
------------------------------------------------------------
- Air/Fuel Sensor #2 Resistance ----------------------------
8 bit value
P0x045 = low byte
Value is in ohms
------------------------------------------------------------
- Air/Fuel Sensor #1 ---------------------------------------
8 bit value
P0x46 = low byte
Divide value by 128.0 to get Lambda
------------------------------------------------------------
- Air/Fuel Sensor #2 ---------------------------------------
8 bit value
P0x47 = low byte
Divide value by 128.0 to get Lambda
------------------------------------------------------------
- Gear Position --------------------------------------------
8 bit value
P0x04A = low byte
Add 1 to value to get gear
------------------------------------------------------------
- A/F Sensor #1 Heater Current -----------------------------
8 bit value
P0x053 = low byte
Divide value by 10 to get Amps
------------------------------------------------------------
- A/F Sensor #2 Heater Current -----------------------------
8 bit value
P0x054 = low byte
Divide value by 10 to get Amps
------------------------------------------------------------- Roughness Monitor Cylinder #1 ----------------------------
8 bit value
P0x0CE = low byte
Value is in ?
------------------------------------------------------------
- Roughness Monitor Cylinder #2 ----------------------------
8 bit value
P0x0CF = low byte
Value is in ?
------------------------------------------------------------
- Air/Fuel Correction #3 -----------------------------------
8 bit value
P0x0D0 = low byte
Subtract 128 from value and divide by 1.28 to get percent
------------------------------------------------------------
- Air/Fuel Learning #3 -------------------------------------
8 bit value
P0x0D1 = low byte
Subtract 128 from value and divide by 1.28 to get percent
------------------------------------------------------------
- Rear O2 Heater Voltage -----------------------------------
8 bit value
P0x0D2 = low byte
Multiply value by 0.02 to get volts
------------------------------------------------------------
- Air/Fuel Adjustment Voltage ------------------------------
8 bit value
P0x0D3 = low byte
Multiply value by 0.02 to get voltage
------------------------------------------------------------
- Roughness Monitor Cylinder #3 ----------------------------
8 bit value
P0x0D8 = low byte
Value is in ?
------------------------------------------------------------
- Roughness Monitor Cylinder #4 ----------------------------
8 bit value
P0x0D9 = low byte
Value is in ?
------------------------------------------------------------
- Throttle Motor Duty --------------------------------------
8 bit value
P0x0fa = low byte
Subtract 128 from value and divide by 1.28 to get percent
------------------------------------------------------------
- Throttle Motor Voltage -----------------------------------
8 bit value
P0x0FB = low byte
Multiply value by 0.08 to get volts
------------------------------------------------------------
- Sub Throttle Sensor --------------------------------------
8 bit value
P0x100 = low byte
Multiply value by 0.02 to get volts
------------------------------------------------------------- Main Throttle Sensor -------------------------------------
8 bit value
P0x101 = low byte
Multiply value by 0.02 to get volts
------------------------------------------------------------
- Sub Accelerator Sensor -----------------------------------
8 bit value
P0x102 = low byte
Multiply value by 0.02 to get volts
------------------------------------------------------------
- Main Accelerator Sensor ----------------------------------
8 bit value
P0x103 = low byte
Multiply value by 0.02 to get volts
------------------------------------------------------------
- Brake Booster Pressure -----------------------------------
8 bit value
P0x104 = low byte
Multiply value by 37.0 and divide by 255 to get psig
------------------------------------------------------------
- Fuel Pressure (High) -------------------------------------
8 bit value
P0x105 = low byte
Multiply value by 0.04 to get MPa
------------------------------------------------------------
- Exhaust Gas Temperature ----------------------------------
8 bit value
P0x106 = low byte
Add 40 to value and multiply by 5 to get Degrees C
------------------------------------------------------------
- Cold Start Injector --------------------------------------
8 bit value
P0x108 = low byte
Multiply value by .256 to get ms
------------------------------------------------------------
- SCV Step -------------------------------------------------
8 bit value
P0x109 = low byte
Value is in Steps
------------------------------------------------------------
- Memorised Cruise Speed -----------------------------------
8 bit value
P0x10a = low byte
Value is in km/h
------------------------------------------------------------
- Exhaust VVT Advance Angle Right --------------------------
8 bit value
P0x118 = low byte
Subtract 50 from value to get degrees
------------------------------------------------------------
- Exhaust VVT Advance Angle Left ---------------------------
8 bit value
P0x119 = low byte
Subtract 50 from value to get degrees
------------------------------------------------------------- Exhaust OCV Duty Right -----------------------------------
8 bit value
P0x11A = low byte
Divide value by 2.55 to get percent
------------------------------------------------------------
- Exhaust OCV Duty Left ------------------------------------
8 bit value
P0x11B = low byte
Divide value by 2.55 to get percent
------------------------------------------------------------
- Exhaust OCV Current Right --------------------------------
8 bit value
P0x11C = low byte
Multiply value by 32 to get mA
------------------------------------------------------------
- Exhaust OCV Current Left ---------------------------------
8 bit value
P0x11D = low byte
Multiply value by 32 to get mA
------------------------------------------------------------
Switches are read in the same way a parameter is read except that it will
return up to
8 individual ON/OFF flags in the individual bits of the return byte
Switches **************************************************************
Switch P0x061
7 -----------------------
6 AT Vehicle ID
5 Test Mode Connector
4 Read Memory Connector
3 -----------------------
2 -----------------------
1 -----------------------
0 -----------------------
Switch P0x062
7 Neutral Position Switch
6 Idle Switch
5 -----------------------
4 Intercooler AutoWash Switch
3 Ignition Switch
2 Power Steering Switch
1 Air Conditioning Switch
0 -----------------------
Switch P0x063
7 Handle Switch
6 Starter Switch
5 Front O2 Rich Signal
4 Rear O2 Rich Signal
3 Front O2 #2 Rich Signal
2 Knock Signal 1
1 Knock Signal 2
0 Electrical Load SignalSwitch P0x064
7 Crank Position Sensor
6 Cam Position Sensor
5 Defogger Switch
4 Blower Switch
3 Interior Light Switch
2 Wiper Switch
1 Air-Con Lock Signal
0 Air-Con Mid Pressure Switch
Switch P0x065