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


GM WORLDWIDE ENGINEERING STANDARDS



Download 8,35 Mb.
Pdf ko'rish
bet282/406
Sana03.04.2022
Hajmi8,35 Mb.
#525939
1   ...   278   279   280   281   282   283   284   285   ...   406
Bog'liq
gmw3110

GM WORLDWIDE ENGINEERING STANDARDS 
GMW3110 
© Copyright 2010 General Motors All Rights Reserved 
February 2010 
Page 227 of 336 
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 
ENDIF 
ENDFUNCTION 
CameraLoops.com



Download 8,35 Mb.

Do'stlaringiz bilan baham:
1   ...   278   279   280   281   282   283   284   285   ...   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