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


Page 227 GM WORLDWIDE ENGINEERING STANDARDS



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

Page 227
GM WORLDWIDE ENGINEERING STANDARDS
GMW3110
REPEAT
IF (request_DPIDs[Req_Index] = PDS[PDS_Index].DPID)
DPID_already_scheduled ←
YES
PDS[PDS_Index].Transmit_Count ←
$00
PDS[PDS_Index].Scheduling_Rate ←
Req_Sched_Rate_Count
ELSE IF ((PDS[PDS_Index].DPID = $00) AND
(vacant_position_found = NO)) THEN
vacant_position ←
PDS_Index
vacant_position_found ←
YES
ENDIF
PDS_Index ←
PDS_Index +1
UNTIL ((DPID_already_scheduled = YES)OR(PDS_Index = PDS_Length))
IF (DPID_already_scheduled = NO)
PDS_Number_Active ←
(PDS_Number_Active + $01)
PDS[vacant_position].DPID ←
request_DPIDs[Req_Index]
PDS[vacant_position].Transmit_Count ←
$00
PDS[vacant_position].Scheduling_Rate ←
Req_Sched_Rate_Count
ENDIF
ENDFOR
ENDSELECT
ENDIF
ENDFUNCTION
The following function is called from the Process_AA_Msgs() function and is used to control sending the
periodic DPIDs in the PDS.
BEGINFUNCTION Send_AA_Periodic_Msgs()
/* check if the PDS should be running by looking at the number of DPIDs in the PDS */
IF (PDS_Number_Active > $00)THEN
/*Decrement transmit count by one unless already $00*/
CALL DecrementPDS_Counters()
/* check to see if any DPIDs need to be sent */
IF (Num_Loops_Since_Periodic ≥ Min_Loops_Since_Periodic) THEN
FOR (PDS_Index ←
$01 TO PDS_Length BY $01)
IF ( (PDS[PDS_Xmit_Index].DPID != $00) AND
(PDS[PDS_Xmit_Index].Transmit_Count = $00)
/* Get current data (DB_1,... DBx) for this DPID and send it*/
Send positive response ($UUDTCANId $PDS[PDS_Xmit_Index].DPID $DB_1, ....)
PDS[PDS_Xmit_Index].Transmit_Count ←
PDS[PDS_Xmit_Index].Scheduling_Rate
PDS_Index ←
PDS_Length
Service_AA_Msg_Sent ←
YES
Num_Loops_Since_Periodic ←
$00
ENDIF
PDS_Xmit_Index ←
((PDS_Xmit_Index + $01) MOD PDS_Length)
ENDFOR
ENDIF


25.06.2020
WORLDWIDE ENGINEERING STANDARDS General Motors Local Area Network Enhanced Diagnostic Test Mode Specification
https://translate.googleusercontent.com/translate_f
202/298
© Copyright 2010 General Motors All Rights Reserved
February 2010
Page 227 of 336
ENDIF
ENDFUNCTION

Download 1,29 Mb.

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