【正文】
這將是在成立一個有限自動機。由于這個過程不會完全自動,有必要采取靈活的可視化中間步驟。圖 11顯示了在圖 6中的 XML教學入侵檢測系統(tǒng)特殊的可視化。 指示鑒定后的 XML被轉化成使用 XSL轉化,取得那里的指示和身份指示后,根據該行動的類型提取的 XML在 HTML表載列了兩欄(指示,指令編號)是在可視化的。一個巧妙的 XSL可以被設計用來產生一個可以容易想象的轉達 PLC程序的邏輯或者其他特征的 HTML文件。 在本節(jié)中的例子中, (參見圖 8 ) ,新的 XML包含額外的根據它所代表的類型分類指示的運作屬性。 D. 介紹的認可 這一步,可視化的 PLC程序在這個過程中使用 XML確保 XML文件將用于只包含有效可視化,可以用來變 換,以及形成有效的另一個 XML ,這是由于對鑒定指示擁有一個額外的屬性附加到指示標記。 XML 文件是在 結構上的等級,其中的根元素是 ilcodeblock 是代表全 PLC 的代碼。 Kommentar : Autor Erstellt : Geaendert am: B1B:O NETZWERK 1 EMPFANGEN SLAVE 3 VON MASTER NAME :EMPE39。小組 E 節(jié)解釋了在前一階段期間不同的XMLS 的可視化取得的成績。圖 4 顯示了 XML 技術討論上述之間的聯(lián)系。 近期,一些另類語言已提出, DTD 是用以界定文件文法。 每一個 XML 文件都有自己的語法和詞匯。在第一步,它執(zhí)行的結構性轉型,以便為轉換成 XML 的結構,反映了所需的輸出。前 XSLT 的來臨以前 ,改造 XML 成為任何其他格式只有通過在一個程序語言如 C + + , Visual Basic 或 Java 定制開發(fā)的應用程序來實現(xiàn)。在 DOM 中的規(guī)格,任期 “ 文件 ” 是中被越來越多廣泛使用的意識。 基于該 XML 的 方法 是十分有利的,因為詞匯的規(guī)格是不變的組成部分,因此 XML 良好的形式從各 自的個別申請是獨立的。在該對象的內部結構的程序代表的確定對象和兩者之間的關系。在一個信息獲取人可以使用各種不同的方式形式下, XML 可可裁定描述幾乎任何種類的信息。依賴于一個單一的,一成不變的文件類型( HTML ),這種文件類型中大部分被濫用任務,這是從來沒有設計為對一方有利。在過程中的不同階段,代碼或形式化模型不同方面的都必須是可視化的設計方式,只有這樣設計者才可以進一步的指導工作。 (即使 PLCopen 成功地確定了一種標準化的格式為 PLC 所應用,仍將有很多現(xiàn)有的程序不符合這個標準) 。不過,最近的 PLC 用戶組織 PLCopen (見 )阻止了一個技術委員會,以確定一個基于格式 accordingto 的 IEC 611313 的 XML 項目 。 SFC 要素的定義是為了構建可編程序控制器程序的組織。 功能塊圖( FBD)是一種圖形語言,在工業(yè)流程里是非常常見的。 LDS 符合從電子及電器電路實施控制邏輯的編程風格。為了提高不同產品的兼容性,開放性和互操作性以及為了促進工具和方法的 發(fā)展 ,國際電工委員會 61131 標準設立固定的一套符號。最終它作為一個獨特的應用領域成長起來,它的研究和開發(fā),主要是為控制工程。 XML 和相應的技術,例如 XSL 和 XSLT(第四節(jié)可以使用的這種轉變)。 該文件的結構如下。逆向工程是通過評估達到了解它的運轉過程,以達到重復或加強的目的。 隨著他們應用 PLC 知識的增加,他們把 PLC 應用到復雜性和品質要求高的地方,特別是對安全性要求特別嚴格的地方。 一 導言 可編程邏輯控制器( PLC )是一種特殊類型的計算機,它應用于工業(yè)和安全的關鍵地方。因此,規(guī)范 PLC 程序是一個現(xiàn)在研究的熱點。//6. XML Home Page: 7. R. Kliewer, Reverse Engineering von . thesis, University of Kaiserslautern, Germany,Institute for ProductionAutomation, 1999. 8. M. Kay, XSLT Programmer’s Reference. ISBN1861005067, Wrox Press Ltd2022 可視化的 PLC程序使用 XML 米巴尼尤尼斯和 摘要 :由于 P LC 程序日益復雜 ,在 PLC 應用方面有越來越多的興趣愛好者。Logical Operation) U/Instruction /ILROW . ILRow Instruction instructionId=Jump Operation SPB/Instruction Instruction instructionId= special Operation BE/Instruction /ILROW /ILRow Fig. 8 A new transformed XML showing only the inslructions and the corresponding instruction ID /ILCodeBlack E. Visualization of XML Both of the XML documents generated above can be transformed into HTML or other readable documents with the help of XSL. An ingenious XSL can be designed so as to produce an HTML which can convey the logical and other features of the PLC program in an easily conceivable form. Moreover, the DOM structure embedded in the XML (cf. Fig. 9), also enables the user to navigate through the PLC programs in an easy way. For the example the visualization is done in HTML. This visualization is done for the transformed XML after the validation of it39。 and the plexity of full SGML, whose syntax allows many powerful but hardtoprogram options on the other side. While HTML describes how data should be presented, XML describes the data itself. A number of industries and scientific disciplinesmedical records and newspaper publishing among themare already using XML to exchange information across platforms and applications. XML can be tailored to describe virtually any kind of information in a form that the recipient of the information can use in a variety of ways. It is specifically designed to support information exchange between systems that use fundamentally different forms of data representation, as for example between CAD and scheduling applications. Using XML with its powerful parsers and inherent robustness in terms of syntactic and semantic grammar is more advantageous than the conventional method of using a lexical analyzer and a validating parser (cf. Fig. 2, [7]). The conventional method of analysis of program code requires a scanner (lexical analyser) which generates a set of terminal symbols (tokens) followed by a parser that checks the grammatical structure of the code and generates an object . In the object the internal structure of the program is represented by identified objects and the relations between them. Both the scanner and the parser to be used in this method are document oriented which implies that analysis of different types of documents requires rewriting the generated code for the scanner and the parser. An example of an application of this method can be found in [8]. The most promising aspect of using XML instead is that XML and its plementary applications for transformations are standardized so as to provide maximum flexibility to its user. The XML based method is advantageous, since the lexical specification is an invariant ponent of XML。 therefore the wellformedness is independent from the respective individual application. Hence, an XMLParser also can transfer wellshaped XML documents in an abstract representation called Document Object Model (DOM) without using a grammar. DOM is an application programming interface (APII) for valid HTML and wellformed XML documents. It defines the logical structure of documents and the way a document is accessed and manipulated. In the DOM specification, the term 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, and much of this would traditionally be seen as data rather than as documents. Nevertheless, XML presents this data as documents, and the DOM can be used to manage this data[ 5] . XSLT, the transformation language for XML is capable of transforming XML not only to another XML or HTML but to many other userfriendly formats. Before the advent of XSLT, the transformation of XML t