Страница 1 мировой engineering стандарты общая спецификация


Page 92 GM WORLDWIDE ENGINEERING STANDARDS



Download 1,29 Mb.
Pdf ko'rish
bet131/435
Sana02.08.2022
Hajmi1,29 Mb.
#846314
1   ...   127   128   129   130   131   132   133   134   ...   435
Bog'liq
WORLDWIDE ENGINEERING STANDARDS General Motors Local Ar

Page 92
GM WORLDWIDE ENGINEERING STANDARDS
GMW3110
Variable/Meaning
Values
Record_match_found
This is a flag used in the pseudo code to keep track of whether a record exists
which matches the one requested.
YES/NO
DTC_Number
This is a local variable that is set equal to the DTC Number from the request
message.
Matches the value from the
request message
8.3.6.2 Node Interface Pseudo Code.
Powerup States:
None
Each time a $12 message is received, the following logic is executed:


25.06.2020
WORLDWIDE ENGINEERING STANDARDS General Motors Local Area Network Enhanced Diagnostic Test Mode Specification
https://translate.googleusercontent.com/translate_f
82/298
© Copyright 2010 General Motors All Rights Reserved
February 2010
Page 92 of 336
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

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

ms) THEN

Download 1,29 Mb.

Do'stlaringiz bilan baham:
1   ...   127   128   129   130   131   132   133   134   ...   435




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