【正文】
量為“1”,設(shè)備數(shù)據(jù)表中與之相對應(yīng)的位的值也為“1”。經(jīng)過上述分析,接下來便可以進(jìn)行入口、出口處欄桿的組態(tài)監(jiān)控了,現(xiàn)在在入口處用兩個欄桿,一個橫桿和一個豎桿,來模擬這樣的情景,當(dāng)“傳感器”為“1”時,豎桿可見;當(dāng)“傳感器”為“0”時,橫桿可見。 所以,一共需要146個傳感器來監(jiān)測車輛的行駛狀態(tài),是為146個輸入信號。SPCE061A提供了被稱為“設(shè)備數(shù)據(jù)表”的內(nèi)存緩沖區(qū),其中存放與外部控制設(shè)備通訊的數(shù)據(jù),通過通訊驅(qū)動進(jìn)行刷新和輸出,運行數(shù)據(jù)庫所需要的過程數(shù)據(jù)從設(shè)備數(shù)據(jù)表中取得。首先導(dǎo)入停車場平面布局圖到畫面制作界面,可以按照第三種方法所述步驟即可將“停車場平面布局圖”導(dǎo)入到畫面制作界面了。圖47 停車場平面布局圖有了停車場的平面布局圖以后,將其另存為“.bmp”格式的文件,以便將其導(dǎo)入到SPCE061A軟件中。在模型中,控制導(dǎo)向牌指示燈的是輸出I/O從站模塊的Y101Y105接口。系統(tǒng)中的各個微控制器的SPI、ATD(PIT用于定時)等外圍單元的初始化,開關(guān)量的狀態(tài)檢測,車身各電器的功率輸出等控制程序可采用輪詢方式執(zhí)行;定時、脈沖捕捉等程序在前臺采用中斷方式執(zhí)行。圖31 車位編碼系統(tǒng)結(jié)構(gòu) 微處理器模塊及相關(guān)電路MC9S12DP512屬于Freescale公司生產(chǎn)的16位微控制器,是一款基于16位S12X 、高速、 FLASH存儲器技術(shù)的高性價比芯片,該芯片抗干擾能力強(qiáng),非常適合于應(yīng)用在復(fù)雜工作環(huán)境中。伺服電機(jī)通過PLC來控制其正反轉(zhuǎn)。SPCE061A即是一種組態(tài)監(jiān)控軟件。本系統(tǒng)根據(jù)傳感器發(fā)出信號,判斷出每個車位有無車輛,對車場內(nèi)的車位進(jìn)行24小時監(jiān)測。關(guān)鍵詞:SPCE061A,CCLink,Q系列PLC,停車場,監(jiān)控系統(tǒng)Parking Guidance System Based On SPCE061AAbstractThis paper describes the use of SPCE061A configuration software remote monitoring the entire process. With SPCE061A software on remote monitoring equipment for data acquisition and processing, mainly the equipment of various analog or digital testing, sampling and the necessary preprocessing, and certain forms of output, such as screen display, realtime curves and print statements, and so on. And to test the realtime data, analysis, summarized, finishing, secondary processing, respectively, as a realtime data and historical data to be stored. In this paper, through the configuration software SPCE061A we firstly established a model of car park which has a capacity of nearly 200 cars, and then adopted in accordance with the requirements we finished demonstrations of the control roles of the park and the design of the PC monitoring system. we finish the design of monitoring software of the Intelligent Parking System, In addition, the paper also includes the design of the hardware of the park lot. In this paper, the study will help improve the current difficult situation in the car park, and provide the right guidance for cars. At the same time, we can save the human and material resource, which has a very important significance to improve the degree of automation and intelligent level of the car study the design of the Intelligent Parking System, and mainly study the software design of the system. The hardware design is the first of all. The parking lot is equipped with infrared sensors. We can collect infrared sensor signals to track vehicles traveling state, and to make sure if there is a car at the park space. Access each sensor to chippin connected with the CPU chip. We can know the number of parks in the region through processing by the CPU, and implement the statistics of a certain number of the regional spaces in car park, along with collecting data. The software design is based on the configuration software SPCE061A, through which we install munications drive to read the data in external equipments, and add to equipment data sheets in the specified location. Equipment data sheets are buffer memory of SPCE061A, to store data municated with external control equipments. It refreshes itself through munications driving, and provides the process data for operation of the database. Through the installation of munications driving, we set the equipment data sheets, switching the use of variables to exchange data between external equipments and PC. The monitoring system will make the data display on the PC and be under realtime monitoring. On this basis, we realize the configuration monitoring of the carpark railings, licensing guidelines, information licensing, and so on, and pleted the host puter monitoring system results show that the monitoring system is a realtime monitoring of the car park. In addition, it also can product statements and variable alarm. Through verification, control functions of the system can meet the requirements of the real response to the situation, and has a good main feature of this paper is a detailed introduction of the entire process of the designation of remote monitoring sofeware by Fame View, through this presentation will be able to master the methods and steps of the designation of the sofeware.Keywords:SPCE061A, CCLink,QPLC,Park, Monitoring System目 錄第一章 緒論 7 基于SPCE061A的遠(yuǎn)程監(jiān)控軟件設(shè)計概述 8 研究的主要內(nèi)容 9第二章 系統(tǒng)總體結(jié)構(gòu)設(shè)計 10 系統(tǒng)控制對象 10 系統(tǒng)功能設(shè)計 10 系統(tǒng)控制模塊設(shè)計 12 入口控制從站 12 車位引導(dǎo)從站 13 出口控制從站 13 車位檢測從站 14 15第三章 車位編碼系統(tǒng)設(shè)計 15 車位編碼系統(tǒng)硬件設(shè)計 15 微處理器模塊及相關(guān)電路 16 開關(guān)檢測模塊及相關(guān)電路 16 車位編碼