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


Page 228 GM WORLDWIDE ENGINEERING STANDARDS



Download 1,29 Mb.
Pdf ko'rish
bet304/435
Sana02.08.2022
Hajmi1,29 Mb.
#846314
1   ...   300   301   302   303   304   305   306   307   ...   435
Bog'liq
WORLDWIDE ENGINEERING STANDARDS General Motors Local Ar

Page 228
GM WORLDWIDE ENGINEERING STANDARDS
GMW3110
© Copyright 2010 General Motors All Rights Reserved
February 2010
Page 228 of 336
The following function, Send_AA_One_Shot(), is called by the background function Process_AA_Msgs() that
handles processing one time and periodic responses for the $AA service. This function will send one DPID
each time that it is called.
BEGINFUNCTION Send_AA_One_Shot()
IF (Resp_01_Num_To_Send > $00) THEN
FOR (Resp_01_Index ←
$00 TO (max_No_of_01_DPIDs - $01) BY $01)
IF (Resp_01_DPIDs[Resp_01_Index] != $00)
/* Get current data (DB_1,... DBx) for this DPID and send it*/
Send positive response ($UUDTCANId $Resp_01_DPIDs[Resp_01_Index] $DB_1, ....)
Resp_01_Num_To_Send ←
(Resp_01_Num_To_Send - $01)
Resp_01_DPIDs[Resp_01_Index] ←
$00
Resp_01_Index ←
max_No_of_01_DPIDs
Num_Loops_For_01 ←
$00
Service_AA_Msg_Sent ←
YES
ENDIF
ENDFOR
ENDIF
ENDFUNCTION
The following function, Process_AA_Msgs(), is called in a background loop and handles sending one shot
($Level = LEV_SOR) and periodic ($Level = LEV_SAFR, LEV_SAMR, or LEV_SASR) DPID responses. The
execution rate of this function shall be fast enough to ensure that each element of the PDS has the opportunity
to be transmitted within the P2
C
* timing window. This ensures a maximum of 1 negative response with
response code $78 per periodic request. This execution rate of this function shall also be at an interval less
than or equal to half of the fast periodic rate. If the value of the fast periodic rate is close to the value of P2
C
,
then the execution interval must be small enough to ensure that responses to level $01 requests can meet the
P2

timing requirements.
BEGINFUNCTION Process_AA_Msgs()
IF ((PDS_Number_Active > $00) OR (Resp_01_Num_To_Send > $00)) THEN
Service_AA_Msg_Sent ←
NO
IF (Num_Loops_For_01 ≥ Max_01_Wait_Count) THEN
CALL Send_AA_One_Shot()
IF (PDS_Number_Active > $00) THEN
CALL DecrementPDS_Counters()
ENDIF
ELSE
CALL Send_AA_Periodic_Msgs()
IF (Service_AA_Msg_Sent = NO) THEN
CALL Send_AA_One_Shot()
ELSE
IF (Resp_01_Num_To_Send > $00) THEN
Num_Loops_For_01 ←
(Num_Loops_For_01 + $01)
ENDIF
ENDIF
ENDIF
ENDIF
ENDFUNCTION
--``,,``````,``,,``,,,`,`,`,,-`-`,,`,,`,`,,`---


25.06.2020
WORLDWIDE ENGINEERING STANDARDS General Motors Local Area Network Enhanced Diagnostic Test Mode Specification
https://translate.googleusercontent.com/translate_f
203/298

Download 1,29 Mb.

Do'stlaringiz bilan baham:
1   ...   300   301   302   303   304   305   306   307   ...   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