【文章內(nèi)容簡(jiǎn)介】
g procedures to enhance the reliability of the system. First of all, pay attention to control the distance between the two sensors, access to the garage with the certification procedures for the vehicles, through the sensor when people do not count。 Secondly, the introduction of the logical interlocked, and counting would start by counting lock, a Canadian Counting will have to lock pulse by pulse count, so in order to ensure reliability。 Finally, a reduction of the processing time to avoid vehicles in the vicinity of sensors for counting from the wrong campaign. Key words: PLC Sensor Vehicles Reliability目 錄摘 要 IAbstract II目 錄 III第一章 引 言 4 PLC的基本結(jié)構(gòu) 4 PLC的工作原理 4第二章 車(chē)輛出入庫(kù)管理系統(tǒng)的構(gòu)成 6 整體框架 6 傳感器的布置 6 顯示電路 7第三章 PLC的I/O端口接線(xiàn) 8第四章 I/O 口地址分配 9第五章 程序設(shè)計(jì) 10 控制要求 10 計(jì)數(shù)邏輯 10 程序流程圖 11 梯形圖 12第六章 結(jié) 論 14第七章 參考文獻(xiàn) 15第八章 致 謝 16第九章 元器件清單 1717第一章 引 言 PLC的基本結(jié)構(gòu) 中央處理單元(CPU) 中央處理單元 (CPU)是PLC的控制核心。它按照PLC系統(tǒng)程序賦予的功能:a. 接收并存儲(chǔ)從用戶(hù)程序和數(shù)據(jù);、存儲(chǔ)器、I/O以及警戒定時(shí)器的狀態(tài),并能診斷用戶(hù)程序中的語(yǔ)法錯(cuò)誤。 存儲(chǔ)器 可編程序控制器的存儲(chǔ)器分為系統(tǒng)程序存儲(chǔ)器和用戶(hù)程序存儲(chǔ)器。存放系統(tǒng)軟件(包括監(jiān)控程序、模塊化應(yīng)用功能子程序、命令解釋程序、故障診斷程序及其各種管理程序)的存儲(chǔ)器稱(chēng)為系統(tǒng)程序存儲(chǔ)器;存放用戶(hù)程序(用戶(hù)程序存和數(shù)據(jù))的存儲(chǔ)器稱(chēng)為用戶(hù)程序存儲(chǔ)器,所以又分為用戶(hù)存儲(chǔ)器和數(shù)據(jù)存儲(chǔ)器兩部分。 3.輸入接口電路 輸入輸出信號(hào)有開(kāi)關(guān)量、模擬量、數(shù)字量三種,在我們實(shí)際涉及到的信號(hào)當(dāng)中,開(kāi)關(guān)量最普遍。4.輸出接口電路:可編程序控制器的輸出有:繼電器輸出(M)、晶體管輸出(T)、晶閘管輸出(SSR)三種輸出形式。5.電源 PLC的電源在整個(gè)系統(tǒng)中起著十分重要得作用。如果沒(méi)有一個(gè)良好的、可