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


Page 229 GM WORLDWIDE ENGINEERING STANDARDS



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

Page 229
GM WORLDWIDE ENGINEERING STANDARDS
GMW3110
© Copyright 2010 General Motors All Rights Reserved
February 2010
Page 229 of 336
The following function, DecrementPDS_Counters, is used to decrement the loop counters associated with
each DPID in the PDS. The loop counters are used to determine when a DPID is ready for transmission. This
function is called from the Send_AA_Periodic_Msgs() function and also from the Process_AA_Msgs() function.
BEGINFUNCTION DecrementPDS_Counters()
FOR (PDS_Index ←
$00 TO (PDS_Length - $01) BY $01)
IF ((PDS[PDS_Index].DPID!=$00) AND (PDS[PDS_Index].Transmit_Count>$00)) THEN
PDS[PDS_Index].Transmit_Count←(PDS[PDS_Index].Transmit_Count-$01)
ENDIF
ENDFOR
IF (Num_Loops_Since_Periodic < Min_Loops_Since_Periodic) THEN
Num_Loops_Since_Periodic ←
(Num_Loops_Since_Periodic + $01)
ENDIF
ENDFUNCTION
The following function, ClearAndDisablePDS, is called by this and other services to stop and clear the PDS
BEGINFUNCTION ClearAndDisablePDS()
FOR (PDS_Index ←
$00 TO (PDS_Length -$01) BY $01)
PDS[PDS_Index].DPID ←
$00
ENDFOR
PDS_Number_Active ←
$00
PDS_Xmit_Index ←
$00
8.19.6.3 Graphical and Tabular Examples of Mode $AA Periodic Scheduled Rates. 
This section contains
two examples of scheduled periodic data. Each example contains a graphical depiction of what messages are
transmitted on the bus, followed by a table which shows the PDS variables and how they change each time the
Process_AA_Msgs() function is executed. In the examples below, the following information is given:

The fast rate is 25 ms.

The medium rate is 200 ms for Figure 34.

The medium rate is 300 ms for Figure 35.

The Process_AA_Msgs() function is executed every 12.5 ms (AA_Msg_Rate = 12.5 ms).

The PDS can hold a maximum of four scheduled items.

It is possible to send a DPID any time its counter has expired (Min_Loops_Since_Periodic = 0).
Since the AA_Msg_Rate is 12.5 ms, the fast rate loop counter would be set to 2 (this value is based on the
scheduled rate (25 ms) divided by the AA_Msg_Rate (12.5 ms) or 25/12.5) each time a fast rate DPID is sent
and the medium rate loop counter is reset to 16 (or 24) (scheduled rate divided by AA_Msg_Rate or 200
(or 300)/12.5) each time a medium rate DPID is sent.
--``,,``````,``,,``,,,`,`,`,,-`-`,,`,,`,`,,`---

Download 1,29 Mb.

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