全球旧事资料 分类
块组成,分别是:计费模块:计算应付车费计程模块:计录已行里程显示模块:将应付车费和已行里程显示在数码管上各模块之间的关系为:
2程序流程图计算路程框图:
22020年4月19日
f文档仅供参考
q10q20q30q40
S1’1’
metereve
ta
dmo
ey_c
3mo
ey_meter1c
1代表的4位十进制数加1
图2计算路程框图计算出租车计费框图:
meter信号发生变化
32020年4月19日
f文档仅供参考
a10a20
a30a43
S11
q1q11
A1,a2,a3,a4代表的4位十进制数加1
q1信号发生变化
图3计费框图23系统各功能模块的实现计算距离模块:REGPROCESSs1meter
begi

ifs11the
q10q20q30q40elsifmetereve
ta
dmeter1the
clkeve
t
a
dclk1the
42020年4月19日
f文档仅供参考
ifq49the
q40ifq39the
q30ifq29the
q20q1q11elseq2q21e
difelseq3q31e
dif
elseq4q41
e
dife
dife
dife
dprocessREG计费距离模块:COMprocessq1begi
52020年4月19日
f文档仅供参考
ifq17the
a4q13
elseifq17the
a40ifa39the
a30ifa29the
a20a1a11elsea2a21e
difelsea3a31e
difelseifq18the
a41ifa39the
a30ifa29the
a20a1a11
62020年4月19日
f文档仅供参考
elsea2a21e
difelsea3a31e
difelseifq19the
a42ifa39the
a30ifa29the
a20a1a11elsea2a21e
difelsea3a31e
dife
dife
dife
dif
72020年4月19日
f文档仅供参考
e
dife
dprocessCOM显示模块:CAMprocessclkbegi
ifclkeve
ta
dclk1the
coutcout1e
dife
dprocessCAMpraprocesscout
begi
casecoutis
whe
好听全球资料 返回顶部