|
1 <?xml version='1.0' encoding='utf-8'?> |
|
2 <project xmlns:ns1="http://www.plcopen.org/xml/tc6_0201" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.plcopen.org/xml/tc6_0201"> |
|
3 <fileHeader companyName="Unknown" productName="Unnamed" productVersion="1" creationDateTime="2022-09-05T09:02:48"/> |
|
4 <contentHeader name="Unnamed" modificationDateTime="2022-09-09T09:39:37"> |
|
5 <coordinateInfo> |
|
6 <fbd> |
|
7 <scaling x="5" y="5"/> |
|
8 </fbd> |
|
9 <ld> |
|
10 <scaling x="0" y="0"/> |
|
11 </ld> |
|
12 <sfc> |
|
13 <scaling x="0" y="0"/> |
|
14 </sfc> |
|
15 </coordinateInfo> |
|
16 </contentHeader> |
|
17 <types> |
|
18 <dataTypes/> |
|
19 <pous> |
|
20 <pou name="program0" pouType="program"> |
|
21 <interface> |
|
22 <localVars> |
|
23 <variable name="LOGGER0"> |
|
24 <type> |
|
25 <derived name="LOGGER"/> |
|
26 </type> |
|
27 </variable> |
|
28 <variable name="ENTERING_PAGE"> |
|
29 <type> |
|
30 <derived name="HMI_BOOL"/> |
|
31 </type> |
|
32 </variable> |
|
33 <variable name="LEVEL"> |
|
34 <type> |
|
35 <derived name="LOGLEVEL"/> |
|
36 </type> |
|
37 <initialValue> |
|
38 <simpleValue value="DEBUG"/> |
|
39 </initialValue> |
|
40 </variable> |
|
41 </localVars> |
|
42 <externalVars> |
|
43 <variable name="CURRENT_PAGE_0"> |
|
44 <type> |
|
45 <derived name="HMI_STRING"/> |
|
46 </type> |
|
47 </variable> |
|
48 </externalVars> |
|
49 <localVars> |
|
50 <variable name="R_TRIG0"> |
|
51 <type> |
|
52 <derived name="R_TRIG"/> |
|
53 </type> |
|
54 </variable> |
|
55 <variable name="ENABLE_JUMP"> |
|
56 <type> |
|
57 <derived name="HMI_BOOL"/> |
|
58 </type> |
|
59 </variable> |
|
60 <variable name="FB_ZERO"> |
|
61 <type> |
|
62 <derived name="my_functionBlock"/> |
|
63 </type> |
|
64 </variable> |
|
65 <variable name="FB_ONE"> |
|
66 <type> |
|
67 <derived name="my_functionBlock"/> |
|
68 </type> |
|
69 </variable> |
|
70 <variable name="FB_TWO"> |
|
71 <type> |
|
72 <derived name="my_functionBlock"/> |
|
73 </type> |
|
74 </variable> |
|
75 <variable name="FB_THREE"> |
|
76 <type> |
|
77 <derived name="my_functionBlock"/> |
|
78 </type> |
|
79 </variable> |
|
80 <variable name="FB_FOUR"> |
|
81 <type> |
|
82 <derived name="my_functionBlock"/> |
|
83 </type> |
|
84 </variable> |
|
85 <variable name="FB_FIVE"> |
|
86 <type> |
|
87 <derived name="my_functionBlock"/> |
|
88 </type> |
|
89 </variable> |
|
90 <variable name="Enable0"> |
|
91 <type> |
|
92 <derived name="HMI_BOOL"/> |
|
93 </type> |
|
94 <initialValue> |
|
95 <simpleValue value="TRUE"/> |
|
96 </initialValue> |
|
97 </variable> |
|
98 <variable name="Enable1"> |
|
99 <type> |
|
100 <derived name="HMI_BOOL"/> |
|
101 </type> |
|
102 </variable> |
|
103 <variable name="Enable2"> |
|
104 <type> |
|
105 <derived name="HMI_BOOL"/> |
|
106 </type> |
|
107 <initialValue> |
|
108 <simpleValue value="TRUE"/> |
|
109 </initialValue> |
|
110 </variable> |
|
111 <variable name="Enable3"> |
|
112 <type> |
|
113 <derived name="HMI_BOOL"/> |
|
114 </type> |
|
115 <initialValue> |
|
116 <simpleValue value="TRUE"/> |
|
117 </initialValue> |
|
118 </variable> |
|
119 <variable name="Enable4"> |
|
120 <type> |
|
121 <derived name="HMI_BOOL"/> |
|
122 </type> |
|
123 </variable> |
|
124 <variable name="Enable5"> |
|
125 <type> |
|
126 <derived name="HMI_BOOL"/> |
|
127 </type> |
|
128 <initialValue> |
|
129 <simpleValue value="TRUE"/> |
|
130 </initialValue> |
|
131 </variable> |
|
132 </localVars> |
|
133 </interface> |
|
134 <body> |
|
135 <FBD> |
|
136 <block localId="1" typeName="LOGGER" instanceName="LOGGER0" executionOrderId="0" height="105" width="58"> |
|
137 <position x="280" y="275"/> |
|
138 <inputVariables> |
|
139 <variable formalParameter="TRIG"> |
|
140 <connectionPointIn> |
|
141 <relPosition x="0" y="35"/> |
|
142 <connection refLocalId="7"> |
|
143 <position x="280" y="310"/> |
|
144 <position x="189" y="310"/> |
|
145 </connection> |
|
146 </connectionPointIn> |
|
147 </variable> |
|
148 <variable formalParameter="MSG"> |
|
149 <connectionPointIn> |
|
150 <relPosition x="0" y="60"/> |
|
151 <connection refLocalId="11"> |
|
152 <position x="280" y="335"/> |
|
153 <position x="212" y="335"/> |
|
154 </connection> |
|
155 </connectionPointIn> |
|
156 </variable> |
|
157 <variable formalParameter="LEVEL"> |
|
158 <connectionPointIn> |
|
159 <relPosition x="0" y="90"/> |
|
160 <connection refLocalId="8"> |
|
161 <position x="280" y="365"/> |
|
162 <position x="190" y="365"/> |
|
163 </connection> |
|
164 </connectionPointIn> |
|
165 </variable> |
|
166 </inputVariables> |
|
167 <inOutVariables/> |
|
168 <outputVariables/> |
|
169 </block> |
|
170 <inVariable localId="2" executionOrderId="0" height="24" width="114" negated="false"> |
|
171 <position x="25" y="550"/> |
|
172 <connectionPointOut> |
|
173 <relPosition x="114" y="10"/> |
|
174 </connectionPointOut> |
|
175 <expression>ENTERING_PAGE</expression> |
|
176 </inVariable> |
|
177 <inVariable localId="4" executionOrderId="0" height="25" width="90" negated="false"> |
|
178 <position x="160" y="575"/> |
|
179 <connectionPointOut> |
|
180 <relPosition x="90" y="10"/> |
|
181 </connectionPointOut> |
|
182 <expression>BOOL#FALSE</expression> |
|
183 </inVariable> |
|
184 <block localId="6" typeName="MOVE" executionOrderId="0" height="70" width="55"> |
|
185 <position x="295" y="530"/> |
|
186 <inputVariables> |
|
187 <variable formalParameter="EN" edge="falling"> |
|
188 <connectionPointIn> |
|
189 <relPosition x="0" y="30"/> |
|
190 <connection refLocalId="13" formalParameter="Q"> |
|
191 <position x="295" y="560"/> |
|
192 <position x="250" y="560"/> |
|
193 </connection> |
|
194 </connectionPointIn> |
|
195 </variable> |
|
196 <variable formalParameter="IN"> |
|
197 <connectionPointIn> |
|
198 <relPosition x="0" y="55"/> |
|
199 <connection refLocalId="4"> |
|
200 <position x="295" y="585"/> |
|
201 <position x="250" y="585"/> |
|
202 </connection> |
|
203 </connectionPointIn> |
|
204 </variable> |
|
205 </inputVariables> |
|
206 <inOutVariables/> |
|
207 <outputVariables> |
|
208 <variable formalParameter="ENO"> |
|
209 <connectionPointOut> |
|
210 <relPosition x="55" y="30"/> |
|
211 </connectionPointOut> |
|
212 </variable> |
|
213 <variable formalParameter="OUT"> |
|
214 <connectionPointOut> |
|
215 <relPosition x="55" y="55"/> |
|
216 </connectionPointOut> |
|
217 </variable> |
|
218 </outputVariables> |
|
219 </block> |
|
220 <inVariable localId="7" executionOrderId="0" height="24" width="114" negated="false"> |
|
221 <position x="75" y="300"/> |
|
222 <connectionPointOut> |
|
223 <relPosition x="114" y="10"/> |
|
224 </connectionPointOut> |
|
225 <expression>ENTERING_PAGE</expression> |
|
226 </inVariable> |
|
227 <inVariable localId="8" executionOrderId="0" height="25" width="50" negated="false"> |
|
228 <position x="140" y="355"/> |
|
229 <connectionPointOut> |
|
230 <relPosition x="50" y="10"/> |
|
231 </connectionPointOut> |
|
232 <expression>LEVEL</expression> |
|
233 </inVariable> |
|
234 <comment localId="9" height="40" width="640"> |
|
235 <position x="15" y="210"/> |
|
236 <content> |
|
237 <xhtml:p><![CDATA[Acknowledge page jump being notified by HMI by setting ENTERING_PAGE to True]]></xhtml:p> |
|
238 </content> |
|
239 </comment> |
|
240 <inVariable localId="11" executionOrderId="0" height="25" width="122" negated="false"> |
|
241 <position x="90" y="325"/> |
|
242 <connectionPointOut> |
|
243 <relPosition x="122" y="10"/> |
|
244 </connectionPointOut> |
|
245 <expression>CURRENT_PAGE_0</expression> |
|
246 </inVariable> |
|
247 <outVariable localId="12" executionOrderId="0" height="25" width="115" negated="false"> |
|
248 <position x="385" y="575"/> |
|
249 <connectionPointIn> |
|
250 <relPosition x="0" y="10"/> |
|
251 <connection refLocalId="6" formalParameter="OUT"> |
|
252 <position x="385" y="585"/> |
|
253 <position x="350" y="585"/> |
|
254 </connection> |
|
255 </connectionPointIn> |
|
256 <expression>ENTERING_PAGE</expression> |
|
257 </outVariable> |
|
258 <block localId="13" typeName="R_TRIG" instanceName="R_TRIG0" executionOrderId="0" height="40" width="60"> |
|
259 <position x="190" y="530"/> |
|
260 <inputVariables> |
|
261 <variable formalParameter="CLK"> |
|
262 <connectionPointIn> |
|
263 <relPosition x="0" y="30"/> |
|
264 <connection refLocalId="2"> |
|
265 <position x="190" y="560"/> |
|
266 <position x="139" y="560"/> |
|
267 </connection> |
|
268 </connectionPointIn> |
|
269 </variable> |
|
270 </inputVariables> |
|
271 <inOutVariables/> |
|
272 <outputVariables> |
|
273 <variable formalParameter="Q"> |
|
274 <connectionPointOut> |
|
275 <relPosition x="60" y="30"/> |
|
276 </connectionPointOut> |
|
277 </variable> |
|
278 </outputVariables> |
|
279 </block> |
|
280 <comment localId="3" height="60" width="640"> |
|
281 <position x="15" y="440"/> |
|
282 <content> |
|
283 <xhtml:p><![CDATA[Reset ENTERING_PAGE 1 cycle after being set. |
|
284 Use EN pin of MOVE to ensure that variable is only assigned when being reset.]]></xhtml:p> |
|
285 </content> |
|
286 </comment> |
|
287 <block localId="14" typeName="my_functionBlock" instanceName="FB_ZERO" executionOrderId="0" height="70" width="191"> |
|
288 <position x="170" y="16"/> |
|
289 <inputVariables> |
|
290 <variable formalParameter="SOME_STRING"> |
|
291 <connectionPointIn> |
|
292 <relPosition x="0" y="30"/> |
|
293 <connection refLocalId="24"> |
|
294 <position x="170" y="46"/> |
|
295 <position x="125" y="46"/> |
|
296 </connection> |
|
297 </connectionPointIn> |
|
298 </variable> |
|
299 <variable formalParameter="SOME_INPUT"> |
|
300 <connectionPointIn> |
|
301 <relPosition x="0" y="55"/> |
|
302 <connection refLocalId="18"> |
|
303 <position x="170" y="71"/> |
|
304 <position x="125" y="71"/> |
|
305 </connection> |
|
306 </connectionPointIn> |
|
307 </variable> |
|
308 </inputVariables> |
|
309 <inOutVariables/> |
|
310 <outputVariables> |
|
311 <variable formalParameter="SOME_OUTPUT"> |
|
312 <connectionPointOut> |
|
313 <relPosition x="191" y="30"/> |
|
314 </connectionPointOut> |
|
315 </variable> |
|
316 </outputVariables> |
|
317 </block> |
|
318 <block localId="5" typeName="my_functionBlock" instanceName="FB_ONE" executionOrderId="0" height="70" width="191"> |
|
319 <position x="170" y="110"/> |
|
320 <inputVariables> |
|
321 <variable formalParameter="SOME_STRING"> |
|
322 <connectionPointIn> |
|
323 <relPosition x="0" y="30"/> |
|
324 <connection refLocalId="25"> |
|
325 <position x="170" y="140"/> |
|
326 <position x="125" y="140"/> |
|
327 </connection> |
|
328 </connectionPointIn> |
|
329 </variable> |
|
330 <variable formalParameter="SOME_INPUT"> |
|
331 <connectionPointIn> |
|
332 <relPosition x="0" y="55"/> |
|
333 <connection refLocalId="19"> |
|
334 <position x="170" y="165"/> |
|
335 <position x="125" y="165"/> |
|
336 </connection> |
|
337 </connectionPointIn> |
|
338 </variable> |
|
339 </inputVariables> |
|
340 <inOutVariables/> |
|
341 <outputVariables> |
|
342 <variable formalParameter="SOME_OUTPUT"> |
|
343 <connectionPointOut> |
|
344 <relPosition x="191" y="30"/> |
|
345 </connectionPointOut> |
|
346 </variable> |
|
347 </outputVariables> |
|
348 </block> |
|
349 <block localId="10" typeName="my_functionBlock" instanceName="FB_THREE" executionOrderId="0" height="70" width="191"> |
|
350 <position x="515" y="110"/> |
|
351 <inputVariables> |
|
352 <variable formalParameter="SOME_STRING"> |
|
353 <connectionPointIn> |
|
354 <relPosition x="0" y="30"/> |
|
355 <connection refLocalId="27"> |
|
356 <position x="515" y="140"/> |
|
357 <position x="475" y="140"/> |
|
358 </connection> |
|
359 </connectionPointIn> |
|
360 </variable> |
|
361 <variable formalParameter="SOME_INPUT"> |
|
362 <connectionPointIn> |
|
363 <relPosition x="0" y="55"/> |
|
364 <connection refLocalId="21"> |
|
365 <position x="515" y="165"/> |
|
366 <position x="475" y="165"/> |
|
367 </connection> |
|
368 </connectionPointIn> |
|
369 </variable> |
|
370 </inputVariables> |
|
371 <inOutVariables/> |
|
372 <outputVariables> |
|
373 <variable formalParameter="SOME_OUTPUT"> |
|
374 <connectionPointOut> |
|
375 <relPosition x="191" y="30"/> |
|
376 </connectionPointOut> |
|
377 </variable> |
|
378 </outputVariables> |
|
379 </block> |
|
380 <block localId="15" typeName="my_functionBlock" instanceName="FB_TWO" executionOrderId="0" height="70" width="191"> |
|
381 <position x="515" y="16"/> |
|
382 <inputVariables> |
|
383 <variable formalParameter="SOME_STRING"> |
|
384 <connectionPointIn> |
|
385 <relPosition x="0" y="30"/> |
|
386 <connection refLocalId="26"> |
|
387 <position x="515" y="46"/> |
|
388 <position x="475" y="46"/> |
|
389 </connection> |
|
390 </connectionPointIn> |
|
391 </variable> |
|
392 <variable formalParameter="SOME_INPUT"> |
|
393 <connectionPointIn> |
|
394 <relPosition x="0" y="55"/> |
|
395 <connection refLocalId="20"> |
|
396 <position x="515" y="71"/> |
|
397 <position x="475" y="71"/> |
|
398 </connection> |
|
399 </connectionPointIn> |
|
400 </variable> |
|
401 </inputVariables> |
|
402 <inOutVariables/> |
|
403 <outputVariables> |
|
404 <variable formalParameter="SOME_OUTPUT"> |
|
405 <connectionPointOut> |
|
406 <relPosition x="191" y="30"/> |
|
407 </connectionPointOut> |
|
408 </variable> |
|
409 </outputVariables> |
|
410 </block> |
|
411 <block localId="16" typeName="my_functionBlock" instanceName="FB_FIVE" executionOrderId="0" height="75" width="191"> |
|
412 <position x="860" y="111"/> |
|
413 <inputVariables> |
|
414 <variable formalParameter="SOME_STRING"> |
|
415 <connectionPointIn> |
|
416 <relPosition x="0" y="34"/> |
|
417 <connection refLocalId="29"> |
|
418 <position x="860" y="145"/> |
|
419 <position x="815" y="145"/> |
|
420 </connection> |
|
421 </connectionPointIn> |
|
422 </variable> |
|
423 <variable formalParameter="SOME_INPUT"> |
|
424 <connectionPointIn> |
|
425 <relPosition x="0" y="59"/> |
|
426 <connection refLocalId="23"> |
|
427 <position x="860" y="170"/> |
|
428 <position x="815" y="170"/> |
|
429 </connection> |
|
430 </connectionPointIn> |
|
431 </variable> |
|
432 </inputVariables> |
|
433 <inOutVariables/> |
|
434 <outputVariables> |
|
435 <variable formalParameter="SOME_OUTPUT"> |
|
436 <connectionPointOut> |
|
437 <relPosition x="191" y="34"/> |
|
438 </connectionPointOut> |
|
439 </variable> |
|
440 </outputVariables> |
|
441 </block> |
|
442 <block localId="17" typeName="my_functionBlock" instanceName="FB_FOUR" executionOrderId="0" height="70" width="191"> |
|
443 <position x="860" y="17"/> |
|
444 <inputVariables> |
|
445 <variable formalParameter="SOME_STRING"> |
|
446 <connectionPointIn> |
|
447 <relPosition x="0" y="34"/> |
|
448 <connection refLocalId="28"> |
|
449 <position x="860" y="51"/> |
|
450 <position x="815" y="51"/> |
|
451 </connection> |
|
452 </connectionPointIn> |
|
453 </variable> |
|
454 <variable formalParameter="SOME_INPUT"> |
|
455 <connectionPointIn> |
|
456 <relPosition x="0" y="59"/> |
|
457 <connection refLocalId="22"> |
|
458 <position x="860" y="76"/> |
|
459 <position x="815" y="76"/> |
|
460 </connection> |
|
461 </connectionPointIn> |
|
462 </variable> |
|
463 </inputVariables> |
|
464 <inOutVariables/> |
|
465 <outputVariables> |
|
466 <variable formalParameter="SOME_OUTPUT"> |
|
467 <connectionPointOut> |
|
468 <relPosition x="191" y="34"/> |
|
469 </connectionPointOut> |
|
470 </variable> |
|
471 </outputVariables> |
|
472 </block> |
|
473 <inVariable localId="18" executionOrderId="0" height="25" width="70" negated="false"> |
|
474 <position x="55" y="61"/> |
|
475 <connectionPointOut> |
|
476 <relPosition x="70" y="10"/> |
|
477 </connectionPointOut> |
|
478 <expression>Enable0</expression> |
|
479 </inVariable> |
|
480 <inVariable localId="19" executionOrderId="0" height="25" width="70" negated="false"> |
|
481 <position x="55" y="155"/> |
|
482 <connectionPointOut> |
|
483 <relPosition x="70" y="10"/> |
|
484 </connectionPointOut> |
|
485 <expression>Enable1</expression> |
|
486 </inVariable> |
|
487 <inVariable localId="20" executionOrderId="0" height="25" width="70" negated="false"> |
|
488 <position x="405" y="61"/> |
|
489 <connectionPointOut> |
|
490 <relPosition x="70" y="10"/> |
|
491 </connectionPointOut> |
|
492 <expression>Enable2</expression> |
|
493 </inVariable> |
|
494 <inVariable localId="21" executionOrderId="0" height="25" width="70" negated="false"> |
|
495 <position x="405" y="155"/> |
|
496 <connectionPointOut> |
|
497 <relPosition x="70" y="10"/> |
|
498 </connectionPointOut> |
|
499 <expression>Enable3</expression> |
|
500 </inVariable> |
|
501 <inVariable localId="22" executionOrderId="0" height="25" width="70" negated="false"> |
|
502 <position x="745" y="66"/> |
|
503 <connectionPointOut> |
|
504 <relPosition x="70" y="10"/> |
|
505 </connectionPointOut> |
|
506 <expression>Enable4</expression> |
|
507 </inVariable> |
|
508 <inVariable localId="23" executionOrderId="0" height="25" width="70" negated="false"> |
|
509 <position x="745" y="160"/> |
|
510 <connectionPointOut> |
|
511 <relPosition x="70" y="10"/> |
|
512 </connectionPointOut> |
|
513 <expression>Enable5</expression> |
|
514 </inVariable> |
|
515 <inVariable localId="24" executionOrderId="0" height="25" width="70" negated="false"> |
|
516 <position x="55" y="36"/> |
|
517 <connectionPointOut> |
|
518 <relPosition x="70" y="10"/> |
|
519 </connectionPointOut> |
|
520 <expression>'VENUS'</expression> |
|
521 </inVariable> |
|
522 <inVariable localId="25" executionOrderId="0" height="25" width="75" negated="false"> |
|
523 <position x="50" y="130"/> |
|
524 <connectionPointOut> |
|
525 <relPosition x="75" y="10"/> |
|
526 </connectionPointOut> |
|
527 <expression>'URANUS'</expression> |
|
528 </inVariable> |
|
529 <inVariable localId="26" executionOrderId="0" height="25" width="85" negated="false"> |
|
530 <position x="390" y="36"/> |
|
531 <connectionPointOut> |
|
532 <relPosition x="85" y="10"/> |
|
533 </connectionPointOut> |
|
534 <expression>'JUPITER'</expression> |
|
535 </inVariable> |
|
536 <inVariable localId="27" executionOrderId="0" height="25" width="60" negated="false"> |
|
537 <position x="415" y="130"/> |
|
538 <connectionPointOut> |
|
539 <relPosition x="60" y="10"/> |
|
540 </connectionPointOut> |
|
541 <expression>'MARS'</expression> |
|
542 </inVariable> |
|
543 <inVariable localId="28" executionOrderId="0" height="25" width="85" negated="false"> |
|
544 <position x="730" y="41"/> |
|
545 <connectionPointOut> |
|
546 <relPosition x="85" y="10"/> |
|
547 </connectionPointOut> |
|
548 <expression>'NEPTUNE'</expression> |
|
549 </inVariable> |
|
550 <inVariable localId="29" executionOrderId="0" height="25" width="70" negated="false"> |
|
551 <position x="745" y="135"/> |
|
552 <connectionPointOut> |
|
553 <relPosition x="70" y="10"/> |
|
554 </connectionPointOut> |
|
555 <expression>'EARTH'</expression> |
|
556 </inVariable> |
|
557 </FBD> |
|
558 </body> |
|
559 </pou> |
|
560 <pou name="my_functionBlock" pouType="functionBlock"> |
|
561 <interface> |
|
562 <localVars> |
|
563 <variable name="MYNODE"> |
|
564 <type> |
|
565 <derived name="HMI_NODE"/> |
|
566 </type> |
|
567 <documentation> |
|
568 <xhtml:p><![CDATA[Using HMI_NODE creates node un HMI tree]]></xhtml:p> |
|
569 </documentation> |
|
570 </variable> |
|
571 <variable name="SOME_INT"> |
|
572 <type> |
|
573 <derived name="HMI_INT"/> |
|
574 </type> |
|
575 </variable> |
|
576 </localVars> |
|
577 <inputVars> |
|
578 <variable name="SOME_STRING"> |
|
579 <type> |
|
580 <derived name="HMI_STRING"/> |
|
581 </type> |
|
582 </variable> |
|
583 </inputVars> |
|
584 <localVars> |
|
585 <variable name="SOME_BOOL"> |
|
586 <type> |
|
587 <derived name="HMI_BOOL"/> |
|
588 </type> |
|
589 </variable> |
|
590 <variable name="SOME_REAL"> |
|
591 <type> |
|
592 <derived name="HMI_REAL"/> |
|
593 </type> |
|
594 </variable> |
|
595 </localVars> |
|
596 <inputVars> |
|
597 <variable name="SOME_INPUT"> |
|
598 <type> |
|
599 <BOOL/> |
|
600 </type> |
|
601 </variable> |
|
602 </inputVars> |
|
603 <outputVars> |
|
604 <variable name="SOME_OUTPUT"> |
|
605 <type> |
|
606 <BOOL/> |
|
607 </type> |
|
608 </variable> |
|
609 </outputVars> |
|
610 </interface> |
|
611 <body> |
|
612 <FBD> |
|
613 <inVariable localId="1" executionOrderId="0" height="25" width="90" negated="false"> |
|
614 <position x="100" y="70"/> |
|
615 <connectionPointOut> |
|
616 <relPosition x="90" y="10"/> |
|
617 </connectionPointOut> |
|
618 <expression>SOME_INPUT</expression> |
|
619 </inVariable> |
|
620 <outVariable localId="2" executionOrderId="0" height="25" width="100" negated="false"> |
|
621 <position x="250" y="70"/> |
|
622 <connectionPointIn> |
|
623 <relPosition x="0" y="10"/> |
|
624 <connection refLocalId="1"> |
|
625 <position x="250" y="80"/> |
|
626 <position x="190" y="80"/> |
|
627 </connection> |
|
628 </connectionPointIn> |
|
629 <expression>SOME_OUTPUT</expression> |
|
630 </outVariable> |
|
631 <outVariable localId="4" executionOrderId="0" height="25" width="85" negated="false"> |
|
632 <position x="250" y="105"/> |
|
633 <connectionPointIn> |
|
634 <relPosition x="0" y="10"/> |
|
635 <connection refLocalId="1"> |
|
636 <position x="250" y="115"/> |
|
637 <position x="225" y="115"/> |
|
638 <position x="225" y="80"/> |
|
639 <position x="190" y="80"/> |
|
640 </connection> |
|
641 </connectionPointIn> |
|
642 <expression>SOME_BOOL</expression> |
|
643 </outVariable> |
|
644 </FBD> |
|
645 </body> |
|
646 </pou> |
|
647 </pous> |
|
648 </types> |
|
649 <instances> |
|
650 <configurations> |
|
651 <configuration name="config"> |
|
652 <resource name="resource1"> |
|
653 <task name="task0" priority="0" interval="T#20ms"> |
|
654 <pouInstance name="instance0" typeName="program0"/> |
|
655 </task> |
|
656 </resource> |
|
657 </configuration> |
|
658 </configurations> |
|
659 </instances> |
|
660 </project> |