287
|
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">
|
|
6 |
<fileHeader companyName="LOLITECH"
|
|
7 |
productName="Beremiz"
|
|
8 |
productVersion="0.0"
|
301
|
9 |
creationDateTime="2008-12-14 16:21:19"/>
|
287
|
10 |
<contentHeader name="Beremiz Python Support Tests"
|
306
|
11 |
modificationDateTime="2009-01-19 09:02:00">
|
287
|
12 |
<coordinateInfo>
|
|
13 |
<pageSize x="1024" y="1024"/>
|
|
14 |
<fbd>
|
|
15 |
<scaling x="5" y="5"/>
|
|
16 |
</fbd>
|
|
17 |
<ld>
|
|
18 |
<scaling x="5" y="5"/>
|
|
19 |
</ld>
|
|
20 |
<sfc>
|
|
21 |
<scaling x="5" y="5"/>
|
|
22 |
</sfc>
|
|
23 |
</coordinateInfo>
|
|
24 |
</contentHeader>
|
|
25 |
<types>
|
|
26 |
<dataTypes/>
|
|
27 |
<pous>
|
|
28 |
<pou name="main_pytest" pouType="program">
|
|
29 |
<interface>
|
|
30 |
<localVars>
|
|
31 |
<variable name="pytest_var1">
|
|
32 |
<type>
|
|
33 |
<string/>
|
|
34 |
</type>
|
|
35 |
</variable>
|
|
36 |
<variable name="pytest_var2">
|
|
37 |
<type>
|
|
38 |
<BOOL/>
|
|
39 |
</type>
|
|
40 |
</variable>
|
|
41 |
<variable name="py2">
|
|
42 |
<type>
|
301
|
43 |
<derived name="python_poll"/>
|
|
44 |
</type>
|
|
45 |
</variable>
|
|
46 |
<variable name="py3">
|
|
47 |
<type>
|
|
48 |
<derived name="python_poll"/>
|
|
49 |
</type>
|
|
50 |
</variable>
|
|
51 |
<variable name="py1">
|
|
52 |
<type>
|
|
53 |
<derived name="python_poll"/>
|
|
54 |
</type>
|
|
55 |
</variable>
|
|
56 |
<variable name="pytest_var3">
|
|
57 |
<type>
|
|
58 |
<BOOL/>
|
|
59 |
</type>
|
|
60 |
</variable>
|
306
|
61 |
<variable name="pollX">
|
|
62 |
<type>
|
|
63 |
<derived name="python_poll"/>
|
|
64 |
</type>
|
|
65 |
</variable>
|
|
66 |
<variable name="pollY">
|
|
67 |
<type>
|
|
68 |
<derived name="python_poll"/>
|
287
|
69 |
</type>
|
|
70 |
</variable>
|
|
71 |
</localVars>
|
|
72 |
</interface>
|
|
73 |
<body>
|
|
74 |
<FBD>
|
|
75 |
<inVariable localId="4" height="30" width="160">
|
306
|
76 |
<position x="25" y="285"/>
|
287
|
77 |
<connectionPointOut>
|
|
78 |
<relPosition x="160" y="15"/>
|
|
79 |
</connectionPointOut>
|
|
80 |
<expression>'last_point[0]'</expression>
|
|
81 |
</inVariable>
|
301
|
82 |
<block localId="5" width="125" height="80" typeName="python_poll" instanceName="py2">
|
306
|
83 |
<position x="215" y="235"/>
|
287
|
84 |
<inputVariables>
|
|
85 |
<variable formalParameter="TRIG">
|
|
86 |
<connectionPointIn>
|
|
87 |
<relPosition x="0" y="35"/>
|
|
88 |
<connection refLocalId="25" formalParameter="OUT">
|
306
|
89 |
<position x="215" y="270"/>
|
|
90 |
<position x="200" y="270"/>
|
|
91 |
<position x="200" y="205"/>
|
|
92 |
<position x="875" y="205"/>
|
|
93 |
<position x="875" y="155"/>
|
|
94 |
<position x="825" y="155"/>
|
287
|
95 |
</connection>
|
|
96 |
</connectionPointIn>
|
|
97 |
</variable>
|
|
98 |
<variable formalParameter="CODE">
|
|
99 |
<connectionPointIn>
|
|
100 |
<relPosition x="0" y="65"/>
|
|
101 |
<connection refLocalId="4">
|
306
|
102 |
<position x="215" y="300"/>
|
|
103 |
<position x="185" y="300"/>
|
287
|
104 |
</connection>
|
|
105 |
</connectionPointIn>
|
|
106 |
</variable>
|
|
107 |
</inputVariables>
|
|
108 |
<inOutVariables/>
|
|
109 |
<outputVariables>
|
|
110 |
<variable formalParameter="ACK">
|
|
111 |
<connectionPointOut>
|
|
112 |
<relPosition x="125" y="35"/>
|
|
113 |
</connectionPointOut>
|
|
114 |
</variable>
|
|
115 |
<variable formalParameter="RESULT">
|
|
116 |
<connectionPointOut>
|
|
117 |
<relPosition x="125" y="65"/>
|
|
118 |
</connectionPointOut>
|
|
119 |
</variable>
|
|
120 |
</outputVariables>
|
|
121 |
</block>
|
301
|
122 |
<block localId="8" width="125" height="80" typeName="python_poll" instanceName="py3">
|
306
|
123 |
<position x="215" y="480"/>
|
287
|
124 |
<inputVariables>
|
|
125 |
<variable formalParameter="TRIG">
|
|
126 |
<connectionPointIn>
|
|
127 |
<relPosition x="0" y="35"/>
|
|
128 |
<connection refLocalId="25" formalParameter="OUT">
|
306
|
129 |
<position x="215" y="515"/>
|
|
130 |
<position x="200" y="515"/>
|
|
131 |
<position x="200" y="205"/>
|
|
132 |
<position x="875" y="205"/>
|
|
133 |
<position x="875" y="155"/>
|
|
134 |
<position x="825" y="155"/>
|
287
|
135 |
</connection>
|
|
136 |
</connectionPointIn>
|
|
137 |
</variable>
|
|
138 |
<variable formalParameter="CODE">
|
|
139 |
<connectionPointIn>
|
|
140 |
<relPosition x="0" y="65"/>
|
|
141 |
<connection refLocalId="9">
|
306
|
142 |
<position x="215" y="545"/>
|
|
143 |
<position x="185" y="545"/>
|
287
|
144 |
</connection>
|
|
145 |
</connectionPointIn>
|
|
146 |
</variable>
|
|
147 |
</inputVariables>
|
|
148 |
<inOutVariables/>
|
|
149 |
<outputVariables>
|
|
150 |
<variable formalParameter="ACK">
|
|
151 |
<connectionPointOut>
|
|
152 |
<relPosition x="125" y="35"/>
|
|
153 |
</connectionPointOut>
|
|
154 |
</variable>
|
|
155 |
<variable formalParameter="RESULT">
|
|
156 |
<connectionPointOut>
|
|
157 |
<relPosition x="125" y="65"/>
|
|
158 |
</connectionPointOut>
|
|
159 |
</variable>
|
|
160 |
</outputVariables>
|
|
161 |
</block>
|
|
162 |
<inVariable localId="9" height="30" width="160">
|
306
|
163 |
<position x="25" y="530"/>
|
287
|
164 |
<connectionPointOut>
|
|
165 |
<relPosition x="160" y="15"/>
|
|
166 |
</connectionPointOut>
|
|
167 |
<expression>'last_point[1]'</expression>
|
|
168 |
</inVariable>
|
|
169 |
<inVariable localId="11" height="30" width="100">
|
306
|
170 |
<position x="80" y="140"/>
|
287
|
171 |
<connectionPointOut>
|
|
172 |
<relPosition x="100" y="15"/>
|
|
173 |
</connectionPointOut>
|
|
174 |
<expression>'btA'</expression>
|
|
175 |
</inVariable>
|
301
|
176 |
<block localId="12" width="125" height="80" typeName="python_poll" instanceName="py1">
|
306
|
177 |
<position x="215" y="90"/>
|
287
|
178 |
<inputVariables>
|
|
179 |
<variable formalParameter="TRIG">
|
|
180 |
<connectionPointIn>
|
|
181 |
<relPosition x="0" y="35"/>
|
301
|
182 |
<connection refLocalId="41">
|
306
|
183 |
<position x="215" y="125"/>
|
|
184 |
<position x="190" y="125"/>
|
|
185 |
<position x="190" y="120"/>
|
|
186 |
<position x="180" y="120"/>
|
287
|
187 |
</connection>
|
|
188 |
</connectionPointIn>
|
|
189 |
</variable>
|
|
190 |
<variable formalParameter="CODE">
|
|
191 |
<connectionPointIn>
|
|
192 |
<relPosition x="0" y="65"/>
|
|
193 |
<connection refLocalId="11">
|
306
|
194 |
<position x="215" y="155"/>
|
|
195 |
<position x="180" y="155"/>
|
287
|
196 |
</connection>
|
|
197 |
</connectionPointIn>
|
|
198 |
</variable>
|
|
199 |
</inputVariables>
|
|
200 |
<inOutVariables/>
|
|
201 |
<outputVariables>
|
|
202 |
<variable formalParameter="ACK">
|
|
203 |
<connectionPointOut>
|
|
204 |
<relPosition x="125" y="35"/>
|
|
205 |
</connectionPointOut>
|
|
206 |
</variable>
|
|
207 |
<variable formalParameter="RESULT">
|
|
208 |
<connectionPointOut>
|
|
209 |
<relPosition x="125" y="65"/>
|
|
210 |
</connectionPointOut>
|
|
211 |
</variable>
|
|
212 |
</outputVariables>
|
|
213 |
</block>
|
306
|
214 |
<comment localId="16" height="40" width="1005">
|
|
215 |
<position x="15" y="25"/>
|
287
|
216 |
<content>
|
306
|
217 |
<![CDATA[A simple test that reads Nunchuk stick position and put it in spinctrls, when A button is pressed.]]>
|
287
|
218 |
</content>
|
|
219 |
</comment>
|
|
220 |
<block localId="24" width="155" height="80" typeName="STRING_TO_UINT">
|
306
|
221 |
<position x="460" y="90"/>
|
287
|
222 |
<inputVariables>
|
|
223 |
<variable formalParameter="EN">
|
|
224 |
<connectionPointIn>
|
|
225 |
<relPosition x="0" y="35"/>
|
|
226 |
<connection refLocalId="12" formalParameter="ACK">
|
306
|
227 |
<position x="460" y="125"/>
|
|
228 |
<position x="340" y="125"/>
|
287
|
229 |
</connection>
|
|
230 |
</connectionPointIn>
|
|
231 |
</variable>
|
|
232 |
<variable formalParameter="IN">
|
|
233 |
<connectionPointIn>
|
|
234 |
<relPosition x="0" y="65"/>
|
|
235 |
<connection refLocalId="12" formalParameter="RESULT">
|
306
|
236 |
<position x="460" y="155"/>
|
|
237 |
<position x="340" y="155"/>
|
287
|
238 |
</connection>
|
|
239 |
</connectionPointIn>
|
|
240 |
</variable>
|
|
241 |
</inputVariables>
|
|
242 |
<inOutVariables/>
|
|
243 |
<outputVariables>
|
|
244 |
<variable formalParameter="ENO">
|
|
245 |
<connectionPointOut>
|
|
246 |
<relPosition x="155" y="35"/>
|
|
247 |
</connectionPointOut>
|
|
248 |
</variable>
|
|
249 |
<variable formalParameter="OUT">
|
|
250 |
<connectionPointOut>
|
|
251 |
<relPosition x="155" y="65"/>
|
|
252 |
</connectionPointOut>
|
|
253 |
</variable>
|
|
254 |
</outputVariables>
|
|
255 |
</block>
|
|
256 |
<block localId="25" width="135" height="45" typeName="UINT_TO_BOOL">
|
306
|
257 |
<position x="690" y="125"/>
|
287
|
258 |
<inputVariables>
|
|
259 |
<variable formalParameter="IN">
|
|
260 |
<connectionPointIn>
|
|
261 |
<relPosition x="0" y="30"/>
|
|
262 |
<connection refLocalId="24" formalParameter="OUT">
|
306
|
263 |
<position x="690" y="155"/>
|
|
264 |
<position x="615" y="155"/>
|
287
|
265 |
</connection>
|
|
266 |
</connectionPointIn>
|
|
267 |
</variable>
|
|
268 |
</inputVariables>
|
|
269 |
<inOutVariables/>
|
|
270 |
<outputVariables>
|
|
271 |
<variable formalParameter="OUT">
|
|
272 |
<connectionPointOut>
|
|
273 |
<relPosition x="135" y="30"/>
|
|
274 |
</connectionPointOut>
|
|
275 |
</variable>
|
|
276 |
</outputVariables>
|
|
277 |
</block>
|
|
278 |
<inVariable localId="31" height="30" width="160">
|
306
|
279 |
<position x="565" y="385"/>
|
287
|
280 |
<connectionPointOut>
|
|
281 |
<relPosition x="160" y="15"/>
|
|
282 |
</connectionPointOut>
|
306
|
283 |
<expression>')'</expression>
|
|
284 |
</inVariable>
|
|
285 |
<inVariable localId="35" height="30" width="340">
|
|
286 |
<position x="385" y="345"/>
|
|
287 |
<connectionPointOut>
|
|
288 |
<relPosition x="340" y="15"/>
|
|
289 |
</connectionPointOut>
|
|
290 |
<expression>'HMIFrame.spin_ctrl_X.SetValue('</expression>
|
|
291 |
</inVariable>
|
|
292 |
<inVariable localId="41" height="30" width="100">
|
|
293 |
<position x="80" y="105"/>
|
|
294 |
<connectionPointOut>
|
|
295 |
<relPosition x="100" y="15"/>
|
|
296 |
</connectionPointOut>
|
|
297 |
<expression>BOOL#TRUE</expression>
|
|
298 |
</inVariable>
|
|
299 |
<block localId="42" width="80" height="100" typeName="CONCAT">
|
|
300 |
<position x="750" y="310"/>
|
|
301 |
<inputVariables>
|
|
302 |
<variable formalParameter="EN">
|
|
303 |
<connectionPointIn>
|
|
304 |
<relPosition x="0" y="30"/>
|
|
305 |
<connection refLocalId="44" formalParameter="ENO">
|
|
306 |
<position x="750" y="340"/>
|
|
307 |
<position x="740" y="340"/>
|
|
308 |
<position x="740" y="270"/>
|
|
309 |
<position x="715" y="270"/>
|
|
310 |
</connection>
|
|
311 |
</connectionPointIn>
|
|
312 |
</variable>
|
|
313 |
<variable formalParameter="IN1">
|
|
314 |
<connectionPointIn>
|
|
315 |
<relPosition x="0" y="50"/>
|
|
316 |
<connection refLocalId="35">
|
|
317 |
<position x="750" y="360"/>
|
|
318 |
<position x="725" y="360"/>
|
|
319 |
</connection>
|
|
320 |
</connectionPointIn>
|
|
321 |
</variable>
|
|
322 |
<variable formalParameter="IN2">
|
|
323 |
<connectionPointIn>
|
|
324 |
<relPosition x="0" y="70"/>
|
|
325 |
<connection refLocalId="44" formalParameter="OUT">
|
|
326 |
<position x="750" y="380"/>
|
|
327 |
<position x="735" y="380"/>
|
|
328 |
<position x="735" y="300"/>
|
|
329 |
<position x="715" y="300"/>
|
|
330 |
</connection>
|
|
331 |
</connectionPointIn>
|
|
332 |
</variable>
|
|
333 |
<variable formalParameter="IN3">
|
|
334 |
<connectionPointIn>
|
|
335 |
<relPosition x="0" y="90"/>
|
|
336 |
<connection refLocalId="31">
|
|
337 |
<position x="750" y="400"/>
|
|
338 |
<position x="725" y="400"/>
|
|
339 |
</connection>
|
|
340 |
</connectionPointIn>
|
|
341 |
</variable>
|
|
342 |
</inputVariables>
|
|
343 |
<inOutVariables/>
|
|
344 |
<outputVariables>
|
|
345 |
<variable formalParameter="ENO">
|
|
346 |
<connectionPointOut>
|
|
347 |
<relPosition x="80" y="30"/>
|
|
348 |
</connectionPointOut>
|
|
349 |
</variable>
|
|
350 |
<variable formalParameter="OUT">
|
|
351 |
<connectionPointOut>
|
|
352 |
<relPosition x="80" y="50"/>
|
|
353 |
</connectionPointOut>
|
|
354 |
</variable>
|
|
355 |
</outputVariables>
|
|
356 |
</block>
|
|
357 |
<block localId="43" width="145" height="80" typeName="STRING_TO_INT">
|
|
358 |
<position x="380" y="235"/>
|
|
359 |
<inputVariables>
|
|
360 |
<variable formalParameter="EN">
|
|
361 |
<connectionPointIn>
|
|
362 |
<relPosition x="0" y="35"/>
|
|
363 |
<connection refLocalId="5" formalParameter="ACK">
|
|
364 |
<position x="380" y="270"/>
|
|
365 |
<position x="340" y="270"/>
|
|
366 |
</connection>
|
|
367 |
</connectionPointIn>
|
|
368 |
</variable>
|
|
369 |
<variable formalParameter="IN">
|
|
370 |
<connectionPointIn>
|
|
371 |
<relPosition x="0" y="65"/>
|
|
372 |
<connection refLocalId="5" formalParameter="RESULT">
|
|
373 |
<position x="380" y="300"/>
|
|
374 |
<position x="340" y="300"/>
|
|
375 |
</connection>
|
|
376 |
</connectionPointIn>
|
|
377 |
</variable>
|
|
378 |
</inputVariables>
|
|
379 |
<inOutVariables/>
|
|
380 |
<outputVariables>
|
|
381 |
<variable formalParameter="ENO">
|
|
382 |
<connectionPointOut>
|
|
383 |
<relPosition x="145" y="35"/>
|
|
384 |
</connectionPointOut>
|
|
385 |
</variable>
|
|
386 |
<variable formalParameter="OUT">
|
|
387 |
<connectionPointOut>
|
|
388 |
<relPosition x="145" y="65"/>
|
|
389 |
</connectionPointOut>
|
|
390 |
</variable>
|
|
391 |
</outputVariables>
|
|
392 |
</block>
|
|
393 |
<block localId="44" width="145" height="80" typeName="INT_TO_STRING">
|
|
394 |
<position x="570" y="235"/>
|
|
395 |
<inputVariables>
|
|
396 |
<variable formalParameter="EN">
|
|
397 |
<connectionPointIn>
|
|
398 |
<relPosition x="0" y="35"/>
|
|
399 |
<connection refLocalId="43" formalParameter="ENO">
|
|
400 |
<position x="570" y="270"/>
|
|
401 |
<position x="525" y="270"/>
|
|
402 |
</connection>
|
|
403 |
</connectionPointIn>
|
|
404 |
</variable>
|
|
405 |
<variable formalParameter="IN">
|
|
406 |
<connectionPointIn>
|
|
407 |
<relPosition x="0" y="65"/>
|
|
408 |
<connection refLocalId="43" formalParameter="OUT">
|
|
409 |
<position x="570" y="300"/>
|
|
410 |
<position x="525" y="300"/>
|
|
411 |
</connection>
|
|
412 |
</connectionPointIn>
|
|
413 |
</variable>
|
|
414 |
</inputVariables>
|
|
415 |
<inOutVariables/>
|
|
416 |
<outputVariables>
|
|
417 |
<variable formalParameter="ENO">
|
|
418 |
<connectionPointOut>
|
|
419 |
<relPosition x="145" y="35"/>
|
|
420 |
</connectionPointOut>
|
|
421 |
</variable>
|
|
422 |
<variable formalParameter="OUT">
|
|
423 |
<connectionPointOut>
|
|
424 |
<relPosition x="145" y="65"/>
|
|
425 |
</connectionPointOut>
|
|
426 |
</variable>
|
|
427 |
</outputVariables>
|
|
428 |
</block>
|
|
429 |
<inVariable localId="47" height="30" width="160">
|
|
430 |
<position x="565" y="630"/>
|
|
431 |
<connectionPointOut>
|
|
432 |
<relPosition x="160" y="15"/>
|
|
433 |
</connectionPointOut>
|
|
434 |
<expression>')'</expression>
|
|
435 |
</inVariable>
|
|
436 |
<block localId="48" width="80" height="100" typeName="CONCAT">
|
|
437 |
<position x="750" y="555"/>
|
|
438 |
<inputVariables>
|
|
439 |
<variable formalParameter="EN">
|
|
440 |
<connectionPointIn>
|
|
441 |
<relPosition x="0" y="30"/>
|
|
442 |
<connection refLocalId="49" formalParameter="ENO">
|
|
443 |
<position x="750" y="585"/>
|
|
444 |
<position x="740" y="585"/>
|
|
445 |
<position x="740" y="515"/>
|
|
446 |
<position x="715" y="515"/>
|
|
447 |
</connection>
|
|
448 |
</connectionPointIn>
|
|
449 |
</variable>
|
|
450 |
<variable formalParameter="IN1">
|
|
451 |
<connectionPointIn>
|
|
452 |
<relPosition x="0" y="50"/>
|
|
453 |
<connection refLocalId="51">
|
|
454 |
<position x="750" y="605"/>
|
|
455 |
<position x="725" y="605"/>
|
|
456 |
</connection>
|
|
457 |
</connectionPointIn>
|
|
458 |
</variable>
|
|
459 |
<variable formalParameter="IN2">
|
|
460 |
<connectionPointIn>
|
|
461 |
<relPosition x="0" y="70"/>
|
|
462 |
<connection refLocalId="49" formalParameter="OUT">
|
|
463 |
<position x="750" y="625"/>
|
|
464 |
<position x="735" y="625"/>
|
|
465 |
<position x="735" y="545"/>
|
|
466 |
<position x="715" y="545"/>
|
|
467 |
</connection>
|
|
468 |
</connectionPointIn>
|
|
469 |
</variable>
|
|
470 |
<variable formalParameter="IN3">
|
|
471 |
<connectionPointIn>
|
|
472 |
<relPosition x="0" y="90"/>
|
|
473 |
<connection refLocalId="47">
|
|
474 |
<position x="750" y="645"/>
|
|
475 |
<position x="725" y="645"/>
|
|
476 |
</connection>
|
|
477 |
</connectionPointIn>
|
|
478 |
</variable>
|
|
479 |
</inputVariables>
|
|
480 |
<inOutVariables/>
|
|
481 |
<outputVariables>
|
|
482 |
<variable formalParameter="ENO">
|
|
483 |
<connectionPointOut>
|
|
484 |
<relPosition x="80" y="30"/>
|
|
485 |
</connectionPointOut>
|
|
486 |
</variable>
|
|
487 |
<variable formalParameter="OUT">
|
|
488 |
<connectionPointOut>
|
|
489 |
<relPosition x="80" y="50"/>
|
|
490 |
</connectionPointOut>
|
|
491 |
</variable>
|
|
492 |
</outputVariables>
|
|
493 |
</block>
|
|
494 |
<block localId="49" width="145" height="80" typeName="INT_TO_STRING">
|
|
495 |
<position x="570" y="480"/>
|
|
496 |
<inputVariables>
|
|
497 |
<variable formalParameter="EN">
|
|
498 |
<connectionPointIn>
|
|
499 |
<relPosition x="0" y="35"/>
|
|
500 |
<connection refLocalId="50" formalParameter="ENO">
|
|
501 |
<position x="570" y="515"/>
|
|
502 |
<position x="525" y="515"/>
|
|
503 |
</connection>
|
|
504 |
</connectionPointIn>
|
|
505 |
</variable>
|
|
506 |
<variable formalParameter="IN">
|
|
507 |
<connectionPointIn>
|
|
508 |
<relPosition x="0" y="65"/>
|
|
509 |
<connection refLocalId="50" formalParameter="OUT">
|
|
510 |
<position x="570" y="545"/>
|
|
511 |
<position x="525" y="545"/>
|
|
512 |
</connection>
|
|
513 |
</connectionPointIn>
|
|
514 |
</variable>
|
|
515 |
</inputVariables>
|
|
516 |
<inOutVariables/>
|
|
517 |
<outputVariables>
|
|
518 |
<variable formalParameter="ENO">
|
|
519 |
<connectionPointOut>
|
|
520 |
<relPosition x="145" y="35"/>
|
|
521 |
</connectionPointOut>
|
|
522 |
</variable>
|
|
523 |
<variable formalParameter="OUT">
|
|
524 |
<connectionPointOut>
|
|
525 |
<relPosition x="145" y="65"/>
|
|
526 |
</connectionPointOut>
|
|
527 |
</variable>
|
|
528 |
</outputVariables>
|
|
529 |
</block>
|
|
530 |
<block localId="50" width="145" height="80" typeName="STRING_TO_INT">
|
|
531 |
<position x="380" y="480"/>
|
|
532 |
<inputVariables>
|
|
533 |
<variable formalParameter="EN">
|
|
534 |
<connectionPointIn>
|
|
535 |
<relPosition x="0" y="35"/>
|
|
536 |
<connection refLocalId="8" formalParameter="ACK">
|
|
537 |
<position x="380" y="515"/>
|
|
538 |
<position x="340" y="515"/>
|
|
539 |
</connection>
|
|
540 |
</connectionPointIn>
|
|
541 |
</variable>
|
|
542 |
<variable formalParameter="IN">
|
|
543 |
<connectionPointIn>
|
|
544 |
<relPosition x="0" y="65"/>
|
|
545 |
<connection refLocalId="8" formalParameter="RESULT">
|
|
546 |
<position x="380" y="545"/>
|
|
547 |
<position x="340" y="545"/>
|
|
548 |
</connection>
|
|
549 |
</connectionPointIn>
|
|
550 |
</variable>
|
|
551 |
</inputVariables>
|
|
552 |
<inOutVariables/>
|
|
553 |
<outputVariables>
|
|
554 |
<variable formalParameter="ENO">
|
|
555 |
<connectionPointOut>
|
|
556 |
<relPosition x="145" y="35"/>
|
|
557 |
</connectionPointOut>
|
|
558 |
</variable>
|
|
559 |
<variable formalParameter="OUT">
|
|
560 |
<connectionPointOut>
|
|
561 |
<relPosition x="145" y="65"/>
|
|
562 |
</connectionPointOut>
|
|
563 |
</variable>
|
|
564 |
</outputVariables>
|
|
565 |
</block>
|
|
566 |
<inVariable localId="51" height="30" width="340">
|
|
567 |
<position x="385" y="590"/>
|
|
568 |
<connectionPointOut>
|
|
569 |
<relPosition x="340" y="15"/>
|
|
570 |
</connectionPointOut>
|
|
571 |
<expression>'HMIFrame.spin_ctrl_Y.SetValue('</expression>
|
|
572 |
</inVariable>
|
|
573 |
<block localId="52" width="125" height="65" typeName="python_poll" instanceName="pollX">
|
|
574 |
<position x="875" y="310"/>
|
287
|
575 |
<inputVariables>
|
|
576 |
<variable formalParameter="TRIG">
|
|
577 |
<connectionPointIn>
|
306
|
578 |
<relPosition x="0" y="30"/>
|
|
579 |
<connection refLocalId="42" formalParameter="ENO">
|
|
580 |
<position x="875" y="340"/>
|
|
581 |
<position x="830" y="340"/>
|
287
|
582 |
</connection>
|
|
583 |
</connectionPointIn>
|
|
584 |
</variable>
|
|
585 |
<variable formalParameter="CODE">
|
|
586 |
<connectionPointIn>
|
306
|
587 |
<relPosition x="0" y="55"/>
|
|
588 |
<connection refLocalId="42" formalParameter="OUT">
|
|
589 |
<position x="875" y="365"/>
|
|
590 |
<position x="855" y="365"/>
|
|
591 |
<position x="855" y="360"/>
|
|
592 |
<position x="830" y="360"/>
|
287
|
593 |
</connection>
|
|
594 |
</connectionPointIn>
|
|
595 |
</variable>
|
|
596 |
</inputVariables>
|
|
597 |
<inOutVariables/>
|
|
598 |
<outputVariables>
|
|
599 |
<variable formalParameter="ACK">
|
|
600 |
<connectionPointOut>
|
306
|
601 |
<relPosition x="125" y="30"/>
|
287
|
602 |
</connectionPointOut>
|
|
603 |
</variable>
|
|
604 |
<variable formalParameter="RESULT">
|
|
605 |
<connectionPointOut>
|
306
|
606 |
<relPosition x="125" y="55"/>
|
|
607 |
</connectionPointOut>
|
|
608 |
</variable>
|
|
609 |
</outputVariables>
|
|
610 |
</block>
|
|
611 |
<block localId="53" width="125" height="65" typeName="python_poll" instanceName="pollY">
|
|
612 |
<position x="875" y="555"/>
|
|
613 |
<inputVariables>
|
|
614 |
<variable formalParameter="TRIG">
|
287
|
615 |
<connectionPointIn>
|
|
616 |
<relPosition x="0" y="30"/>
|
306
|
617 |
<connection refLocalId="48" formalParameter="ENO">
|
|
618 |
<position x="875" y="585"/>
|
|
619 |
<position x="830" y="585"/>
|
|
620 |
</connection>
|
|
621 |
</connectionPointIn>
|
|
622 |
</variable>
|
|
623 |
<variable formalParameter="CODE">
|
287
|
624 |
<connectionPointIn>
|
|
625 |
<relPosition x="0" y="55"/>
|
306
|
626 |
<connection refLocalId="48" formalParameter="OUT">
|
|
627 |
<position x="875" y="610"/>
|
|
628 |
<position x="857" y="610"/>
|
|
629 |
<position x="857" y="605"/>
|
|
630 |
<position x="830" y="605"/>
|
|
631 |
</connection>
|
|
632 |
</connectionPointIn>
|
|
633 |
</variable>
|
|
634 |
</inputVariables>
|
|
635 |
<inOutVariables/>
|
|
636 |
<outputVariables>
|
|
637 |
<variable formalParameter="ACK">
|
|
638 |
<connectionPointOut>
|
|
639 |
<relPosition x="125" y="30"/>
|
|
640 |
</connectionPointOut>
|
|
641 |
</variable>
|
|
642 |
<variable formalParameter="RESULT">
|
|
643 |
<connectionPointOut>
|
|
644 |
<relPosition x="125" y="55"/>
|
|
645 |
</connectionPointOut>
|
|
646 |
</variable>
|
|
647 |
</outputVariables>
|
|
648 |
</block>
|
287
|
649 |
</FBD>
|
|
650 |
</body>
|
|
651 |
</pou>
|
|
652 |
</pous>
|
|
653 |
</types>
|
|
654 |
<instances>
|
|
655 |
<configurations>
|
|
656 |
<configuration name="conf_pytest">
|
|
657 |
<resource name="res_pytest">
|
|
658 |
<task name="pytest_task" interval="00:00:00.100000" priority="0"/>
|
|
659 |
<pouInstance name="pytest_instance" type="main_pytest"/>
|
|
660 |
</resource>
|
|
661 |
</configuration>
|
|
662 |
</configurations>
|
|
663 |
</instances>
|
|
664 |
</project>
|