814
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
|
2 |
<xsd:schema xmlns:ppx="http://www.plcopen.org/xml/tc6_0201" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:ns1="http://www.plcopen.org/xml/tc6.xsd" targetNamespace="http://www.plcopen.org/xml/tc6_0201" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
|
3 |
<xsd:element name="project">
|
|
4 |
<xsd:annotation>
|
|
5 |
<xsd:documentation>The complete project</xsd:documentation>
|
|
6 |
</xsd:annotation>
|
|
7 |
<xsd:complexType>
|
|
8 |
<xsd:sequence>
|
|
9 |
<xsd:element name="fileHeader">
|
|
10 |
<xsd:complexType>
|
|
11 |
<xsd:attribute name="companyName" type="xsd:string" use="required"/>
|
|
12 |
<xsd:attribute name="companyURL" type="xsd:anyURI" use="optional"/>
|
|
13 |
<xsd:attribute name="productName" type="xsd:string" use="required"/>
|
|
14 |
<xsd:attribute name="productVersion" type="xsd:string" use="required"/>
|
|
15 |
<xsd:attribute name="productRelease" type="xsd:string" use="optional"/>
|
|
16 |
<xsd:attribute name="creationDateTime" type="xsd:dateTime" use="required"/>
|
|
17 |
<xsd:attribute name="contentDescription" type="xsd:string" use="optional"/>
|
|
18 |
</xsd:complexType>
|
|
19 |
</xsd:element>
|
|
20 |
<xsd:element name="contentHeader">
|
|
21 |
<xsd:complexType>
|
|
22 |
<xsd:sequence>
|
|
23 |
<xsd:element name="Comment" type="xsd:string" minOccurs="0"/>
|
|
24 |
<xsd:element name="coordinateInfo">
|
|
25 |
<xsd:complexType>
|
|
26 |
<xsd:sequence>
|
|
27 |
<xsd:element name="pageSize" minOccurs="0">
|
|
28 |
<xsd:complexType>
|
|
29 |
<xsd:attribute name="x" type="xsd:decimal" use="required"/>
|
|
30 |
<xsd:attribute name="y" type="xsd:decimal" use="required"/>
|
|
31 |
</xsd:complexType>
|
|
32 |
</xsd:element>
|
|
33 |
<xsd:element name="fbd">
|
|
34 |
<xsd:complexType>
|
|
35 |
<xsd:sequence>
|
|
36 |
<xsd:element name="scaling">
|
|
37 |
<xsd:complexType>
|
|
38 |
<xsd:attribute name="x" type="xsd:decimal" use="required"/>
|
|
39 |
<xsd:attribute name="y" type="xsd:decimal" use="required"/>
|
|
40 |
</xsd:complexType>
|
|
41 |
</xsd:element>
|
|
42 |
</xsd:sequence>
|
|
43 |
</xsd:complexType>
|
|
44 |
</xsd:element>
|
|
45 |
<xsd:element name="ld">
|
|
46 |
<xsd:complexType>
|
|
47 |
<xsd:sequence>
|
|
48 |
<xsd:element name="scaling">
|
|
49 |
<xsd:complexType>
|
|
50 |
<xsd:attribute name="x" type="xsd:decimal" use="required"/>
|
|
51 |
<xsd:attribute name="y" type="xsd:decimal" use="required"/>
|
|
52 |
</xsd:complexType>
|
|
53 |
</xsd:element>
|
|
54 |
</xsd:sequence>
|
|
55 |
</xsd:complexType>
|
|
56 |
</xsd:element>
|
|
57 |
<xsd:element name="sfc">
|
|
58 |
<xsd:complexType>
|
|
59 |
<xsd:sequence>
|
|
60 |
<xsd:element name="scaling">
|
|
61 |
<xsd:complexType>
|
|
62 |
<xsd:attribute name="x" type="xsd:decimal" use="required"/>
|
|
63 |
<xsd:attribute name="y" type="xsd:decimal" use="required"/>
|
|
64 |
</xsd:complexType>
|
|
65 |
</xsd:element>
|
|
66 |
</xsd:sequence>
|
|
67 |
</xsd:complexType>
|
|
68 |
</xsd:element>
|
|
69 |
</xsd:sequence>
|
|
70 |
</xsd:complexType>
|
|
71 |
</xsd:element>
|
|
72 |
<xsd:element name="addDataInfo" type="ppx:addDataInfo" minOccurs="0"/>
|
|
73 |
<xsd:element name="addData" type="ppx:addData" minOccurs="0"/>
|
|
74 |
</xsd:sequence>
|
|
75 |
<xsd:attribute name="name" type="xsd:string" use="required"/>
|
|
76 |
<xsd:attribute name="version" type="xsd:string" use="optional"/>
|
|
77 |
<xsd:attribute name="modificationDateTime" type="xsd:dateTime" use="optional"/>
|
|
78 |
<xsd:attribute name="organization" type="xsd:string" use="optional"/>
|
|
79 |
<xsd:attribute name="author" type="xsd:string" use="optional"/>
|
|
80 |
<xsd:attribute name="language" type="xsd:language" use="optional">
|
|
81 |
<xsd:annotation>
|
|
82 |
<xsd:documentation>Documentation language of the project e.g. "en-US"</xsd:documentation>
|
|
83 |
</xsd:annotation>
|
|
84 |
</xsd:attribute>
|
|
85 |
</xsd:complexType>
|
|
86 |
</xsd:element>
|
|
87 |
<xsd:element name="types">
|
|
88 |
<xsd:complexType>
|
|
89 |
<xsd:sequence>
|
|
90 |
<xsd:element name="dataTypes">
|
|
91 |
<xsd:complexType>
|
|
92 |
<xsd:sequence>
|
|
93 |
<xsd:element name="dataType" minOccurs="0" maxOccurs="unbounded">
|
|
94 |
<xsd:complexType>
|
|
95 |
<xsd:sequence>
|
|
96 |
<xsd:element name="baseType" type="ppx:dataType"/>
|
|
97 |
<xsd:element name="initialValue" type="ppx:value" minOccurs="0"/>
|
|
98 |
<xsd:element name="addData" type="ppx:addData" minOccurs="0"/>
|
|
99 |
<xsd:element name="documentation" type="ppx:formattedText" minOccurs="0">
|
|
100 |
<xsd:annotation>
|
|
101 |
<xsd:documentation>Additional userspecific information to the element</xsd:documentation>
|
|
102 |
</xsd:annotation>
|
|
103 |
</xsd:element>
|
|
104 |
</xsd:sequence>
|
|
105 |
<xsd:attribute name="name" type="xsd:string" use="required"/>
|
|
106 |
</xsd:complexType>
|
|
107 |
</xsd:element>
|
|
108 |
</xsd:sequence>
|
|
109 |
</xsd:complexType>
|
|
110 |
</xsd:element>
|
|
111 |
<xsd:element name="pous">
|
|
112 |
<xsd:complexType>
|
|
113 |
<xsd:sequence>
|
|
114 |
<xsd:element name="pou" minOccurs="0" maxOccurs="unbounded">
|
|
115 |
<xsd:complexType>
|
|
116 |
<xsd:sequence>
|
|
117 |
<xsd:element name="interface" minOccurs="0">
|
|
118 |
<xsd:complexType>
|
|
119 |
<xsd:sequence>
|
|
120 |
<xsd:element name="returnType" type="ppx:dataType" minOccurs="0"/>
|
|
121 |
<xsd:choice minOccurs="0" maxOccurs="unbounded">
|
|
122 |
<xsd:element name="localVars">
|
|
123 |
<xsd:complexType>
|
|
124 |
<xsd:complexContent>
|
|
125 |
<xsd:extension base="ppx:varList"/>
|
|
126 |
</xsd:complexContent>
|
|
127 |
</xsd:complexType>
|
|
128 |
</xsd:element>
|
|
129 |
<xsd:element name="tempVars">
|
|
130 |
<xsd:complexType>
|
|
131 |
<xsd:complexContent>
|
|
132 |
<xsd:extension base="ppx:varList"/>
|
|
133 |
</xsd:complexContent>
|
|
134 |
</xsd:complexType>
|
|
135 |
</xsd:element>
|
|
136 |
<xsd:element name="inputVars">
|
|
137 |
<xsd:complexType>
|
|
138 |
<xsd:complexContent>
|
|
139 |
<xsd:extension base="ppx:varList"/>
|
|
140 |
</xsd:complexContent>
|
|
141 |
</xsd:complexType>
|
|
142 |
</xsd:element>
|
|
143 |
<xsd:element name="outputVars">
|
|
144 |
<xsd:complexType>
|
|
145 |
<xsd:complexContent>
|
|
146 |
<xsd:extension base="ppx:varList"/>
|
|
147 |
</xsd:complexContent>
|
|
148 |
</xsd:complexType>
|
|
149 |
</xsd:element>
|
|
150 |
<xsd:element name="inOutVars">
|
|
151 |
<xsd:complexType>
|
|
152 |
<xsd:complexContent>
|
|
153 |
<xsd:extension base="ppx:varList"/>
|
|
154 |
</xsd:complexContent>
|
|
155 |
</xsd:complexType>
|
|
156 |
</xsd:element>
|
|
157 |
<xsd:element name="externalVars">
|
|
158 |
<xsd:complexType>
|
|
159 |
<xsd:complexContent>
|
|
160 |
<xsd:extension base="ppx:varList"/>
|
|
161 |
</xsd:complexContent>
|
|
162 |
</xsd:complexType>
|
|
163 |
</xsd:element>
|
|
164 |
<xsd:element name="globalVars">
|
|
165 |
<xsd:complexType>
|
|
166 |
<xsd:complexContent>
|
|
167 |
<xsd:extension base="ppx:varList"/>
|
|
168 |
</xsd:complexContent>
|
|
169 |
</xsd:complexType>
|
|
170 |
</xsd:element>
|
|
171 |
<xsd:element name="accessVars" type="ppx:varList"/>
|
|
172 |
</xsd:choice>
|
|
173 |
<xsd:element name="addData" type="ppx:addData" minOccurs="0"/>
|
|
174 |
<xsd:element name="documentation" type="ppx:formattedText" minOccurs="0">
|
|
175 |
<xsd:annotation>
|
|
176 |
<xsd:documentation>Additional userspecific information to the element</xsd:documentation>
|
|
177 |
</xsd:annotation>
|
|
178 |
</xsd:element>
|
|
179 |
</xsd:sequence>
|
|
180 |
</xsd:complexType>
|
|
181 |
</xsd:element>
|
|
182 |
<xsd:element name="actions" minOccurs="0">
|
|
183 |
<xsd:complexType>
|
|
184 |
<xsd:sequence>
|
|
185 |
<xsd:element name="action" minOccurs="0" maxOccurs="unbounded">
|
|
186 |
<xsd:complexType>
|
|
187 |
<xsd:sequence>
|
|
188 |
<xsd:element name="body" type="ppx:body"/>
|
|
189 |
<xsd:element name="addData" type="ppx:addData" minOccurs="0"/>
|
|
190 |
<xsd:element name="documentation" type="ppx:formattedText" minOccurs="0">
|
|
191 |
<xsd:annotation>
|
|
192 |
<xsd:documentation>Additional userspecific information to the element</xsd:documentation>
|
|
193 |
</xsd:annotation>
|
|
194 |
</xsd:element>
|
|
195 |
</xsd:sequence>
|
|
196 |
<xsd:attribute name="name" type="xsd:string" use="required"/>
|
|
197 |
<xsd:attribute name="globalId" type="xsd:ID" use="optional"/>
|
|
198 |
</xsd:complexType>
|
|
199 |
</xsd:element>
|
|
200 |
</xsd:sequence>
|
|
201 |
</xsd:complexType>
|
|
202 |
</xsd:element>
|
|
203 |
<xsd:element name="transitions" minOccurs="0">
|
|
204 |
<xsd:complexType>
|
|
205 |
<xsd:sequence>
|
|
206 |
<xsd:element name="transition" minOccurs="0" maxOccurs="unbounded">
|
|
207 |
<xsd:complexType>
|
|
208 |
<xsd:sequence>
|
|
209 |
<xsd:element name="body" type="ppx:body"/>
|
|
210 |
<xsd:element name="addData" type="ppx:addData" minOccurs="0"/>
|
|
211 |
<xsd:element name="documentation" type="ppx:formattedText" minOccurs="0">
|
|
212 |
<xsd:annotation>
|
|
213 |
<xsd:documentation>Additional userspecific information to the element</xsd:documentation>
|
|
214 |
</xsd:annotation>
|
|
215 |
</xsd:element>
|
|
216 |
</xsd:sequence>
|
|
217 |
<xsd:attribute name="name" type="xsd:string" use="required"/>
|
|
218 |
<xsd:attribute name="globalId" type="xsd:ID" use="optional"/>
|
|
219 |
</xsd:complexType>
|
|
220 |
</xsd:element>
|
|
221 |
</xsd:sequence>
|
|
222 |
</xsd:complexType>
|
|
223 |
</xsd:element>
|
|
224 |
<xsd:element name="body" type="ppx:body" minOccurs="0" maxOccurs="unbounded"/>
|
|
225 |
<xsd:element name="addData" type="ppx:addData" minOccurs="0"/>
|
|
226 |
<xsd:element name="documentation" type="ppx:formattedText" minOccurs="0">
|
|
227 |
<xsd:annotation>
|
|
228 |
<xsd:documentation>Additional userspecific information to the element</xsd:documentation>
|
|
229 |
</xsd:annotation>
|
|
230 |
</xsd:element>
|
|
231 |
</xsd:sequence>
|
|
232 |
<xsd:attribute name="name" type="xsd:string" use="required"/>
|
|
233 |
<xsd:attribute name="pouType" type="ppx:pouType" use="required"/>
|
|
234 |
<xsd:attribute name="globalId" type="xsd:ID" use="optional"/>
|
|
235 |
</xsd:complexType>
|
|
236 |
</xsd:element>
|
|
237 |
</xsd:sequence>
|
|
238 |
</xsd:complexType>
|
|
239 |
</xsd:element>
|
|
240 |
</xsd:sequence>
|
|
241 |
</xsd:complexType>
|
|
242 |
</xsd:element>
|
|
243 |
<xsd:element name="instances">
|
|
244 |
<xsd:complexType>
|
|
245 |
<xsd:sequence>
|
|
246 |
<xsd:element name="configurations">
|
|
247 |
<xsd:complexType>
|
|
248 |
<xsd:sequence>
|
|
249 |
<xsd:element name="configuration" minOccurs="0" maxOccurs="unbounded">
|
|
250 |
<xsd:complexType>
|
|
251 |
<xsd:annotation>
|
|
252 |
<xsd:documentation>Represents a group of resources and global variables</xsd:documentation>
|
|
253 |
</xsd:annotation>
|
|
254 |
<xsd:sequence>
|
|
255 |
<xsd:element name="resource" minOccurs="0" maxOccurs="unbounded">
|
|
256 |
<xsd:complexType>
|
|
257 |
<xsd:annotation>
|
|
258 |
<xsd:documentation>Represents a group of programs and tasks and global variables</xsd:documentation>
|
|
259 |
</xsd:annotation>
|
|
260 |
<xsd:sequence>
|
|
261 |
<xsd:element name="task" minOccurs="0" maxOccurs="unbounded">
|
|
262 |
<xsd:complexType>
|
|
263 |
<xsd:annotation>
|
|
264 |
<xsd:documentation>Represents a periodic or triggered task</xsd:documentation>
|
|
265 |
</xsd:annotation>
|
|
266 |
<xsd:sequence>
|
|
267 |
<xsd:element name="pouInstance" type="ppx:pouInstance" minOccurs="0" maxOccurs="unbounded"/>
|
|
268 |
<xsd:element name="addData" type="ppx:addData" minOccurs="0"/>
|
|
269 |
<xsd:element name="documentation" type="ppx:formattedText" minOccurs="0">
|
|
270 |
<xsd:annotation>
|
|
271 |
<xsd:documentation>Additional userspecific information to the element</xsd:documentation>
|
|
272 |
</xsd:annotation>
|
|
273 |
</xsd:element>
|
|
274 |
</xsd:sequence>
|
|
275 |
<xsd:attribute name="name" type="xsd:string" use="required"/>
|
|
276 |
<xsd:attribute name="single" type="xsd:string" use="optional"/>
|
|
277 |
<xsd:attribute name="interval" type="xsd:string" use="optional">
|
|
278 |
<xsd:annotation>
|
|
279 |
<xsd:documentation>Vendor specific: Either a constant duration as defined in the IEC or variable name.</xsd:documentation>
|
|
280 |
</xsd:annotation>
|
|
281 |
</xsd:attribute>
|
|
282 |
<xsd:attribute name="priority" use="required">
|
|
283 |
<xsd:simpleType>
|
|
284 |
<xsd:restriction base="xsd:integer">
|
|
285 |
<xsd:minInclusive value="0"/>
|
|
286 |
<xsd:maxInclusive value="65535"/>
|
|
287 |
</xsd:restriction>
|
|
288 |
</xsd:simpleType>
|
|
289 |
</xsd:attribute>
|
|
290 |
<xsd:attribute name="globalId" type="xsd:ID" use="optional"/>
|
|
291 |
</xsd:complexType>
|
|
292 |
</xsd:element>
|
|
293 |
<xsd:element name="globalVars" type="ppx:varList" minOccurs="0" maxOccurs="unbounded"/>
|
|
294 |
<xsd:element name="pouInstance" type="ppx:pouInstance" minOccurs="0" maxOccurs="unbounded"/>
|
|
295 |
<xsd:element name="addData" type="ppx:addData" minOccurs="0"/>
|
|
296 |
<xsd:element name="documentation" type="ppx:formattedText" minOccurs="0">
|
|
297 |
<xsd:annotation>
|
|
298 |
<xsd:documentation>Additional userspecific information to the element</xsd:documentation>
|
|
299 |
</xsd:annotation>
|
|
300 |
</xsd:element>
|
|
301 |
</xsd:sequence>
|
|
302 |
<xsd:attribute name="name" type="xsd:string" use="required"/>
|
|
303 |
<xsd:attribute name="globalId" type="xsd:ID" use="optional"/>
|
|
304 |
</xsd:complexType>
|
|
305 |
</xsd:element>
|
|
306 |
<xsd:element name="globalVars" type="ppx:varList" minOccurs="0" maxOccurs="unbounded"/>
|
|
307 |
<xsd:element name="accessVars" type="ppx:varListAccess" minOccurs="0"/>
|
|
308 |
<xsd:element name="configVars" type="ppx:varListConfig" minOccurs="0"/>
|
|
309 |
<xsd:element name="addData" type="ppx:addData" minOccurs="0"/>
|
|
310 |
<xsd:element name="documentation" type="ppx:formattedText" minOccurs="0">
|
|
311 |
<xsd:annotation>
|
|
312 |
<xsd:documentation>Additional userspecific information to the element</xsd:documentation>
|
|
313 |
</xsd:annotation>
|
|
314 |
</xsd:element>
|
|
315 |
</xsd:sequence>
|
|
316 |
<xsd:attribute name="name" type="xsd:string" use="required"/>
|
|
317 |
<xsd:attribute name="globalId" type="xsd:ID" use="optional"/>
|
|
318 |
</xsd:complexType>
|
|
319 |
</xsd:element>
|
|
320 |
</xsd:sequence>
|
|
321 |
</xsd:complexType>
|
|
322 |
</xsd:element>
|
|
323 |
</xsd:sequence>
|
|
324 |
</xsd:complexType>
|
|
325 |
</xsd:element>
|
|
326 |
<xsd:element name="addData" type="ppx:addData" minOccurs="0"/>
|
|
327 |
<xsd:element name="documentation" type="ppx:formattedText" minOccurs="0">
|
|
328 |
<xsd:annotation>
|
|
329 |
<xsd:documentation>Additional userspecific information to the element</xsd:documentation>
|
|
330 |
</xsd:annotation>
|
|
331 |
</xsd:element>
|
|
332 |
</xsd:sequence>
|
|
333 |
</xsd:complexType>
|
|
334 |
</xsd:element>
|
|
335 |
<xsd:complexType name="dataType">
|
|
336 |
<xsd:annotation>
|
|
337 |
<xsd:documentation>A generic data type</xsd:documentation>
|
|
338 |
</xsd:annotation>
|
|
339 |
<xsd:choice>
|
|
340 |
<xsd:group ref="ppx:elementaryTypes"/>
|
|
341 |
<xsd:group ref="ppx:derivedTypes"/>
|
|
342 |
<xsd:group ref="ppx:extended"/>
|
|
343 |
</xsd:choice>
|
|
344 |
</xsd:complexType>
|
|
345 |
<xsd:complexType name="rangeSigned">
|
|
346 |
<xsd:annotation>
|
|
347 |
<xsd:documentation>Defines a range with signed bounds</xsd:documentation>
|
|
348 |
</xsd:annotation>
|
|
349 |
<xsd:attribute name="lower" type="xsd:string" use="required"/>
|
|
350 |
<xsd:attribute name="upper" type="xsd:string" use="required"/>
|
|
351 |
</xsd:complexType>
|
|
352 |
<xsd:complexType name="rangeUnsigned">
|
|
353 |
<xsd:annotation>
|
|
354 |
<xsd:documentation>Defines a range with unsigned bounds</xsd:documentation>
|
|
355 |
</xsd:annotation>
|
|
356 |
<xsd:attribute name="lower" type="xsd:string" use="required"/>
|
|
357 |
<xsd:attribute name="upper" type="xsd:string" use="required"/>
|
|
358 |
</xsd:complexType>
|
|
359 |
<xsd:complexType name="value">
|
|
360 |
<xsd:annotation>
|
|
361 |
<xsd:documentation>A generic value</xsd:documentation>
|
|
362 |
</xsd:annotation>
|
|
363 |
<xsd:choice>
|
|
364 |
<xsd:element name="simpleValue">
|
|
365 |
<xsd:complexType>
|
|
366 |
<xsd:annotation>
|
|
367 |
<xsd:documentation>Value that can be represented as a single token string </xsd:documentation>
|
|
368 |
</xsd:annotation>
|
|
369 |
<xsd:attribute name="value" type="xsd:string" use="optional"/>
|
|
370 |
</xsd:complexType>
|
|
371 |
</xsd:element>
|
|
372 |
<xsd:element name="arrayValue">
|
|
373 |
<xsd:complexType>
|
|
374 |
<xsd:annotation>
|
|
375 |
<xsd:documentation>Array value consisting of a list of occurrances - value pairs</xsd:documentation>
|
|
376 |
</xsd:annotation>
|
|
377 |
<xsd:sequence minOccurs="0" maxOccurs="unbounded">
|
|
378 |
<xsd:element name="value">
|
|
379 |
<xsd:complexType>
|
|
380 |
<xsd:complexContent>
|
|
381 |
<xsd:extension base="ppx:value">
|
|
382 |
<xsd:attribute name="repetitionValue" type="xsd:string" use="optional" default="1"/>
|
|
383 |
</xsd:extension>
|
|
384 |
</xsd:complexContent>
|
|
385 |
</xsd:complexType>
|
|
386 |
</xsd:element>
|
|
387 |
</xsd:sequence>
|
|
388 |
</xsd:complexType>
|
|
389 |
</xsd:element>
|
|
390 |
<xsd:element name="structValue">
|
|
391 |
<xsd:complexType>
|
|
392 |
<xsd:annotation>
|
|
393 |
<xsd:documentation>Struct value consisting of a list of member - value pairs</xsd:documentation>
|
|
394 |
</xsd:annotation>
|
|
395 |
<xsd:sequence minOccurs="0" maxOccurs="unbounded">
|
|
396 |
<xsd:element name="value">
|
|
397 |
<xsd:complexType>
|
|
398 |
<xsd:complexContent>
|
|
399 |
<xsd:extension base="ppx:value">
|
|
400 |
<xsd:attribute name="member" type="xsd:string" use="required"/>
|
|
401 |
</xsd:extension>
|
|
402 |
</xsd:complexContent>
|
|
403 |
</xsd:complexType>
|
|
404 |
</xsd:element>
|
|
405 |
</xsd:sequence>
|
|
406 |
</xsd:complexType>
|
|
407 |
</xsd:element>
|
|
408 |
</xsd:choice>
|
|
409 |
</xsd:complexType>
|
|
410 |
<xsd:complexType name="body">
|
|
411 |
<xsd:annotation>
|
|
412 |
<xsd:documentation>Implementation part of a POU, action or transistion</xsd:documentation>
|
|
413 |
</xsd:annotation>
|
|
414 |
<xsd:sequence>
|
|
415 |
<xsd:choice>
|
|
416 |
<xsd:element name="IL" type="ppx:formattedText"/>
|
|
417 |
<xsd:element name="ST" type="ppx:formattedText"/>
|
|
418 |
<xsd:element name="FBD">
|
|
419 |
<xsd:complexType>
|
|
420 |
<xsd:choice minOccurs="0" maxOccurs="unbounded">
|
|
421 |
<xsd:group ref="ppx:commonObjects"/>
|
|
422 |
<xsd:group ref="ppx:fbdObjects"/>
|
|
423 |
</xsd:choice>
|
|
424 |
</xsd:complexType>
|
|
425 |
</xsd:element>
|
|
426 |
<xsd:element name="LD">
|
|
427 |
<xsd:complexType>
|
|
428 |
<xsd:choice minOccurs="0" maxOccurs="unbounded">
|
|
429 |
<xsd:group ref="ppx:commonObjects"/>
|
|
430 |
<xsd:group ref="ppx:fbdObjects"/>
|
|
431 |
<xsd:group ref="ppx:ldObjects"/>
|
|
432 |
</xsd:choice>
|
|
433 |
</xsd:complexType>
|
|
434 |
</xsd:element>
|
|
435 |
<xsd:element name="SFC">
|
|
436 |
<xsd:complexType>
|
|
437 |
<xsd:choice minOccurs="0" maxOccurs="unbounded">
|
|
438 |
<xsd:group ref="ppx:commonObjects"/>
|
|
439 |
<xsd:group ref="ppx:fbdObjects"/>
|
|
440 |
<xsd:group ref="ppx:ldObjects"/>
|
|
441 |
<xsd:group ref="ppx:sfcObjects"/>
|
|
442 |
</xsd:choice>
|
|
443 |
</xsd:complexType>
|
|
444 |
</xsd:element>
|
|
445 |
</xsd:choice>
|
|
446 |
<xsd:element name="addData" type="ppx:addData" minOccurs="0"/>
|
|
447 |
<xsd:element name="documentation" type="ppx:formattedText" minOccurs="0">
|
|
448 |
<xsd:annotation>
|
|
449 |
<xsd:documentation>Additional userspecific information to the element</xsd:documentation>
|
|
450 |
</xsd:annotation>
|
|
451 |
</xsd:element>
|
|
452 |
</xsd:sequence>
|
|
453 |
<xsd:attribute name="WorksheetName" type="xsd:string" use="optional"/>
|
|
454 |
<xsd:attribute name="globalId" type="xsd:ID" use="optional"/>
|
|
455 |
</xsd:complexType>
|
|
456 |
<xsd:complexType name="varList">
|
|
457 |
<xsd:annotation>
|
|
458 |
<xsd:documentation>List of variable declarations that share the same memory attributes (CONSTANT, RETAIN, NON_RETAIN, PERSISTENT)</xsd:documentation>
|
|
459 |
</xsd:annotation>
|
|
460 |
<xsd:complexContent>
|
|
461 |
<xsd:extension base="ppx:varListPlain">
|
|
462 |
<xsd:attribute name="name" type="xsd:string" use="optional"/>
|
|
463 |
<xsd:attribute name="constant" type="xsd:boolean" use="optional" default="false"/>
|
|
464 |
<xsd:attribute name="retain" type="xsd:boolean" use="optional" default="false"/>
|
|
465 |
<xsd:attribute name="nonretain" type="xsd:boolean" use="optional" default="false"/>
|
|
466 |
<xsd:attribute name="persistent" type="xsd:boolean" use="optional" default="false"/>
|
|
467 |
<xsd:attribute name="nonpersistent" type="xsd:boolean" use="optional" default="false"/>
|
|
468 |
</xsd:extension>
|
|
469 |
</xsd:complexContent>
|
|
470 |
</xsd:complexType>
|
|
471 |
<xsd:complexType name="varListPlain">
|
|
472 |
<xsd:annotation>
|
|
473 |
<xsd:documentation>List of variable declarations without attributes</xsd:documentation>
|
|
474 |
</xsd:annotation>
|
|
475 |
<xsd:sequence>
|
|
476 |
<xsd:element name="variable" minOccurs="0" maxOccurs="unbounded">
|
|
477 |
<xsd:complexType>
|
|
478 |
<xsd:annotation>
|
|
479 |
<xsd:documentation>Declaration of a variable</xsd:documentation>
|
|
480 |
</xsd:annotation>
|
|
481 |
<xsd:sequence>
|
|
482 |
<xsd:element name="type" type="ppx:dataType"/>
|
|
483 |
<xsd:element name="initialValue" type="ppx:value" minOccurs="0"/>
|
|
484 |
<xsd:element name="addData" type="ppx:addData" minOccurs="0"/>
|
|
485 |
<xsd:element name="documentation" type="ppx:formattedText" minOccurs="0"/>
|
|
486 |
</xsd:sequence>
|
|
487 |
<xsd:attribute name="name" type="xsd:string" use="required"/>
|
|
488 |
<xsd:attribute name="address" type="xsd:string" use="optional"/>
|
|
489 |
<xsd:attribute name="globalId" type="xsd:ID" use="optional"/>
|
|
490 |
</xsd:complexType>
|
|
491 |
</xsd:element>
|
|
492 |
<xsd:element name="addData" type="ppx:addData" minOccurs="0"/>
|
|
493 |
<xsd:element name="documentation" type="ppx:formattedText" minOccurs="0"/>
|
|
494 |
</xsd:sequence>
|
|
495 |
</xsd:complexType>
|
|
496 |
<xsd:complexType name="varListAccess">
|
|
497 |
<xsd:annotation>
|
|
498 |
<xsd:documentation>List of access variable declarations</xsd:documentation>
|
|
499 |
</xsd:annotation>
|
|
500 |
<xsd:sequence>
|
|
501 |
<xsd:element name="accessVariable" minOccurs="0" maxOccurs="unbounded">
|
|
502 |
<xsd:complexType>
|
|
503 |
<xsd:annotation>
|
|
504 |
<xsd:documentation>Declaration of an access variable</xsd:documentation>
|
|
505 |
</xsd:annotation>
|
|
506 |
<xsd:sequence>
|
|
507 |
<xsd:element name="type" type="ppx:dataType"/>
|
|
508 |
<xsd:element name="addData" type="ppx:addData" minOccurs="0"/>
|
|
509 |
<xsd:element name="documentation" type="ppx:formattedText" minOccurs="0"/>
|
|
510 |
</xsd:sequence>
|
|
511 |
<xsd:attribute name="alias" type="xsd:string" use="required">
|
|
512 |
<xsd:annotation>
|
|
513 |
<xsd:documentation>Name that is visible to the communication partner</xsd:documentation>
|
|
514 |
</xsd:annotation>
|
|
515 |
</xsd:attribute>
|
|
516 |
<xsd:attribute name="instancePathAndName" type="xsd:string" use="required">
|
|
517 |
<xsd:annotation>
|
|
518 |
<xsd:documentation>Variable name including instance path inside the configuration</xsd:documentation>
|
|
519 |
</xsd:annotation>
|
|
520 |
</xsd:attribute>
|
|
521 |
<xsd:attribute name="direction" type="ppx:accessType" use="optional"/>
|
|
522 |
</xsd:complexType>
|
|
523 |
</xsd:element>
|
|
524 |
<xsd:element name="addData" type="ppx:addData" minOccurs="0"/>
|
|
525 |
<xsd:element name="documentation" type="ppx:formattedText" minOccurs="0"/>
|
|
526 |
</xsd:sequence>
|
|
527 |
</xsd:complexType>
|
|
528 |
<xsd:complexType name="varListConfig">
|
|
529 |
<xsd:annotation>
|
|
530 |
<xsd:documentation>List of VAR_CONFIG variables</xsd:documentation>
|
|
531 |
</xsd:annotation>
|
|
532 |
<xsd:sequence>
|
|
533 |
<xsd:element name="configVariable" minOccurs="0" maxOccurs="unbounded">
|
|
534 |
<xsd:complexType>
|
|
535 |
<xsd:annotation>
|
|
536 |
<xsd:documentation>Declaration of an access variable</xsd:documentation>
|
|
537 |
</xsd:annotation>
|
|
538 |
<xsd:sequence>
|
|
539 |
<xsd:element name="type" type="ppx:dataType"/>
|
|
540 |
<xsd:element name="initialValue" type="ppx:value" minOccurs="0"/>
|
|
541 |
<xsd:element name="addData" type="ppx:addData" minOccurs="0"/>
|
|
542 |
<xsd:element name="documentation" type="ppx:formattedText" minOccurs="0"/>
|
|
543 |
</xsd:sequence>
|
|
544 |
<xsd:attribute name="instancePathAndName" type="xsd:string" use="required">
|
|
545 |
<xsd:annotation>
|
|
546 |
<xsd:documentation>Variable name including instance path</xsd:documentation>
|
|
547 |
</xsd:annotation>
|
|
548 |
</xsd:attribute>
|
|
549 |
<xsd:attribute name="address" type="xsd:string" use="optional"/>
|
|
550 |
</xsd:complexType>
|
|
551 |
</xsd:element>
|
|
552 |
<xsd:element name="addData" type="ppx:addData" minOccurs="0"/>
|
|
553 |
<xsd:element name="documentation" type="ppx:formattedText" minOccurs="0"/>
|
|
554 |
</xsd:sequence>
|
|
555 |
</xsd:complexType>
|
|
556 |
<xsd:complexType name="position">
|
|
557 |
<xsd:annotation>
|
|
558 |
<xsd:documentation>Defines a graphical position in X, Y coordinates</xsd:documentation>
|
|
559 |
</xsd:annotation>
|
|
560 |
<xsd:attribute name="x" type="xsd:decimal" use="required"/>
|
|
561 |
<xsd:attribute name="y" type="xsd:decimal" use="required"/>
|
|
562 |
</xsd:complexType>
|
|
563 |
<xsd:complexType name="connection">
|
|
564 |
<xsd:annotation>
|
|
565 |
<xsd:documentation>Describes a connection between the consumer element (eg. input variable of a function block) and the producer element (eg. output variable of a function block). It may contain a list of positions that describes the path of the connection.</xsd:documentation>
|
|
566 |
</xsd:annotation>
|
|
567 |
<xsd:sequence>
|
|
568 |
<xsd:element name="position" type="ppx:position" minOccurs="0" maxOccurs="unbounded">
|
|
569 |
<xsd:annotation>
|
|
570 |
<xsd:documentation>All positions of the directed connection path. If any positions are given, the list has to contain the first (input pin of the consumer element) as well as the last (output pin of the producer element).</xsd:documentation>
|
|
571 |
</xsd:annotation>
|
|
572 |
</xsd:element>
|
|
573 |
<xsd:element name="addData" type="ppx:addData" minOccurs="0"/>
|
|
574 |
</xsd:sequence>
|
|
575 |
<xsd:attribute name="globalId" type="xsd:ID" use="optional"/>
|
|
576 |
<xsd:attribute name="refLocalId" type="xsd:unsignedLong" use="required">
|
|
577 |
<xsd:annotation>
|
|
578 |
<xsd:documentation>Identifies the element the connection starts from.</xsd:documentation>
|
|
579 |
</xsd:annotation>
|
|
580 |
</xsd:attribute>
|
|
581 |
<xsd:attribute name="formalParameter" type="xsd:string" use="optional">
|
|
582 |
<xsd:annotation>
|
|
583 |
<xsd:documentation>If present:
|
|
584 |
This attribute denotes the name of the VAR_OUTPUT / VAR_IN_OUTparameter of the pou block that is the start of the connection.
|
|
585 |
If not present:
|
|
586 |
If the refLocalId attribute refers to a pou block, the start of the connection is the first output of this block, which is not ENO.
|
|
587 |
If the refLocalId attribute refers to any other element type, the start of the connection is the elements single native output. </xsd:documentation>
|
|
588 |
</xsd:annotation>
|
|
589 |
</xsd:attribute>
|
|
590 |
</xsd:complexType>
|
|
591 |
<xsd:complexType name="connectionPointIn">
|
|
592 |
<xsd:annotation>
|
|
593 |
<xsd:documentation>Defines a connection point on the consumer side</xsd:documentation>
|
|
594 |
</xsd:annotation>
|
|
595 |
<xsd:sequence>
|
|
596 |
<xsd:element name="relPosition" type="ppx:position" minOccurs="0">
|
|
597 |
<xsd:annotation>
|
|
598 |
<xsd:documentation>Relative position of the connection pin. Origin is the anchor position of the block.</xsd:documentation>
|
|
599 |
</xsd:annotation>
|
|
600 |
</xsd:element>
|
|
601 |
<xsd:choice minOccurs="0">
|
|
602 |
<xsd:element name="connection" type="ppx:connection" maxOccurs="unbounded"/>
|
|
603 |
<xsd:element name="expression" type="xsd:string">
|
|
604 |
<xsd:annotation>
|
|
605 |
<xsd:documentation>The operand is a valid iec variable e.g. avar[0] or an iec expression or multiple token text e.g. a + b (*sum*). An iec 61131-3 parser has to be used to extract variable information.</xsd:documentation>
|
|
606 |
</xsd:annotation>
|
|
607 |
</xsd:element>
|
|
608 |
</xsd:choice>
|
|
609 |
<xsd:element name="addData" type="ppx:addData" minOccurs="0"/>
|
|
610 |
</xsd:sequence>
|
|
611 |
<xsd:attribute name="globalId" type="xsd:ID" use="optional"/>
|
|
612 |
</xsd:complexType>
|
|
613 |
<xsd:complexType name="connectionPointOut">
|
|
614 |
<xsd:annotation>
|
|
615 |
<xsd:documentation>Defines a connection point on the producer side</xsd:documentation>
|
|
616 |
</xsd:annotation>
|
|
617 |
<xsd:sequence>
|
|
618 |
<xsd:element name="relPosition" type="ppx:position" minOccurs="0">
|
|
619 |
<xsd:annotation>
|
|
620 |
<xsd:documentation>Relative position of the connection pin. Origin is the anchor position of the block.</xsd:documentation>
|
|
621 |
</xsd:annotation>
|
|
622 |
</xsd:element>
|
|
623 |
<xsd:element name="expression" type="xsd:string" minOccurs="0">
|
|
624 |
<xsd:annotation>
|
|
625 |
<xsd:documentation>The operand is a valid iec variable e.g. avar[0].</xsd:documentation>
|
|
626 |
</xsd:annotation>
|
|
627 |
</xsd:element>
|
|
628 |
<xsd:element name="addData" type="ppx:addData" minOccurs="0"/>
|
|
629 |
</xsd:sequence>
|
|
630 |
<xsd:attribute name="globalId" type="xsd:ID" use="optional"/>
|
|
631 |
</xsd:complexType>
|
|
632 |
<xsd:complexType name="pouInstance">
|
|
633 |
<xsd:annotation>
|
|
634 |
<xsd:documentation>Represents a program or function block instance either running with or without a task</xsd:documentation>
|
|
635 |
</xsd:annotation>
|
|
636 |
<xsd:sequence>
|
|
637 |
<xsd:element name="addData" type="ppx:addData" minOccurs="0"/>
|
|
638 |
<xsd:element name="documentation" type="ppx:formattedText" minOccurs="0"/>
|
|
639 |
</xsd:sequence>
|
|
640 |
<xsd:attribute name="name" type="xsd:string" use="required"/>
|
|
641 |
<xsd:attribute name="typeName" type="xsd:string" use="required"/>
|
|
642 |
<xsd:attribute name="globalId" type="xsd:ID" use="optional"/>
|
|
643 |
</xsd:complexType>
|
|
644 |
<xsd:complexType name="formattedText">
|
|
645 |
<xsd:annotation>
|
|
646 |
<xsd:documentation>Formatted text according to parts of XHTML 1.1</xsd:documentation>
|
|
647 |
</xsd:annotation>
|
|
648 |
<xsd:sequence>
|
|
649 |
<xsd:any namespace="http://www.w3.org/1999/xhtml" processContents="lax"/>
|
|
650 |
</xsd:sequence>
|
|
651 |
</xsd:complexType>
|
|
652 |
<xsd:complexType name="addData">
|
|
653 |
<xsd:annotation>
|
|
654 |
<xsd:documentation>Application specific data defined in external schemata </xsd:documentation>
|
|
655 |
</xsd:annotation>
|
|
656 |
<xsd:sequence>
|
|
657 |
<xsd:element name="data" minOccurs="0" maxOccurs="unbounded">
|
|
658 |
<xsd:complexType>
|
|
659 |
<xsd:sequence>
|
|
660 |
<xsd:any namespace="##any" processContents="lax"/>
|
|
661 |
</xsd:sequence>
|
|
662 |
<xsd:attribute name="name" type="xsd:anyURI" use="required">
|
|
663 |
<xsd:annotation>
|
|
664 |
<xsd:documentation>Uniquely identifies the additional data element.</xsd:documentation>
|
|
665 |
</xsd:annotation>
|
|
666 |
</xsd:attribute>
|
|
667 |
<xsd:attribute name="handleUnknown" use="required">
|
|
668 |
<xsd:annotation>
|
|
669 |
<xsd:documentation>Recommended processor handling for unknown data elements.
|
|
670 |
Specifies if the processor should try to preserve the additional data element, dismiss the element (e.g. because the data is invalid if not updated correctly) or use the processors default behaviour for unknown data.</xsd:documentation>
|
|
671 |
</xsd:annotation>
|
|
672 |
<xsd:simpleType>
|
|
673 |
<xsd:restriction base="xsd:NMTOKEN">
|
|
674 |
<xsd:enumeration value="preserve"/>
|
|
675 |
<xsd:enumeration value="discard"/>
|
|
676 |
<xsd:enumeration value="implementation"/>
|
|
677 |
</xsd:restriction>
|
|
678 |
</xsd:simpleType>
|
|
679 |
</xsd:attribute>
|
|
680 |
</xsd:complexType>
|
|
681 |
</xsd:element>
|
|
682 |
</xsd:sequence>
|
|
683 |
</xsd:complexType>
|
|
684 |
<xsd:complexType name="addDataInfo">
|
|
685 |
<xsd:annotation>
|
|
686 |
<xsd:documentation>List of additional data elements used in the document with description</xsd:documentation>
|
|
687 |
</xsd:annotation>
|
|
688 |
<xsd:sequence>
|
|
689 |
<xsd:element name="info" minOccurs="0" maxOccurs="unbounded">
|
|
690 |
<xsd:complexType>
|
|
691 |
<xsd:sequence>
|
|
692 |
<xsd:element name="description" type="ppx:formattedText" minOccurs="0"/>
|
|
693 |
</xsd:sequence>
|
|
694 |
<xsd:attribute name="name" type="xsd:anyURI" use="required">
|
|
695 |
<xsd:annotation>
|
|
696 |
<xsd:documentation>Unique name of the additional data element.</xsd:documentation>
|
|
697 |
</xsd:annotation>
|
|
698 |
</xsd:attribute>
|
|
699 |
<xsd:attribute name="version" type="xsd:decimal">
|
|
700 |
<xsd:annotation>
|
|
701 |
<xsd:documentation>Version of additional data, eg. schema version.</xsd:documentation>
|
|
702 |
</xsd:annotation>
|
|
703 |
</xsd:attribute>
|
|
704 |
<xsd:attribute name="vendor" type="xsd:anyURI" use="required">
|
|
705 |
<xsd:annotation>
|
|
706 |
<xsd:documentation>Vendor responsible for the definition of the additional data element.</xsd:documentation>
|
|
707 |
</xsd:annotation>
|
|
708 |
</xsd:attribute>
|
|
709 |
</xsd:complexType>
|
|
710 |
</xsd:element>
|
|
711 |
</xsd:sequence>
|
|
712 |
</xsd:complexType>
|
|
713 |
<xsd:group name="elementaryTypes">
|
|
714 |
<xsd:annotation>
|
|
715 |
<xsd:documentation>Collection of elementary IEC 61131-3 datatypes</xsd:documentation>
|
|
716 |
</xsd:annotation>
|
|
717 |
<xsd:choice>
|
|
718 |
<xsd:element name="BOOL"/>
|
|
719 |
<xsd:element name="BYTE"/>
|
|
720 |
<xsd:element name="WORD"/>
|
|
721 |
<xsd:element name="DWORD"/>
|
|
722 |
<xsd:element name="LWORD"/>
|
|
723 |
<xsd:element name="SINT"/>
|
|
724 |
<xsd:element name="INT"/>
|
|
725 |
<xsd:element name="DINT"/>
|
|
726 |
<xsd:element name="LINT"/>
|
|
727 |
<xsd:element name="USINT"/>
|
|
728 |
<xsd:element name="UINT"/>
|
|
729 |
<xsd:element name="UDINT"/>
|
|
730 |
<xsd:element name="ULINT"/>
|
|
731 |
<xsd:element name="REAL"/>
|
|
732 |
<xsd:element name="LREAL"/>
|
|
733 |
<xsd:element name="TIME"/>
|
|
734 |
<xsd:element name="DATE"/>
|
|
735 |
<xsd:element name="DT"/>
|
|
736 |
<xsd:element name="TOD"/>
|
|
737 |
<xsd:element name="string">
|
|
738 |
<xsd:complexType>
|
|
739 |
<xsd:annotation>
|
|
740 |
<xsd:documentation>The single byte character string type</xsd:documentation>
|
|
741 |
</xsd:annotation>
|
|
742 |
<xsd:attribute name="length" type="xsd:string" use="optional"/>
|
|
743 |
</xsd:complexType>
|
|
744 |
</xsd:element>
|
|
745 |
<xsd:element name="wstring">
|
|
746 |
<xsd:complexType>
|
|
747 |
<xsd:annotation>
|
|
748 |
<xsd:documentation>The wide character (WORD) string type</xsd:documentation>
|
|
749 |
</xsd:annotation>
|
|
750 |
<xsd:attribute name="length" type="xsd:string" use="optional"/>
|
|
751 |
</xsd:complexType>
|
|
752 |
</xsd:element>
|
|
753 |
<xsd:element name="ANY"/>
|
|
754 |
<xsd:element name="ANY_DERIVED"/>
|
|
755 |
<xsd:element name="ANY_ELEMENTARY"/>
|
|
756 |
<xsd:element name="ANY_MAGNITUDE"/>
|
|
757 |
<xsd:element name="ANY_NUM"/>
|
|
758 |
<xsd:element name="ANY_REAL"/>
|
|
759 |
<xsd:element name="ANY_INT"/>
|
|
760 |
<xsd:element name="ANY_BIT"/>
|
|
761 |
<xsd:element name="ANY_STRING"/>
|
|
762 |
<xsd:element name="ANY_DATE"/>
|
|
763 |
</xsd:choice>
|
|
764 |
</xsd:group>
|
|
765 |
<xsd:group name="derivedTypes">
|
|
766 |
<xsd:annotation>
|
|
767 |
<xsd:documentation>Collection of derived IEC 61131-3 datatypes</xsd:documentation>
|
|
768 |
</xsd:annotation>
|
|
769 |
<xsd:choice>
|
|
770 |
<xsd:element name="array">
|
|
771 |
<xsd:complexType>
|
|
772 |
<xsd:sequence>
|
|
773 |
<xsd:element name="dimension" type="ppx:rangeSigned" maxOccurs="unbounded"/>
|
|
774 |
<xsd:element name="baseType" type="ppx:dataType"/>
|
|
775 |
</xsd:sequence>
|
|
776 |
</xsd:complexType>
|
|
777 |
</xsd:element>
|
|
778 |
<xsd:element name="derived">
|
|
779 |
<xsd:annotation>
|
|
780 |
<xsd:documentation>Reference to a user defined datatype or POU. Variable declarations use this type to declare e.g. function block instances.</xsd:documentation>
|
|
781 |
</xsd:annotation>
|
|
782 |
<xsd:complexType>
|
|
783 |
<xsd:annotation>
|
|
784 |
<xsd:documentation>The user defined alias type</xsd:documentation>
|
|
785 |
</xsd:annotation>
|
|
786 |
<xsd:sequence>
|
|
787 |
<xsd:element name="addData" type="ppx:addData" minOccurs="0"/>
|
|
788 |
</xsd:sequence>
|
|
789 |
<xsd:attribute name="name" type="xsd:string" use="required"/>
|
|
790 |
</xsd:complexType>
|
|
791 |
</xsd:element>
|
|
792 |
<xsd:element name="enum">
|
|
793 |
<xsd:complexType>
|
|
794 |
<xsd:sequence>
|
|
795 |
<xsd:element name="values">
|
|
796 |
<xsd:complexType>
|
|
797 |
<xsd:sequence maxOccurs="unbounded">
|
|
798 |
<xsd:element name="value">
|
|
799 |
<xsd:complexType>
|
|
800 |
<xsd:annotation>
|
|
801 |
<xsd:documentation>An enumeration value used to build up enumeration types</xsd:documentation>
|
|
802 |
</xsd:annotation>
|
|
803 |
<xsd:attribute name="name" type="xsd:string" use="required"/>
|
|
804 |
<xsd:attribute name="value" type="xsd:string" use="optional"/>
|
|
805 |
</xsd:complexType>
|
|
806 |
</xsd:element>
|
|
807 |
</xsd:sequence>
|
|
808 |
</xsd:complexType>
|
|
809 |
</xsd:element>
|
|
810 |
<xsd:element name="baseType" type="ppx:dataType" minOccurs="0"/>
|
|
811 |
</xsd:sequence>
|
|
812 |
</xsd:complexType>
|
|
813 |
</xsd:element>
|
|
814 |
<xsd:element name="struct" type="ppx:varListPlain"/>
|
|
815 |
<xsd:element name="subrangeSigned">
|
|
816 |
<xsd:complexType>
|
|
817 |
<xsd:sequence>
|
|
818 |
<xsd:element name="range" type="ppx:rangeSigned"/>
|
|
819 |
<xsd:element name="baseType" type="ppx:dataType"/>
|
|
820 |
</xsd:sequence>
|
|
821 |
</xsd:complexType>
|
|
822 |
</xsd:element>
|
|
823 |
<xsd:element name="subrangeUnsigned">
|
|
824 |
<xsd:complexType>
|
|
825 |
<xsd:sequence>
|
|
826 |
<xsd:element name="range" type="ppx:rangeUnsigned"/>
|
|
827 |
<xsd:element name="baseType" type="ppx:dataType"/>
|
|
828 |
</xsd:sequence>
|
|
829 |
</xsd:complexType>
|
|
830 |
</xsd:element>
|
|
831 |
</xsd:choice>
|
|
832 |
</xsd:group>
|
|
833 |
<xsd:group name="extended">
|
|
834 |
<xsd:annotation>
|
|
835 |
<xsd:documentation>Collection of datatypes not defined in IEC 61131-3</xsd:documentation>
|
|
836 |
</xsd:annotation>
|
|
837 |
<xsd:choice>
|
|
838 |
<xsd:element name="pointer">
|
|
839 |
<xsd:complexType>
|
|
840 |
<xsd:sequence>
|
|
841 |
<xsd:element name="baseType" type="ppx:dataType"/>
|
|
842 |
</xsd:sequence>
|
|
843 |
</xsd:complexType>
|
|
844 |
</xsd:element>
|
|
845 |
</xsd:choice>
|
|
846 |
</xsd:group>
|
|
847 |
<xsd:group name="commonObjects">
|
|
848 |
<xsd:annotation>
|
|
849 |
<xsd:documentation>Collection of objects which have no direct iec scope and can be used in any graphical body.</xsd:documentation>
|
|
850 |
</xsd:annotation>
|
|
851 |
<xsd:choice>
|
|
852 |
<xsd:element name="comment">
|
|
853 |
<xsd:complexType>
|
|
854 |
<xsd:sequence>
|
|
855 |
<xsd:element name="position" type="ppx:position"/>
|
|
856 |
<xsd:element name="content" type="ppx:formattedText"/>
|
|
857 |
<xsd:element name="addData" type="ppx:addData" minOccurs="0"/>
|
|
858 |
<xsd:element name="documentation" type="ppx:formattedText" minOccurs="0"/>
|
|
859 |
</xsd:sequence>
|
|
860 |
<xsd:attribute name="localId" type="xsd:unsignedLong" use="required"/>
|
|
861 |
<xsd:attribute name="height" type="xsd:decimal" use="required"/>
|
|
862 |
<xsd:attribute name="width" type="xsd:decimal" use="required"/>
|
|
863 |
<xsd:attribute name="globalId" type="xsd:ID" use="optional"/>
|
|
864 |
</xsd:complexType>
|
|
865 |
</xsd:element>
|
|
866 |
<xsd:element name="error">
|
|
867 |
<xsd:complexType mixed="false">
|
|
868 |
<xsd:annotation>
|
|
869 |
<xsd:documentation>Describes a graphical object representing a conversion error. Used to keep information which can not be interpreted by the importing system</xsd:documentation>
|
|
870 |
</xsd:annotation>
|
|
871 |
<xsd:sequence>
|
|
872 |
<xsd:element name="position" type="ppx:position"/>
|
|
873 |
<xsd:element name="content" type="ppx:formattedText"/>
|
|
874 |
<xsd:element name="addData" type="ppx:addData" minOccurs="0"/>
|
|
875 |
<xsd:element name="documentation" type="ppx:formattedText" minOccurs="0"/>
|
|
876 |
</xsd:sequence>
|
|
877 |
<xsd:attribute name="localId" type="xsd:unsignedLong" use="required"/>
|
|
878 |
<xsd:attribute name="height" type="xsd:decimal" use="required"/>
|
|
879 |
<xsd:attribute name="width" type="xsd:decimal" use="required"/>
|
|
880 |
<xsd:attribute name="globalId" type="xsd:ID" use="optional"/>
|
|
881 |
</xsd:complexType>
|
|
882 |
</xsd:element>
|
|
883 |
<xsd:element name="connector">
|
|
884 |
<xsd:complexType>
|
|
885 |
<xsd:annotation>
|
|
886 |
<xsd:documentation>Describes a graphical object representing a variable, literal or expression used as r-value</xsd:documentation>
|
|
887 |
</xsd:annotation>
|
|
888 |
<xsd:sequence>
|
|
889 |
<xsd:element name="position" type="ppx:position"/>
|
|
890 |
<xsd:element name="connectionPointIn" type="ppx:connectionPointIn" minOccurs="0"/>
|
|
891 |
<xsd:element name="addData" type="ppx:addData" minOccurs="0"/>
|
|
892 |
<xsd:element name="documentation" type="ppx:formattedText" minOccurs="0"/>
|
|
893 |
</xsd:sequence>
|
|
894 |
<xsd:attribute name="name" type="xsd:string" use="required">
|
|
895 |
<xsd:annotation>
|
|
896 |
<xsd:documentation>The operand is a valid iec variable e.g. avar[0]</xsd:documentation>
|
|
897 |
</xsd:annotation>
|
|
898 |
</xsd:attribute>
|
|
899 |
<xsd:attribute name="localId" type="xsd:unsignedLong" use="required"/>
|
|
900 |
<xsd:attribute name="height" type="xsd:decimal" use="optional"/>
|
|
901 |
<xsd:attribute name="width" type="xsd:decimal" use="optional"/>
|
|
902 |
<xsd:attribute name="globalId" type="xsd:ID" use="optional"/>
|
|
903 |
</xsd:complexType>
|
|
904 |
</xsd:element>
|
|
905 |
<xsd:element name="continuation">
|
|
906 |
<xsd:annotation>
|
|
907 |
<xsd:documentation>Counterpart of the connector element</xsd:documentation>
|
|
908 |
</xsd:annotation>
|
|
909 |
<xsd:complexType>
|
|
910 |
<xsd:annotation>
|
|
911 |
<xsd:documentation>Describes a graphical object representing a variable, literal or expression used as r-value</xsd:documentation>
|
|
912 |
</xsd:annotation>
|
|
913 |
<xsd:sequence>
|
|
914 |
<xsd:element name="position" type="ppx:position"/>
|
|
915 |
<xsd:element name="connectionPointOut" type="ppx:connectionPointOut" minOccurs="0"/>
|
|
916 |
<xsd:element name="addData" type="ppx:addData" minOccurs="0"/>
|
|
917 |
<xsd:element name="documentation" type="ppx:formattedText" minOccurs="0"/>
|
|
918 |
</xsd:sequence>
|
|
919 |
<xsd:attribute name="name" type="xsd:string" use="required">
|
|
920 |
<xsd:annotation>
|
|
921 |
<xsd:documentation>The operand is a valid iec variable e.g. avar[0]</xsd:documentation>
|
|
922 |
</xsd:annotation>
|
|
923 |
</xsd:attribute>
|
|
924 |
<xsd:attribute name="localId" type="xsd:unsignedLong" use="required"/>
|
|
925 |
<xsd:attribute name="height" type="xsd:decimal" use="optional"/>
|
|
926 |
<xsd:attribute name="width" type="xsd:decimal" use="optional"/>
|
|
927 |
<xsd:attribute name="globalId" type="xsd:ID" use="optional"/>
|
|
928 |
</xsd:complexType>
|
|
929 |
</xsd:element>
|
|
930 |
<xsd:element name="actionBlock">
|
|
931 |
<xsd:complexType>
|
|
932 |
<xsd:sequence>
|
|
933 |
<xsd:element name="position" type="ppx:position"/>
|
|
934 |
<xsd:element name="connectionPointIn" type="ppx:connectionPointIn" minOccurs="0"/>
|
|
935 |
<xsd:element name="action" minOccurs="0" maxOccurs="unbounded">
|
|
936 |
<xsd:complexType>
|
|
937 |
<xsd:annotation>
|
|
938 |
<xsd:documentation>Association of an action with qualifier</xsd:documentation>
|
|
939 |
</xsd:annotation>
|
|
940 |
<xsd:sequence>
|
|
941 |
<xsd:element name="relPosition" type="ppx:position">
|
|
942 |
<xsd:annotation>
|
|
943 |
<xsd:documentation>Relative position of the action. Origin is the anchor position of the action block.</xsd:documentation>
|
|
944 |
</xsd:annotation>
|
|
945 |
</xsd:element>
|
|
946 |
<xsd:element name="reference" minOccurs="0">
|
|
947 |
<xsd:annotation>
|
|
948 |
<xsd:documentation>Name of an action or boolean variable.</xsd:documentation>
|
|
949 |
</xsd:annotation>
|
|
950 |
<xsd:complexType>
|
|
951 |
<xsd:attribute name="name" type="xsd:string" use="required"/>
|
|
952 |
</xsd:complexType>
|
|
953 |
</xsd:element>
|
|
954 |
<xsd:element name="inline" type="ppx:body" minOccurs="0">
|
|
955 |
<xsd:annotation>
|
|
956 |
<xsd:documentation>Inline implementation of an action body.</xsd:documentation>
|
|
957 |
</xsd:annotation>
|
|
958 |
</xsd:element>
|
|
959 |
<xsd:element name="connectionPointOut" type="ppx:connectionPointOut" minOccurs="0"/>
|
|
960 |
<xsd:element name="addData" type="ppx:addData" minOccurs="0"/>
|
|
961 |
<xsd:element name="documentation" type="ppx:formattedText" minOccurs="0"/>
|
|
962 |
</xsd:sequence>
|
|
963 |
<xsd:attribute name="localId" type="xsd:unsignedLong" use="required"/>
|
|
964 |
<xsd:attribute name="qualifier" use="optional" default="N">
|
|
965 |
<xsd:simpleType>
|
|
966 |
<xsd:restriction base="xsd:NMTOKEN">
|
|
967 |
<xsd:enumeration value="P1"/>
|
|
968 |
<xsd:enumeration value="N"/>
|
|
969 |
<xsd:enumeration value="P0"/>
|
|
970 |
<xsd:enumeration value="R"/>
|
|
971 |
<xsd:enumeration value="S"/>
|
|
972 |
<xsd:enumeration value="L"/>
|
|
973 |
<xsd:enumeration value="D"/>
|
|
974 |
<xsd:enumeration value="P"/>
|
|
975 |
<xsd:enumeration value="DS"/>
|
|
976 |
<xsd:enumeration value="DL"/>
|
|
977 |
<xsd:enumeration value="SD"/>
|
|
978 |
<xsd:enumeration value="SL"/>
|
|
979 |
</xsd:restriction>
|
|
980 |
</xsd:simpleType>
|
|
981 |
</xsd:attribute>
|
|
982 |
<xsd:attribute name="width" type="xsd:decimal" use="optional"/>
|
|
983 |
<xsd:attribute name="height" type="xsd:decimal" use="optional"/>
|
|
984 |
<xsd:attribute name="duration" type="xsd:string" use="optional"/>
|
|
985 |
<xsd:attribute name="indicator" type="xsd:string" use="optional"/>
|
|
986 |
<xsd:attribute name="executionOrderId" type="xsd:unsignedLong" use="optional">
|
|
987 |
<xsd:annotation>
|
|
988 |
<xsd:documentation>Used to identify the order of execution. Also used to identify one special block if there are several blocks with the same name.</xsd:documentation>
|
|
989 |
</xsd:annotation>
|
|
990 |
</xsd:attribute>
|
|
991 |
<xsd:attribute name="globalId" type="xsd:ID" use="optional"/>
|
|
992 |
</xsd:complexType>
|
|
993 |
</xsd:element>
|
|
994 |
<xsd:element name="addData" type="ppx:addData" minOccurs="0"/>
|
|
995 |
<xsd:element name="documentation" type="ppx:formattedText" minOccurs="0"/>
|
|
996 |
</xsd:sequence>
|
|
997 |
<xsd:attribute name="localId" type="xsd:unsignedLong" use="required"/>
|
|
998 |
<xsd:attribute name="negated" type="xsd:boolean" use="optional" default="false"/>
|
|
999 |
<xsd:attribute name="width" type="xsd:decimal" use="optional"/>
|
|
1000 |
<xsd:attribute name="height" type="xsd:decimal" use="optional"/>
|
|
1001 |
<xsd:attribute name="executionOrderId" type="xsd:unsignedLong" use="optional">
|
|
1002 |
<xsd:annotation>
|
|
1003 |
<xsd:documentation>Used to identify the order of execution. Also used to identify one special block if there are several blocks with the same name.</xsd:documentation>
|
|
1004 |
</xsd:annotation>
|
|
1005 |
</xsd:attribute>
|
|
1006 |
<xsd:attribute name="globalId" type="xsd:ID" use="optional"/>
|
|
1007 |
</xsd:complexType>
|
|
1008 |
</xsd:element>
|
|
1009 |
<xsd:element name="vendorElement">
|
|
1010 |
<xsd:complexType>
|
|
1011 |
<xsd:annotation>
|
|
1012 |
<xsd:documentation>Describes a graphical object representing a call statement</xsd:documentation>
|
|
1013 |
</xsd:annotation>
|
|
1014 |
<xsd:sequence>
|
|
1015 |
<xsd:element name="position" type="ppx:position">
|
|
1016 |
<xsd:annotation>
|
|
1017 |
<xsd:documentation>Anchor position of the box. Top left corner excluding the instance name.</xsd:documentation>
|
|
1018 |
</xsd:annotation>
|
|
1019 |
</xsd:element>
|
|
1020 |
<xsd:element name="alternativeText" type="ppx:formattedText">
|
|
1021 |
<xsd:annotation>
|
|
1022 |
<xsd:documentation>An alternative text to be displayed in generic representation of unknown elements.</xsd:documentation>
|
|
1023 |
</xsd:annotation>
|
|
1024 |
</xsd:element>
|
|
1025 |
<xsd:element name="inputVariables" minOccurs="0">
|
|
1026 |
<xsd:annotation>
|
|
1027 |
<xsd:documentation>The list of used input variables (consumers)</xsd:documentation>
|
|
1028 |
</xsd:annotation>
|
|
1029 |
<xsd:complexType>
|
|
1030 |
<xsd:sequence>
|
|
1031 |
<xsd:element name="variable" minOccurs="0" maxOccurs="unbounded">
|
|
1032 |
<xsd:complexType>
|
|
1033 |
<xsd:annotation>
|
|
1034 |
<xsd:documentation>Describes an inputVariable of a Function or a FunctionBlock</xsd:documentation>
|
|
1035 |
</xsd:annotation>
|
|
1036 |
<xsd:sequence>
|
|
1037 |
<xsd:element name="connectionPointIn" type="ppx:connectionPointIn"/>
|
|
1038 |
<xsd:element name="documentation" type="ppx:formattedText" minOccurs="0"/>
|
|
1039 |
</xsd:sequence>
|
|
1040 |
<xsd:attribute name="formalParameter" type="xsd:string" use="required"/>
|
|
1041 |
<xsd:attribute name="negated" type="xsd:boolean" use="optional" default="false"/>
|
|
1042 |
<xsd:attribute name="edge" type="ppx:edgeModifierType" use="optional" default="none"/>
|
|
1043 |
<xsd:attribute name="storage" type="ppx:storageModifierType" use="optional" default="none"/>
|
|
1044 |
<xsd:attribute name="hidden" type="xsd:boolean" use="optional" default="false"/>
|
|
1045 |
</xsd:complexType>
|
|
1046 |
</xsd:element>
|
|
1047 |
</xsd:sequence>
|
|
1048 |
</xsd:complexType>
|
|
1049 |
</xsd:element>
|
|
1050 |
<xsd:element name="inOutVariables" minOccurs="0">
|
|
1051 |
<xsd:annotation>
|
|
1052 |
<xsd:documentation>The list of used inOut variables</xsd:documentation>
|
|
1053 |
</xsd:annotation>
|
|
1054 |
<xsd:complexType>
|
|
1055 |
<xsd:sequence>
|
|
1056 |
<xsd:element name="variable" minOccurs="0" maxOccurs="unbounded">
|
|
1057 |
<xsd:complexType>
|
|
1058 |
<xsd:annotation>
|
|
1059 |
<xsd:documentation>Describes a inOutVariable of a Function or a FunctionBlock</xsd:documentation>
|
|
1060 |
</xsd:annotation>
|
|
1061 |
<xsd:sequence>
|
|
1062 |
<xsd:element name="connectionPointIn" type="ppx:connectionPointIn" minOccurs="0"/>
|
|
1063 |
<xsd:element name="connectionPointOut" type="ppx:connectionPointOut" minOccurs="0"/>
|
|
1064 |
<xsd:element name="documentation" type="ppx:formattedText" minOccurs="0"/>
|
|
1065 |
</xsd:sequence>
|
|
1066 |
<xsd:attribute name="formalParameter" type="xsd:string" use="required"/>
|
|
1067 |
<xsd:attribute name="negated" type="xsd:boolean" use="optional" default="false"/>
|
|
1068 |
<xsd:attribute name="edge" type="ppx:edgeModifierType" use="optional" default="none"/>
|
|
1069 |
<xsd:attribute name="storage" type="ppx:storageModifierType" use="optional" default="none"/>
|
|
1070 |
<xsd:attribute name="hidden" type="xsd:boolean" use="optional" default="false"/>
|
|
1071 |
</xsd:complexType>
|
|
1072 |
</xsd:element>
|
|
1073 |
</xsd:sequence>
|
|
1074 |
</xsd:complexType>
|
|
1075 |
</xsd:element>
|
|
1076 |
<xsd:element name="outputVariables" minOccurs="0">
|
|
1077 |
<xsd:annotation>
|
|
1078 |
<xsd:documentation>The list of used output variables (producers)</xsd:documentation>
|
|
1079 |
</xsd:annotation>
|
|
1080 |
<xsd:complexType>
|
|
1081 |
<xsd:sequence>
|
|
1082 |
<xsd:element name="variable" minOccurs="0" maxOccurs="unbounded">
|
|
1083 |
<xsd:complexType>
|
|
1084 |
<xsd:annotation>
|
|
1085 |
<xsd:documentation>Describes a outputVariable of a Function or a FunctionBlock</xsd:documentation>
|
|
1086 |
</xsd:annotation>
|
|
1087 |
<xsd:sequence>
|
|
1088 |
<xsd:element name="connectionPointOut" type="ppx:connectionPointOut" minOccurs="0"/>
|
|
1089 |
<xsd:element name="documentation" type="ppx:formattedText" minOccurs="0"/>
|
|
1090 |
</xsd:sequence>
|
|
1091 |
<xsd:attribute name="formalParameter" type="xsd:string" use="required"/>
|
|
1092 |
<xsd:attribute name="negated" type="xsd:boolean" use="optional" default="false"/>
|
|
1093 |
<xsd:attribute name="edge" type="ppx:edgeModifierType" use="optional" default="none"/>
|
|
1094 |
<xsd:attribute name="storage" type="ppx:storageModifierType" use="optional" default="none"/>
|
|
1095 |
<xsd:attribute name="hidden" type="xsd:boolean" use="optional" default="false"/>
|
|
1096 |
</xsd:complexType>
|
|
1097 |
</xsd:element>
|
|
1098 |
</xsd:sequence>
|
|
1099 |
</xsd:complexType>
|
|
1100 |
</xsd:element>
|
|
1101 |
<xsd:element name="addData" type="ppx:addData">
|
|
1102 |
<xsd:annotation>
|
|
1103 |
<xsd:documentation>Additional, vendor specific data for the element. Also defines the vendor specific meaning of the element.</xsd:documentation>
|
|
1104 |
</xsd:annotation>
|
|
1105 |
</xsd:element>
|
|
1106 |
</xsd:sequence>
|
|
1107 |
<xsd:attribute name="localId" type="xsd:unsignedLong" use="required"/>
|
|
1108 |
<xsd:attribute name="width" type="xsd:decimal" use="optional"/>
|
|
1109 |
<xsd:attribute name="height" type="xsd:decimal" use="optional"/>
|
|
1110 |
<xsd:attribute name="executionOrderId" type="xsd:unsignedLong" use="optional">
|
|
1111 |
<xsd:annotation>
|
|
1112 |
<xsd:documentation>Used to identify the order of execution. Also used to identify one special block if there are several blocks with the same name.</xsd:documentation>
|
|
1113 |
</xsd:annotation>
|
|
1114 |
</xsd:attribute>
|
|
1115 |
<xsd:attribute name="globalId" type="xsd:ID" use="optional"/>
|
|
1116 |
</xsd:complexType>
|
|
1117 |
</xsd:element>
|
|
1118 |
</xsd:choice>
|
|
1119 |
</xsd:group>
|
|
1120 |
<xsd:group name="fbdObjects">
|
|
1121 |
<xsd:annotation>
|
|
1122 |
<xsd:documentation>Collection of objects which are defined in fbd. They can be used in all graphical bodies.</xsd:documentation>
|
|
1123 |
</xsd:annotation>
|
|
1124 |
<xsd:choice>
|
|
1125 |
<xsd:element name="block">
|
|
1126 |
<xsd:complexType>
|
|
1127 |
<xsd:annotation>
|
|
1128 |
<xsd:documentation>Describes a graphical object representing a call statement</xsd:documentation>
|
|
1129 |
</xsd:annotation>
|
|
1130 |
<xsd:sequence>
|
|
1131 |
<xsd:element name="position" type="ppx:position">
|
|
1132 |
<xsd:annotation>
|
|
1133 |
<xsd:documentation>Anchor position of the box. Top left corner excluding the instance name.</xsd:documentation>
|
|
1134 |
</xsd:annotation>
|
|
1135 |
</xsd:element>
|
|
1136 |
<xsd:element name="inputVariables">
|
|
1137 |
<xsd:annotation>
|
|
1138 |
<xsd:documentation>The list of used input variables (consumers)</xsd:documentation>
|
|
1139 |
</xsd:annotation>
|
|
1140 |
<xsd:complexType>
|
|
1141 |
<xsd:sequence>
|
|
1142 |
<xsd:element name="variable" minOccurs="0" maxOccurs="unbounded">
|
|
1143 |
<xsd:complexType>
|
|
1144 |
<xsd:annotation>
|
|
1145 |
<xsd:documentation>Describes an inputVariable of a Function or a FunctionBlock</xsd:documentation>
|
|
1146 |
</xsd:annotation>
|
|
1147 |
<xsd:sequence>
|
|
1148 |
<xsd:element name="connectionPointIn" type="ppx:connectionPointIn"/>
|
|
1149 |
<xsd:element name="documentation" type="ppx:formattedText" minOccurs="0"/>
|
|
1150 |
</xsd:sequence>
|
|
1151 |
<xsd:attribute name="formalParameter" type="xsd:string" use="required"/>
|
|
1152 |
<xsd:attribute name="negated" type="xsd:boolean" use="optional" default="false"/>
|
|
1153 |
<xsd:attribute name="edge" type="ppx:edgeModifierType" use="optional" default="none"/>
|
|
1154 |
<xsd:attribute name="storage" type="ppx:storageModifierType" use="optional" default="none"/>
|
|
1155 |
<xsd:attribute name="hidden" type="xsd:boolean" use="optional" default="false"/>
|
|
1156 |
</xsd:complexType>
|
|
1157 |
</xsd:element>
|
|
1158 |
</xsd:sequence>
|
|
1159 |
</xsd:complexType>
|
|
1160 |
</xsd:element>
|
|
1161 |
<xsd:element name="inOutVariables">
|
|
1162 |
<xsd:annotation>
|
|
1163 |
<xsd:documentation>The list of used inOut variables</xsd:documentation>
|
|
1164 |
</xsd:annotation>
|
|
1165 |
<xsd:complexType>
|
|
1166 |
<xsd:sequence>
|
|
1167 |
<xsd:element name="variable" minOccurs="0" maxOccurs="unbounded">
|
|
1168 |
<xsd:complexType>
|
|
1169 |
<xsd:annotation>
|
|
1170 |
<xsd:documentation>Describes a inOutVariable of a Function or a FunctionBlock</xsd:documentation>
|
|
1171 |
</xsd:annotation>
|
|
1172 |
<xsd:sequence>
|
|
1173 |
<xsd:element name="connectionPointIn" type="ppx:connectionPointIn" minOccurs="0"/>
|
|
1174 |
<xsd:element name="connectionPointOut" type="ppx:connectionPointOut" minOccurs="0"/>
|
|
1175 |
<xsd:element name="documentation" type="ppx:formattedText" minOccurs="0"/>
|
|
1176 |
</xsd:sequence>
|
|
1177 |
<xsd:attribute name="formalParameter" type="xsd:string" use="required"/>
|
|
1178 |
<xsd:attribute name="negated" type="xsd:boolean" use="optional" default="false"/>
|
|
1179 |
<xsd:attribute name="edge" type="ppx:edgeModifierType" use="optional" default="none"/>
|
|
1180 |
<xsd:attribute name="storage" type="ppx:storageModifierType" use="optional" default="none"/>
|
|
1181 |
<xsd:attribute name="hidden" type="xsd:boolean" use="optional" default="false"/>
|
|
1182 |
</xsd:complexType>
|
|
1183 |
</xsd:element>
|
|
1184 |
</xsd:sequence>
|
|
1185 |
</xsd:complexType>
|
|
1186 |
</xsd:element>
|
|
1187 |
<xsd:element name="outputVariables">
|
|
1188 |
<xsd:annotation>
|
|
1189 |
<xsd:documentation>The list of used output variables (producers)</xsd:documentation>
|
|
1190 |
</xsd:annotation>
|
|
1191 |
<xsd:complexType>
|
|
1192 |
<xsd:sequence>
|
|
1193 |
<xsd:element name="variable" minOccurs="0" maxOccurs="unbounded">
|
|
1194 |
<xsd:complexType>
|
|
1195 |
<xsd:annotation>
|
|
1196 |
<xsd:documentation>Describes a outputVariable of a Function or a FunctionBlock</xsd:documentation>
|
|
1197 |
</xsd:annotation>
|
|
1198 |
<xsd:sequence>
|
|
1199 |
<xsd:element name="connectionPointOut" type="ppx:connectionPointOut" minOccurs="0"/>
|
|
1200 |
<xsd:element name="documentation" type="ppx:formattedText" minOccurs="0"/>
|
|
1201 |
</xsd:sequence>
|
|
1202 |
<xsd:attribute name="formalParameter" type="xsd:string" use="required"/>
|
|
1203 |
<xsd:attribute name="negated" type="xsd:boolean" use="optional" default="false"/>
|
|
1204 |
<xsd:attribute name="edge" type="ppx:edgeModifierType" use="optional" default="none"/>
|
|
1205 |
<xsd:attribute name="storage" type="ppx:storageModifierType" use="optional" default="none"/>
|
|
1206 |
<xsd:attribute name="hidden" type="xsd:boolean" use="optional" default="false"/>
|
|
1207 |
</xsd:complexType>
|
|
1208 |
</xsd:element>
|
|
1209 |
</xsd:sequence>
|
|
1210 |
</xsd:complexType>
|
|
1211 |
</xsd:element>
|
|
1212 |
<xsd:element name="addData" type="ppx:addData" minOccurs="0"/>
|
|
1213 |
<xsd:element name="documentation" type="ppx:formattedText" minOccurs="0"/>
|
|
1214 |
</xsd:sequence>
|
|
1215 |
<xsd:attribute name="localId" type="xsd:unsignedLong" use="required"/>
|
|
1216 |
<xsd:attribute name="width" type="xsd:decimal" use="optional"/>
|
|
1217 |
<xsd:attribute name="height" type="xsd:decimal" use="optional"/>
|
|
1218 |
<xsd:attribute name="typeName" type="xsd:string" use="required"/>
|
|
1219 |
<xsd:attribute name="instanceName" type="xsd:string" use="optional"/>
|
|
1220 |
<xsd:attribute name="executionOrderId" type="xsd:unsignedLong" use="optional">
|
|
1221 |
<xsd:annotation>
|
|
1222 |
<xsd:documentation>Used to identify the order of execution. Also used to identify one special block if there are several blocks with the same name.</xsd:documentation>
|
|
1223 |
</xsd:annotation>
|
|
1224 |
</xsd:attribute>
|
|
1225 |
<xsd:attribute name="globalId" type="xsd:ID" use="optional"/>
|
|
1226 |
</xsd:complexType>
|
|
1227 |
</xsd:element>
|
|
1228 |
<xsd:element name="inVariable">
|
|
1229 |
<xsd:annotation>
|
|
1230 |
<xsd:documentation>Expression used as producer</xsd:documentation>
|
|
1231 |
</xsd:annotation>
|
|
1232 |
<xsd:complexType>
|
|
1233 |
<xsd:annotation>
|
|
1234 |
<xsd:documentation>Describes a graphical object representing a variable, literal or expression used as r-value</xsd:documentation>
|
|
1235 |
</xsd:annotation>
|
|
1236 |
<xsd:sequence>
|
|
1237 |
<xsd:element name="position" type="ppx:position"/>
|
|
1238 |
<xsd:element name="connectionPointOut" type="ppx:connectionPointOut" minOccurs="0"/>
|
|
1239 |
<xsd:element name="expression" type="xsd:string">
|
|
1240 |
<xsd:annotation>
|
|
1241 |
<xsd:documentation>The operand is a valid iec variable e.g. avar[0].</xsd:documentation>
|
|
1242 |
</xsd:annotation>
|
|
1243 |
</xsd:element>
|
|
1244 |
<xsd:element name="addData" type="ppx:addData" minOccurs="0"/>
|
|
1245 |
<xsd:element name="documentation" type="ppx:formattedText" minOccurs="0"/>
|
|
1246 |
</xsd:sequence>
|
|
1247 |
<xsd:attribute name="localId" type="xsd:unsignedLong" use="required"/>
|
|
1248 |
<xsd:attribute name="height" type="xsd:decimal" use="optional"/>
|
|
1249 |
<xsd:attribute name="width" type="xsd:decimal" use="optional"/>
|
|
1250 |
<xsd:attribute name="executionOrderId" type="xsd:unsignedLong" use="optional"/>
|
|
1251 |
<xsd:attribute name="negated" type="xsd:boolean" use="optional" default="false"/>
|
|
1252 |
<xsd:attribute name="edge" type="ppx:edgeModifierType" use="optional" default="none"/>
|
|
1253 |
<xsd:attribute name="storage" type="ppx:storageModifierType" use="optional" default="none"/>
|
|
1254 |
<xsd:attribute name="globalId" type="xsd:ID" use="optional"/>
|
|
1255 |
</xsd:complexType>
|
|
1256 |
</xsd:element>
|
|
1257 |
<xsd:element name="outVariable">
|
|
1258 |
<xsd:annotation>
|
|
1259 |
<xsd:documentation>Expression used as consumer</xsd:documentation>
|
|
1260 |
</xsd:annotation>
|
|
1261 |
<xsd:complexType>
|
|
1262 |
<xsd:annotation>
|
|
1263 |
<xsd:documentation>Describes a graphical object representing a variable or expression used as l-value</xsd:documentation>
|
|
1264 |
</xsd:annotation>
|
|
1265 |
<xsd:sequence>
|
|
1266 |
<xsd:element name="position" type="ppx:position"/>
|
|
1267 |
<xsd:element name="connectionPointIn" type="ppx:connectionPointIn" minOccurs="0"/>
|
|
1268 |
<xsd:element name="expression" type="xsd:string">
|
|
1269 |
<xsd:annotation>
|
|
1270 |
<xsd:documentation>The operand is a valid iec variable e.g. avar[0].</xsd:documentation>
|
|
1271 |
</xsd:annotation>
|
|
1272 |
</xsd:element>
|
|
1273 |
<xsd:element name="addData" type="ppx:addData" minOccurs="0"/>
|
|
1274 |
<xsd:element name="documentation" type="ppx:formattedText" minOccurs="0"/>
|
|
1275 |
</xsd:sequence>
|
|
1276 |
<xsd:attribute name="localId" type="xsd:unsignedLong" use="required"/>
|
|
1277 |
<xsd:attribute name="height" type="xsd:decimal" use="optional"/>
|
|
1278 |
<xsd:attribute name="width" type="xsd:decimal" use="optional"/>
|
|
1279 |
<xsd:attribute name="executionOrderId" type="xsd:unsignedLong" use="optional"/>
|
|
1280 |
<xsd:attribute name="negated" type="xsd:boolean" use="optional" default="false"/>
|
|
1281 |
<xsd:attribute name="edge" type="ppx:edgeModifierType" use="optional" default="none"/>
|
|
1282 |
<xsd:attribute name="storage" type="ppx:storageModifierType" use="optional" default="none"/>
|
|
1283 |
<xsd:attribute name="globalId" type="xsd:ID" use="optional"/>
|
|
1284 |
</xsd:complexType>
|
|
1285 |
</xsd:element>
|
|
1286 |
<xsd:element name="inOutVariable">
|
|
1287 |
<xsd:annotation>
|
|
1288 |
<xsd:documentation>Expression used as producer and consumer</xsd:documentation>
|
|
1289 |
</xsd:annotation>
|
|
1290 |
<xsd:complexType>
|
|
1291 |
<xsd:annotation>
|
|
1292 |
<xsd:documentation>Describes a graphical object representing a variable which can be used as l-value and r-value at the same time</xsd:documentation>
|
|
1293 |
</xsd:annotation>
|
|
1294 |
<xsd:sequence>
|
|
1295 |
<xsd:element name="position" type="ppx:position"/>
|
|
1296 |
<xsd:element name="connectionPointIn" type="ppx:connectionPointIn" minOccurs="0"/>
|
|
1297 |
<xsd:element name="connectionPointOut" type="ppx:connectionPointOut" minOccurs="0"/>
|
|
1298 |
<xsd:element name="expression" type="xsd:string">
|
|
1299 |
<xsd:annotation>
|
|
1300 |
<xsd:documentation>The operand is a valid iec variable e.g. avar[0].</xsd:documentation>
|
|
1301 |
</xsd:annotation>
|
|
1302 |
</xsd:element>
|
|
1303 |
<xsd:element name="addData" type="ppx:addData" minOccurs="0"/>
|
|
1304 |
<xsd:element name="documentation" type="ppx:formattedText" minOccurs="0"/>
|
|
1305 |
</xsd:sequence>
|
|
1306 |
<xsd:attribute name="localId" type="xsd:unsignedLong" use="required"/>
|
|
1307 |
<xsd:attribute name="height" type="xsd:decimal" use="optional"/>
|
|
1308 |
<xsd:attribute name="width" type="xsd:decimal" use="optional"/>
|
|
1309 |
<xsd:attribute name="executionOrderId" type="xsd:unsignedLong" use="optional"/>
|
|
1310 |
<xsd:attribute name="negatedIn" type="xsd:boolean" use="optional" default="false"/>
|
|
1311 |
<xsd:attribute name="edgeIn" type="ppx:edgeModifierType" use="optional" default="none"/>
|
|
1312 |
<xsd:attribute name="storageIn" type="ppx:storageModifierType" use="optional" default="none"/>
|
|
1313 |
<xsd:attribute name="negatedOut" type="xsd:boolean" use="optional" default="false"/>
|
|
1314 |
<xsd:attribute name="edgeOut" type="ppx:edgeModifierType" use="optional" default="none"/>
|
|
1315 |
<xsd:attribute name="storageOut" type="ppx:storageModifierType" use="optional" default="none"/>
|
|
1316 |
<xsd:attribute name="globalId" type="xsd:ID" use="optional"/>
|
|
1317 |
</xsd:complexType>
|
|
1318 |
</xsd:element>
|
|
1319 |
<xsd:element name="label">
|
|
1320 |
<xsd:complexType>
|
|
1321 |
<xsd:annotation>
|
|
1322 |
<xsd:documentation>Describes a graphical object representing a jump label</xsd:documentation>
|
|
1323 |
</xsd:annotation>
|
|
1324 |
<xsd:sequence>
|
|
1325 |
<xsd:element name="position" type="ppx:position"/>
|
|
1326 |
<xsd:element name="addData" type="ppx:addData" minOccurs="0"/>
|
|
1327 |
<xsd:element name="documentation" type="ppx:formattedText" minOccurs="0"/>
|
|
1328 |
</xsd:sequence>
|
|
1329 |
<xsd:attribute name="localId" type="xsd:unsignedLong" use="required"/>
|
|
1330 |
<xsd:attribute name="height" type="xsd:decimal" use="optional"/>
|
|
1331 |
<xsd:attribute name="width" type="xsd:decimal" use="optional"/>
|
|
1332 |
<xsd:attribute name="label" type="xsd:string" use="required"/>
|
|
1333 |
<xsd:attribute name="executionOrderId" type="xsd:unsignedLong" use="optional"/>
|
|
1334 |
<xsd:attribute name="globalId" type="xsd:ID" use="optional"/>
|
|
1335 |
</xsd:complexType>
|
|
1336 |
</xsd:element>
|
|
1337 |
<xsd:element name="jump">
|
|
1338 |
<xsd:complexType>
|
|
1339 |
<xsd:annotation>
|
|
1340 |
<xsd:documentation>Describes a graphical object representing a jump statement</xsd:documentation>
|
|
1341 |
</xsd:annotation>
|
|
1342 |
<xsd:sequence>
|
|
1343 |
<xsd:element name="position" type="ppx:position"/>
|
|
1344 |
<xsd:element name="connectionPointIn" type="ppx:connectionPointIn" minOccurs="0"/>
|
|
1345 |
<xsd:element name="addData" type="ppx:addData" minOccurs="0"/>
|
|
1346 |
<xsd:element name="documentation" type="ppx:formattedText" minOccurs="0"/>
|
|
1347 |
</xsd:sequence>
|
|
1348 |
<xsd:attribute name="localId" type="xsd:unsignedLong" use="required"/>
|
|
1349 |
<xsd:attribute name="height" type="xsd:decimal" use="optional"/>
|
|
1350 |
<xsd:attribute name="width" type="xsd:decimal" use="optional"/>
|
|
1351 |
<xsd:attribute name="label" type="xsd:string" use="required"/>
|
|
1352 |
<xsd:attribute name="executionOrderId" type="xsd:unsignedLong" use="optional"/>
|
|
1353 |
<xsd:attribute name="globalId" type="xsd:ID" use="optional"/>
|
|
1354 |
</xsd:complexType>
|
|
1355 |
</xsd:element>
|
|
1356 |
<xsd:element name="return">
|
|
1357 |
<xsd:complexType>
|
|
1358 |
<xsd:annotation>
|
|
1359 |
<xsd:documentation>Describes a graphical object representing areturn statement</xsd:documentation>
|
|
1360 |
</xsd:annotation>
|
|
1361 |
<xsd:sequence>
|
|
1362 |
<xsd:element name="position" type="ppx:position"/>
|
|
1363 |
<xsd:element name="connectionPointIn" type="ppx:connectionPointIn" minOccurs="0"/>
|
|
1364 |
<xsd:element name="addData" type="ppx:addData" minOccurs="0"/>
|
|
1365 |
<xsd:element name="documentation" type="ppx:formattedText" minOccurs="0"/>
|
|
1366 |
</xsd:sequence>
|
|
1367 |
<xsd:attribute name="localId" type="xsd:unsignedLong" use="required"/>
|
|
1368 |
<xsd:attribute name="height" type="xsd:decimal" use="optional"/>
|
|
1369 |
<xsd:attribute name="width" type="xsd:decimal" use="optional"/>
|
|
1370 |
<xsd:attribute name="executionOrderId" type="xsd:unsignedLong" use="optional"/>
|
|
1371 |
<xsd:attribute name="globalId" type="xsd:ID" use="optional"/>
|
|
1372 |
</xsd:complexType>
|
|
1373 |
</xsd:element>
|
|
1374 |
</xsd:choice>
|
|
1375 |
</xsd:group>
|
|
1376 |
<xsd:group name="ldObjects">
|
|
1377 |
<xsd:annotation>
|
|
1378 |
<xsd:documentation>Collection of objects which are defined in ld and are an extension to fbd. They can be used in ld and sfc bodies</xsd:documentation>
|
|
1379 |
</xsd:annotation>
|
|
1380 |
<xsd:choice>
|
|
1381 |
<xsd:element name="leftPowerRail">
|
|
1382 |
<xsd:complexType>
|
|
1383 |
<xsd:annotation>
|
|
1384 |
<xsd:documentation>Describes a graphical object representing a left powerrail</xsd:documentation>
|
|
1385 |
</xsd:annotation>
|
|
1386 |
<xsd:sequence>
|
|
1387 |
<xsd:element name="position" type="ppx:position"/>
|
|
1388 |
<xsd:element name="connectionPointOut" minOccurs="0" maxOccurs="unbounded">
|
|
1389 |
<xsd:complexType>
|
|
1390 |
<xsd:complexContent>
|
|
1391 |
<xsd:extension base="ppx:connectionPointOut">
|
|
1392 |
<xsd:attribute name="formalParameter" type="xsd:string" use="required"/>
|
|
1393 |
</xsd:extension>
|
|
1394 |
</xsd:complexContent>
|
|
1395 |
</xsd:complexType>
|
|
1396 |
</xsd:element>
|
|
1397 |
<xsd:element name="addData" type="ppx:addData" minOccurs="0"/>
|
|
1398 |
<xsd:element name="documentation" type="ppx:formattedText" minOccurs="0"/>
|
|
1399 |
</xsd:sequence>
|
|
1400 |
<xsd:attribute name="localId" type="xsd:unsignedLong" use="required"/>
|
|
1401 |
<xsd:attribute name="height" type="xsd:decimal" use="optional"/>
|
|
1402 |
<xsd:attribute name="width" type="xsd:decimal" use="optional"/>
|
|
1403 |
<xsd:attribute name="executionOrderId" type="xsd:unsignedLong" use="optional">
|
|
1404 |
<xsd:annotation>
|
|
1405 |
<xsd:documentation>Used to identify the order of execution. Also used to identify one special block if there are several blocks with the same name.</xsd:documentation>
|
|
1406 |
</xsd:annotation>
|
|
1407 |
</xsd:attribute>
|
|
1408 |
<xsd:attribute name="globalId" type="xsd:ID" use="optional"/>
|
|
1409 |
</xsd:complexType>
|
|
1410 |
</xsd:element>
|
|
1411 |
<xsd:element name="rightPowerRail">
|
|
1412 |
<xsd:complexType>
|
|
1413 |
<xsd:annotation>
|
|
1414 |
<xsd:documentation>Describes a graphical object representing a right powerrail</xsd:documentation>
|
|
1415 |
</xsd:annotation>
|
|
1416 |
<xsd:sequence>
|
|
1417 |
<xsd:element name="position" type="ppx:position"/>
|
|
1418 |
<xsd:element name="connectionPointIn" type="ppx:connectionPointIn" minOccurs="0" maxOccurs="unbounded"/>
|
|
1419 |
<xsd:element name="addData" type="ppx:addData" minOccurs="0"/>
|
|
1420 |
<xsd:element name="documentation" type="ppx:formattedText" minOccurs="0"/>
|
|
1421 |
</xsd:sequence>
|
|
1422 |
<xsd:attribute name="localId" type="xsd:unsignedLong" use="required"/>
|
|
1423 |
<xsd:attribute name="height" type="xsd:decimal" use="optional"/>
|
|
1424 |
<xsd:attribute name="width" type="xsd:decimal" use="optional"/>
|
|
1425 |
<xsd:attribute name="executionOrderId" type="xsd:unsignedLong" use="optional">
|
|
1426 |
<xsd:annotation>
|
|
1427 |
<xsd:documentation>Used to identify the order of execution. Also used to identify one special block if there are several blocks with the same name.</xsd:documentation>
|
|
1428 |
</xsd:annotation>
|
|
1429 |
</xsd:attribute>
|
|
1430 |
<xsd:attribute name="globalId" type="xsd:ID" use="optional"/>
|
|
1431 |
</xsd:complexType>
|
|
1432 |
</xsd:element>
|
|
1433 |
<xsd:element name="coil">
|
|
1434 |
<xsd:complexType>
|
|
1435 |
<xsd:annotation>
|
|
1436 |
<xsd:documentation>Describes a graphical object representing a boolean variable which can be used as l-value and r-value at the same time</xsd:documentation>
|
|
1437 |
</xsd:annotation>
|
|
1438 |
<xsd:sequence>
|
|
1439 |
<xsd:element name="position" type="ppx:position"/>
|
|
1440 |
<xsd:element name="connectionPointIn" type="ppx:connectionPointIn" minOccurs="0"/>
|
|
1441 |
<xsd:element name="connectionPointOut" type="ppx:connectionPointOut" minOccurs="0"/>
|
|
1442 |
<xsd:element name="variable" type="xsd:string">
|
|
1443 |
<xsd:annotation>
|
|
1444 |
<xsd:documentation>The operand is a valid boolean iec variable e.g. avar[0]</xsd:documentation>
|
|
1445 |
</xsd:annotation>
|
|
1446 |
</xsd:element>
|
|
1447 |
<xsd:element name="addData" type="ppx:addData" minOccurs="0"/>
|
|
1448 |
<xsd:element name="documentation" type="ppx:formattedText" minOccurs="0"/>
|
|
1449 |
</xsd:sequence>
|
|
1450 |
<xsd:attribute name="localId" type="xsd:unsignedLong" use="required"/>
|
|
1451 |
<xsd:attribute name="height" type="xsd:decimal" use="optional"/>
|
|
1452 |
<xsd:attribute name="width" type="xsd:decimal" use="optional"/>
|
|
1453 |
<xsd:attribute name="executionOrderId" type="xsd:unsignedLong" use="optional"/>
|
|
1454 |
<xsd:attribute name="negated" type="xsd:boolean" use="optional" default="false"/>
|
|
1455 |
<xsd:attribute name="edge" type="ppx:edgeModifierType" use="optional" default="none"/>
|
|
1456 |
<xsd:attribute name="storage" type="ppx:storageModifierType" use="optional" default="none"/>
|
|
1457 |
<xsd:attribute name="globalId" type="xsd:ID" use="optional"/>
|
|
1458 |
</xsd:complexType>
|
|
1459 |
</xsd:element>
|
|
1460 |
<xsd:element name="contact">
|
|
1461 |
<xsd:complexType>
|
|
1462 |
<xsd:annotation>
|
|
1463 |
<xsd:documentation>Describes a graphical object representing a variable which can be used as l-value and r-value at the same time</xsd:documentation>
|
|
1464 |
</xsd:annotation>
|
|
1465 |
<xsd:sequence>
|
|
1466 |
<xsd:element name="position" type="ppx:position"/>
|
|
1467 |
<xsd:element name="connectionPointIn" type="ppx:connectionPointIn" minOccurs="0"/>
|
|
1468 |
<xsd:element name="connectionPointOut" type="ppx:connectionPointOut" minOccurs="0"/>
|
|
1469 |
<xsd:element name="variable" type="xsd:string">
|
|
1470 |
<xsd:annotation>
|
|
1471 |
<xsd:documentation>The operand is a valid boolean iec variable e.g. avar[0]</xsd:documentation>
|
|
1472 |
</xsd:annotation>
|
|
1473 |
</xsd:element>
|
|
1474 |
<xsd:element name="addData" type="ppx:addData" minOccurs="0"/>
|
|
1475 |
<xsd:element name="documentation" type="ppx:formattedText" minOccurs="0"/>
|
|
1476 |
</xsd:sequence>
|
|
1477 |
<xsd:attribute name="localId" type="xsd:unsignedLong" use="required"/>
|
|
1478 |
<xsd:attribute name="height" type="xsd:decimal" use="optional"/>
|
|
1479 |
<xsd:attribute name="width" type="xsd:decimal" use="optional"/>
|
|
1480 |
<xsd:attribute name="executionOrderId" type="xsd:unsignedLong" use="optional"/>
|
|
1481 |
<xsd:attribute name="negated" type="xsd:boolean" use="optional" default="false"/>
|
|
1482 |
<xsd:attribute name="edge" type="ppx:edgeModifierType" use="optional" default="none"/>
|
|
1483 |
<xsd:attribute name="storage" type="ppx:storageModifierType" use="optional" default="none"/>
|
|
1484 |
<xsd:attribute name="globalId" type="xsd:ID" use="optional"/>
|
|
1485 |
</xsd:complexType>
|
|
1486 |
</xsd:element>
|
|
1487 |
</xsd:choice>
|
|
1488 |
</xsd:group>
|
|
1489 |
<xsd:group name="sfcObjects">
|
|
1490 |
<xsd:annotation>
|
|
1491 |
<xsd:documentation>Collection of objects which are defined in sfc. They can only be used in sfc bodies</xsd:documentation>
|
|
1492 |
</xsd:annotation>
|
|
1493 |
<xsd:choice>
|
|
1494 |
<xsd:element name="step">
|
|
1495 |
<xsd:annotation>
|
|
1496 |
<xsd:documentation>A single step in a SFC Sequence. Actions are associated with a step by using an actionBlock element with a connection to the step element</xsd:documentation>
|
|
1497 |
</xsd:annotation>
|
|
1498 |
<xsd:complexType>
|
|
1499 |
<xsd:annotation>
|
|
1500 |
<xsd:documentation>Contains actions</xsd:documentation>
|
|
1501 |
</xsd:annotation>
|
|
1502 |
<xsd:sequence>
|
|
1503 |
<xsd:element name="position" type="ppx:position"/>
|
|
1504 |
<xsd:element name="connectionPointIn" type="ppx:connectionPointIn" minOccurs="0"/>
|
|
1505 |
<xsd:element name="connectionPointOut" minOccurs="0">
|
|
1506 |
<xsd:complexType>
|
|
1507 |
<xsd:complexContent>
|
|
1508 |
<xsd:extension base="ppx:connectionPointOut">
|
|
1509 |
<xsd:attribute name="formalParameter" type="xsd:string" use="required"/>
|
|
1510 |
</xsd:extension>
|
|
1511 |
</xsd:complexContent>
|
|
1512 |
</xsd:complexType>
|
|
1513 |
</xsd:element>
|
|
1514 |
<xsd:element name="connectionPointOutAction" minOccurs="0">
|
|
1515 |
<xsd:complexType>
|
|
1516 |
<xsd:complexContent>
|
|
1517 |
<xsd:extension base="ppx:connectionPointOut">
|
|
1518 |
<xsd:attribute name="formalParameter" type="xsd:string" use="required"/>
|
|
1519 |
</xsd:extension>
|
|
1520 |
</xsd:complexContent>
|
|
1521 |
</xsd:complexType>
|
|
1522 |
</xsd:element>
|
|
1523 |
<xsd:element name="addData" type="ppx:addData" minOccurs="0"/>
|
|
1524 |
<xsd:element name="documentation" type="ppx:formattedText" minOccurs="0"/>
|
|
1525 |
</xsd:sequence>
|
|
1526 |
<xsd:attribute name="localId" type="xsd:unsignedLong" use="required"/>
|
|
1527 |
<xsd:attribute name="height" type="xsd:decimal" use="optional"/>
|
|
1528 |
<xsd:attribute name="width" type="xsd:decimal" use="optional"/>
|
|
1529 |
<xsd:attribute name="name" type="xsd:string" use="required"/>
|
|
1530 |
<xsd:attribute name="initialStep" type="xsd:boolean" use="optional" default="false"/>
|
|
1531 |
<xsd:attribute name="negated" type="xsd:boolean" use="optional" default="false"/>
|
|
1532 |
<xsd:attribute name="executionOrderId" type="xsd:unsignedLong" use="optional">
|
|
1533 |
<xsd:annotation>
|
|
1534 |
<xsd:documentation>Used to identify the order of execution. Also used to identify one special block if there are several blocks with the same name.</xsd:documentation>
|
|
1535 |
</xsd:annotation>
|
|
1536 |
</xsd:attribute>
|
|
1537 |
<xsd:attribute name="globalId" type="xsd:ID" use="optional"/>
|
|
1538 |
</xsd:complexType>
|
|
1539 |
</xsd:element>
|
|
1540 |
<xsd:element name="macroStep">
|
|
1541 |
<xsd:complexType>
|
|
1542 |
<xsd:sequence>
|
|
1543 |
<xsd:element name="position" type="ppx:position"/>
|
|
1544 |
<xsd:element name="connectionPointIn" type="ppx:connectionPointIn" minOccurs="0"/>
|
|
1545 |
<xsd:element name="connectionPointOut" type="ppx:connectionPointOut" minOccurs="0"/>
|
|
1546 |
<xsd:element name="body" type="ppx:body" minOccurs="0"/>
|
|
1547 |
<xsd:element name="addData" type="ppx:addData" minOccurs="0"/>
|
|
1548 |
<xsd:element name="documentation" type="ppx:formattedText" minOccurs="0"/>
|
|
1549 |
</xsd:sequence>
|
|
1550 |
<xsd:attribute name="localId" type="xsd:unsignedLong" use="required"/>
|
|
1551 |
<xsd:attribute name="height" type="xsd:decimal" use="optional"/>
|
|
1552 |
<xsd:attribute name="width" type="xsd:decimal" use="optional"/>
|
|
1553 |
<xsd:attribute name="name" type="xsd:string" use="optional"/>
|
|
1554 |
<xsd:attribute name="executionOrderId" type="xsd:unsignedLong" use="optional">
|
|
1555 |
<xsd:annotation>
|
|
1556 |
<xsd:documentation>Used to identify the order of execution. Also used to identify one special block if there are several blocks with the same name.</xsd:documentation>
|
|
1557 |
</xsd:annotation>
|
|
1558 |
</xsd:attribute>
|
|
1559 |
<xsd:attribute name="globalId" type="xsd:ID" use="optional"/>
|
|
1560 |
</xsd:complexType>
|
|
1561 |
</xsd:element>
|
|
1562 |
<xsd:element name="jumpStep">
|
|
1563 |
<xsd:annotation>
|
|
1564 |
<xsd:documentation>Jump to a step, macro step or simultaneous divergence. Acts like a step. Predecessor should be a transition.</xsd:documentation>
|
|
1565 |
</xsd:annotation>
|
|
1566 |
<xsd:complexType>
|
|
1567 |
<xsd:sequence>
|
|
1568 |
<xsd:element name="position" type="ppx:position"/>
|
|
1569 |
<xsd:element name="connectionPointIn" type="ppx:connectionPointIn" minOccurs="0"/>
|
|
1570 |
<xsd:element name="addData" type="ppx:addData" minOccurs="0"/>
|
|
1571 |
<xsd:element name="documentation" type="ppx:formattedText" minOccurs="0"/>
|
|
1572 |
</xsd:sequence>
|
|
1573 |
<xsd:attribute name="localId" type="xsd:unsignedLong" use="required"/>
|
|
1574 |
<xsd:attribute name="height" type="xsd:decimal" use="optional"/>
|
|
1575 |
<xsd:attribute name="width" type="xsd:decimal" use="optional"/>
|
|
1576 |
<xsd:attribute name="targetName" type="xsd:string" use="required"/>
|
|
1577 |
<xsd:attribute name="executionOrderId" type="xsd:unsignedLong" use="optional">
|
|
1578 |
<xsd:annotation>
|
|
1579 |
<xsd:documentation>Used to identify the order of execution. Also used to identify one special block if there are several blocks with the same name.</xsd:documentation>
|
|
1580 |
</xsd:annotation>
|
|
1581 |
</xsd:attribute>
|
|
1582 |
<xsd:attribute name="globalId" type="xsd:ID" use="optional"/>
|
|
1583 |
</xsd:complexType>
|
|
1584 |
</xsd:element>
|
|
1585 |
<xsd:element name="transition">
|
|
1586 |
<xsd:complexType>
|
|
1587 |
<xsd:sequence>
|
|
1588 |
<xsd:element name="position" type="ppx:position"/>
|
|
1589 |
<xsd:element name="connectionPointIn" type="ppx:connectionPointIn" minOccurs="0"/>
|
|
1590 |
<xsd:element name="connectionPointOut" type="ppx:connectionPointOut" minOccurs="0"/>
|
|
1591 |
<xsd:element name="condition" minOccurs="0">
|
|
1592 |
<xsd:complexType>
|
|
1593 |
<xsd:choice>
|
|
1594 |
<xsd:element name="reference">
|
|
1595 |
<xsd:complexType>
|
|
1596 |
<xsd:attribute name="name" type="xsd:string" use="required"/>
|
|
1597 |
</xsd:complexType>
|
|
1598 |
</xsd:element>
|
|
1599 |
<xsd:element name="connectionPointIn" type="ppx:connectionPointIn"/>
|
|
1600 |
<xsd:element name="inline">
|
|
1601 |
<xsd:complexType>
|
|
1602 |
<xsd:complexContent>
|
|
1603 |
<xsd:extension base="ppx:body">
|
|
1604 |
<xsd:attribute name="name" type="xsd:string" use="required"/>
|
|
1605 |
</xsd:extension>
|
|
1606 |
</xsd:complexContent>
|
|
1607 |
</xsd:complexType>
|
|
1608 |
</xsd:element>
|
|
1609 |
</xsd:choice>
|
|
1610 |
<xsd:attribute name="negated" type="xsd:boolean" use="optional" default="false"/>
|
|
1611 |
</xsd:complexType>
|
|
1612 |
</xsd:element>
|
|
1613 |
<xsd:element name="addData" type="ppx:addData" minOccurs="0"/>
|
|
1614 |
<xsd:element name="documentation" type="ppx:formattedText" minOccurs="0"/>
|
|
1615 |
</xsd:sequence>
|
|
1616 |
<xsd:attribute name="localId" type="xsd:unsignedLong" use="required"/>
|
|
1617 |
<xsd:attribute name="height" type="xsd:decimal" use="optional"/>
|
|
1618 |
<xsd:attribute name="width" type="xsd:decimal" use="optional"/>
|
|
1619 |
<xsd:attribute name="priority" type="xsd:unsignedLong" use="optional">
|
|
1620 |
<xsd:annotation>
|
|
1621 |
<xsd:documentation>The priority of a transition is evaluated, if the transition is connected to a selectionDivergence element.</xsd:documentation>
|
|
1622 |
</xsd:annotation>
|
|
1623 |
</xsd:attribute>
|
|
1624 |
<xsd:attribute name="executionOrderId" type="xsd:unsignedLong" use="optional">
|
|
1625 |
<xsd:annotation>
|
|
1626 |
<xsd:documentation>Used to identify the order of execution. Also used to identify one special block if there are several blocks with the same name.</xsd:documentation>
|
|
1627 |
</xsd:annotation>
|
|
1628 |
</xsd:attribute>
|
|
1629 |
<xsd:attribute name="globalId" type="xsd:ID" use="optional"/>
|
|
1630 |
</xsd:complexType>
|
|
1631 |
</xsd:element>
|
|
1632 |
<xsd:element name="selectionDivergence">
|
|
1633 |
<xsd:complexType>
|
|
1634 |
<xsd:sequence>
|
|
1635 |
<xsd:element name="position" type="ppx:position"/>
|
|
1636 |
<xsd:element name="connectionPointIn" type="ppx:connectionPointIn" minOccurs="0"/>
|
|
1637 |
<xsd:element name="connectionPointOut" minOccurs="0" maxOccurs="unbounded">
|
|
1638 |
<xsd:complexType>
|
|
1639 |
<xsd:complexContent>
|
|
1640 |
<xsd:extension base="ppx:connectionPointOut">
|
|
1641 |
<xsd:attribute name="formalParameter" type="xsd:string" use="required"/>
|
|
1642 |
</xsd:extension>
|
|
1643 |
</xsd:complexContent>
|
|
1644 |
</xsd:complexType>
|
|
1645 |
</xsd:element>
|
|
1646 |
<xsd:element name="addData" type="ppx:addData" minOccurs="0"/>
|
|
1647 |
<xsd:element name="documentation" type="ppx:formattedText" minOccurs="0"/>
|
|
1648 |
</xsd:sequence>
|
|
1649 |
<xsd:attribute name="localId" type="xsd:unsignedLong" use="required"/>
|
|
1650 |
<xsd:attribute name="height" type="xsd:decimal" use="optional"/>
|
|
1651 |
<xsd:attribute name="width" type="xsd:decimal" use="optional"/>
|
|
1652 |
<xsd:attribute name="globalId" type="xsd:ID" use="optional"/>
|
|
1653 |
</xsd:complexType>
|
|
1654 |
</xsd:element>
|
|
1655 |
<xsd:element name="selectionConvergence">
|
|
1656 |
<xsd:complexType>
|
|
1657 |
<xsd:sequence>
|
|
1658 |
<xsd:element name="position" type="ppx:position"/>
|
|
1659 |
<xsd:element name="connectionPointIn" minOccurs="0" maxOccurs="unbounded">
|
|
1660 |
<xsd:complexType>
|
|
1661 |
<xsd:complexContent>
|
|
1662 |
<xsd:extension base="ppx:connectionPointIn"/>
|
|
1663 |
</xsd:complexContent>
|
|
1664 |
</xsd:complexType>
|
|
1665 |
</xsd:element>
|
|
1666 |
<xsd:element name="connectionPointOut" type="ppx:connectionPointOut" minOccurs="0"/>
|
|
1667 |
<xsd:element name="addData" type="ppx:addData" minOccurs="0"/>
|
|
1668 |
<xsd:element name="documentation" type="ppx:formattedText" minOccurs="0"/>
|
|
1669 |
</xsd:sequence>
|
|
1670 |
<xsd:attribute name="localId" type="xsd:unsignedLong" use="required"/>
|
|
1671 |
<xsd:attribute name="height" type="xsd:decimal" use="optional"/>
|
|
1672 |
<xsd:attribute name="width" type="xsd:decimal" use="optional"/>
|
|
1673 |
<xsd:attribute name="globalId" type="xsd:ID" use="optional"/>
|
|
1674 |
</xsd:complexType>
|
|
1675 |
</xsd:element>
|
|
1676 |
<xsd:element name="simultaneousDivergence">
|
|
1677 |
<xsd:complexType>
|
|
1678 |
<xsd:sequence>
|
|
1679 |
<xsd:element name="position" type="ppx:position"/>
|
|
1680 |
<xsd:element name="connectionPointIn" type="ppx:connectionPointIn" minOccurs="0"/>
|
|
1681 |
<xsd:element name="connectionPointOut" minOccurs="0" maxOccurs="unbounded">
|
|
1682 |
<xsd:complexType>
|
|
1683 |
<xsd:complexContent>
|
|
1684 |
<xsd:extension base="ppx:connectionPointOut">
|
|
1685 |
<xsd:attribute name="formalParameter" type="xsd:string" use="required"/>
|
|
1686 |
</xsd:extension>
|
|
1687 |
</xsd:complexContent>
|
|
1688 |
</xsd:complexType>
|
|
1689 |
</xsd:element>
|
|
1690 |
<xsd:element name="addData" type="ppx:addData" minOccurs="0"/>
|
|
1691 |
<xsd:element name="documentation" type="ppx:formattedText" minOccurs="0"/>
|
|
1692 |
</xsd:sequence>
|
|
1693 |
<xsd:attribute name="localId" type="xsd:unsignedLong" use="required"/>
|
|
1694 |
<xsd:attribute name="height" type="xsd:decimal" use="optional"/>
|
|
1695 |
<xsd:attribute name="width" type="xsd:decimal" use="optional"/>
|
|
1696 |
<xsd:attribute name="name" type="xsd:string" use="optional"/>
|
|
1697 |
<xsd:attribute name="globalId" type="xsd:ID" use="optional"/>
|
|
1698 |
</xsd:complexType>
|
|
1699 |
</xsd:element>
|
|
1700 |
<xsd:element name="simultaneousConvergence">
|
|
1701 |
<xsd:complexType>
|
|
1702 |
<xsd:sequence>
|
|
1703 |
<xsd:element name="position" type="ppx:position"/>
|
|
1704 |
<xsd:element name="connectionPointIn" type="ppx:connectionPointIn" minOccurs="0" maxOccurs="unbounded"/>
|
|
1705 |
<xsd:element name="connectionPointOut" type="ppx:connectionPointOut" minOccurs="0"/>
|
|
1706 |
<xsd:element name="addData" type="ppx:addData" minOccurs="0"/>
|
|
1707 |
<xsd:element name="documentation" type="ppx:formattedText" minOccurs="0"/>
|
|
1708 |
</xsd:sequence>
|
|
1709 |
<xsd:attribute name="localId" type="xsd:unsignedLong" use="required"/>
|
|
1710 |
<xsd:attribute name="height" type="xsd:decimal" use="optional"/>
|
|
1711 |
<xsd:attribute name="width" type="xsd:decimal" use="optional"/>
|
|
1712 |
<xsd:attribute name="globalId" type="xsd:ID" use="optional"/>
|
|
1713 |
</xsd:complexType>
|
|
1714 |
</xsd:element>
|
|
1715 |
</xsd:choice>
|
|
1716 |
</xsd:group>
|
|
1717 |
<xsd:simpleType name="edgeModifierType">
|
|
1718 |
<xsd:annotation>
|
|
1719 |
<xsd:documentation>Defines the edge detection behaviour of a variable</xsd:documentation>
|
|
1720 |
</xsd:annotation>
|
|
1721 |
<xsd:restriction base="xsd:string">
|
|
1722 |
<xsd:enumeration value="none"/>
|
|
1723 |
<xsd:enumeration value="falling"/>
|
|
1724 |
<xsd:enumeration value="rising"/>
|
|
1725 |
</xsd:restriction>
|
|
1726 |
</xsd:simpleType>
|
|
1727 |
<xsd:simpleType name="storageModifierType">
|
|
1728 |
<xsd:annotation>
|
|
1729 |
<xsd:documentation>Defines the storage mode (S/R) behaviour of a variable</xsd:documentation>
|
|
1730 |
</xsd:annotation>
|
|
1731 |
<xsd:restriction base="xsd:string">
|
|
1732 |
<xsd:enumeration value="none"/>
|
|
1733 |
<xsd:enumeration value="set"/>
|
|
1734 |
<xsd:enumeration value="reset"/>
|
|
1735 |
</xsd:restriction>
|
|
1736 |
</xsd:simpleType>
|
|
1737 |
<xsd:simpleType name="accessType">
|
|
1738 |
<xsd:annotation>
|
|
1739 |
<xsd:documentation>Defines the different access types to an accessVariable</xsd:documentation>
|
|
1740 |
</xsd:annotation>
|
|
1741 |
<xsd:restriction base="xsd:NMTOKEN">
|
|
1742 |
<xsd:enumeration value="readOnly"/>
|
|
1743 |
<xsd:enumeration value="readWrite"/>
|
|
1744 |
</xsd:restriction>
|
|
1745 |
</xsd:simpleType>
|
|
1746 |
<xsd:simpleType name="pouType">
|
|
1747 |
<xsd:annotation>
|
|
1748 |
<xsd:documentation>Defines the different types of a POU</xsd:documentation>
|
|
1749 |
</xsd:annotation>
|
|
1750 |
<xsd:restriction base="xsd:NMTOKEN">
|
|
1751 |
<xsd:enumeration value="function"/>
|
|
1752 |
<xsd:enumeration value="functionBlock"/>
|
|
1753 |
<xsd:enumeration value="program"/>
|
|
1754 |
</xsd:restriction>
|
|
1755 |
</xsd:simpleType>
|
|
1756 |
</xsd:schema>
|