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


Page 224 GM WORLDWIDE ENGINEERING STANDARDS



Download 1,29 Mb.
Pdf ko'rish
bet300/435
Sana02.08.2022
Hajmi1,29 Mb.
#846314
1   ...   296   297   298   299   300   301   302   303   ...   435
Bog'liq
WORLDWIDE ENGINEERING STANDARDS General Motors Local Ar

Page 224
GM WORLDWIDE ENGINEERING STANDARDS
GMW3110
Variable/Meaning
Values
Max_01_Wait_Count 
This is a counter used to compare against the
Num_Loops_For_01 counter to determine when to send a one shot DPID instead
of a periodic scheduled DPID. The value of this variable should be set based on
the number of times the Process_AA_Msgs() function gets called in the
background before a P2

time interval will have elapsed. The objective is to set
this variable to a value which will ensure that a one shot DPID will be sent at a
time interval less than P2
C
.
Value to be determined by
ECU serial data design
engineer.
Service_AA_Msg_Sent
This is a flag used in the Process_AA_Msgs() function to keep track of whether or
not a one shot or periodic DPID has been transmitted.
YES/NO
Min_Loops_Since_Periodic
This is a counter which can be used to force a minimum amount of time between
the transmission of two periodic DPIDs. This can be used to allow one shot
DPIDs to be transmitted during loops when the periodics are not allowed.
Value determined at
compile time of the ECU
software.
Num_Loops_Since_Periodic
This is a counter used to keep track of the number of times the
Process_AA_Msgs() function gets called in the background without sending a
periodic DPID.
$00 to
Min_Loops_Since_Periodic


25.06.2020
WORLDWIDE ENGINEERING STANDARDS General Motors Local Area Network Enhanced Diagnostic Test Mode Specification
https://translate.googleusercontent.com/translate_f
199/298
© Copyright 2010 General Motors All Rights Reserved
February 2010
Page 224 of 336
8.19.6.2 Node Interface Pseudo Code.
Powerup States:
Call ClearAndDisablePDS()
Resp_01_Num_To_Send ←
$00
Num_Loops_For_01 ←
$00
For (Resp_01_Index ←
$00 TO (max_No_of_01_DPIDs - $01) BY $01)
Resp_01_DPIDs[Resp_01_Index] ←
$00
ENDFOR
The following logic is executed when a Service $AA message is received by the device:
BEGINFUNCTION Serv_AA_Msg_Recvd()
Request_Valid ←
YES
IF (message_data_length > $02)
No_of_DPIDs ←
(message_data_length-$02) /*Calculate number of DPIDs in request*/
ELSE
No_of_DPIDs ←
$00
ENDIF
IF ( ($Level > LEV_SAFR) OR (message_data_length < $02) OR
(($Level > LEV_SS) AND (No_of_DPIDs < $01)) OR
((No_of_DPIDs > max_No_of_01_DPIDs) AND ($Level = LEV_SOR)) OR
((No_of_DPIDs > PDS_Length) AND ($Level != LEV_SOR)) ) THEN
Send Negative Response ($7F $AA $12) /*Invalid Format*/
Request_Valid ←
NO
ELSE IF ($Level != LEV_SS) THEN
/*********************************************************************
Check if all DPIDs are valid (no check performed if $Level =$00) and also
check how many DPIDs in the request are not already scheduled (if the
sub-function parameter($Level)is $02, $03 or $04). These checks are performed
--``,,``````,``,,``,,,`,`,`,,-`-`,,`,,`,`,,`---

Download 1,29 Mb.

Do'stlaringiz bilan baham:
1   ...   296   297   298   299   300   301   302   303   ...   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