freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

基于plc的雙速六層電梯控制系統(tǒng)設(shè)計(jì)畢業(yè)設(shè)計(jì)(文件)

 

【正文】 =1。 if then =1。 if then =1。 if then =1。 if then =1。 if then =1。 if then =1。 endif if up_max() then a=10+。amp。 then a=10+。 down_mini()0 || down_mini()==0 amp。 else if then downtable()。 else if then uptable()。else up_dir=0。else down_dir=0。 up_dir=0。amp。 delup()。 temp_door=1。amp。amp。amp。amp。amp。amp。amp。amp。amp。amp。amp。amp。amp。amp。amp。amp。amp。amp。amp。amp。amp。amp。amp。amp。amp。amp。amp。=0。 =6 amp。=0。amp。endifif =6 amp。 ==2 then=1。amp。=0。 =6 amp。=0。amp。endifif =6 amp。 ==4 then=1。amp。=0。 =6 amp。=0。amp。endifif =6 amp。 ==6 then=1。amp。endifif down_dir==1 amp。 ==1 then =。while i=5 do if l==p_up[i] then i=10。 i=10。 l=(p_up[i]10) then downtable(p_up[i]10)。 p_up[i]=l。int j=0。amp。 endif if p_down[i]0 amp。 i=10。 endif i=i+1。while i=5 do if p_up[i]10 then t=p_up[i]10。endwhileRETURN max。while i=5 do if p_down[i]0 then t=p_down[i]+10。 t0 then mini=t。///信號(hào)燈熄滅控制if p_up[0]==1 amp。amp。 ==1 then =0。endifif p_up[0]==2 amp。amp。 ==1 then =0。endifif p_up[0]==14 amp。amp。 ==1 then =0。endifif p_up[0]==5 amp。amp。 ==1 then =0。endifwhile i=5 do p_up[i]=p_up[i+1]。amp。 ==1 then =0。endifif p_down[0]==8 amp。amp。 ==1 then =0。endifif p_down[0]==3 amp。amp。 ==1 then =0。endifif p_down[0]==5 amp。amp。 ==1 then =0。endifif p_down[0]==6 amp。 i=i+1。電梯上行至三樓后停止,電梯開(kāi)門(mén),處于等待狀態(tài),如圖523。電梯上行至五樓后停止,電梯開(kāi)門(mén),處于等待狀態(tài),如圖527。圖521 等待狀態(tài) wait state圖522 向三樓上行狀態(tài) up to floor3 state圖523到達(dá)三樓等待 stop to floor3 and wait state圖524 向二樓下行狀態(tài) down to floor2 state圖525 到達(dá)二樓等待 stop to floor2 and wait state圖526 向五樓上行狀態(tài) up to floor5 state圖527 到達(dá)五樓等待。電梯下行至一樓停止,開(kāi)門(mén)。電梯下行至二樓后停止,電梯開(kāi)門(mén),處于等待狀態(tài),如圖525。下面針對(duì)以上幾種狀態(tài)對(duì)系統(tǒng)進(jìn)行測(cè)試。 ==1 then =0。amp。endifif p_down[0]==5 amp。 ==1 then =0。amp。endifif p_down[0]==6 amp。 ==1 then =0。amp。endifif p_down[0]==3 amp。 ==1 then =0。amp。endifif p_down[0]==1 amp。endwhile(8)deldown( )自定義函數(shù)//Function name: deldown//Parameters: int i=0。amp。endifif p_up[0]==16 amp。 ==1 then =0。amp。endifif p_up[0]==4 amp。 ==1 then =0。amp。endifif p_up[0]==3 amp。 ==1 then =0。amp。endifif p_up[0]==12 amp。 ==1 then =0。endwhileRETURN mini。 endif if tmini amp。int t=0。 endif if tmax then max=t。 int t=0。 p_down[i]=l。 l=(p_down[i]+10) then uptable(p_down[i]+10)。 i=10。while i=5 do if l==p_down[i] then i=10。 endif i=i+1。 i=10。 endif if p_up[i]=10 amp。amp。int j=0。 stop==0 amp。amp。=0。 =6 amp。=0。amp。 ==5 then=1。endifif =6 amp。amp。=0。 =6 amp。=0。amp。 ==3 then=1。endifif =6 amp。amp。=0。 =6 amp。=0。amp。 ==1 then=1。endifif =6 amp。amp。=。amp。=+1。amp。=。amp。=+1。amp。=。amp。=+1。amp。=。amp。=+1。amp。=。amp。=+1。amp。=。amp。=+1。amp。 temp=0。 temp_door=0。 deldown()。amp。 temp_door=1。else wait=0。amp。amp。amp。 else if then uptable()。 then uptable()。 else if down_mini() amp。 endif if down_mini() || down_mini()==0 amp。 else if up_max() then downtable()。amp。 if then =1。 if then =1。 if then =1。 if then =1。 if then =1。 if then =1。 if then =1。 if then =1。 =0。 =0。 =0。 =1。 =0。endifif ==300 then =4。 =0。 =0。 =0。 =0。 =1。down5。down3。down1。up6。up4。up2。up0。up_dir=0。=0。=0。=0。=1。演示程序中的變量與PLC程序中的I/O點(diǎn),變量及中間繼電器對(duì)應(yīng)關(guān)系如表51所示。這兩套上位機(jī)組態(tài)的界面完全相同。數(shù)據(jù)管理就是根據(jù)用戶的需要,對(duì)數(shù)據(jù)進(jìn)行更深層次的加工,如量程變換、報(bào)警、統(tǒng)計(jì)、分析等。使用紫金橋系統(tǒng),可以方便地構(gòu)造適應(yīng)自己需要的“數(shù)據(jù)采集系統(tǒng)”,在任何需要的時(shí)候把生產(chǎn)現(xiàn)場(chǎng)的信息實(shí)時(shí)地傳送到控制室,并且通過(guò)局域網(wǎng)和Internet,可以在任何地方訪問(wèn)實(shí)時(shí)和歷史生產(chǎn)數(shù)據(jù),及時(shí)了解、評(píng)價(jià)生產(chǎn)情況和操作水平。本模塊梯形圖如圖437和438所示。當(dāng)電梯運(yùn)行至某一目標(biāo)樓層時(shí),[ = D100 KXX]中的某一個(gè)會(huì)被觸發(fā)(包括經(jīng)過(guò)加10處理過(guò)的上行反響呼叫信號(hào)),此時(shí)如果這一樓層的某一個(gè)按鈕指示燈處于被記憶狀態(tài),那么這個(gè)觸點(diǎn)就會(huì)連同被觸發(fā)的[ = D100 KXX]以及平層信號(hào)(X34)構(gòu)成一個(gè)通路,從而觸發(fā)一個(gè)將此被記憶的指示燈復(fù)位的RST指令,從而達(dá)到了按鈕指示燈熄滅的功能。圖435 查詢上行表最大值子程序梯形圖 ladder chart of find max value in uptable subprogram module圖436 查詢下行表最小值子程序梯形圖 ladder chart of find mini value in downtable subprogram module 上行表已完成信號(hào)消除子程序模塊本模塊完成電梯轎箱到站之后,上行表中已完成的任務(wù)數(shù)據(jù)的刪除以及被記憶的按鈕指示燈的熄滅功能。在出現(xiàn)反響呼叫信號(hào)時(shí),需要判斷呼叫信號(hào)是否小于小行表中的最小任務(wù)數(shù)據(jù),如果小于最小任務(wù)數(shù)據(jù),則需要將其做減10標(biāo)記處理后再存入下行表;如果大于最小任務(wù)數(shù)據(jù),則直接將其存入上行表即可。本模塊初始化先將上行表的第一個(gè)表單元的內(nèi)容存入D2中,開(kāi)始執(zhí)行后,先D100V2的內(nèi)容存入D4中(V2為指針,初值為0),然后進(jìn)一步判斷當(dāng)前讀取的表單元數(shù)據(jù)是否是經(jīng)過(guò)加10標(biāo)記處理過(guò)的反向呼叫信號(hào),如果是,將其做減10還原處理,并存入D4中。圖431 上行表排隊(duì)子程序模塊梯形圖(1) ladder chart of uptable taxis subprogram module (1)圖432 上行表排隊(duì)子程序模塊(2) ladder chart of uptable taxis subprogram module (2) 下行表排隊(duì)子程序模塊本模塊的程序結(jié)構(gòu)與上行表排隊(duì)子程序模塊類似,不同點(diǎn)在于本模塊的排序方式為升序排序方式。第四個(gè)監(jiān)控觸點(diǎn)[ D200 D100V0][ D100V0 K10]如果被觸發(fā),說(shuō)明找到了表中大于D200的樓層信號(hào),并且這個(gè)信號(hào)不是經(jīng)過(guò)加10處理的反向呼叫信號(hào),可直接將D200插入到V0所指的表單元,并將其后的表單員中的數(shù)據(jù)一次向后移動(dòng)一位,完成這一系列操作后,返回主程序。首先,呼叫信號(hào)通過(guò)D200進(jìn)入子程序。圖4215 內(nèi)部呼叫信號(hào)處理梯形圖 ladder chart of call signal transact inside  子程序調(diào)用環(huán)節(jié)本環(huán)節(jié)完成六個(gè)字程序模塊的相關(guān)存儲(chǔ)單元和指針的賦初值和調(diào)用功能。內(nèi)部呼叫按鈕X13, X14, X15, X16, X17, X20為本環(huán)節(jié)的觸發(fā)信號(hào)。程序被觸發(fā)后通過(guò)比較指令判斷呼叫信號(hào)與轎箱所在樓層的關(guān)系,如果呼叫信號(hào)大于轎箱所在樓層則調(diào)用上行表排隊(duì)子程序,入口M1。如果呼叫信號(hào)小于轎箱所在樓層則調(diào)用下行表排隊(duì)子程序,入口M2。梯形圖如圖4212所示。觸發(fā)后,先判斷呼叫的樓層信號(hào)是否與當(dāng)前轎箱所處的樓層相等,如果相等,則直接觸發(fā)開(kāi)門(mén)控制信號(hào)M211。如果小于最大值,則直接調(diào)用上行表排隊(duì)子程序。26樓的下行呼叫X2,X4,X6,X10,X12為本環(huán)節(jié)的觸發(fā)信號(hào)。M212和X24的“與”連接說(shuō)明了“關(guān)門(mén)開(kāi)始并最終關(guān)門(mén)完成”這樣一個(gè)過(guò)程。當(dāng)開(kāi)門(mén)過(guò)程完成后,開(kāi)門(mén)狀態(tài)信號(hào)(X23)會(huì)被觸發(fā),M211和X23的“與”連接說(shuō)明了“開(kāi)門(mén)開(kāi)始并最終開(kāi)門(mén)完成”這樣一個(gè)過(guò)程,之后會(huì)觸發(fā)SET M205和RST M211兩條功能指令。進(jìn)而電梯轎箱緩緩接近平層位置,當(dāng)平層信號(hào)(X34)被觸發(fā)后,Y32及T2,T3,T4被斷開(kāi),轎箱停止?!∞I箱減速過(guò)程環(huán)節(jié)本環(huán)節(jié)完成轎箱停止信號(hào)發(fā)出后的轎箱減速停止的過(guò)程。圖424呼叫信號(hào)寫(xiě)入環(huán)節(jié)梯形圖 ladder chart of call signal written圖425 定向或等待狀態(tài)設(shè)定環(huán)節(jié)梯形圖 ladder chart of directional or wait state select圖426 上行啟動(dòng)加速環(huán)節(jié)梯形圖 ladder chart of up startup accelerating圖427 下行啟動(dòng)加速環(huán)節(jié)梯形圖 ladder chart of down startup accelerating 停止信號(hào)產(chǎn)生環(huán)節(jié)本環(huán)節(jié)負(fù)責(zé)殘生停止轎箱運(yùn)行的信號(hào)。電梯轉(zhuǎn)入減速環(huán)節(jié)。電梯轉(zhuǎn)入低速上行狀態(tài)。上行和下行控制位通過(guò)互鎖使兩個(gè)控制位不能同時(shí)為真?!《ㄏ蚝偷却盘?hào)設(shè)定環(huán)節(jié)本環(huán)節(jié)完成定向信號(hào)和等待信號(hào)的設(shè)定功能。421 上下行指示燈輸出環(huán)節(jié)梯形圖 ladder chart of up and down indicator light output421 反向呼叫信號(hào)預(yù)處理環(huán)節(jié)梯形圖 ladder chart of reverse call signal pretreatment圖423 樓層信號(hào)寫(xiě)入環(huán)節(jié)梯形圖 ladder chart o
點(diǎn)擊復(fù)制文檔內(nèi)容
法律信息相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1