




已阅读5页,还剩28页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
英 文 翻 译专 业:机械设计制造及其自动化英文翻译一 英文development of a monitoring and control platformfor plc-based applicationsabstractthis paper discusses the design and implementation of a platform to remotely monitor and control plc-based processes over tcp/ip or by using the gsm network. the platform is built using industry-standard off-the-shelf plcs. integrated with each plc are communication processors that can be used for connectivity to the network and to a gsm modem. the communication processor module (ethernet module) used in this work,provides an industrial compatible protocol over tcp/ip that achieves the same functionality as profinet but at a much higher bandwidth (10/100 mbps).additionally, a mobile-based communication protocol that facilitates remote monitoring and control of plcs using sms messages has also been developed. the intent here is to provide system users with a back-up communication mechanism in case of a network failure.keywords:plc tcp/ip gsm remote monitoring1. introductionthe recent growth of networks technology and specially the wide spread of the internet have promoted the development of distributed measurement systems for a variety of industrial applications. these distributed measurement systems can be used in the monitoring and control of various instruments in the network.a programmable logic controller (plc) is microprocessor-based control system that can be programmed to sense, activateand control industrial equipment and therefore incorporates anumber of input/output terminals for interfacing to an industrial process. a control program stored in the plc memory determines the relationship between the inputs and outputs of the plc. plcs are intelligent automation stations that possess highly useful and desirable features such as: robustness. high degree of scalability: modern plc families have a widespectrum of cpu types that allows easy scalability in functionality and performance. extensibility: the modular design of plcs enables the extension with a wide range of digital and analog i/o modules. also, various integrated technology modules are available for various application areas. sophisticated communication capabilities: modern plcs have communication ports that provide for centralized or distributed connectivity. powerful development environment: modern plc families come with a cross development environment that support different languages for programmability, allows semigraphical hardware configuration and offer strong debugging mechanisms.remote access to control and monitor various devices in an industrial setting is of value to engineers and automation facilities.current implementations of remote plc monitor and control use dedicated pcs or web servers connected to the plc.fig.1 illustrates a common architecture used in industry. as shown, plcs are connected to the network through a computer. the plc system is usually interfaced to this computer using the serial portor profibus. these types of systems are disadvantaged by the dedicated use of a pc to access the plc system. the architecture also does not make use of the advents and strides made in areas such as telecommunications and web technology.in recent years and due to the ever increasing capabilities of pc computing and the influx of network protocols and standards, there has been a surge in the design and implementation of distributed measurement and control systems for industrial applications. typically, these systems are based on the clientserver architecture while securing communication using the tcp/ip protocol. modern plcs come with embedded webservers that provide open access to useful real time information and diagnostics that can be viewed via any standard web browser.this remote accessibility provides several advantages over more traditional solutions. for example, a problem can easily be diagnosed and perhaps fixed remotely; also engineers can have remote access to the plc cpu configuration tools and hence allowing for remote upload/download and configurability via the intranet or internet.in this paper we will discuss the design and implementation of a networked platform for remote monitoring and control of plcs. the platform is built around the siemens s7 series of plcs. these plcs have an integrated communication processor that can beused to provide accessibility to the internet. the monitoring and control can be accomplished in a wired or wireless environment,via an intranet or internet hence providing for a complete solution for the remote monitoring and control of industrial processes. we will also discuss the utilization of the gsm network and the operation of a communication protocol that uses sms messaging to communicate with the plc stations and a database server integrated with the system.the paper is organized as follows: in section 2 we describe the overall system architecture; section three includes a discussion of the software aspects of the system. sections 4 and 5 present the communications methodology followed in this project and thepaper is concluded in section 6.2. system architecturethe proposed system architecture is illustrated in fig. 2.the system consists of the following components: simatic s7 200/300 plc systems and communication processors (cps). each cp has an integrated communication interface (hardware and software) that allows the plc to communicate in a lan, wan or via a gsm network. clients and administrator are connected to the process via the network (or wirelessly). privileges can be set or reset by administrators to allow for or to limit the various clients options. a database server connected to the process via the network for data logging and event recording. a variety of network options including gsm-based accessibility.the plc system ethernet module is a communication processor for the s7 family used to connect the plc to the network. an additional communication processor is used to allow communication between the plc and the gsm modem over the serial port (rs232).in the proposed implementation, the plc system reports remotely the status of the process to the database server. the database server records the status of the plc in time-based tables and performs any required data analysis. the system also receives and executes commands from administrators and clients to control the process. gsm connectivity is also implemented to allow users with different privileges to access the status of the mandatory functions of the plc and allow them to control these functions. ethernet and gsm connectivity of the plcs is implemented using the cp343, and the cp340 communication processors.the system software was implemented mainly using simatic manager and java. the simatic manager environment is used for communication with the plc system. the proposed architecture allows for programming, reprogramming, and configuring the system remotely.the java application is developed using the s7-apis (s7-application programming interfaces) to establish the communication between the database server and plc station. for example, using these apis, we can instantiate objects that will connect the database server to the plc station by specifying the ip address and the s7 address of the cpu contained in the plc unit.the plc is connected to the process sensors and actuatorsusing i/o modules.after the java application running on the server side establishes the connection to plc using the s7-apis, it then uses the java database connector technology (jdbc) to store the retrieved data that reflects the status of various plc parameters in the database tables. jdbc is a technology that allows java to connect to database servers. it contains the required java libraries that include all the necessary methods required to connect to thedatabase server and execute sql statements.the overall system allows users to set process values using the plc. for example, users can set an output (actuate a motor) or change the value of a memory cell (memory bit, byte, word, flag,etc.). the system environment also provides for obtaining the readings of input values (sensors readings) as well as capturing the status of the plc. a chart plotter can be used to convert readings from the plcs into charts. an error reporting mechanismthat provides administrators with useful diagnostic information is also included in the complete environment. system administrators can also query the status of the process using the gsm network in the form of sms messages. finally, the proposed system architecture is scalable with the ability to monitor a complete network of plcs spreading around the intranet or internet.3. system software architecturethe systems software used in this project is divided into three components: a database management system application modules (data manipulation modules, plc communication modules and gsm modem modules) a user interface.fig. 3 depicts the systems software major components and the directions of communication between them. a description of each component is provided in the following subsections.3.1. an overview of the database systemthe database was created using oracle 9i.it consists of a set of interrelated tables.fig. 4 illustrates the database schema used in this work. for the sake of brevity a brief description of each table is provided below: a station table that contains the entire information associated with the plc such as station ip address, station name, etc. a pointers table that contains information about each input,output or, memory that the system is using. pointers represent addresses for input, output or, memory. a pointers reading table used to store the values read from items pointed to by the various pointers. this table is similar to a log table that holds the various stations activities. an admin tablecontains all the information on system users. a rank attribute indicates the security level for each administrator, such as, main admin, supervisor, and trainee.additional information include login name, password, a hint attribute for password recovery, etc. a client table contains all the information pertaining to each client that is using the system such as user identification,password and phone. admin_plc and client_plc tables used to set the corresponding admin or client to a specific station id, and pointer id.3.2. application modulesthese modules are at the heart of the software components of the overall system. they manage the communication between the user interface and the dbms. they initiate the connection to the plc system and contain the needed objects for gsm communication.the application modules consist of following three sub-modules: a data manipulation module: this module has several classes that are called from within the user interface (gui) to perform various data manipulation tasks within the databasesuch as: insert, update, and delete. for example, the insert class is responsible of inserting any new data received through the user interface. a plc communication module: this module consists of three classes; they are used to perform tasks such as accepting stations id from users, verifying that each station has apointer associated with it, establishing connection to the plc station, etc. a gsm module: this module provides for the communication between the gsm modem and the communication ports. the java communication package is used. this package allows java to recognize both the serial and the parallel ports that are part of the system. it contains the necessary functions required to send and receive at commands and sms messages through the gsm modem.3.3. the user interfacethe user interface used in this work allows users (administrators and clients) to access and manipulate the database tables and to issue basic control commands to the different plc stations. for database manipulation the administrator depending on his/her rank can insert, update, or perform different queries.administrators can also perform other activities using this gui such as sending sms massages to different clients and administrators. depending on his or her rank, an administrator can enter the configuration area, and perform activities such as viewing admin logs, viewing help documents, viewing tutorialsof how to use the user interface as well as controlling some activities in the station.fig. 5 shows one of the gui screens of the system. the figure shows the different fields that correspond to the station table attributes. users can enter various values pertaining to a particular station such as its ip address, its location, number of inputs and maximum number of outputs. as shown on the left panel of the gui interface, users have the ability to search, view,configure, and update the information of a particular station.fig. 5 depicts a gui screen for the update command. users may use this command to modify particular station information such as its ip address, or location.fig. 6 is a snap shot of the gui where the user is embarking on a search task. in the shown search screen the user is searching for a plc station by location. the response to his search request is shown in fig. 7.4. using tcp/ip to communicate with the plcthe cp module is a communication processor for the s7 family that allows plcs to connect to an intranet or the internet in any lan setup. the module supports the following tcp/ip communication services: secure ftp (file transfer protocol) and http (hyper text transfer protocol) server login with user ids and password send e-mail messages with embedded plc data to standard smtp mail server ftp client services for file transfer to a remote server ftp server services for file transfer to/from an internal 8 mb flash memory file system by a remote ftp client http server services for remote internet browser access s7 series program instructions for internet communication.in addition the module also has the following features: communication based on tcp/ip and iso standards factory installed mac address peer-to-peer communication capabilities with other s7 devices multiple (up to 8) connections ethernet client or server configuration options program instructions for initialization, reconfiguration, and data transfer.a plc can be programmed locally or remotely to sense,activate and control industrial equipment and therefore,incorporates a number of input/output terminals that are used to interface the plc to the environment or process. each input and output connection point on a plc module has a unique address that identifies it. using the tcp/ip protocol, the ip address of the plc, command type and the address of the item (i/o point) that is referenced are all contained in the ip packet. the ip address of the plc is included in the header field. the payload field of the ip packet is allocated to carry various plc related parameters and commands.fig. 8shows the contents of the frames that are sent and received from the plc system.the memory parameters field contains information, such as the address of the item to be monitored and/or controlled. this item can be any of the following: input output memory area data block.it also contains other parameters such as data type (boolean,integer, etc.), bit or byte offsets and so on.the command type field contains any of the following commands: set value get value get status.the status field of the frame returns the status of the addressed item. the value field contains the value of the addressed item.5. gsm accessibilityforeseeing the potential of gsm services for low volume data transmission and acquisition.we decided to incorporate these services in our system. the idea here is allow administrators and clients to access the plc system via the gsm network if needed, and also to be able to retrieve vital status information through it. the java communication package was used to allow for the communication between the gsm modem and the various ports of the plcs and the server. for the gsm modem that is connected to the plc, ladder diagrams are used to send ata commands as strings to the modem. similarlythe received sms messages are read as strings. a messaging communication protocol that uses the public gsm services and is suitable for this project was developed. the protocol uses various frames to communicate with the system.fig. 9 depicts the format used forquery frames.a brief description of the various fields included in the above frame is given below.type of frame (tof): this is a 1 byte field. the user (administrator or customer) should know what type of frame he/she is sending. for the query frame, the“type of frame”field should be set to the value 1.c/a (customer/administrator): this field indicates whether the user is a customer by writing“c”or an administrator by writing “a”. this field has a size of 1 byte.user id: this field contains an id for each user. the length of the field is 4 bytes.password: this field indicates whether the password belongs to an administrator or a client. administrators have full accessibility to change sensors status by using thesetfunction, for example.the maximum length of this field will be 10 bytes which means the password cant exceed 10 characters.station id: this field contains the station id number. in this work, station ids are assumed to be in the range of 1 to 9999.the length of this field is 4 bytes.pointer id: this field has the pointer id number. the pointers ids will be in the range of 1 to 9999. the length of this field is 4 bytes.the query response frame: the response frame will be sent from the database to the administrator or client with the status of a specific sensor. a fram
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 深圳科目一理论考试试题及答案
- 2025年广西民族大学继续教育学院招聘考试笔试试题(含答案)
- 2025年甘肃省直文博单位招聘事业编制工作人员考试笔试试题(含答案)
- 2025年鄂尔多斯市消防员考试笔试试题(含答案)
- 2024年生产经营单位安全生产知识竞赛题库与答案
- 危急值报告制度考试题及答案
- 2024山西安全生产月知识培训考试试题附参考答案
- 树墩爷爷的秘密课件
- 2024年度福建“安全生产月”知识考试试题附参考答案
- 2024年初级银行从业资格之初级风险管理通关试题库有答案
- 2025年辽宁省地质勘探矿业集团有限责任公司校园招聘笔试备考题库附答案详解
- GB/T 45911-2025人工影响天气作业用弹药存储安全要求
- 排污许可证审核及环境应急管理服务方案投标文件(技术方案)
- 驻京信访工作组管理办法
- 尿道下裂的诊断及分型
- 肿瘤的诊断与治疗
- 【高朋律师事务所】RWA发展研究报告:法律、监管和前瞻(2025年)
- DB42∕T 2272-2024 微粒化岩沥青改性沥青路面施工技术规范
- 办公耗材应急方案(3篇)
- 新高中班级团建活动方案
- 护理执行医嘱制度
评论
0/150
提交评论