7 - xml format of a fuzzy project, Prolog, Document element – Rockwell Automation RSLogix 5000 Fuzzy Designer User Manual

Page 147: Chapter 7, Xml format of a fuzzy project, Prolog document element, Chapter

Advertising
background image

147

Publication LOGIX-UM004A-EN-P - March 2007

Chapter

7

XML Format of a Fuzzy Project

FuzzyDesigner enables you to export and import the fuzzy project in
the XML format. In this chapter, the basic structure of the XML
document corresponding to the fuzzy project designed in
FuzzyDesigner is shown.

An XML document consists of two main parts: the prolog and the
document element (the root element).

Prolog

<?xml version="1.0"?>

<!--*******************************************-->

<!--FuzzyDesigner Project Description in
XML format -->

<!--Version: 16.00.05-->

<!--Time: 07/13/2006 14:41:00-->

<!--*******************************************-->

Document Element

<FUZZYDESIGNER_PROJECT SOFTWARE_VERSION="16.00.05"
PROJECT_VERSION="2.01.00">

<FUZZY_SYSTEM NAME="FuzzyProject"

VERSION="2.01">

.

.

.

<INPUT_PORT NAME="velocity" />

.

.

.

<INPUT_LINGUISTIC_VARIABLE NAME="velocity"

PROCESS_FUZZY_INPUT="1">

.

.

.

</INPUT_LINGUISTIC_VARIABLE>

.

.

.

<OUTPUT_LINGUISTIC_VARIABLE NAME="angle">

.

.

.

</OUTPUT_LINGUISTIC_VARIABLE>

.

.

.

</FUZZY_SYSTEM>

Advertising