author | Edouard Tisserant <edouard@beremiz.fr> |
Mon, 22 Apr 2024 12:11:51 +0200 | |
changeset 1104 | 0bc1f5a4f975 |
parent 215 | 15c98c40f6f4 |
permissions | -rwxr-xr-x |
44 | 1 |
<?xml version="1.0" encoding="UTF-8"?> |
2 |
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
3 |
xmlns="http://www.plcopen.org/xml/tc6.xsd" |
|
4 |
xmlns:xhtml="http://www.w3.org/1999/xhtml" |
|
5 |
xsi:schemaLocation="http://www.plcopen.org/xml/tc6.xsd http://www.plcopen.org/xml/tc6.xsd"> |
|
6 |
<fileHeader contentDescription="This tests SFC language" |
|
215 | 7 |
companyName="Beremiz" |
8 |
companyURL="www.beremiz.org" |
|
44 | 9 |
productName="BREMIZ" |
10 |
productRelease="1" |
|
11 |
productVersion="1" |
|
12 |
creationDateTime="2007-07-07 11:58:26"/> |
|
13 |
<contentHeader name="LD_TEST"> |
|
14 |
<coordinateInfo> |
|
15 |
<fbd> |
|
16 |
<scaling y="0" x="0"/> |
|
17 |
</fbd> |
|
18 |
<ld> |
|
19 |
<scaling y="0" x="0"/> |
|
20 |
</ld> |
|
21 |
<sfc> |
|
22 |
<scaling y="0" x="0"/> |
|
23 |
</sfc> |
|
24 |
</coordinateInfo> |
|
25 |
</contentHeader> |
|
26 |
<types> |
|
27 |
<dataTypes/> |
|
28 |
<pous> |
|
29 |
<pou name="MAIN_TEST" pouType="program"> |
|
30 |
<interface> |
|
31 |
<localVars> |
|
32 |
<variable name="QX1" address="%QX1"> |
|
33 |
<type> |
|
34 |
<BOOL/> |
|
35 |
</type> |
|
36 |
<initialValue> |
|
37 |
<simpleValue value="FALSE"/> |
|
38 |
</initialValue> |
|
39 |
</variable> |
|
40 |
<variable name="QX2" address="%QX2"> |
|
41 |
<type> |
|
42 |
<BOOL/> |
|
43 |
</type> |
|
44 |
<initialValue> |
|
45 |
<simpleValue value="TRUE"/> |
|
46 |
</initialValue> |
|
47 |
</variable> |
|
48 |
<variable name="QX3" address="%QX3"> |
|
49 |
<type> |
|
50 |
<BOOL/> |
|
51 |
</type> |
|
52 |
</variable> |
|
53 |
<variable name="IX1" address="%IX1"> |
|
54 |
<type> |
|
55 |
<BOOL/> |
|
56 |
</type> |
|
57 |
</variable> |
|
58 |
<variable name="IX2" address="%IX2"> |
|
59 |
<type> |
|
60 |
<BOOL/> |
|
61 |
</type> |
|
62 |
</variable> |
|
63 |
<variable name="IX3" address="%IX3"> |
|
64 |
<type> |
|
65 |
<BOOL/> |
|
66 |
</type> |
|
67 |
</variable> |
|
68 |
</localVars> |
|
69 |
</interface> |
|
70 |
<actions> |
|
71 |
<action name="ONSTEP1"> |
|
72 |
<body> |
|
73 |
<ST> |
|
74 |
QX1 := TRUE; |
|
75 |
QX2 := TRUE; |
|
76 |
</ST> |
|
77 |
</body> |
|
78 |
</action> |
|
79 |
</actions> |
|
80 |
<body> |
|
81 |
<SFC> |
|
82 |
<step localId="1" height="31" width="40" initialStep="true" name="GO"> |
|
83 |
<position y="26" x="70"/> |
|
84 |
<connectionPointOut formalParameter=""> |
|
85 |
<relPosition y="31" x="20"/> |
|
86 |
</connectionPointOut> |
|
87 |
</step> |
|
88 |
<transition localId="2" height="2" width="20"> |
|
89 |
<position y="82" x="80"/> |
|
90 |
<connectionPointIn> |
|
91 |
<relPosition y="0" x="10"/> |
|
92 |
<connection refLocalId="1"> |
|
93 |
<position y="82" x="90"/> |
|
94 |
<position y="57" x="90"/> |
|
95 |
</connection> |
|
96 |
</connectionPointIn> |
|
97 |
<connectionPointOut> |
|
98 |
<relPosition y="2" x="10"/> |
|
99 |
</connectionPointOut> |
|
100 |
<condition> |
|
101 |
<inline name=""> |
|
102 |
<ST>IX1 = FALSE</ST> |
|
103 |
</inline> |
|
104 |
</condition> |
|
105 |
</transition> |
|
106 |
<step localId="3" height="27" width="50" initialStep="false" name="STEP1"> |
|
107 |
<position y="109" x="65"/> |
|
108 |
<connectionPointIn> |
|
109 |
<relPosition y="0" x="25"/> |
|
110 |
<connection refLocalId="2"> |
|
111 |
<position y="109" x="90"/> |
|
112 |
<position y="84" x="90"/> |
|
113 |
</connection> |
|
114 |
</connectionPointIn> |
|
115 |
<connectionPointOut formalParameter=""> |
|
116 |
<relPosition y="27" x="25"/> |
|
117 |
</connectionPointOut> |
|
118 |
<connectionPointOutAction formalParameter=""> |
|
119 |
<relPosition y="13" x="50"/> |
|
120 |
</connectionPointOutAction> |
|
121 |
</step> |
|
122 |
<transition localId="4" height="2" width="20"> |
|
123 |
<position y="161" x="80"/> |
|
124 |
<connectionPointIn> |
|
125 |
<relPosition y="0" x="10"/> |
|
126 |
<connection refLocalId="3"> |
|
127 |
<position y="161" x="90"/> |
|
128 |
<position y="136" x="90"/> |
|
129 |
</connection> |
|
130 |
</connectionPointIn> |
|
131 |
<connectionPointOut> |
|
132 |
<relPosition y="2" x="10"/> |
|
133 |
</connectionPointOut> |
|
134 |
<condition> |
|
135 |
<inline name=""> |
|
136 |
<ST>IX2 = TRUE</ST> |
|
137 |
</inline> |
|
138 |
</condition> |
|
139 |
</transition> |
|
140 |
<step localId="5" height="27" width="50" initialStep="false" name="STEP2"> |
|
141 |
<position y="188" x="65"/> |
|
142 |
<connectionPointIn> |
|
143 |
<relPosition y="0" x="25"/> |
|
144 |
<connection refLocalId="4"> |
|
145 |
<position y="188" x="90"/> |
|
146 |
<position y="163" x="90"/> |
|
147 |
</connection> |
|
148 |
</connectionPointIn> |
|
149 |
<connectionPointOut formalParameter=""> |
|
150 |
<relPosition y="27" x="25"/> |
|
151 |
</connectionPointOut> |
|
152 |
<connectionPointOutAction formalParameter=""> |
|
153 |
<relPosition y="13" x="50"/> |
|
154 |
</connectionPointOutAction> |
|
155 |
</step> |
|
156 |
<selectionDivergence localId="6" height="1" width="840"> |
|
157 |
<position y="240" x="90"/> |
|
158 |
<connectionPointIn> |
|
159 |
<relPosition y="0" x="0"/> |
|
160 |
<connection refLocalId="5"> |
|
161 |
<position y="240" x="90"/> |
|
162 |
<position y="215" x="90"/> |
|
163 |
</connection> |
|
164 |
</connectionPointIn> |
|
165 |
<connectionPointOut formalParameter=""> |
|
166 |
<relPosition y="1" x="0"/> |
|
167 |
</connectionPointOut> |
|
168 |
<connectionPointOut formalParameter=""> |
|
169 |
<relPosition y="1" x="840"/> |
|
170 |
</connectionPointOut> |
|
171 |
<connectionPointOut formalParameter=""> |
|
172 |
<relPosition y="1" x="579"/> |
|
173 |
</connectionPointOut> |
|
174 |
<connectionPointOut formalParameter=""> |
|
175 |
<relPosition y="1" x="304"/> |
|
176 |
</connectionPointOut> |
|
177 |
</selectionDivergence> |
|
178 |
<transition localId="7" height="2" width="20"> |
|
179 |
<position y="266" x="80"/> |
|
180 |
<connectionPointIn> |
|
181 |
<relPosition y="0" x="10"/> |
|
182 |
<connection refLocalId="6"> |
|
183 |
<position y="266" x="90"/> |
|
184 |
<position y="241" x="90"/> |
|
185 |
</connection> |
|
186 |
</connectionPointIn> |
|
187 |
<connectionPointOut> |
|
188 |
<relPosition y="2" x="10"/> |
|
189 |
</connectionPointOut> |
|
190 |
<condition> |
|
191 |
<inline name=""> |
|
192 |
<ST>QX1 = FALSE AND QX2 = FALSE</ST> |
|
193 |
</inline> |
|
194 |
</condition> |
|
195 |
</transition> |
|
196 |
<step localId="8" height="27" width="40" initialStep="false" name="A1"> |
|
197 |
<position y="293" x="70"/> |
|
198 |
<connectionPointIn> |
|
199 |
<relPosition y="0" x="20"/> |
|
200 |
<connection refLocalId="7"> |
|
201 |
<position y="293" x="90"/> |
|
202 |
<position y="268" x="90"/> |
|
203 |
</connection> |
|
204 |
</connectionPointIn> |
|
205 |
<connectionPointOut formalParameter=""> |
|
206 |
<relPosition y="27" x="20"/> |
|
207 |
</connectionPointOut> |
|
208 |
<connectionPointOutAction formalParameter=""> |
|
209 |
<relPosition y="13" x="40"/> |
|
210 |
</connectionPointOutAction> |
|
211 |
</step> |
|
212 |
<transition localId="9" height="2" width="20"> |
|
213 |
<position y="266" x="920"/> |
|
214 |
<connectionPointIn> |
|
215 |
<relPosition y="0" x="10"/> |
|
216 |
<connection refLocalId="6"> |
|
217 |
<position y="266" x="930"/> |
|
218 |
<position y="241" x="930"/> |
|
219 |
</connection> |
|
220 |
</connectionPointIn> |
|
221 |
<connectionPointOut> |
|
222 |
<relPosition y="2" x="10"/> |
|
223 |
</connectionPointOut> |
|
224 |
<condition> |
|
225 |
<inline name=""> |
|
226 |
<ST>QX1 = TRUE AND QX2 = TRUE</ST> |
|
227 |
</inline> |
|
228 |
</condition> |
|
229 |
</transition> |
|
230 |
<transition localId="11" height="2" width="20"> |
|
231 |
<position y="266" x="659"/> |
|
232 |
<connectionPointIn> |
|
233 |
<relPosition y="0" x="10"/> |
|
234 |
<connection refLocalId="6"> |
|
235 |
<position y="266" x="669"/> |
|
236 |
<position y="241" x="669"/> |
|
237 |
</connection> |
|
238 |
</connectionPointIn> |
|
239 |
<connectionPointOut> |
|
240 |
<relPosition y="2" x="10"/> |
|
241 |
</connectionPointOut> |
|
242 |
<condition> |
|
243 |
<inline name=""> |
|
244 |
<ST>QX1 = TRUE AND QX2 = FALSE</ST> |
|
245 |
</inline> |
|
246 |
</condition> |
|
247 |
</transition> |
|
248 |
<step localId="12" height="27" width="40" initialStep="false" name="A3"> |
|
249 |
<position y="293" x="649"/> |
|
250 |
<connectionPointIn> |
|
251 |
<relPosition y="0" x="20"/> |
|
252 |
<connection refLocalId="11"> |
|
253 |
<position y="293" x="669"/> |
|
254 |
<position y="268" x="669"/> |
|
255 |
</connection> |
|
256 |
</connectionPointIn> |
|
257 |
<connectionPointOut formalParameter=""> |
|
258 |
<relPosition y="27" x="20"/> |
|
259 |
</connectionPointOut> |
|
260 |
<connectionPointOutAction formalParameter=""> |
|
261 |
<relPosition y="13" x="40"/> |
|
262 |
</connectionPointOutAction> |
|
263 |
</step> |
|
264 |
<simultaneousDivergence localId="19" height="3" width="486"> |
|
265 |
<position y="293" x="898"/> |
|
266 |
<connectionPointIn> |
|
267 |
<relPosition y="0" x="32"/> |
|
268 |
<connection refLocalId="9"> |
|
269 |
<position y="293" x="930"/> |
|
270 |
<position y="268" x="930"/> |
|
271 |
</connection> |
|
272 |
</connectionPointIn> |
|
273 |
<connectionPointOut formalParameter=""> |
|
274 |
<relPosition y="3" x="0"/> |
|
275 |
</connectionPointOut> |
|
276 |
<connectionPointOut formalParameter=""> |
|
277 |
<relPosition y="3" x="249"/> |
|
278 |
</connectionPointOut> |
|
279 |
<connectionPointOut formalParameter=""> |
|
280 |
<relPosition y="3" x="486"/> |
|
281 |
</connectionPointOut> |
|
282 |
</simultaneousDivergence> |
|
283 |
<step localId="20" height="27" width="40" initialStep="false" name="D1"> |
|
284 |
<position y="325" x="878"/> |
|
285 |
<connectionPointIn> |
|
286 |
<relPosition y="0" x="20"/> |
|
287 |
<connection refLocalId="19"> |
|
288 |
<position y="325" x="898"/> |
|
289 |
<position y="296" x="898"/> |
|
290 |
</connection> |
|
291 |
</connectionPointIn> |
|
292 |
<connectionPointOut formalParameter=""> |
|
293 |
<relPosition y="27" x="20"/> |
|
294 |
</connectionPointOut> |
|
295 |
<connectionPointOutAction formalParameter=""> |
|
296 |
<relPosition y="13" x="40"/> |
|
297 |
</connectionPointOutAction> |
|
298 |
</step> |
|
299 |
<step localId="21" height="27" width="40" initialStep="false" name="D2"> |
|
300 |
<position y="325" x="1127"/> |
|
301 |
<connectionPointIn> |
|
302 |
<relPosition y="0" x="20"/> |
|
303 |
<connection refLocalId="19"> |
|
304 |
<position y="325" x="1147"/> |
|
305 |
<position y="296" x="1147"/> |
|
306 |
</connection> |
|
307 |
</connectionPointIn> |
|
308 |
<connectionPointOut formalParameter=""> |
|
309 |
<relPosition y="27" x="20"/> |
|
310 |
</connectionPointOut> |
|
311 |
<connectionPointOutAction formalParameter=""> |
|
312 |
<relPosition y="13" x="40"/> |
|
313 |
</connectionPointOutAction> |
|
314 |
</step> |
|
315 |
<step localId="22" height="27" width="40" initialStep="false" name="D3"> |
|
316 |
<position y="325" x="1364"/> |
|
317 |
<connectionPointIn> |
|
318 |
<relPosition y="0" x="20"/> |
|
319 |
<connection refLocalId="19"> |
|
320 |
<position y="325" x="1384"/> |
|
321 |
<position y="296" x="1384"/> |
|
322 |
</connection> |
|
323 |
</connectionPointIn> |
|
324 |
<connectionPointOut formalParameter=""> |
|
325 |
<relPosition y="27" x="20"/> |
|
326 |
</connectionPointOut> |
|
327 |
<connectionPointOutAction formalParameter=""> |
|
328 |
<relPosition y="13" x="40"/> |
|
329 |
</connectionPointOutAction> |
|
330 |
</step> |
|
331 |
<transition localId="23" height="2" width="20"> |
|
332 |
<position y="377" x="888"/> |
|
333 |
<connectionPointIn> |
|
334 |
<relPosition y="0" x="10"/> |
|
335 |
<connection refLocalId="20"> |
|
336 |
<position y="377" x="898"/> |
|
337 |
<position y="352" x="898"/> |
|
338 |
</connection> |
|
339 |
</connectionPointIn> |
|
340 |
<connectionPointOut> |
|
341 |
<relPosition y="2" x="10"/> |
|
342 |
</connectionPointOut> |
|
343 |
<condition> |
|
344 |
<inline name=""> |
|
45
3b6bf2b5f1df
Fixed verious problems with SFC, Globals and located variables.
etisserant
parents:
44
diff
changeset
|
345 |
<ST>NOT ( QX1 OR QX2 OR QX3 )</ST> |
44 | 346 |
</inline> |
347 |
</condition> |
|
348 |
</transition> |
|
349 |
<step localId="24" height="27" width="26" initialStep="false" name="E1"> |
|
350 |
<position y="404" x="885"/> |
|
351 |
<connectionPointIn> |
|
352 |
<relPosition y="0" x="13"/> |
|
353 |
<connection refLocalId="23"> |
|
354 |
<position y="404" x="898"/> |
|
355 |
<position y="379" x="898"/> |
|
356 |
</connection> |
|
357 |
</connectionPointIn> |
|
358 |
<connectionPointOut formalParameter=""> |
|
359 |
<relPosition y="27" x="13"/> |
|
360 |
</connectionPointOut> |
|
361 |
<connectionPointOutAction formalParameter=""> |
|
362 |
<relPosition y="13" x="26"/> |
|
363 |
</connectionPointOutAction> |
|
364 |
</step> |
|
365 |
<transition localId="25" height="2" width="20"> |
|
366 |
<position y="377" x="1137"/> |
|
367 |
<connectionPointIn> |
|
368 |
<relPosition y="0" x="10"/> |
|
369 |
<connection refLocalId="21"> |
|
370 |
<position y="377" x="1147"/> |
|
371 |
<position y="352" x="1147"/> |
|
372 |
</connection> |
|
373 |
</connectionPointIn> |
|
374 |
<connectionPointOut> |
|
375 |
<relPosition y="2" x="10"/> |
|
376 |
</connectionPointOut> |
|
377 |
<condition> |
|
378 |
<inline name=""> |
|
45
3b6bf2b5f1df
Fixed verious problems with SFC, Globals and located variables.
etisserant
parents:
44
diff
changeset
|
379 |
<ST>NOT ( QX1 OR QX2 OR QX3 )</ST> |
44 | 380 |
</inline> |
381 |
</condition> |
|
382 |
</transition> |
|
383 |
<step localId="26" height="27" width="26" initialStep="false" name="E2"> |
|
384 |
<position y="404" x="1134"/> |
|
385 |
<connectionPointIn> |
|
386 |
<relPosition y="0" x="13"/> |
|
387 |
<connection refLocalId="25"> |
|
388 |
<position y="404" x="1147"/> |
|
389 |
<position y="379" x="1147"/> |
|
390 |
</connection> |
|
391 |
</connectionPointIn> |
|
392 |
<connectionPointOut formalParameter=""> |
|
393 |
<relPosition y="27" x="13"/> |
|
394 |
</connectionPointOut> |
|
395 |
<connectionPointOutAction formalParameter=""> |
|
396 |
<relPosition y="13" x="26"/> |
|
397 |
</connectionPointOutAction> |
|
398 |
</step> |
|
399 |
<transition localId="27" height="2" width="20"> |
|
400 |
<position y="377" x="1374"/> |
|
401 |
<connectionPointIn> |
|
402 |
<relPosition y="0" x="10"/> |
|
403 |
<connection refLocalId="22"> |
|
404 |
<position y="377" x="1384"/> |
|
405 |
<position y="352" x="1384"/> |
|
406 |
</connection> |
|
407 |
</connectionPointIn> |
|
408 |
<connectionPointOut> |
|
409 |
<relPosition y="2" x="10"/> |
|
410 |
</connectionPointOut> |
|
411 |
<condition> |
|
412 |
<inline name=""> |
|
45
3b6bf2b5f1df
Fixed verious problems with SFC, Globals and located variables.
etisserant
parents:
44
diff
changeset
|
413 |
<ST>NOT ( QX1 OR QX2 OR QX3 )</ST> |
44 | 414 |
</inline> |
415 |
</condition> |
|
416 |
</transition> |
|
417 |
<step localId="28" height="27" width="26" initialStep="false" name="E3"> |
|
418 |
<position y="408" x="1371"/> |
|
419 |
<connectionPointIn> |
|
420 |
<relPosition y="0" x="13"/> |
|
421 |
<connection refLocalId="27"> |
|
422 |
<position y="408" x="1384"/> |
|
423 |
<position y="379" x="1384"/> |
|
424 |
</connection> |
|
425 |
</connectionPointIn> |
|
426 |
<connectionPointOut formalParameter=""> |
|
427 |
<relPosition y="27" x="13"/> |
|
428 |
</connectionPointOut> |
|
429 |
<connectionPointOutAction formalParameter=""> |
|
430 |
<relPosition y="13" x="26"/> |
|
431 |
</connectionPointOutAction> |
|
432 |
</step> |
|
433 |
<simultaneousConvergence localId="29" height="3" width="486"> |
|
434 |
<position y="460" x="898"/> |
|
435 |
<connectionPointIn> |
|
436 |
<relPosition y="0" x="0"/> |
|
437 |
<connection refLocalId="24"> |
|
438 |
<position y="460" x="898"/> |
|
439 |
<position y="431" x="898"/> |
|
440 |
</connection> |
|
441 |
</connectionPointIn> |
|
442 |
<connectionPointIn> |
|
443 |
<relPosition y="0" x="249"/> |
|
444 |
<connection refLocalId="26"> |
|
445 |
<position y="460" x="1147"/> |
|
446 |
<position y="431" x="1147"/> |
|
447 |
</connection> |
|
448 |
</connectionPointIn> |
|
449 |
<connectionPointIn> |
|
450 |
<relPosition y="0" x="486"/> |
|
451 |
<connection refLocalId="28"> |
|
452 |
<position y="460" x="1384"/> |
|
453 |
<position y="435" x="1384"/> |
|
454 |
</connection> |
|
455 |
</connectionPointIn> |
|
456 |
<connectionPointOut> |
|
457 |
<relPosition y="3" x="183"/> |
|
458 |
</connectionPointOut> |
|
459 |
</simultaneousConvergence> |
|
460 |
<transition localId="30" height="2" width="20"> |
|
461 |
<position y="488" x="1071"/> |
|
462 |
<connectionPointIn> |
|
463 |
<relPosition y="0" x="10"/> |
|
464 |
<connection refLocalId="29"> |
|
465 |
<position y="488" x="1081"/> |
|
466 |
<position y="463" x="1081"/> |
|
467 |
</connection> |
|
468 |
</connectionPointIn> |
|
469 |
<connectionPointOut> |
|
470 |
<relPosition y="2" x="10"/> |
|
471 |
</connectionPointOut> |
|
472 |
<condition> |
|
473 |
<inline name=""> |
|
45
3b6bf2b5f1df
Fixed verious problems with SFC, Globals and located variables.
etisserant
parents:
44
diff
changeset
|
474 |
<ST>QX1 AND QX2 AND QX3</ST> |
44 | 475 |
</inline> |
476 |
</condition> |
|
477 |
</transition> |
|
478 |
<jumpStep localId="33" height="13" width="12" targetName="GO"> |
|
479 |
<position y="515" x="1075"/> |
|
480 |
<connectionPointIn> |
|
481 |
<relPosition y="0" x="6"/> |
|
482 |
<connection refLocalId="30"> |
|
483 |
<position y="515" x="1081"/> |
|
484 |
<position y="490" x="1081"/> |
|
485 |
</connection> |
|
486 |
</connectionPointIn> |
|
487 |
</jumpStep> |
|
488 |
<actionBlock localId="34" height="30" width="100"> |
|
489 |
<position y="107" x="140"/> |
|
490 |
<connectionPointIn> |
|
491 |
<relPosition y="15" x="0"/> |
|
492 |
<connection refLocalId="3"> |
|
493 |
<position y="122" x="140"/> |
|
494 |
<position y="122" x="115"/> |
|
495 |
</connection> |
|
496 |
</connectionPointIn> |
|
497 |
<action qualifier="N"> |
|
498 |
<reference name="ONSTEP1"/> |
|
499 |
</action> |
|
500 |
</actionBlock> |
|
45
3b6bf2b5f1df
Fixed verious problems with SFC, Globals and located variables.
etisserant
parents:
44
diff
changeset
|
501 |
<actionBlock localId="35" height="30" width="293"> |
44 | 502 |
<position y="186" x="140"/> |
503 |
<connectionPointIn> |
|
504 |
<relPosition y="15" x="0"/> |
|
505 |
<connection refLocalId="5"> |
|
506 |
<position y="201" x="140"/> |
|
507 |
<position y="201" x="115"/> |
|
508 |
</connection> |
|
509 |
</connectionPointIn> |
|
510 |
<action qualifier="P"> |
|
511 |
<inline> |
|
45
3b6bf2b5f1df
Fixed verious problems with SFC, Globals and located variables.
etisserant
parents:
44
diff
changeset
|
512 |
<ST>QX1 := QX2 XOR QX1; QX2 := NOT QX2;</ST> |
44 | 513 |
</inline> |
514 |
</action> |
|
515 |
</actionBlock> |
|
516 |
<transition localId="36" height="2" width="20"> |
|
517 |
<position y="266" x="384"/> |
|
518 |
<connectionPointIn> |
|
519 |
<relPosition y="0" x="10"/> |
|
520 |
<connection refLocalId="6"> |
|
521 |
<position y="266" x="394"/> |
|
522 |
<position y="241" x="394"/> |
|
523 |
</connection> |
|
524 |
</connectionPointIn> |
|
525 |
<connectionPointOut> |
|
526 |
<relPosition y="2" x="10"/> |
|
527 |
</connectionPointOut> |
|
528 |
<condition> |
|
529 |
<inline name=""> |
|
530 |
<ST>QX1 = FALSE AND QX2 = TRUE</ST> |
|
531 |
</inline> |
|
532 |
</condition> |
|
533 |
</transition> |
|
534 |
<step localId="37" height="27" width="40" initialStep="false" name="A2"> |
|
535 |
<position y="293" x="374"/> |
|
536 |
<connectionPointIn> |
|
537 |
<relPosition y="0" x="20"/> |
|
538 |
<connection refLocalId="36"> |
|
539 |
<position y="293" x="394"/> |
|
540 |
<position y="268" x="394"/> |
|
541 |
</connection> |
|
542 |
</connectionPointIn> |
|
543 |
<connectionPointOut formalParameter=""> |
|
544 |
<relPosition y="27" x="20"/> |
|
545 |
</connectionPointOut> |
|
546 |
<connectionPointOutAction formalParameter=""> |
|
547 |
<relPosition y="13" x="40"/> |
|
548 |
</connectionPointOutAction> |
|
549 |
</step> |
|
550 |
<transition localId="47" height="2" width="20"> |
|
551 |
<position y="345" x="80"/> |
|
552 |
<connectionPointIn> |
|
553 |
<relPosition y="0" x="10"/> |
|
554 |
<connection refLocalId="8"> |
|
555 |
<position y="345" x="90"/> |
|
556 |
<position y="320" x="90"/> |
|
557 |
</connection> |
|
558 |
</connectionPointIn> |
|
559 |
<connectionPointOut> |
|
560 |
<relPosition y="2" x="10"/> |
|
561 |
</connectionPointOut> |
|
562 |
<condition> |
|
563 |
<inline name=""> |
|
564 |
<ST>IX1 = TRUE</ST> |
|
565 |
</inline> |
|
566 |
</condition> |
|
567 |
</transition> |
|
568 |
<transition localId="48" height="2" width="20"> |
|
569 |
<position y="345" x="659"/> |
|
570 |
<connectionPointIn> |
|
571 |
<relPosition y="0" x="10"/> |
|
572 |
<connection refLocalId="12"> |
|
573 |
<position y="345" x="669"/> |
|
574 |
<position y="320" x="669"/> |
|
575 |
</connection> |
|
576 |
</connectionPointIn> |
|
577 |
<connectionPointOut> |
|
578 |
<relPosition y="2" x="10"/> |
|
579 |
</connectionPointOut> |
|
580 |
<condition> |
|
581 |
<inline name=""> |
|
582 |
<ST>IX1 = TRUE</ST> |
|
583 |
</inline> |
|
584 |
</condition> |
|
585 |
</transition> |
|
586 |
<transition localId="49" height="2" width="20"> |
|
587 |
<position y="345" x="384"/> |
|
588 |
<connectionPointIn> |
|
589 |
<relPosition y="0" x="10"/> |
|
590 |
<connection refLocalId="37"> |
|
591 |
<position y="345" x="394"/> |
|
592 |
<position y="320" x="394"/> |
|
593 |
</connection> |
|
594 |
</connectionPointIn> |
|
595 |
<connectionPointOut> |
|
596 |
<relPosition y="2" x="10"/> |
|
597 |
</connectionPointOut> |
|
598 |
<condition> |
|
599 |
<inline name=""> |
|
600 |
<ST>IX1 = FALSE</ST> |
|
601 |
</inline> |
|
602 |
</condition> |
|
603 |
</transition> |
|
604 |
<selectionConvergence localId="50" height="1" width="579"> |
|
605 |
<position y="372" x="90"/> |
|
606 |
<connectionPointIn> |
|
607 |
<relPosition y="0" x="0"/> |
|
608 |
<connection refLocalId="47"> |
|
609 |
<position y="372" x="90"/> |
|
610 |
<position y="347" x="90"/> |
|
611 |
</connection> |
|
612 |
</connectionPointIn> |
|
613 |
<connectionPointIn> |
|
614 |
<relPosition y="0" x="579"/> |
|
615 |
<connection refLocalId="48"> |
|
616 |
<position y="372" x="669"/> |
|
617 |
<position y="347" x="669"/> |
|
618 |
</connection> |
|
619 |
</connectionPointIn> |
|
620 |
<connectionPointIn> |
|
621 |
<relPosition y="0" x="304"/> |
|
622 |
<connection refLocalId="49"> |
|
623 |
<position y="372" x="394"/> |
|
624 |
<position y="347" x="394"/> |
|
625 |
</connection> |
|
626 |
</connectionPointIn> |
|
627 |
<connectionPointOut> |
|
628 |
<relPosition y="1" x="0"/> |
|
629 |
</connectionPointOut> |
|
630 |
</selectionConvergence> |
|
631 |
<jumpStep localId="53" height="13" width="12" targetName="STEP2"> |
|
632 |
<position y="398" x="84"/> |
|
633 |
<connectionPointIn> |
|
634 |
<relPosition y="0" x="6"/> |
|
635 |
<connection refLocalId="50"> |
|
636 |
<position y="398" x="90"/> |
|
637 |
<position y="373" x="90"/> |
|
638 |
</connection> |
|
639 |
</connectionPointIn> |
|
640 |
</jumpStep> |
|
45
3b6bf2b5f1df
Fixed verious problems with SFC, Globals and located variables.
etisserant
parents:
44
diff
changeset
|
641 |
<actionBlock localId="54" height="30" width="111"> |
44 | 642 |
<position y="291" x="135"/> |
643 |
<connectionPointIn> |
|
644 |
<relPosition y="15" x="0"/> |
|
645 |
<connection refLocalId="8"> |
|
646 |
<position y="306" x="135"/> |
|
647 |
<position y="306" x="110"/> |
|
648 |
</connection> |
|
649 |
</connectionPointIn> |
|
650 |
<action qualifier="N"> |
|
651 |
<inline> |
|
45
3b6bf2b5f1df
Fixed verious problems with SFC, Globals and located variables.
etisserant
parents:
44
diff
changeset
|
652 |
<ST>IX1 := TRUE;</ST> |
3b6bf2b5f1df
Fixed verious problems with SFC, Globals and located variables.
etisserant
parents:
44
diff
changeset
|
653 |
</inline> |
3b6bf2b5f1df
Fixed verious problems with SFC, Globals and located variables.
etisserant
parents:
44
diff
changeset
|
654 |
</action> |
3b6bf2b5f1df
Fixed verious problems with SFC, Globals and located variables.
etisserant
parents:
44
diff
changeset
|
655 |
</actionBlock> |
3b6bf2b5f1df
Fixed verious problems with SFC, Globals and located variables.
etisserant
parents:
44
diff
changeset
|
656 |
<actionBlock localId="55" height="30" width="117"> |
44 | 657 |
<position y="291" x="439"/> |
658 |
<connectionPointIn> |
|
659 |
<relPosition y="15" x="0"/> |
|
660 |
<connection refLocalId="37"> |
|
661 |
<position y="306" x="439"/> |
|
662 |
<position y="306" x="414"/> |
|
663 |
</connection> |
|
664 |
</connectionPointIn> |
|
665 |
<action qualifier="N"> |
|
666 |
<inline> |
|
45
3b6bf2b5f1df
Fixed verious problems with SFC, Globals and located variables.
etisserant
parents:
44
diff
changeset
|
667 |
<ST>IX1 := FALSE;</ST> |
3b6bf2b5f1df
Fixed verious problems with SFC, Globals and located variables.
etisserant
parents:
44
diff
changeset
|
668 |
</inline> |
3b6bf2b5f1df
Fixed verious problems with SFC, Globals and located variables.
etisserant
parents:
44
diff
changeset
|
669 |
</action> |
3b6bf2b5f1df
Fixed verious problems with SFC, Globals and located variables.
etisserant
parents:
44
diff
changeset
|
670 |
</actionBlock> |
3b6bf2b5f1df
Fixed verious problems with SFC, Globals and located variables.
etisserant
parents:
44
diff
changeset
|
671 |
<actionBlock localId="56" height="30" width="111"> |
44 | 672 |
<position y="291" x="714"/> |
673 |
<connectionPointIn> |
|
674 |
<relPosition y="15" x="0"/> |
|
675 |
<connection refLocalId="12"> |
|
676 |
<position y="306" x="714"/> |
|
677 |
<position y="306" x="689"/> |
|
678 |
</connection> |
|
679 |
</connectionPointIn> |
|
680 |
<action qualifier="N"> |
|
681 |
<inline> |
|
45
3b6bf2b5f1df
Fixed verious problems with SFC, Globals and located variables.
etisserant
parents:
44
diff
changeset
|
682 |
<ST>IX1 := TRUE;</ST> |
44 | 683 |
</inline> |
684 |
</action> |
|
685 |
</actionBlock> |
|
686 |
<actionBlock localId="57" height="30" width="124"> |
|
687 |
<position y="323" x="943"/> |
|
688 |
<connectionPointIn> |
|
689 |
<relPosition y="15" x="0"/> |
|
690 |
<connection refLocalId="20"> |
|
691 |
<position y="338" x="943"/> |
|
692 |
<position y="338" x="918"/> |
|
693 |
</connection> |
|
694 |
</connectionPointIn> |
|
695 |
<action qualifier="N"> |
|
696 |
<inline> |
|
45
3b6bf2b5f1df
Fixed verious problems with SFC, Globals and located variables.
etisserant
parents:
44
diff
changeset
|
697 |
<ST>QX1 := FALSE;</ST> |
44 | 698 |
</inline> |
699 |
</action> |
|
700 |
</actionBlock> |
|
701 |
<actionBlock localId="58" height="30" width="124"> |
|
702 |
<position y="323" x="1192"/> |
|
703 |
<connectionPointIn> |
|
704 |
<relPosition y="15" x="0"/> |
|
705 |
<connection refLocalId="21"> |
|
706 |
<position y="338" x="1192"/> |
|
707 |
<position y="338" x="1167"/> |
|
708 |
</connection> |
|
709 |
</connectionPointIn> |
|
710 |
<action qualifier="N"> |
|
711 |
<inline> |
|
45
3b6bf2b5f1df
Fixed verious problems with SFC, Globals and located variables.
etisserant
parents:
44
diff
changeset
|
712 |
<ST>QX2 := FALSE;</ST> |
44 | 713 |
</inline> |
714 |
</action> |
|
715 |
</actionBlock> |
|
716 |
<actionBlock localId="59" height="30" width="124"> |
|
717 |
<position y="323" x="1429"/> |
|
718 |
<connectionPointIn> |
|
719 |
<relPosition y="15" x="0"/> |
|
720 |
<connection refLocalId="22"> |
|
721 |
<position y="338" x="1429"/> |
|
722 |
<position y="338" x="1404"/> |
|
723 |
</connection> |
|
724 |
</connectionPointIn> |
|
725 |
<action qualifier="N"> |
|
726 |
<inline> |
|
45
3b6bf2b5f1df
Fixed verious problems with SFC, Globals and located variables.
etisserant
parents:
44
diff
changeset
|
727 |
<ST>QX2 := FALSE;</ST> |
3b6bf2b5f1df
Fixed verious problems with SFC, Globals and located variables.
etisserant
parents:
44
diff
changeset
|
728 |
</inline> |
3b6bf2b5f1df
Fixed verious problems with SFC, Globals and located variables.
etisserant
parents:
44
diff
changeset
|
729 |
</action> |
3b6bf2b5f1df
Fixed verious problems with SFC, Globals and located variables.
etisserant
parents:
44
diff
changeset
|
730 |
</actionBlock> |
3b6bf2b5f1df
Fixed verious problems with SFC, Globals and located variables.
etisserant
parents:
44
diff
changeset
|
731 |
<actionBlock localId="60" height="30" width="118"> |
44 | 732 |
<position y="402" x="936"/> |
733 |
<connectionPointIn> |
|
734 |
<relPosition y="15" x="0"/> |
|
735 |
<connection refLocalId="24"> |
|
736 |
<position y="417" x="936"/> |
|
737 |
<position y="417" x="911"/> |
|
738 |
</connection> |
|
739 |
</connectionPointIn> |
|
740 |
<action qualifier="N"> |
|
741 |
<inline> |
|
45
3b6bf2b5f1df
Fixed verious problems with SFC, Globals and located variables.
etisserant
parents:
44
diff
changeset
|
742 |
<ST>QX1 := TRUE;</ST> |
3b6bf2b5f1df
Fixed verious problems with SFC, Globals and located variables.
etisserant
parents:
44
diff
changeset
|
743 |
</inline> |
3b6bf2b5f1df
Fixed verious problems with SFC, Globals and located variables.
etisserant
parents:
44
diff
changeset
|
744 |
</action> |
3b6bf2b5f1df
Fixed verious problems with SFC, Globals and located variables.
etisserant
parents:
44
diff
changeset
|
745 |
</actionBlock> |
3b6bf2b5f1df
Fixed verious problems with SFC, Globals and located variables.
etisserant
parents:
44
diff
changeset
|
746 |
<actionBlock localId="61" height="30" width="118"> |
44 | 747 |
<position y="402" x="1185"/> |
748 |
<connectionPointIn> |
|
749 |
<relPosition y="15" x="0"/> |
|
750 |
<connection refLocalId="26"> |
|
751 |
<position y="417" x="1185"/> |
|
752 |
<position y="417" x="1160"/> |
|
753 |
</connection> |
|
754 |
</connectionPointIn> |
|
755 |
<action qualifier="N"> |
|
756 |
<inline> |
|
45
3b6bf2b5f1df
Fixed verious problems with SFC, Globals and located variables.
etisserant
parents:
44
diff
changeset
|
757 |
<ST>QX2 := TRUE;</ST> |
3b6bf2b5f1df
Fixed verious problems with SFC, Globals and located variables.
etisserant
parents:
44
diff
changeset
|
758 |
</inline> |
3b6bf2b5f1df
Fixed verious problems with SFC, Globals and located variables.
etisserant
parents:
44
diff
changeset
|
759 |
</action> |
3b6bf2b5f1df
Fixed verious problems with SFC, Globals and located variables.
etisserant
parents:
44
diff
changeset
|
760 |
</actionBlock> |
3b6bf2b5f1df
Fixed verious problems with SFC, Globals and located variables.
etisserant
parents:
44
diff
changeset
|
761 |
<actionBlock localId="62" height="30" width="118"> |
44 | 762 |
<position y="406" x="1422"/> |
763 |
<connectionPointIn> |
|
764 |
<relPosition y="15" x="0"/> |
|
765 |
<connection refLocalId="28"> |
|
766 |
<position y="421" x="1422"/> |
|
767 |
<position y="421" x="1397"/> |
|
768 |
</connection> |
|
769 |
</connectionPointIn> |
|
770 |
<action qualifier="N"> |
|
771 |
<inline> |
|
45
3b6bf2b5f1df
Fixed verious problems with SFC, Globals and located variables.
etisserant
parents:
44
diff
changeset
|
772 |
<ST>QX3 := TRUE;</ST> |
44 | 773 |
</inline> |
774 |
</action> |
|
775 |
</actionBlock> |
|
776 |
</SFC> |
|
777 |
</body> |
|
778 |
</pou> |
|
779 |
</pous> |
|
780 |
</types> |
|
781 |
<instances> |
|
782 |
<configurations> |
|
783 |
<configuration name="STD_CONF"> |
|
784 |
<resource name="STD_RESSOURCE"> |
|
785 |
<task interval="00:00:00.100000" name="STD_TASK" priority="0"/> |
|
786 |
<pouInstance type="MAIN_TEST" name="MAIN_INSTANCE"/> |
|
787 |
</resource> |
|
788 |
</configuration> |
|
789 |
</configurations> |
|
790 |
</instances> |
|
791 |
</project> |