欢迎来到淘文阁 - 分享文档赚钱的网站! | 帮助中心 好文档才是您的得力助手!
淘文阁 - 分享文档赚钱的网站
全部分类
  • 研究报告>
  • 管理文献>
  • 标准材料>
  • 技术资料>
  • 教育专区>
  • 应用文书>
  • 生活休闲>
  • 考试试题>
  • pptx模板>
  • 工商注册>
  • 期刊短文>
  • 图片设计>
  • ImageVerifierCode 换一换

    2022年毕业设计方案外文翻译6 .pdf

    • 资源ID:24662702       资源大小:912.61KB        全文页数:20页
    • 资源格式: PDF        下载积分:4.3金币
    快捷下载 游客一键下载
    会员登录下载
    微信登录下载
    三方登录下载: 微信开放平台登录   QQ登录  
    二维码
    微信扫一扫登录
    下载资源需要4.3金币
    邮箱/手机:
    温馨提示:
    快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。
    如填写123,账号就是123,密码也是123。
    支付方式: 支付宝    微信支付   
    验证码:   换一换

     
    账号:
    密码:
    验证码:   换一换
      忘记密码?
        
    友情提示
    2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
    3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
    4、本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。
    5、试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。

    2022年毕业设计方案外文翻译6 .pdf

    1 / 20 Visualization of PLC Programs using XML M. Bani Younis and G. Frey Juniorprofessorship Agentenbased Automation University of Kaiserslautem P. 0. Box 3049, D-67653 Kaiserslautem, Germany Abstract- Due to the growing complexity of PLC programsthere is an increasing interest in the application of formalmethods in this area. Formal methods allow rigid proving ofsystem properties in verification and validation. One way to apply formal methods is to utilize a formal design approach inPLC programming. However, for existing software that has tobe optimized, changed, or ported to new systems .There is theneed for an approach that can start from a given PLC program.Therefore, formalization ofPLC programs is a topic of current research. The paper outlines a re-engineering approach based on the formalization of PLC programs. Thetransformation into a vendor independent format and the visualization of the structure of PLC programs is identified as an important intermediate step in this process. It is shownhow XML and corresponding technologies can be used for the formalization and visualization of an existing PLC program.I. INTRODUCTIONProgrammable Logic Controllers (PLCs are a specialtype of computers that are used in industrial and safetycritical applications. The purpose of a PLC is to control a particular process, or a collection of processes, by producing electrical control signals in response to electrical process- related inputs signals. The systems controlled by PLCs vary tremendously, with applications in manufacturing,chemical process control, machining, transportation, power distribution, and many other fields. Automation applications can range in complexity froma simple panel to operate the lights and motorized window shades in a conference room to completely automated manufacturing lines. With the widening of their application horizon , PLC programs are being subject to increased complexity and highquality demands especially for safety-critical applications.The growing complexity of the applications within the compliance of limited development time as well as the reusability of existing software orPLC modules requires a formal approach to be developed I. Ensuring the highquality demands requires verification and validation procedures as well as analysis and simulation of existing systems to be carried out 2. One of the important fields for the formalization of PLC programs that have been growing up in recent time is Reverse-engineering 3. Reverse Engineering is a process of evaluating something to understand how it works in order to duplicate or enhance it. While the reuse of PLC codes is being established as a tool for combating the complexity of PLC programs, Reverse Engineering is supposed to receive increased importance in the coming years especially if exiting hardware has to be replaced by new hardware with different programming environments Visualization of existing PLC programs is an important intermediate step of Reverse Engineering. The paper provides an approach towards the visualization of 精选学习资料 - - - - - - - - - 名师归纳总结 - - - - - - -第 1 页,共 20 页2 / 20 PLC programs using XML which is an important approach for the orientation and better understanding for engineers working with PLC programs. The paper is structured as follows. First, a short introduction to PLCs and the corresponding programming techniques according to the IEC 61131-3 standard is given. In Section an approach for Re-engineering based on formalization of PLC programs is introduced. The transformation of the PLC code into a vendor independent format is identified as an important first step in this process. XMLand corresponding technologies such as XSL and XSLT that can be used in this transformation are presented in Section IV. Section V presents the application of XML for the visualization of PLC programs and illustrates the approach with an example. The final Section summarizes the resultsand gives an outlook on future work in this ongoing project. PLC AND IEC61131Since its inception in the early 70s the PLC received increasing attention due to its success in fulfilling the objective of replacing hard-wired control equipments at machines. Eventually it grew up as a distinct field of application, research and development, mainly for Control Engineering. IEC 61 131 is the first real endeavour to standardize PLC programming languages for industrial automation. In I993 the International Electrotechnical Commission 4 published the IEC 61131 Intemational Standard for Programmable Controllers. Before the standardization PLC programminglanguages were being developed as proprietary programming languages usable to PLCs of a special vendor.But in order to enhance compatibility, openness and interoperability among different products as well asto promote the development of tools and methodologies with respect to a fixed set of notations the IEC 61131standard evolved. The third part of this standard defines a suit offive programming languages: Instruction List (IL is a low-level textual language with a structure similar to assembler. Originated in Europe IL is considered to be the PLC language in which all other IEC61 131-3 languages can be translated. Ladder Diagram (LO is a graphical language that has its roots in the USA. LDs conform to a programming style borrowed from electronic and electrical circuits for implementing control logics. Structured Text (STJ is a very powerful high-level language. ST borrows its syntax from Pascal, augmenting it with some features from Ada. ST contains all the essential elements of a modem programming language. Function Block Diagram (FBD is a graphical languageand it is very common to the process industry. In this language controllers are modelled assignal and data flows through function blocks. FBD transforms textual programming into connecting function blocks and thus improvesmodularity and software reuse. Sequential Function Chart (SFC is a graphical language. SFC elements are defined for structuring the organization of programmable controller programs. One problem with IEC 61 131-3 is that there is no standardized format for the project information in a PLC programming tool. At the moment there are only vendor specificformats. This is also one reason for the restriction of formalization approaches 精选学习资料 - - - - - - - - - 名师归纳总结 - - - - - - -第 2 页,共 20 页3 / 20 to single programs or algorithms.However, recently the PLC users organization PLCopen(see http:/www.plcopen.org started a Technical Committeeto define an XML based format for projects accordingto IEC 61131-3. This new format will ease the access offormalization tools to all relevant information of a PLC project. . RE-ENGINEERING APPROACH The presented approach towards re-engineering (cf. Fig.1 is based upon the conception that XML can be used as amedium in which PLC codes will be transformed. This transformation offers the advantage of obtaining avendor independent specification code. (Even if the PLCopen succeeds in defining a standardized format for PLC applications, there will remain a lot of existing programsthat do not conform to this standard. Based on this code a step-wise transformation to a formalmodel (automata is planned. This model can then beused for analysis, simulation, formal verification and validation,and finally for the re-implementation of the optimizedalgorithm on the same or another PLC. Since re-engineering of complete programs will, in mostcases, be only a semi-automatic process, intermediate visualizationof the code is an important point. At differentstages of the process different aspects of the code and/orformal model have to be visualized in a way that a designercan guide the further work. XML with its powerful visualizationand transformation tools is an ideal tool for solvingthis task. IV. XML AS A TOOL FOR VISUALIZATION XML (extensible Markup Language is a simple and flexible meta-language, i.e, a language for describing other languages. Tailored by the World Wide Web Consortium (W3C asa dialect of SGML S , XML removes two constraints which were holding back Web developments 6.The dependence on a single, inflexible document type(HTML which was being much abused for tasks it wasnever designed for on one side。 and the complexity of fullSGML, whose syntax allows many powerful but hard-to-programoptions on the other side. While HTML describes how data should be presented,XML describes the data itself. A number of industries andscientific disciplines-medical records and newspaper publishingamong them-are already using XML to exchangeinformation across platforms and applications. XML can betailored to describe virtually any kind of information in aform that the recipient of the information can use in a varietyof ways. It is specifically designed to support informationexchange between systems that use fundamentally differentforms of data representation, as for example betweenCAD and scheduling applications. 精选学习资料 - - - - - - - - - 名师归纳总结 - - - - - - -第 3 页,共 20 页4 / 20 Using XML with its powerful parsers and inherent robustnessin terms of syntactic and semantic grammar ismore advantageous than the conventional method of usinga lexical analyzer and a validating parser (cf. Fig. 2, 7.The conventional method of analysis of program coderequires a scanner (lexical analyser which generates a setof terminal symbols (tokens followed by a parser that checks the grammatical structure of the code and generatesan object net. In the object net the internal structure of theprogram is represented by identified objects and the relationsbetween them. Both the scanner and the parser to beused in this method are document oriented which impliesthat analysis of different types of documents requires rewritingthe generated code for the scanner and the parser. Anexample of an application of this method can be foundin 8.The most promising aspect of using XML instead is thatXML and its complementary applications for transformationsare standardized so as to provide maximum flexibilityto its user. The XML based method is advantageous, since the lexicalspecification is an invariant component of XML 。 thereforethe well-formedness is independent from the respectiveindividual application. Hence, an XML-Parser also can transfer well-shapedXML documents in an abstract representation called DocumentObject Model (DOM without using a grammar.DOM is an application programming interface (APII forvalid HTMLand well-formed XML documents. It definesthe logical structure of documents and the 精选学习资料 - - - - - - - - - 名师归纳总结 - - - - - - -第 4 页,共 20 页5 / 20 way a documentis accessed and manipulated. In the DOM specification, theterm document is used in a broad sense increasingly. XML is used as a way of representing many different kind of information that may be stored in diverse systems, andmuch of this would traditionally be seen as data rather thanasdocuments. Nevertheless, XML presents this data asdocuments, and the DOM can be used to manage this data 5. XSLT, the transformation language for XML is capableof transforming XML not only to another XML or HTMLbut to many other user-friendly formats. Before the adventof XSLT, the transformation of XML to any other formatwas only possible through custom applications developedin a procedural language such asC+, Visual Basic or,Java. This procedure lacked the generality with respect tothe structural variation of XML documents. Capitalizing onthe concept that the custom applications for the transformationsare all very similar, XSLT evolved as a high-leveldeclarative language 9. XSLT functions in two steps. In the first step, it performsa structural transformation so as to convert the XMLinto a structure that reflects the desired output. The secondstage is formatting the new structure into the required format,such as HTML or PDF (cf. Fig. 3 . The most importantadvantage of this transformation is that it allows a simpleand easily-conceivable representation of the documentor data structure embedded inside the well-structured buthard-to-understand XML to be produced. When HTML ischosen as the format of the transformed produce it is possibleto use the extensive ability of HTML to produce aneasily-conceivable and attractive visualization of a program. Every XML document has its own syntax and vocabulary.Therefore, in addition to being well-formed, the XMLdocument needs to conform to a set of rules. According toW3C recommendations this set of rules has to be definedeither through a Document Type Definition (DTD or anXML Schema. The rules defined in a DTD or an XMLSchema state the hierarchical and structural constraints ofthe XML document. The DTD is for defining the document grammars。 morerecently a number of 精选学习资料 - - - - - - - - - 名师归纳总结 - - - - - - -第 5 页,共 20 页6 / 20 alternative languages have been proposed.The W3C XML Schema language replicates theessential functionality of DTDs, and adds a number of features:the use of XML instance syntax rather than an ad hocnotation, clear relationships between schemas and namespaces,a systematic distinction between element types anddata types, and a single-inheritance form of type derivation.In other words schemas offer a richer and more powerfulway of describing information than what is possible withDTDs. Fig. 4shows the XML technologies discussedabove and the connection between them. V. AN APPROACH FOR THE VISUALIZATION OFPLC PROGRAMS A. Overview Since Instruction List (IL is the most commonly usedPLC language in Europe, the presented approach is basedon this language. The proprietary IL dialect Siemens STEP5and the standardized version according to IEC 61131-3are considered.The generation of XML documents showing differentaspects of a PLC program is realized in the following threesteps (cf. Fig. 5: 1.Transformation of the PLC program to an XMLdocument 2.Validation of the XML against the XML Schemawhich sets the syntax of the XML 3.Identification of the Instruction elements of thetransformed XML according to the instruction setof the source PLC These three steps are discussed in sub-sections B to Drespectively. Sub-section E explains the visualization of thedifferent XMLs obtained during the preceding steps. 精选学习资料 - - - - - - - - - 名师归纳总结 - - - - - - -第 6 页,共 20 页7 / 20 Throughout this Section an example is used to illustrate the presented concepts. Fig. 6shows a PLC code written in Instruction List Siemens S5. The PLC code is written in atabular form where each row element is either a delimited list consisting of address, label, instruction, operand and description or a comment. Kommentar : Autor Erstellt :15.07.2003 Geaendert am: B1B:O NETZWERK 1 EMPFANGEN SLAVE 3 VON MASTER NAME :EMPEMAST 0005 :U M98.7 ABFRAGE OB EMPFANG MOEGLICH 0006 0007 :SPB= MOOl 0008 0009 :A DB140 EMPFANGSFACH IST DB 140 OOOA :L KF+20 LAENGE DES DATENPAKETS oooc :T DLO OOOD :L KF+O ZIELNUMMER O=MASTER OOOF :T DRO 0010 0011 :UNM98.7 FANGEN WIEDER ERLAUBEN 0012 :S M98.7 0013 MOOl :NOP 0 0014 0015 :BE BAUSTEIN E

    注意事项

    本文(2022年毕业设计方案外文翻译6 .pdf)为本站会员(Q****o)主动上传,淘文阁 - 分享文档赚钱的网站仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知淘文阁 - 分享文档赚钱的网站(点击联系客服),我们立即给予删除!

    温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。




    关于淘文阁 - 版权申诉 - 用户使用规则 - 积分规则 - 联系我们

    本站为文档C TO C交易模式,本站只提供存储空间、用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。本站仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知淘文阁网,我们立即给予删除!客服QQ:136780468 微信:18945177775 电话:18904686070

    工信部备案号:黑ICP备15003705号 © 2020-2023 www.taowenge.com 淘文阁 

    收起
    展开