General Specification Electrical Function gmw3110 General Motors Local Area Network Enhanced Diagnostic Test Mode Specification



Download 8,35 Mb.
Pdf ko'rish
bet118/406
Sana03.04.2022
Hajmi8,35 Mb.
#525939
1   ...   114   115   116   117   118   119   120   121   ...   406
Bog'liq
gmw3110

8.3.6.2 Node Interface Pseudo Code. 
Powerup States: 
None 
Each time a $12 message is received, the following logic is executed: 
BEGINFUNCTION Serv_12_Msg_Recvd() 
SELECT FIRST 
WHEN ($level=$01) /* readFailureRecordIdentifiers request message */ 
IF (message_data_length != 2) 
send Negative Response ($7F $12 $12) /* Invalid Format. */ 
ELSE IF (Device cannot provide Failure Records at this time) THEN 
Reject the request with a ($7F $12 $22) for conditions not correct 
ELSE IF (Processing this message will take more than P2
C
ms) THEN
Send ($7F $12 $78) /*for RequestCorrectlyReceived-ResponsePending */ 
….. 
Send ($52 $01 ….) /* positive response message */ 
ENDIF 
WHEN ($level=$02) /* readFailureRecordParameters request message */ 
IF (message_data_length != 6) 
send Negative Response ($7F $12 $12) /* Invalid Format. */ 
ELSE IF (Device cannot provide Failure Records at this time) THEN 
Reject the request with a ($7F $12 $22) for conditions not correct 
ELSE 
record_match_found 

NO 
DTC_Number 

((failureRecordIdentifier[DTCHighByte] << 8) |failureRecordIdentifier[DTCLowByte]) 
FOR (record_index 

0 TO (num_records - 1) BY 1) 
/* the DTC comparison below shall check for a match of both the MSB and the LSB */ 
IF ( (record_array[record_index].record_number_stored = 
failureRecordIdentifier[failureRecordNumber]) AND 
(record_array[record_index].DTC_Number = DTC_Number) AND 
(record_array[record_index].DTC_FailureType = 
failureRecordIdentifier[DTCFailureTypeByte]) ) 
record_match_found 

YES 
ENDIF 
ENDFOR 
IF (record_match_found = NO)
send Negative Response ($7F $12 $31) /* Request Out Of Range. */ 
ELSE IF (Processing this message will take more than P2
C
ms) THEN
CameraLoops.com



Download 8,35 Mb.

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




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