Interpreters Document



Download 6,14 Mb.
Pdf ko'rish
bet118/213
Sana03.04.2022
Hajmi6,14 Mb.
#525844
1   ...   114   115   116   117   118   119   120   121   ...   213
Bog'liq
dps Interpreters

 
Pseudo Code: 
XX 78 AC0 AC1 AC2 AC3 G0-G1 G2-G3 G4-G5 G6-G7 G8-G9 
Use KWP2000 Normal Response processing
Build Start Routine by Address Request as indicated in the table below, contents of the XX locations is
detailed in pseudo code following the table 
Request 
Byte
Value 
Byte Description 

80 
Format byte for physical addressing 

## 
Global target byte

## 
Global source byte 

4 + N 
Length of request from byte 5 up to checksum (not included) 

38 
Start Routine by Address request service ID

XX 
High byte of address

XX 
Middle byte of address

XX 
Low byte of address





Routine 
Entry 
Options
to Pass 
Data from routine indicated by value in AC1. Number of bytes 
(N) is 1 to 251. For no Routine Entry Options AC1 = 0, and N 
= 0. 
9 + N 
CS
1 byte request checksum 
If AC0 is not equal to $00 
Find the routine indicated by the value in AC0 
Endif
CameraLoops.com



1993-2011 General Motors Company, GM Customer Care & Aftersales. All Rights Reserved.
Page
139 
(continued)
If AC3 is $00 
Copy the routine address into request starting at byte 6 (or byte 7 for two byte addressing)
Else 
Copy the global address into request starting at byte 6 (or byte 7 for two byte addressing)
Endif
If AC1 is NOT $00 
Find routine indicated by value in AC1 to include in request as Routine Entry Options 
Copy entire Data Routine into request starting at byte 9 
Endif 
Calculate checksum and copy into service request byte ( 9 + N ) 
Send Start Routine by Address Request and receive response (up to 10 Bytes) 
Goto KWP2000 Response Processing
If Start Routine by Address positive response is received 
Copy appropriate response byte to high byte of storage location identified by AC2 
Copy appropriate response byte to low byte of storage location identified by AC2 
Look for Start Routine by Address positive response service ID ($78) in goto fields 
Else
Look for Start Routine by Address negative response, response code in goto fields 
Endif
If found
Goto appropriate step
Else 
Goto step indicated by FF goto field 
Endif

Download 6,14 Mb.

Do'stlaringiz bilan baham:
1   ...   114   115   116   117   118   119   120   121   ...   213




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish