1461
|
1 |
<?xml version='1.0' encoding='utf-8'?>
|
|
2 |
<project xmlns="http://www.plcopen.org/xml/tc6_0201" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xhtml="http://www.w3.org/1999/xhtml" xsi:schemaLocation="http://www.plcopen.org/xml/tc6_0201">
|
|
3 |
<fileHeader companyName="Unknown" productName="Unnamed" productVersion="1" creationDateTime="2012-09-12T23:30:19"/>
|
1462
|
4 |
<contentHeader name="Unnamed" modificationDateTime="2015-06-18T15:22:07">
|
1461
|
5 |
<coordinateInfo>
|
|
6 |
<pageSize x="1050" y="1485"/>
|
|
7 |
<fbd>
|
|
8 |
<scaling x="5" y="5"/>
|
|
9 |
</fbd>
|
|
10 |
<ld>
|
|
11 |
<scaling x="0" y="0"/>
|
|
12 |
</ld>
|
|
13 |
<sfc>
|
|
14 |
<scaling x="0" y="0"/>
|
|
15 |
</sfc>
|
|
16 |
</coordinateInfo>
|
|
17 |
</contentHeader>
|
|
18 |
<types>
|
|
19 |
<dataTypes/>
|
|
20 |
<pous>
|
|
21 |
<pou name="main" pouType="program">
|
|
22 |
<interface>
|
|
23 |
<externalVars>
|
|
24 |
<variable name="Power_ON">
|
|
25 |
<type>
|
|
26 |
<BOOL/>
|
|
27 |
</type>
|
|
28 |
</variable>
|
|
29 |
<variable name="Power_OFF">
|
|
30 |
<type>
|
|
31 |
<BOOL/>
|
|
32 |
</type>
|
|
33 |
</variable>
|
|
34 |
<variable name="power">
|
|
35 |
<type>
|
|
36 |
<BOOL/>
|
|
37 |
</type>
|
|
38 |
</variable>
|
|
39 |
<variable name="DrawTest">
|
|
40 |
<type>
|
|
41 |
<BOOL/>
|
|
42 |
</type>
|
|
43 |
</variable>
|
|
44 |
<variable name="DrawLogo">
|
|
45 |
<type>
|
|
46 |
<BOOL/>
|
|
47 |
</type>
|
|
48 |
</variable>
|
|
49 |
<variable name="DrawEscher">
|
|
50 |
<type>
|
|
51 |
<BOOL/>
|
|
52 |
</type>
|
|
53 |
</variable>
|
|
54 |
<variable name="Detect_Circle">
|
|
55 |
<type>
|
|
56 |
<BOOL/>
|
|
57 |
</type>
|
|
58 |
</variable>
|
|
59 |
</externalVars>
|
|
60 |
<localVars>
|
|
61 |
<variable name="RS0">
|
|
62 |
<type>
|
|
63 |
<derived name="RS"/>
|
|
64 |
</type>
|
|
65 |
</variable>
|
|
66 |
</localVars>
|
1462
|
67 |
<externalVars>
|
|
68 |
<variable name="ZaxisPos">
|
|
69 |
<type>
|
|
70 |
<INT/>
|
|
71 |
</type>
|
|
72 |
</variable>
|
|
73 |
</externalVars>
|
1461
|
74 |
</interface>
|
|
75 |
<body>
|
|
76 |
<FBD>
|
|
77 |
<inVariable localId="286" executionOrderId="0" height="25" width="65" negated="false">
|
1462
|
78 |
<position x="230" y="205"/>
|
1461
|
79 |
<connectionPointOut>
|
|
80 |
<relPosition x="65" y="10"/>
|
|
81 |
</connectionPointOut>
|
|
82 |
<expression>Power_ON</expression>
|
|
83 |
</inVariable>
|
|
84 |
<block localId="287" typeName="RS" instanceName="RS0" executionOrderId="0" height="65" width="45">
|
|
85 |
<position x="395" y="190"/>
|
|
86 |
<inputVariables>
|
|
87 |
<variable formalParameter="S">
|
|
88 |
<connectionPointIn>
|
|
89 |
<relPosition x="0" y="30"/>
|
|
90 |
<connection refLocalId="286">
|
|
91 |
<position x="395" y="220"/>
|
|
92 |
<position x="315" y="220"/>
|
1462
|
93 |
<position x="315" y="215"/>
|
|
94 |
<position x="295" y="215"/>
|
1461
|
95 |
</connection>
|
|
96 |
</connectionPointIn>
|
|
97 |
</variable>
|
|
98 |
<variable formalParameter="R1">
|
|
99 |
<connectionPointIn>
|
|
100 |
<relPosition x="0" y="55"/>
|
|
101 |
<connection refLocalId="288">
|
|
102 |
<position x="395" y="245"/>
|
1462
|
103 |
<position x="320" y="245"/>
|
|
104 |
<position x="320" y="260"/>
|
|
105 |
<position x="310" y="260"/>
|
1461
|
106 |
</connection>
|
|
107 |
</connectionPointIn>
|
|
108 |
</variable>
|
|
109 |
</inputVariables>
|
|
110 |
<inOutVariables/>
|
|
111 |
<outputVariables>
|
|
112 |
<variable formalParameter="Q1">
|
|
113 |
<connectionPointOut>
|
|
114 |
<relPosition x="45" y="30"/>
|
|
115 |
</connectionPointOut>
|
|
116 |
</variable>
|
|
117 |
</outputVariables>
|
|
118 |
</block>
|
|
119 |
<inVariable localId="288" executionOrderId="0" height="25" width="70" negated="false">
|
1462
|
120 |
<position x="240" y="250"/>
|
1461
|
121 |
<connectionPointOut>
|
|
122 |
<relPosition x="70" y="10"/>
|
|
123 |
</connectionPointOut>
|
|
124 |
<expression>Power_OFF</expression>
|
|
125 |
</inVariable>
|
|
126 |
<outVariable localId="289" executionOrderId="0" height="25" width="45" negated="false">
|
|
127 |
<position x="510" y="220"/>
|
|
128 |
<connectionPointIn>
|
|
129 |
<relPosition x="0" y="10"/>
|
|
130 |
<connection refLocalId="287" formalParameter="Q1">
|
|
131 |
<position x="510" y="230"/>
|
|
132 |
<position x="475" y="230"/>
|
|
133 |
<position x="475" y="220"/>
|
|
134 |
<position x="440" y="220"/>
|
|
135 |
</connection>
|
|
136 |
</connectionPointIn>
|
|
137 |
<expression>power</expression>
|
|
138 |
</outVariable>
|
1462
|
139 |
<inVariable localId="290" executionOrderId="0" height="25" width="60" negated="false">
|
|
140 |
<position x="75" y="55"/>
|
|
141 |
<connectionPointOut>
|
|
142 |
<relPosition x="60" y="10"/>
|
|
143 |
</connectionPointOut>
|
|
144 |
<expression>DrawTest</expression>
|
|
145 |
</inVariable>
|
|
146 |
<block localId="292" typeName="ADD" executionOrderId="0" height="65" width="60">
|
|
147 |
<position x="350" y="50"/>
|
|
148 |
<inputVariables>
|
|
149 |
<variable formalParameter="IN1">
|
|
150 |
<connectionPointIn>
|
|
151 |
<relPosition x="0" y="30"/>
|
|
152 |
<connection refLocalId="291">
|
|
153 |
<position x="350" y="80"/>
|
|
154 |
<position x="340" y="80"/>
|
|
155 |
<position x="340" y="25"/>
|
|
156 |
<position x="530" y="25"/>
|
|
157 |
<position x="530" y="45"/>
|
|
158 |
<position x="520" y="45"/>
|
|
159 |
</connection>
|
|
160 |
</connectionPointIn>
|
|
161 |
</variable>
|
|
162 |
<variable formalParameter="IN2">
|
|
163 |
<connectionPointIn>
|
|
164 |
<relPosition x="0" y="55"/>
|
|
165 |
<connection refLocalId="293" formalParameter="OUT">
|
|
166 |
<position x="350" y="105"/>
|
|
167 |
<position x="287" y="105"/>
|
|
168 |
<position x="287" y="65"/>
|
|
169 |
<position x="225" y="65"/>
|
|
170 |
</connection>
|
|
171 |
</connectionPointIn>
|
|
172 |
</variable>
|
|
173 |
</inputVariables>
|
|
174 |
<inOutVariables/>
|
|
175 |
<outputVariables>
|
|
176 |
<variable formalParameter="OUT">
|
|
177 |
<connectionPointOut>
|
|
178 |
<relPosition x="60" y="30"/>
|
|
179 |
</connectionPointOut>
|
|
180 |
</variable>
|
|
181 |
</outputVariables>
|
|
182 |
</block>
|
|
183 |
<inOutVariable localId="291" executionOrderId="0" height="25" width="55" negatedOut="false" negatedIn="false">
|
|
184 |
<position x="465" y="35"/>
|
|
185 |
<connectionPointIn>
|
|
186 |
<relPosition x="0" y="10"/>
|
|
187 |
<connection refLocalId="292" formalParameter="OUT">
|
|
188 |
<position x="465" y="45"/>
|
|
189 |
<position x="437" y="45"/>
|
|
190 |
<position x="437" y="80"/>
|
|
191 |
<position x="410" y="80"/>
|
|
192 |
</connection>
|
|
193 |
</connectionPointIn>
|
|
194 |
<connectionPointOut>
|
|
195 |
<relPosition x="55" y="10"/>
|
|
196 |
</connectionPointOut>
|
|
197 |
<expression>ZaxisPos</expression>
|
|
198 |
</inOutVariable>
|
|
199 |
<block localId="293" typeName="SEL" executionOrderId="0" height="85" width="60">
|
|
200 |
<position x="165" y="35"/>
|
|
201 |
<inputVariables>
|
|
202 |
<variable formalParameter="G">
|
|
203 |
<connectionPointIn>
|
|
204 |
<relPosition x="0" y="30"/>
|
|
205 |
<connection refLocalId="290">
|
|
206 |
<position x="165" y="65"/>
|
|
207 |
<position x="135" y="65"/>
|
|
208 |
</connection>
|
|
209 |
</connectionPointIn>
|
|
210 |
</variable>
|
|
211 |
<variable formalParameter="IN0">
|
|
212 |
<connectionPointIn>
|
|
213 |
<relPosition x="0" y="50"/>
|
|
214 |
<connection refLocalId="295">
|
|
215 |
<position x="165" y="85"/>
|
|
216 |
<position x="135" y="85"/>
|
|
217 |
<position x="135" y="90"/>
|
|
218 |
<position x="105" y="90"/>
|
|
219 |
</connection>
|
|
220 |
</connectionPointIn>
|
|
221 |
</variable>
|
|
222 |
<variable formalParameter="IN1">
|
|
223 |
<connectionPointIn>
|
|
224 |
<relPosition x="0" y="70"/>
|
|
225 |
<connection refLocalId="294">
|
|
226 |
<position x="165" y="105"/>
|
|
227 |
<position x="135" y="105"/>
|
|
228 |
<position x="135" y="115"/>
|
|
229 |
<position x="105" y="115"/>
|
|
230 |
</connection>
|
|
231 |
</connectionPointIn>
|
|
232 |
</variable>
|
|
233 |
</inputVariables>
|
|
234 |
<inOutVariables/>
|
|
235 |
<outputVariables>
|
|
236 |
<variable formalParameter="OUT">
|
|
237 |
<connectionPointOut>
|
|
238 |
<relPosition x="60" y="30"/>
|
|
239 |
</connectionPointOut>
|
|
240 |
</variable>
|
|
241 |
</outputVariables>
|
|
242 |
</block>
|
|
243 |
<inVariable localId="294" executionOrderId="0" height="25" width="20" negated="false">
|
|
244 |
<position x="85" y="105"/>
|
|
245 |
<connectionPointOut>
|
|
246 |
<relPosition x="20" y="10"/>
|
|
247 |
</connectionPointOut>
|
|
248 |
<expression>1</expression>
|
|
249 |
</inVariable>
|
|
250 |
<inVariable localId="295" executionOrderId="0" height="25" width="20" negated="false">
|
|
251 |
<position x="85" y="80"/>
|
|
252 |
<connectionPointOut>
|
|
253 |
<relPosition x="20" y="10"/>
|
|
254 |
</connectionPointOut>
|
|
255 |
<expression>0</expression>
|
|
256 |
</inVariable>
|
1461
|
257 |
</FBD>
|
|
258 |
</body>
|
|
259 |
<documentation>
|
|
260 |
<xhtml:p><![CDATA[]]></xhtml:p>
|
|
261 |
</documentation>
|
|
262 |
</pou>
|
|
263 |
<pou name="ReadGUIdata" pouType="program">
|
|
264 |
<interface>
|
|
265 |
<localVars>
|
|
266 |
<variable name="tmp">
|
|
267 |
<type>
|
|
268 |
<INT/>
|
|
269 |
</type>
|
|
270 |
</variable>
|
|
271 |
</localVars>
|
|
272 |
<externalVars>
|
|
273 |
<variable name="power">
|
|
274 |
<type>
|
|
275 |
<BOOL/>
|
|
276 |
</type>
|
|
277 |
</variable>
|
|
278 |
<variable name="XaxisPos">
|
|
279 |
<type>
|
|
280 |
<INT/>
|
|
281 |
</type>
|
|
282 |
</variable>
|
|
283 |
<variable name="YaxisPos">
|
|
284 |
<type>
|
|
285 |
<INT/>
|
|
286 |
</type>
|
|
287 |
</variable>
|
|
288 |
<variable name="ZaxisPos">
|
|
289 |
<type>
|
|
290 |
<INT/>
|
|
291 |
</type>
|
|
292 |
</variable>
|
|
293 |
<variable name="TaxisPos">
|
|
294 |
<type>
|
|
295 |
<INT/>
|
|
296 |
</type>
|
|
297 |
</variable>
|
|
298 |
</externalVars>
|
1462
|
299 |
<localVars>
|
|
300 |
<variable name="python_poll0">
|
|
301 |
<type>
|
|
302 |
<derived name="python_poll"/>
|
|
303 |
</type>
|
|
304 |
</variable>
|
|
305 |
</localVars>
|
1461
|
306 |
</interface>
|
|
307 |
<body>
|
|
308 |
<FBD>
|
|
309 |
<outVariable localId="211" executionOrderId="0" height="25" width="60" negated="false">
|
|
310 |
<position x="565" y="195"/>
|
|
311 |
<connectionPointIn>
|
|
312 |
<relPosition x="0" y="10"/>
|
|
313 |
<connection refLocalId="215">
|
|
314 |
<position x="565" y="205"/>
|
|
315 |
<position x="370" y="205"/>
|
|
316 |
<position x="370" y="195"/>
|
|
317 |
<position x="330" y="195"/>
|
|
318 |
</connection>
|
|
319 |
</connectionPointIn>
|
|
320 |
<expression>XaxisPos</expression>
|
|
321 |
</outVariable>
|
|
322 |
<block localId="213" typeName="ADD" executionOrderId="0" height="65" width="60">
|
|
323 |
<position x="220" y="295"/>
|
|
324 |
<inputVariables>
|
|
325 |
<variable formalParameter="IN1">
|
|
326 |
<connectionPointIn>
|
|
327 |
<relPosition x="0" y="30"/>
|
|
328 |
<connection refLocalId="212">
|
|
329 |
<position x="220" y="325"/>
|
|
330 |
<position x="210" y="325"/>
|
|
331 |
<position x="210" y="270"/>
|
|
332 |
<position x="380" y="270"/>
|
|
333 |
<position x="380" y="325"/>
|
|
334 |
<position x="365" y="325"/>
|
|
335 |
</connection>
|
|
336 |
</connectionPointIn>
|
|
337 |
</variable>
|
|
338 |
<variable formalParameter="IN2">
|
|
339 |
<connectionPointIn>
|
|
340 |
<relPosition x="0" y="55"/>
|
|
341 |
<connection refLocalId="217" formalParameter="OUT">
|
|
342 |
<position x="220" y="350"/>
|
|
343 |
<position x="180" y="350"/>
|
|
344 |
</connection>
|
|
345 |
</connectionPointIn>
|
|
346 |
</variable>
|
|
347 |
</inputVariables>
|
|
348 |
<inOutVariables/>
|
|
349 |
<outputVariables>
|
|
350 |
<variable formalParameter="OUT">
|
|
351 |
<connectionPointOut>
|
|
352 |
<relPosition x="60" y="30"/>
|
|
353 |
</connectionPointOut>
|
|
354 |
</variable>
|
|
355 |
</outputVariables>
|
|
356 |
</block>
|
|
357 |
<inOutVariable localId="212" executionOrderId="0" height="25" width="30" negatedOut="false" negatedIn="false">
|
|
358 |
<position x="335" y="315"/>
|
|
359 |
<connectionPointIn>
|
|
360 |
<relPosition x="0" y="10"/>
|
|
361 |
<connection refLocalId="213" formalParameter="OUT">
|
|
362 |
<position x="335" y="325"/>
|
|
363 |
<position x="280" y="325"/>
|
|
364 |
</connection>
|
|
365 |
</connectionPointIn>
|
|
366 |
<connectionPointOut>
|
|
367 |
<relPosition x="30" y="10"/>
|
|
368 |
</connectionPointOut>
|
|
369 |
<expression>tmp</expression>
|
|
370 |
</inOutVariable>
|
|
371 |
<inVariable localId="214" executionOrderId="0" height="25" width="20" negated="false">
|
|
372 |
<position x="65" y="385"/>
|
|
373 |
<connectionPointOut>
|
|
374 |
<relPosition x="20" y="10"/>
|
|
375 |
</connectionPointOut>
|
|
376 |
<expression>1</expression>
|
|
377 |
</inVariable>
|
|
378 |
<inVariable localId="215" executionOrderId="0" height="25" width="30" negated="false">
|
|
379 |
<position x="300" y="185"/>
|
|
380 |
<connectionPointOut>
|
|
381 |
<relPosition x="30" y="10"/>
|
|
382 |
</connectionPointOut>
|
|
383 |
<expression>tmp</expression>
|
|
384 |
</inVariable>
|
|
385 |
<outVariable localId="216" executionOrderId="0" height="25" width="60" negated="false">
|
|
386 |
<position x="540" y="310"/>
|
|
387 |
<connectionPointIn>
|
|
388 |
<relPosition x="0" y="10"/>
|
|
389 |
<connection refLocalId="215">
|
|
390 |
<position x="540" y="320"/>
|
|
391 |
<position x="435" y="320"/>
|
|
392 |
<position x="435" y="195"/>
|
|
393 |
<position x="330" y="195"/>
|
|
394 |
</connection>
|
|
395 |
</connectionPointIn>
|
|
396 |
<expression>YaxisPos</expression>
|
|
397 |
</outVariable>
|
|
398 |
<block localId="217" typeName="SEL" executionOrderId="0" height="85" width="60">
|
|
399 |
<position x="120" y="320"/>
|
|
400 |
<inputVariables>
|
|
401 |
<variable formalParameter="G">
|
|
402 |
<connectionPointIn>
|
|
403 |
<relPosition x="0" y="30"/>
|
|
404 |
<connection refLocalId="219">
|
|
405 |
<position x="120" y="350"/>
|
|
406 |
<position x="97" y="350"/>
|
|
407 |
<position x="97" y="345"/>
|
|
408 |
<position x="85" y="345"/>
|
|
409 |
</connection>
|
|
410 |
</connectionPointIn>
|
|
411 |
</variable>
|
|
412 |
<variable formalParameter="IN0">
|
|
413 |
<connectionPointIn>
|
|
414 |
<relPosition x="0" y="50"/>
|
|
415 |
<connection refLocalId="218">
|
|
416 |
<position x="120" y="370"/>
|
|
417 |
<position x="85" y="370"/>
|
|
418 |
</connection>
|
|
419 |
</connectionPointIn>
|
|
420 |
</variable>
|
|
421 |
<variable formalParameter="IN1">
|
|
422 |
<connectionPointIn>
|
|
423 |
<relPosition x="0" y="70"/>
|
|
424 |
<connection refLocalId="214">
|
|
425 |
<position x="120" y="390"/>
|
|
426 |
<position x="102" y="390"/>
|
|
427 |
<position x="102" y="395"/>
|
|
428 |
<position x="85" y="395"/>
|
|
429 |
</connection>
|
|
430 |
</connectionPointIn>
|
|
431 |
</variable>
|
|
432 |
</inputVariables>
|
|
433 |
<inOutVariables/>
|
|
434 |
<outputVariables>
|
|
435 |
<variable formalParameter="OUT">
|
|
436 |
<connectionPointOut>
|
|
437 |
<relPosition x="60" y="30"/>
|
|
438 |
</connectionPointOut>
|
|
439 |
</variable>
|
|
440 |
</outputVariables>
|
|
441 |
</block>
|
|
442 |
<inVariable localId="218" executionOrderId="0" height="25" width="20" negated="false">
|
|
443 |
<position x="65" y="360"/>
|
|
444 |
<connectionPointOut>
|
|
445 |
<relPosition x="20" y="10"/>
|
|
446 |
</connectionPointOut>
|
|
447 |
<expression>0</expression>
|
|
448 |
</inVariable>
|
|
449 |
<inVariable localId="219" executionOrderId="0" height="25" width="45" negated="false">
|
|
450 |
<position x="40" y="335"/>
|
|
451 |
<connectionPointOut>
|
|
452 |
<relPosition x="45" y="10"/>
|
|
453 |
</connectionPointOut>
|
|
454 |
<expression>power</expression>
|
|
455 |
</inVariable>
|
1462
|
456 |
<block localId="220" typeName="python_poll" instanceName="python_poll0" executionOrderId="0" height="65" width="85">
|
|
457 |
<position x="640" y="370"/>
|
|
458 |
<inputVariables>
|
|
459 |
<variable formalParameter="TRIG">
|
|
460 |
<connectionPointIn>
|
|
461 |
<relPosition x="0" y="30"/>
|
|
462 |
<connection refLocalId="221">
|
|
463 |
<position x="640" y="400"/>
|
|
464 |
<position x="595" y="400"/>
|
|
465 |
</connection>
|
|
466 |
</connectionPointIn>
|
|
467 |
</variable>
|
|
468 |
<variable formalParameter="CODE">
|
|
469 |
<connectionPointIn>
|
|
470 |
<relPosition x="0" y="55"/>
|
|
471 |
<connection refLocalId="222">
|
|
472 |
<position x="640" y="425"/>
|
|
473 |
<position x="590" y="425"/>
|
|
474 |
</connection>
|
|
475 |
</connectionPointIn>
|
|
476 |
</variable>
|
|
477 |
</inputVariables>
|
|
478 |
<inOutVariables/>
|
|
479 |
<outputVariables>
|
|
480 |
<variable formalParameter="ACK">
|
|
481 |
<connectionPointOut>
|
|
482 |
<relPosition x="85" y="30"/>
|
|
483 |
</connectionPointOut>
|
|
484 |
</variable>
|
|
485 |
<variable formalParameter="RESULT">
|
|
486 |
<connectionPointOut>
|
|
487 |
<relPosition x="85" y="55"/>
|
|
488 |
</connectionPointOut>
|
|
489 |
</variable>
|
|
490 |
</outputVariables>
|
|
491 |
</block>
|
|
492 |
<inVariable localId="221" executionOrderId="0" height="25" width="75" negated="false">
|
|
493 |
<position x="520" y="390"/>
|
|
494 |
<connectionPointOut>
|
|
495 |
<relPosition x="75" y="10"/>
|
|
496 |
</connectionPointOut>
|
|
497 |
<expression>BOOL#TRUE</expression>
|
|
498 |
</inVariable>
|
|
499 |
<inVariable localId="222" executionOrderId="0" height="25" width="135" negated="false">
|
|
500 |
<position x="455" y="415"/>
|
|
501 |
<connectionPointOut>
|
|
502 |
<relPosition x="135" y="10"/>
|
|
503 |
</connectionPointOut>
|
|
504 |
<expression>'wxglade_hmi.UpdPos()'</expression>
|
|
505 |
</inVariable>
|
1461
|
506 |
</FBD>
|
|
507 |
</body>
|
|
508 |
<documentation>
|
|
509 |
<xhtml:p><![CDATA[]]></xhtml:p>
|
|
510 |
</documentation>
|
|
511 |
</pou>
|
|
512 |
<pou name="Declarations" pouType="program">
|
|
513 |
<interface>
|
|
514 |
<localVars>
|
|
515 |
<variable name="LocalVar0">
|
|
516 |
<type>
|
|
517 |
<DINT/>
|
|
518 |
</type>
|
|
519 |
</variable>
|
|
520 |
<variable name="LocalVar1">
|
|
521 |
<type>
|
|
522 |
<DINT/>
|
|
523 |
</type>
|
|
524 |
</variable>
|
|
525 |
</localVars>
|
|
526 |
</interface>
|
|
527 |
<body>
|
|
528 |
<FBD>
|
|
529 |
<inVariable localId="127" executionOrderId="0" height="25" width="60" negated="false">
|
|
530 |
<position x="235" y="205"/>
|
|
531 |
<connectionPointOut>
|
|
532 |
<relPosition x="60" y="10"/>
|
|
533 |
</connectionPointOut>
|
|
534 |
<expression>LocalVar0</expression>
|
|
535 |
</inVariable>
|
|
536 |
<outVariable localId="128" executionOrderId="0" height="25" width="60" negated="false">
|
|
537 |
<position x="450" y="190"/>
|
|
538 |
<connectionPointIn>
|
|
539 |
<relPosition x="0" y="10"/>
|
|
540 |
<connection refLocalId="127">
|
|
541 |
<position x="450" y="200"/>
|
|
542 |
<position x="372" y="200"/>
|
|
543 |
<position x="372" y="215"/>
|
|
544 |
<position x="295" y="215"/>
|
|
545 |
</connection>
|
|
546 |
</connectionPointIn>
|
|
547 |
<expression>LocalVar1</expression>
|
|
548 |
</outVariable>
|
|
549 |
</FBD>
|
|
550 |
</body>
|
|
551 |
<documentation>
|
|
552 |
<xhtml:p><![CDATA[]]></xhtml:p>
|
|
553 |
</documentation>
|
|
554 |
</pou>
|
|
555 |
</pous>
|
|
556 |
</types>
|
|
557 |
<instances>
|
|
558 |
<configurations>
|
|
559 |
<configuration name="config">
|
|
560 |
<resource name="resource1">
|
|
561 |
<task name="InitOneShot" priority="0" single="Initialize">
|
|
562 |
<pouInstance name="Initializer" typeName="Declarations"/>
|
|
563 |
</task>
|
|
564 |
<task name="ControlTask" priority="0" interval="T#2ms">
|
|
565 |
<pouInstance name="MainInstance" typeName="main"/>
|
|
566 |
</task>
|
1462
|
567 |
<task name="GUIupdate" priority="0" interval="T#200ms">
|
1461
|
568 |
<pouInstance name="PosReader" typeName="ReadGUIdata"/>
|
|
569 |
</task>
|
|
570 |
<globalVars>
|
|
571 |
<variable name="Initialize">
|
|
572 |
<type>
|
|
573 |
<BOOL/>
|
|
574 |
</type>
|
|
575 |
<initialValue>
|
|
576 |
<simpleValue value="TRUE"/>
|
|
577 |
</initialValue>
|
|
578 |
</variable>
|
|
579 |
<variable name="power">
|
|
580 |
<type>
|
|
581 |
<BOOL/>
|
|
582 |
</type>
|
|
583 |
<initialValue>
|
|
584 |
<simpleValue value="TRUE"/>
|
|
585 |
</initialValue>
|
|
586 |
</variable>
|
|
587 |
</globalVars>
|
|
588 |
</resource>
|
|
589 |
</configuration>
|
|
590 |
</configurations>
|
|
591 |
</instances>
|
|
592 |
</project>
|