author | lbessard |
Wed, 14 Jan 2009 19:44:36 +0100 | |
changeset 292 | a47081eb6cec |
parent 177 | 8b3faaf3715e |
permissions | -rw-r--r-- |
167 | 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 companyName="LOLITECH" |
|
7 |
companyURL="www.lolitech.com" |
|
8 |
productName="BREMIZ" |
|
9 |
productVersion="1" |
|
10 |
productRelease="1" |
|
11 |
creationDateTime="2007-07-07 11:58:26" |
|
12 |
contentDescription="This tests as most as possible IEC standard library"/> |
|
13 |
<contentHeader name="STD_TEST" |
|
177
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
14 |
modificationDateTime="2008-06-26 18:38:30"> |
167 | 15 |
<coordinateInfo> |
16 |
<fbd> |
|
17 |
<scaling x="5" y="5"/> |
|
18 |
</fbd> |
|
19 |
<ld> |
|
20 |
<scaling x="5" y="5"/> |
|
21 |
</ld> |
|
22 |
<sfc> |
|
23 |
<scaling x="5" y="5"/> |
|
24 |
</sfc> |
|
25 |
</coordinateInfo> |
|
26 |
</contentHeader> |
|
27 |
<types> |
|
28 |
<dataTypes> |
|
29 |
<dataType name="MYTYPE"> |
|
30 |
<baseType> |
|
31 |
<subrangeSigned> |
|
32 |
<range lower="0" upper="1000"/> |
|
33 |
<baseType> |
|
34 |
<INT/> |
|
35 |
</baseType> |
|
36 |
</subrangeSigned> |
|
37 |
</baseType> |
|
38 |
</dataType> |
|
39 |
<dataType name="MYTYPE2"> |
|
40 |
<baseType> |
|
41 |
<enum> |
|
42 |
<values> |
|
43 |
<value name="OPEN"/> |
|
44 |
<value name="CLOSED"/> |
|
45 |
</values> |
|
46 |
</enum> |
|
47 |
</baseType> |
|
48 |
<initialValue> |
|
49 |
<simpleValue value="CLOSED"/> |
|
50 |
</initialValue> |
|
51 |
</dataType> |
|
52 |
<dataType name="MYTYPE3"> |
|
53 |
<baseType> |
|
54 |
<array> |
|
55 |
<dimension lower="0" upper="7"/> |
|
56 |
<dimension lower="1" upper="8"/> |
|
57 |
<baseType> |
|
58 |
<derived name="MYTYPE5"/> |
|
59 |
</baseType> |
|
60 |
</array> |
|
61 |
</baseType> |
|
62 |
<initialValue> |
|
63 |
<arrayValue> |
|
64 |
<value repetitionValue="32"> |
|
65 |
<simpleValue value="0"/> |
|
66 |
</value> |
|
67 |
<value repetitionValue="30"> |
|
68 |
<simpleValue value="1"/> |
|
69 |
</value> |
|
70 |
</arrayValue> |
|
71 |
</initialValue> |
|
72 |
</dataType> |
|
73 |
<dataType name="MYTYPE4"> |
|
74 |
<baseType> |
|
75 |
<subrangeUnsigned> |
|
76 |
<range lower="1" upper="100"/> |
|
77 |
<baseType> |
|
78 |
<UINT/> |
|
79 |
</baseType> |
|
80 |
</subrangeUnsigned> |
|
81 |
</baseType> |
|
82 |
</dataType> |
|
83 |
<dataType name="MYTYPE5"> |
|
84 |
<baseType> |
|
85 |
<derived name="MYTYPE4"/> |
|
86 |
</baseType> |
|
87 |
<initialValue> |
|
88 |
<simpleValue value="10"/> |
|
89 |
</initialValue> |
|
90 |
</dataType> |
|
91 |
</dataTypes> |
|
92 |
<pous> |
|
93 |
<pou name="MAIN_TEST" pouType="program"> |
|
94 |
<interface> |
|
95 |
<localVars> |
|
96 |
<variable name="DigitalOut" address="%QB0.0.16.25088.1"> |
|
97 |
<type> |
|
98 |
<BYTE/> |
|
99 |
</type> |
|
100 |
</variable> |
|
101 |
<variable name="DigitalIn" address="%IB0.0.32.24576.1"> |
|
102 |
<type> |
|
103 |
<BYTE/> |
|
104 |
</type> |
|
105 |
</variable> |
|
106 |
<variable name="AnalogOut1" address="%QW0.0.16.25617.1"> |
|
107 |
<type> |
|
108 |
<derived name="MYTYPE"/> |
|
109 |
</type> |
|
110 |
</variable> |
|
111 |
<variable name="AnalogOut2" address="%QW0.0.16.25617.2"> |
|
112 |
<type> |
|
113 |
<derived name="MYTYPE"/> |
|
114 |
</type> |
|
115 |
</variable> |
|
116 |
<variable name="AnalogOut3" address="%QW0.0.16.25617.3"> |
|
117 |
<type> |
|
118 |
<INT/> |
|
119 |
</type> |
|
120 |
</variable> |
|
121 |
<variable name="AnalogIn1" address="%IW0.0.32.25601.1"> |
|
122 |
<type> |
|
123 |
<INT/> |
|
124 |
</type> |
|
125 |
</variable> |
|
126 |
<variable name="AnalogIn2" address="%IW0.0.32.25601.2"> |
|
127 |
<type> |
|
128 |
<INT/> |
|
129 |
</type> |
|
130 |
</variable> |
|
131 |
</localVars> |
|
132 |
<localVars> |
|
133 |
<variable name="Test"> |
|
134 |
<type> |
|
135 |
<derived name="Bitwise_Block"/> |
|
136 |
</type> |
|
137 |
</variable> |
|
138 |
<variable name="Test2"> |
|
139 |
<type> |
|
140 |
<derived name="Test_SFC"/> |
|
141 |
</type> |
|
142 |
</variable> |
|
143 |
<variable name="t1"> |
|
144 |
<type> |
|
145 |
<derived name="TOF"/> |
|
146 |
</type> |
|
147 |
</variable> |
|
148 |
<variable name="latch"> |
|
149 |
<type> |
|
150 |
<derived name="RS"/> |
|
151 |
</type> |
|
152 |
</variable> |
|
153 |
<variable name="t2"> |
|
154 |
<type> |
|
155 |
<derived name="TOF"/> |
|
156 |
</type> |
|
157 |
</variable> |
|
158 |
<variable name="test1"> |
|
159 |
<type> |
|
160 |
<derived name="Button"/> |
|
161 |
</type> |
|
162 |
</variable> |
|
163 |
<variable name="test2"> |
|
164 |
<type> |
|
165 |
<derived name="Button"/> |
|
166 |
</type> |
|
167 |
</variable> |
|
168 |
<variable name="LED1"> |
|
169 |
<type> |
|
170 |
<derived name="Button"/> |
|
171 |
</type> |
|
172 |
</variable> |
|
173 |
<variable name="LED2"> |
|
174 |
<type> |
|
175 |
<derived name="Button"/> |
|
176 |
</type> |
|
177 |
</variable> |
|
178 |
<variable name="LED3"> |
|
179 |
<type> |
|
180 |
<derived name="Button"/> |
|
181 |
</type> |
|
182 |
</variable> |
|
183 |
<variable name="LED4"> |
|
184 |
<type> |
|
185 |
<derived name="Button"/> |
|
186 |
</type> |
|
187 |
</variable> |
|
188 |
<variable name="counter1"> |
|
189 |
<type> |
|
190 |
<derived name="RotatingCtrl"/> |
|
191 |
</type> |
|
192 |
</variable> |
|
193 |
<variable name="counter2"> |
|
194 |
<type> |
|
195 |
<derived name="RotatingCtrl"/> |
|
196 |
</type> |
|
197 |
</variable> |
|
198 |
</localVars> |
|
199 |
</interface> |
|
200 |
<body> |
|
201 |
<FBD> |
|
202 |
<comment localId="26" height="80" width="475"> |
|
203 |
<position x="25" y="5"/> |
|
204 |
<content> |
|
205 |
<![CDATA[Main program]]> |
|
206 |
</content> |
|
207 |
</comment> |
|
208 |
<inVariable localId="40" height="30" width="100"> |
|
209 |
<position x="25" y="155"/> |
|
210 |
<connectionPointOut> |
|
211 |
<relPosition x="100" y="15"/> |
|
212 |
</connectionPointOut> |
|
213 |
<expression>DigitalOut</expression> |
|
214 |
</inVariable> |
|
215 |
<block localId="52" width="127" height="141" typeName="Bitwise_Block" instanceName="Test"> |
|
216 |
<position x="410" y="535"/> |
|
217 |
<inputVariables> |
|
218 |
<variable formalParameter="IN1"> |
|
219 |
<connectionPointIn> |
|
220 |
<relPosition x="0" y="35"/> |
|
221 |
<connection refLocalId="105" formalParameter="State"> |
|
222 |
<position x="410" y="570"/> |
|
223 |
<position x="240" y="570"/> |
|
224 |
</connection> |
|
225 |
</connectionPointIn> |
|
226 |
</variable> |
|
227 |
<variable formalParameter="IN2"> |
|
228 |
<connectionPointIn> |
|
229 |
<relPosition x="0" y="65"/> |
|
230 |
<connection refLocalId="106" formalParameter="State"> |
|
231 |
<position x="410" y="600"/> |
|
232 |
<position x="350" y="600"/> |
|
233 |
<position x="350" y="710"/> |
|
234 |
<position x="240" y="710"/> |
|
235 |
</connection> |
|
236 |
</connectionPointIn> |
|
237 |
</variable> |
|
238 |
</inputVariables> |
|
239 |
<inOutVariables/> |
|
240 |
<outputVariables> |
|
241 |
<variable formalParameter="OUT_AND"> |
|
242 |
<connectionPointOut> |
|
243 |
<relPosition x="127" y="35"/> |
|
244 |
</connectionPointOut> |
|
245 |
</variable> |
|
246 |
<variable formalParameter="OUT_OR"> |
|
247 |
<connectionPointOut> |
|
248 |
<relPosition x="127" y="65"/> |
|
249 |
</connectionPointOut> |
|
250 |
</variable> |
|
251 |
<variable formalParameter="OUT_XOR"> |
|
252 |
<connectionPointOut> |
|
253 |
<relPosition x="127" y="95"/> |
|
254 |
</connectionPointOut> |
|
255 |
</variable> |
|
256 |
<variable formalParameter="OUT_SR"> |
|
257 |
<connectionPointOut> |
|
258 |
<relPosition x="127" y="125"/> |
|
259 |
</connectionPointOut> |
|
260 |
</variable> |
|
261 |
</outputVariables> |
|
262 |
</block> |
|
263 |
<inVariable localId="59" height="30" width="100"> |
|
264 |
<position x="45" y="910"/> |
|
265 |
<connectionPointOut> |
|
266 |
<relPosition x="100" y="15"/> |
|
267 |
</connectionPointOut> |
|
268 |
<expression>AnalogOut1</expression> |
|
269 |
</inVariable> |
|
270 |
<outVariable localId="60" height="30" width="100"> |
|
271 |
<position x="910" y="840"/> |
|
272 |
<connectionPointIn> |
|
273 |
<relPosition x="0" y="15"/> |
|
274 |
<connection refLocalId="69" formalParameter="OUT1"> |
|
275 |
<position x="910" y="855"/> |
|
276 |
<position x="610" y="855"/> |
|
277 |
</connection> |
|
278 |
</connectionPointIn> |
|
279 |
<expression>AnalogOut1</expression> |
|
280 |
</outVariable> |
|
281 |
<inVariable localId="64" height="30" width="95"> |
|
282 |
<position x="45" y="980"/> |
|
283 |
<connectionPointOut> |
|
284 |
<relPosition x="95" y="15"/> |
|
285 |
</connectionPointOut> |
|
286 |
<expression>AnalogIn1</expression> |
|
287 |
</inVariable> |
|
288 |
<block localId="69" width="160" height="230" typeName="Test_SFC" instanceName="Test2"> |
|
289 |
<position x="450" y="820"/> |
|
290 |
<inputVariables> |
|
291 |
<variable formalParameter="CNT1"> |
|
292 |
<connectionPointIn> |
|
293 |
<relPosition x="0" y="35"/> |
|
294 |
<connection refLocalId="105" formalParameter="State"> |
|
295 |
<position x="450" y="855"/> |
|
296 |
<position x="380" y="855"/> |
|
297 |
<position x="380" y="570"/> |
|
298 |
<position x="240" y="570"/> |
|
299 |
</connection> |
|
300 |
</connectionPointIn> |
|
301 |
</variable> |
|
302 |
<variable formalParameter="CNT2"> |
|
303 |
<connectionPointIn> |
|
304 |
<relPosition x="0" y="70"/> |
|
305 |
<connection refLocalId="106" formalParameter="State"> |
|
306 |
<position x="450" y="890"/> |
|
307 |
<position x="350" y="890"/> |
|
308 |
<position x="350" y="710"/> |
|
309 |
<position x="240" y="710"/> |
|
310 |
</connection> |
|
311 |
</connectionPointIn> |
|
312 |
</variable> |
|
313 |
<variable formalParameter="IN1"> |
|
314 |
<connectionPointIn> |
|
315 |
<relPosition x="0" y="105"/> |
|
316 |
<connection refLocalId="59"> |
|
317 |
<position x="450" y="925"/> |
|
318 |
<position x="145" y="925"/> |
|
319 |
</connection> |
|
320 |
</connectionPointIn> |
|
321 |
</variable> |
|
322 |
<variable formalParameter="IN2"> |
|
323 |
<connectionPointIn> |
|
324 |
<relPosition x="0" y="140"/> |
|
325 |
<connection refLocalId="71"> |
|
326 |
<position x="450" y="960"/> |
|
327 |
<position x="145" y="960"/> |
|
328 |
</connection> |
|
329 |
</connectionPointIn> |
|
330 |
</variable> |
|
331 |
<variable formalParameter="UPPER1"> |
|
332 |
<connectionPointIn> |
|
333 |
<relPosition x="0" y="175"/> |
|
334 |
<connection refLocalId="64"> |
|
335 |
<position x="450" y="995"/> |
|
336 |
<position x="140" y="995"/> |
|
337 |
</connection> |
|
338 |
</connectionPointIn> |
|
339 |
</variable> |
|
340 |
<variable formalParameter="UPPER2"> |
|
341 |
<connectionPointIn> |
|
342 |
<relPosition x="0" y="210"/> |
|
343 |
<connection refLocalId="72"> |
|
344 |
<position x="450" y="1030"/> |
|
345 |
<position x="140" y="1030"/> |
|
346 |
</connection> |
|
347 |
</connectionPointIn> |
|
348 |
</variable> |
|
349 |
</inputVariables> |
|
350 |
<inOutVariables/> |
|
351 |
<outputVariables> |
|
352 |
<variable formalParameter="OUT1"> |
|
353 |
<connectionPointOut> |
|
354 |
<relPosition x="160" y="35"/> |
|
355 |
</connectionPointOut> |
|
356 |
</variable> |
|
357 |
<variable formalParameter="OUT2"> |
|
358 |
<connectionPointOut> |
|
359 |
<relPosition x="160" y="70"/> |
|
360 |
</connectionPointOut> |
|
361 |
</variable> |
|
362 |
</outputVariables> |
|
363 |
</block> |
|
364 |
<outVariable localId="70" height="30" width="100"> |
|
365 |
<position x="910" y="875"/> |
|
366 |
<connectionPointIn> |
|
367 |
<relPosition x="0" y="15"/> |
|
368 |
<connection refLocalId="69" formalParameter="OUT2"> |
|
369 |
<position x="910" y="890"/> |
|
370 |
<position x="610" y="890"/> |
|
371 |
</connection> |
|
372 |
</connectionPointIn> |
|
373 |
<expression>AnalogOut2</expression> |
|
374 |
</outVariable> |
|
375 |
<inVariable localId="71" height="30" width="100"> |
|
376 |
<position x="45" y="945"/> |
|
377 |
<connectionPointOut> |
|
378 |
<relPosition x="100" y="15"/> |
|
379 |
</connectionPointOut> |
|
380 |
<expression>AnalogOut2</expression> |
|
381 |
</inVariable> |
|
382 |
<inVariable localId="72" height="35" width="95"> |
|
383 |
<position x="45" y="1015"/> |
|
384 |
<connectionPointOut> |
|
385 |
<relPosition x="95" y="15"/> |
|
386 |
</connectionPointOut> |
|
387 |
<expression>AnalogIn2</expression> |
|
388 |
</inVariable> |
|
389 |
<block localId="73" width="120" height="80" typeName="SETBIT"> |
|
390 |
<position x="745" y="140"/> |
|
391 |
<inputVariables> |
|
392 |
<variable formalParameter="INPUT_BYTE"> |
|
393 |
<connectionPointIn> |
|
394 |
<relPosition x="0" y="30"/> |
|
395 |
<connection refLocalId="40"> |
|
396 |
<position x="745" y="170"/> |
|
397 |
<position x="125" y="170"/> |
|
398 |
</connection> |
|
399 |
</connectionPointIn> |
|
400 |
</variable> |
|
401 |
<variable formalParameter="INPUT_BIT"> |
|
402 |
<connectionPointIn> |
|
403 |
<relPosition x="0" y="50"/> |
|
404 |
<connection refLocalId="77" formalParameter="Q"> |
|
405 |
<position x="745" y="190"/> |
|
406 |
<position x="526" y="190"/> |
|
407 |
<position x="526" y="220"/> |
|
408 |
<position x="507" y="220"/> |
|
409 |
</connection> |
|
410 |
</connectionPointIn> |
|
411 |
</variable> |
|
412 |
<variable formalParameter="NUM_BIT"> |
|
413 |
<connectionPointIn> |
|
414 |
<relPosition x="0" y="70"/> |
|
415 |
<connection refLocalId="74"> |
|
416 |
<position x="745" y="210"/> |
|
417 |
<position x="540" y="210"/> |
|
418 |
<position x="540" y="295"/> |
|
419 |
<position x="95" y="295"/> |
|
420 |
</connection> |
|
421 |
</connectionPointIn> |
|
422 |
</variable> |
|
423 |
</inputVariables> |
|
424 |
<inOutVariables/> |
|
425 |
<outputVariables> |
|
426 |
<variable formalParameter=""> |
|
427 |
<connectionPointOut> |
|
428 |
<relPosition x="120" y="30"/> |
|
429 |
</connectionPointOut> |
|
430 |
</variable> |
|
431 |
</outputVariables> |
|
432 |
</block> |
|
433 |
<inVariable localId="74" height="30" width="65"> |
|
434 |
<position x="30" y="280"/> |
|
435 |
<connectionPointOut> |
|
436 |
<relPosition x="65" y="15"/> |
|
437 |
</connectionPointOut> |
|
438 |
<expression>UINT#7</expression> |
|
439 |
</inVariable> |
|
440 |
<block localId="75" width="120" height="60" typeName="GETBIT"> |
|
441 |
<position x="170" y="190"/> |
|
442 |
<inputVariables> |
|
443 |
<variable formalParameter="INPUT_BYTE"> |
|
444 |
<connectionPointIn> |
|
445 |
<relPosition x="0" y="30"/> |
|
446 |
<connection refLocalId="40"> |
|
447 |
<position x="170" y="220"/> |
|
448 |
<position x="150" y="220"/> |
|
449 |
<position x="150" y="170"/> |
|
450 |
<position x="125" y="170"/> |
|
451 |
</connection> |
|
452 |
</connectionPointIn> |
|
453 |
</variable> |
|
454 |
<variable formalParameter="NUM_BIT"> |
|
455 |
<connectionPointIn> |
|
456 |
<relPosition x="0" y="50"/> |
|
457 |
<connection refLocalId="74"> |
|
458 |
<position x="170" y="240"/> |
|
459 |
<position x="151" y="240"/> |
|
460 |
<position x="151" y="295"/> |
|
461 |
<position x="95" y="295"/> |
|
462 |
</connection> |
|
463 |
</connectionPointIn> |
|
464 |
</variable> |
|
465 |
</inputVariables> |
|
466 |
<inOutVariables/> |
|
467 |
<outputVariables> |
|
468 |
<variable formalParameter=""> |
|
469 |
<connectionPointOut> |
|
470 |
<relPosition x="120" y="30"/> |
|
471 |
</connectionPointOut> |
|
472 |
</variable> |
|
473 |
</outputVariables> |
|
474 |
</block> |
|
475 |
<outVariable localId="76" height="30" width="100"> |
|
476 |
<position x="910" y="155"/> |
|
477 |
<connectionPointIn> |
|
478 |
<relPosition x="0" y="15"/> |
|
479 |
<connection refLocalId="73"> |
|
480 |
<position x="910" y="170"/> |
|
481 |
<position x="865" y="170"/> |
|
482 |
</connection> |
|
483 |
</connectionPointIn> |
|
484 |
<expression>DigitalOut</expression> |
|
485 |
</outVariable> |
|
486 |
<block localId="77" width="57" height="60" typeName="TP" instanceName="t1"> |
|
487 |
<position x="450" y="190"/> |
|
488 |
<inputVariables> |
|
489 |
<variable formalParameter="IN" negated="true"> |
|
490 |
<connectionPointIn> |
|
491 |
<relPosition x="0" y="30"/> |
|
492 |
<connection refLocalId="85" formalParameter="Q"> |
|
493 |
<position x="450" y="220"/> |
|
494 |
<position x="400" y="220"/> |
|
495 |
</connection> |
|
496 |
</connectionPointIn> |
|
497 |
</variable> |
|
498 |
<variable formalParameter="PT"> |
|
499 |
<connectionPointIn> |
|
500 |
<relPosition x="0" y="50"/> |
|
501 |
<connection refLocalId="80"> |
|
502 |
<position x="450" y="240"/> |
|
503 |
<position x="420" y="240"/> |
|
504 |
<position x="420" y="270"/> |
|
505 |
<position x="220" y="270"/> |
|
506 |
</connection> |
|
507 |
</connectionPointIn> |
|
508 |
</variable> |
|
509 |
</inputVariables> |
|
510 |
<inOutVariables/> |
|
511 |
<outputVariables> |
|
512 |
<variable formalParameter="Q"> |
|
513 |
<connectionPointOut> |
|
514 |
<relPosition x="57" y="30"/> |
|
515 |
</connectionPointOut> |
|
516 |
</variable> |
|
517 |
<variable formalParameter="ET"> |
|
518 |
<connectionPointOut> |
|
519 |
<relPosition x="57" y="50"/> |
|
520 |
</connectionPointOut> |
|
521 |
</variable> |
|
522 |
</outputVariables> |
|
523 |
</block> |
|
524 |
<inVariable localId="80" height="27" width="50"> |
|
525 |
<position x="170" y="255"/> |
|
526 |
<connectionPointOut> |
|
527 |
<relPosition x="50" y="15"/> |
|
528 |
</connectionPointOut> |
|
529 |
<expression>T#1s</expression> |
|
530 |
</inVariable> |
|
531 |
<block localId="85" width="60" height="60" typeName="TOF" instanceName="t2"> |
|
532 |
<position x="340" y="190"/> |
|
533 |
<inputVariables> |
|
534 |
<variable formalParameter="IN"> |
|
535 |
<connectionPointIn> |
|
536 |
<relPosition x="0" y="30"/> |
|
537 |
<connection refLocalId="75"> |
|
538 |
<position x="340" y="220"/> |
|
539 |
<position x="290" y="220"/> |
|
540 |
</connection> |
|
541 |
</connectionPointIn> |
|
542 |
</variable> |
|
543 |
<variable formalParameter="PT"> |
|
544 |
<connectionPointIn> |
|
545 |
<relPosition x="0" y="50"/> |
|
546 |
<connection refLocalId="80"> |
|
547 |
<position x="340" y="240"/> |
|
548 |
<position x="296" y="240"/> |
|
549 |
<position x="296" y="270"/> |
|
550 |
<position x="220" y="270"/> |
|
551 |
</connection> |
|
552 |
</connectionPointIn> |
|
553 |
</variable> |
|
554 |
</inputVariables> |
|
555 |
<inOutVariables/> |
|
556 |
<outputVariables> |
|
557 |
<variable formalParameter="Q"> |
|
558 |
<connectionPointOut> |
|
559 |
<relPosition x="60" y="30"/> |
|
560 |
</connectionPointOut> |
|
561 |
</variable> |
|
562 |
<variable formalParameter="ET"> |
|
563 |
<connectionPointOut> |
|
564 |
<relPosition x="60" y="50"/> |
|
565 |
</connectionPointOut> |
|
566 |
</variable> |
|
567 |
</outputVariables> |
|
568 |
</block> |
|
569 |
<outVariable localId="86" height="30" width="100"> |
|
570 |
<position x="910" y="330"/> |
|
571 |
<connectionPointIn> |
|
572 |
<relPosition x="0" y="15"/> |
|
573 |
<connection refLocalId="90" formalParameter="OUT"> |
|
574 |
<position x="910" y="345"/> |
|
575 |
<position x="865" y="345"/> |
|
576 |
</connection> |
|
577 |
</connectionPointIn> |
|
578 |
<expression>AnalogOut3</expression> |
|
579 |
</outVariable> |
|
580 |
<block localId="87" width="120" height="40" typeName="TIME_TO_REAL"> |
|
581 |
<position x="455" y="315"/> |
|
582 |
<inputVariables> |
|
583 |
<variable formalParameter="IN"> |
|
584 |
<connectionPointIn> |
|
585 |
<relPosition x="0" y="30"/> |
|
586 |
<connection refLocalId="77" formalParameter="ET"> |
|
587 |
<position x="455" y="345"/> |
|
588 |
<position x="445" y="345"/> |
|
589 |
<position x="445" y="275"/> |
|
590 |
<position x="517" y="275"/> |
|
591 |
<position x="517" y="240"/> |
|
592 |
<position x="507" y="240"/> |
|
593 |
</connection> |
|
594 |
</connectionPointIn> |
|
595 |
</variable> |
|
596 |
</inputVariables> |
|
597 |
<inOutVariables/> |
|
598 |
<outputVariables> |
|
599 |
<variable formalParameter="OUT"> |
|
600 |
<connectionPointOut> |
|
601 |
<relPosition x="120" y="30"/> |
|
602 |
</connectionPointOut> |
|
603 |
</variable> |
|
604 |
</outputVariables> |
|
605 |
</block> |
|
606 |
<block localId="88" width="80" height="60" typeName="MUL"> |
|
607 |
<position x="630" y="315"/> |
|
608 |
<inputVariables> |
|
609 |
<variable formalParameter="IN1"> |
|
610 |
<connectionPointIn> |
|
611 |
<relPosition x="0" y="30"/> |
|
612 |
<connection refLocalId="87" formalParameter="OUT"> |
|
613 |
<position x="630" y="345"/> |
|
614 |
<position x="575" y="345"/> |
|
615 |
</connection> |
|
616 |
</connectionPointIn> |
|
617 |
</variable> |
|
618 |
<variable formalParameter="IN2"> |
|
619 |
<connectionPointIn> |
|
620 |
<relPosition x="0" y="50"/> |
|
621 |
<connection refLocalId="89"> |
|
622 |
<position x="630" y="365"/> |
|
623 |
<position x="607" y="365"/> |
|
624 |
<position x="607" y="400"/> |
|
625 |
<position x="585" y="400"/> |
|
626 |
</connection> |
|
627 |
</connectionPointIn> |
|
628 |
</variable> |
|
629 |
</inputVariables> |
|
630 |
<inOutVariables/> |
|
631 |
<outputVariables> |
|
632 |
<variable formalParameter="OUT"> |
|
633 |
<connectionPointOut> |
|
634 |
<relPosition x="80" y="30"/> |
|
635 |
</connectionPointOut> |
|
636 |
</variable> |
|
637 |
</outputVariables> |
|
638 |
</block> |
|
639 |
<inVariable localId="89" height="35" width="120"> |
|
640 |
<position x="465" y="385"/> |
|
641 |
<connectionPointOut> |
|
642 |
<relPosition x="120" y="15"/> |
|
643 |
</connectionPointOut> |
|
644 |
<expression>REAL#10000.0</expression> |
|
645 |
</inVariable> |
|
646 |
<block localId="90" width="120" height="40" typeName="REAL_TO_INT"> |
|
647 |
<position x="745" y="315"/> |
|
648 |
<inputVariables> |
|
649 |
<variable formalParameter="IN"> |
|
650 |
<connectionPointIn> |
|
651 |
<relPosition x="0" y="30"/> |
|
652 |
<connection refLocalId="88" formalParameter="OUT"> |
|
653 |
<position x="745" y="345"/> |
|
654 |
<position x="710" y="345"/> |
|
655 |
</connection> |
|
656 |
</connectionPointIn> |
|
657 |
</variable> |
|
658 |
</inputVariables> |
|
659 |
<inOutVariables/> |
|
660 |
<outputVariables> |
|
661 |
<variable formalParameter="OUT"> |
|
662 |
<connectionPointOut> |
|
663 |
<relPosition x="120" y="30"/> |
|
664 |
</connectionPointOut> |
|
665 |
</variable> |
|
666 |
</outputVariables> |
|
667 |
</block> |
|
668 |
<comment localId="100" height="40" width="400"> |
|
669 |
<position x="25" y="100"/> |
|
670 |
<content> |
|
671 |
<![CDATA[A simple blinking output (2s period)]]> |
|
672 |
</content> |
|
673 |
</comment> |
|
674 |
<comment localId="102" height="40" width="430"> |
|
675 |
<position x="580" y="255"/> |
|
676 |
<content> |
|
677 |
<![CDATA[Output value of TP block as analog output #3]]> |
|
678 |
</content> |
|
679 |
</comment> |
|
680 |
<comment localId="103" height="65" width="420"> |
|
681 |
<position x="25" y="425"/> |
|
682 |
<content> |
|
683 |
<![CDATA[Map input and output of bitwise_block test to bits of DigitalIn and Digital out]]> |
|
684 |
</content> |
|
685 |
</comment> |
|
686 |
<comment localId="104" height="85" width="285"> |
|
687 |
<position x="40" y="805"/> |
|
688 |
<content> |
|
689 |
<![CDATA[Map AnalogIN #1 #2 and AnalogOUT #1 #2 to SFC test interface]]> |
|
690 |
</content> |
|
691 |
</comment> |
|
692 |
<block localId="105" width="150" height="100" typeName="Button" instanceName="test1"> |
|
693 |
<position x="90" y="535"/> |
|
694 |
<inputVariables> |
|
695 |
<variable formalParameter="Show"> |
|
696 |
<connectionPointIn> |
|
697 |
<relPosition x="0" y="35"/> |
|
698 |
</connectionPointIn> |
|
699 |
</variable> |
|
700 |
<variable formalParameter="Enable"> |
|
701 |
<connectionPointIn> |
|
702 |
<relPosition x="0" y="60"/> |
|
703 |
</connectionPointIn> |
|
704 |
</variable> |
|
705 |
<variable formalParameter="Toggle"> |
|
706 |
<connectionPointIn> |
|
707 |
<relPosition x="0" y="85"/> |
|
708 |
</connectionPointIn> |
|
709 |
</variable> |
|
710 |
</inputVariables> |
|
711 |
<inOutVariables/> |
|
712 |
<outputVariables> |
|
713 |
<variable formalParameter="State"> |
|
714 |
<connectionPointOut> |
|
715 |
<relPosition x="150" y="35"/> |
|
716 |
</connectionPointOut> |
|
717 |
</variable> |
|
718 |
</outputVariables> |
|
719 |
</block> |
|
720 |
<block localId="106" width="150" height="100" typeName="Button" instanceName="test2"> |
|
721 |
<position x="90" y="675"/> |
|
722 |
<inputVariables> |
|
723 |
<variable formalParameter="Show"> |
|
724 |
<connectionPointIn> |
|
725 |
<relPosition x="0" y="35"/> |
|
726 |
</connectionPointIn> |
|
727 |
</variable> |
|
728 |
<variable formalParameter="Enable"> |
|
729 |
<connectionPointIn> |
|
730 |
<relPosition x="0" y="60"/> |
|
731 |
</connectionPointIn> |
|
732 |
</variable> |
|
733 |
<variable formalParameter="Toggle"> |
|
734 |
<connectionPointIn> |
|
735 |
<relPosition x="0" y="85"/> |
|
736 |
</connectionPointIn> |
|
737 |
</variable> |
|
738 |
</inputVariables> |
|
739 |
<inOutVariables/> |
|
740 |
<outputVariables> |
|
741 |
<variable formalParameter="State"> |
|
742 |
<connectionPointOut> |
|
743 |
<relPosition x="150" y="35"/> |
|
744 |
</connectionPointOut> |
|
745 |
</variable> |
|
746 |
</outputVariables> |
|
747 |
</block> |
|
748 |
<block localId="107" width="150" height="90" typeName="Button" instanceName="LED1"> |
|
749 |
<position x="675" y="405"/> |
|
750 |
<inputVariables> |
|
751 |
<variable formalParameter="Show"> |
|
752 |
<connectionPointIn> |
|
753 |
<relPosition x="0" y="30"/> |
|
754 |
</connectionPointIn> |
|
755 |
</variable> |
|
756 |
<variable formalParameter="Enable"> |
|
757 |
<connectionPointIn> |
|
758 |
<relPosition x="0" y="55"/> |
|
759 |
</connectionPointIn> |
|
760 |
</variable> |
|
761 |
<variable formalParameter="Toggle"> |
|
762 |
<connectionPointIn> |
|
763 |
<relPosition x="0" y="75"/> |
|
764 |
<connection refLocalId="52" formalParameter="OUT_AND"> |
|
765 |
<position x="675" y="480"/> |
|
766 |
<position x="650" y="480"/> |
|
767 |
<position x="650" y="570"/> |
|
768 |
<position x="537" y="570"/> |
|
769 |
</connection> |
|
770 |
</connectionPointIn> |
|
771 |
</variable> |
|
772 |
</inputVariables> |
|
773 |
<inOutVariables/> |
|
774 |
<outputVariables> |
|
775 |
<variable formalParameter="State"> |
|
776 |
<connectionPointOut> |
|
777 |
<relPosition x="150" y="30"/> |
|
778 |
</connectionPointOut> |
|
779 |
</variable> |
|
780 |
</outputVariables> |
|
781 |
</block> |
|
782 |
<block localId="108" width="150" height="90" typeName="Button" instanceName="LED2"> |
|
783 |
<position x="675" y="525"/> |
|
784 |
<inputVariables> |
|
785 |
<variable formalParameter="Show"> |
|
786 |
<connectionPointIn> |
|
787 |
<relPosition x="0" y="30"/> |
|
788 |
</connectionPointIn> |
|
789 |
</variable> |
|
790 |
<variable formalParameter="Enable"> |
|
791 |
<connectionPointIn> |
|
792 |
<relPosition x="0" y="55"/> |
|
793 |
</connectionPointIn> |
|
794 |
</variable> |
|
795 |
<variable formalParameter="Toggle"> |
|
796 |
<connectionPointIn> |
|
797 |
<relPosition x="0" y="75"/> |
|
798 |
<connection refLocalId="52" formalParameter="OUT_OR"> |
|
799 |
<position x="675" y="600"/> |
|
800 |
<position x="537" y="600"/> |
|
801 |
</connection> |
|
802 |
</connectionPointIn> |
|
803 |
</variable> |
|
804 |
</inputVariables> |
|
805 |
<inOutVariables/> |
|
806 |
<outputVariables> |
|
807 |
<variable formalParameter="State"> |
|
808 |
<connectionPointOut> |
|
809 |
<relPosition x="150" y="30"/> |
|
810 |
</connectionPointOut> |
|
811 |
</variable> |
|
812 |
</outputVariables> |
|
813 |
</block> |
|
814 |
<block localId="109" width="150" height="85" typeName="Button" instanceName="LED3"> |
|
815 |
<position x="675" y="640"/> |
|
816 |
<inputVariables> |
|
817 |
<variable formalParameter="Show"> |
|
818 |
<connectionPointIn> |
|
819 |
<relPosition x="0" y="30"/> |
|
820 |
</connectionPointIn> |
|
821 |
</variable> |
|
822 |
<variable formalParameter="Enable"> |
|
823 |
<connectionPointIn> |
|
824 |
<relPosition x="0" y="50"/> |
|
825 |
</connectionPointIn> |
|
826 |
</variable> |
|
827 |
<variable formalParameter="Toggle"> |
|
828 |
<connectionPointIn> |
|
829 |
<relPosition x="0" y="70"/> |
|
830 |
<connection refLocalId="52" formalParameter="OUT_XOR"> |
|
831 |
<position x="675" y="710"/> |
|
832 |
<position x="650" y="710"/> |
|
833 |
<position x="650" y="630"/> |
|
834 |
<position x="537" y="630"/> |
|
835 |
</connection> |
|
836 |
</connectionPointIn> |
|
837 |
</variable> |
|
838 |
</inputVariables> |
|
839 |
<inOutVariables/> |
|
840 |
<outputVariables> |
|
841 |
<variable formalParameter="State"> |
|
842 |
<connectionPointOut> |
|
843 |
<relPosition x="150" y="30"/> |
|
844 |
</connectionPointOut> |
|
845 |
</variable> |
|
846 |
</outputVariables> |
|
847 |
</block> |
|
848 |
<block localId="110" width="150" height="85" typeName="Button" instanceName="LED4"> |
|
849 |
<position x="675" y="750"/> |
|
850 |
<inputVariables> |
|
851 |
<variable formalParameter="Show"> |
|
852 |
<connectionPointIn> |
|
853 |
<relPosition x="0" y="30"/> |
|
854 |
</connectionPointIn> |
|
855 |
</variable> |
|
856 |
<variable formalParameter="Enable"> |
|
857 |
<connectionPointIn> |
|
858 |
<relPosition x="0" y="50"/> |
|
859 |
</connectionPointIn> |
|
860 |
</variable> |
|
861 |
<variable formalParameter="Toggle"> |
|
862 |
<connectionPointIn> |
|
863 |
<relPosition x="0" y="70"/> |
|
864 |
<connection refLocalId="52" formalParameter="OUT_SR"> |
|
865 |
<position x="675" y="820"/> |
|
866 |
<position x="630" y="820"/> |
|
867 |
<position x="630" y="660"/> |
|
868 |
<position x="537" y="660"/> |
|
869 |
</connection> |
|
870 |
</connectionPointIn> |
|
871 |
</variable> |
|
872 |
</inputVariables> |
|
873 |
<inOutVariables/> |
|
874 |
<outputVariables> |
|
875 |
<variable formalParameter="State"> |
|
876 |
<connectionPointOut> |
|
877 |
<relPosition x="150" y="30"/> |
|
878 |
</connectionPointOut> |
|
879 |
</variable> |
|
880 |
</outputVariables> |
|
881 |
</block> |
|
882 |
<block localId="111" width="150" height="105" typeName="RotatingCtrl" instanceName="counter1"> |
|
883 |
<position x="1195" y="880"/> |
|
884 |
<inputVariables> |
|
885 |
<variable formalParameter="Show"> |
|
886 |
<connectionPointIn> |
|
887 |
<relPosition x="0" y="35"/> |
|
888 |
</connectionPointIn> |
|
889 |
</variable> |
|
890 |
<variable formalParameter="Enable"> |
|
891 |
<connectionPointIn> |
|
892 |
<relPosition x="0" y="60"/> |
|
893 |
</connectionPointIn> |
|
894 |
</variable> |
|
895 |
<variable formalParameter="SetAngle"> |
|
896 |
<connectionPointIn> |
|
897 |
<relPosition x="0" y="90"/> |
|
898 |
<connection refLocalId="113" formalParameter="OUT"> |
|
899 |
<position x="1195" y="970"/> |
|
900 |
<position x="1130" y="970"/> |
|
901 |
</connection> |
|
902 |
</connectionPointIn> |
|
903 |
</variable> |
|
904 |
</inputVariables> |
|
905 |
<inOutVariables/> |
|
906 |
<outputVariables> |
|
907 |
<variable formalParameter="Angle"> |
|
908 |
<connectionPointOut> |
|
909 |
<relPosition x="150" y="35"/> |
|
910 |
</connectionPointOut> |
|
911 |
</variable> |
|
912 |
</outputVariables> |
|
913 |
</block> |
|
914 |
<block localId="112" width="120" height="45" typeName="INT_TO_REAL"> |
|
915 |
<position x="680" y="940"/> |
|
916 |
<inputVariables> |
|
917 |
<variable formalParameter="IN"> |
|
918 |
<connectionPointIn> |
|
919 |
<relPosition x="0" y="30"/> |
|
920 |
<connection refLocalId="69" formalParameter="OUT1"> |
|
921 |
<position x="680" y="970"/> |
|
922 |
<position x="645" y="970"/> |
|
923 |
<position x="645" y="855"/> |
|
924 |
<position x="610" y="855"/> |
|
925 |
</connection> |
|
926 |
</connectionPointIn> |
|
927 |
</variable> |
|
928 |
</inputVariables> |
|
929 |
<inOutVariables/> |
|
930 |
<outputVariables> |
|
931 |
<variable formalParameter="OUT"> |
|
932 |
<connectionPointOut> |
|
933 |
<relPosition x="120" y="30"/> |
|
934 |
</connectionPointOut> |
|
935 |
</variable> |
|
936 |
</outputVariables> |
|
937 |
</block> |
|
938 |
<block localId="113" width="100" height="85" typeName="MUL"> |
|
939 |
<position x="1030" y="935"/> |
|
940 |
<inputVariables> |
|
941 |
<variable formalParameter="IN1"> |
|
942 |
<connectionPointIn> |
|
943 |
<relPosition x="0" y="35"/> |
|
944 |
<connection refLocalId="114" formalParameter="OUT"> |
|
945 |
<position x="1030" y="970"/> |
|
946 |
<position x="960" y="970"/> |
|
947 |
</connection> |
|
948 |
</connectionPointIn> |
|
949 |
</variable> |
|
950 |
<variable formalParameter="IN2"> |
|
951 |
<connectionPointIn> |
|
952 |
<relPosition x="0" y="70"/> |
|
953 |
<connection refLocalId="116"> |
|
954 |
<position x="1030" y="1005"/> |
|
955 |
<position x="1002" y="1005"/> |
|
956 |
<position x="1002" y="1045"/> |
|
957 |
<position x="975" y="1045"/> |
|
958 |
</connection> |
|
959 |
</connectionPointIn> |
|
960 |
</variable> |
|
961 |
</inputVariables> |
|
962 |
<inOutVariables/> |
|
963 |
<outputVariables> |
|
964 |
<variable formalParameter="OUT"> |
|
965 |
<connectionPointOut> |
|
966 |
<relPosition x="100" y="35"/> |
|
967 |
</connectionPointOut> |
|
968 |
</variable> |
|
969 |
</outputVariables> |
|
970 |
</block> |
|
971 |
<block localId="114" width="95" height="80" typeName="DIV"> |
|
972 |
<position x="865" y="935"/> |
|
973 |
<inputVariables> |
|
974 |
<variable formalParameter="IN1"> |
|
975 |
<connectionPointIn> |
|
976 |
<relPosition x="0" y="35"/> |
|
977 |
<connection refLocalId="112" formalParameter="OUT"> |
|
978 |
<position x="865" y="970"/> |
|
979 |
<position x="800" y="970"/> |
|
980 |
</connection> |
|
981 |
</connectionPointIn> |
|
982 |
</variable> |
|
983 |
<variable formalParameter="IN2"> |
|
984 |
<connectionPointIn> |
|
985 |
<relPosition x="0" y="65"/> |
|
986 |
<connection refLocalId="115"> |
|
987 |
<position x="865" y="1000"/> |
|
988 |
<position x="830" y="1000"/> |
|
989 |
<position x="830" y="1025"/> |
|
990 |
<position x="795" y="1025"/> |
|
991 |
</connection> |
|
992 |
</connectionPointIn> |
|
993 |
</variable> |
|
994 |
</inputVariables> |
|
995 |
<inOutVariables/> |
|
996 |
<outputVariables> |
|
997 |
<variable formalParameter="OUT"> |
|
998 |
<connectionPointOut> |
|
999 |
<relPosition x="95" y="35"/> |
|
1000 |
</connectionPointOut> |
|
1001 |
</variable> |
|
1002 |
</outputVariables> |
|
1003 |
</block> |
|
1004 |
<inVariable localId="115" height="25" width="110"> |
|
1005 |
<position x="685" y="1015"/> |
|
1006 |
<connectionPointOut> |
|
1007 |
<relPosition x="110" y="10"/> |
|
1008 |
</connectionPointOut> |
|
1009 |
<expression>REAL#400.0</expression> |
|
1010 |
</inVariable> |
|
1011 |
<inVariable localId="116" height="25" width="120"> |
|
1012 |
<position x="855" y="1035"/> |
|
1013 |
<connectionPointOut> |
|
1014 |
<relPosition x="120" y="10"/> |
|
1015 |
</connectionPointOut> |
|
1016 |
<expression>REAL#-180.0</expression> |
|
1017 |
</inVariable> |
|
1018 |
<block localId="117" width="100" height="85" typeName="MUL"> |
|
1019 |
<position x="1035" y="1080"/> |
|
1020 |
<inputVariables> |
|
1021 |
<variable formalParameter="IN1"> |
|
1022 |
<connectionPointIn> |
|
1023 |
<relPosition x="0" y="35"/> |
|
1024 |
<connection refLocalId="118" formalParameter="OUT"> |
|
1025 |
<position x="1035" y="1115"/> |
|
1026 |
<position x="965" y="1115"/> |
|
1027 |
</connection> |
|
1028 |
</connectionPointIn> |
|
1029 |
</variable> |
|
1030 |
<variable formalParameter="IN2"> |
|
1031 |
<connectionPointIn> |
|
1032 |
<relPosition x="0" y="70"/> |
|
1033 |
<connection refLocalId="119"> |
|
1034 |
<position x="1035" y="1150"/> |
|
1035 |
<position x="1007" y="1150"/> |
|
1036 |
<position x="1007" y="1190"/> |
|
1037 |
<position x="980" y="1190"/> |
|
1038 |
</connection> |
|
1039 |
</connectionPointIn> |
|
1040 |
</variable> |
|
1041 |
</inputVariables> |
|
1042 |
<inOutVariables/> |
|
1043 |
<outputVariables> |
|
1044 |
<variable formalParameter="OUT"> |
|
1045 |
<connectionPointOut> |
|
1046 |
<relPosition x="100" y="35"/> |
|
1047 |
</connectionPointOut> |
|
1048 |
</variable> |
|
1049 |
</outputVariables> |
|
1050 |
</block> |
|
1051 |
<block localId="118" width="95" height="80" typeName="DIV"> |
|
1052 |
<position x="870" y="1080"/> |
|
1053 |
<inputVariables> |
|
1054 |
<variable formalParameter="IN1"> |
|
1055 |
<connectionPointIn> |
|
1056 |
<relPosition x="0" y="35"/> |
|
1057 |
<connection refLocalId="121" formalParameter="OUT"> |
|
1058 |
<position x="870" y="1115"/> |
|
1059 |
<position x="805" y="1115"/> |
|
1060 |
</connection> |
|
1061 |
</connectionPointIn> |
|
1062 |
</variable> |
|
1063 |
<variable formalParameter="IN2"> |
|
1064 |
<connectionPointIn> |
|
1065 |
<relPosition x="0" y="65"/> |
|
1066 |
<connection refLocalId="120"> |
|
1067 |
<position x="870" y="1145"/> |
|
1068 |
<position x="835" y="1145"/> |
|
1069 |
<position x="835" y="1170"/> |
|
1070 |
<position x="800" y="1170"/> |
|
1071 |
</connection> |
|
1072 |
</connectionPointIn> |
|
1073 |
</variable> |
|
1074 |
</inputVariables> |
|
1075 |
<inOutVariables/> |
|
1076 |
<outputVariables> |
|
1077 |
<variable formalParameter="OUT"> |
|
1078 |
<connectionPointOut> |
|
1079 |
<relPosition x="95" y="35"/> |
|
1080 |
</connectionPointOut> |
|
1081 |
</variable> |
|
1082 |
</outputVariables> |
|
1083 |
</block> |
|
1084 |
<inVariable localId="119" height="25" width="120"> |
|
1085 |
<position x="860" y="1180"/> |
|
1086 |
<connectionPointOut> |
|
1087 |
<relPosition x="120" y="10"/> |
|
1088 |
</connectionPointOut> |
|
1089 |
<expression>REAL#-180.0</expression> |
|
1090 |
</inVariable> |
|
1091 |
<inVariable localId="120" height="25" width="110"> |
|
1092 |
<position x="690" y="1160"/> |
|
1093 |
<connectionPointOut> |
|
1094 |
<relPosition x="110" y="10"/> |
|
1095 |
</connectionPointOut> |
|
1096 |
<expression>REAL#400.0</expression> |
|
1097 |
</inVariable> |
|
1098 |
<block localId="121" width="120" height="45" typeName="INT_TO_REAL"> |
|
1099 |
<position x="685" y="1085"/> |
|
1100 |
<inputVariables> |
|
1101 |
<variable formalParameter="IN"> |
|
1102 |
<connectionPointIn> |
|
1103 |
<relPosition x="0" y="30"/> |
|
1104 |
<connection refLocalId="69" formalParameter="OUT2"> |
|
1105 |
<position x="685" y="1115"/> |
|
1106 |
<position x="630" y="1115"/> |
|
1107 |
<position x="630" y="890"/> |
|
1108 |
<position x="610" y="890"/> |
|
1109 |
</connection> |
|
1110 |
</connectionPointIn> |
|
1111 |
</variable> |
|
1112 |
</inputVariables> |
|
1113 |
<inOutVariables/> |
|
1114 |
<outputVariables> |
|
1115 |
<variable formalParameter="OUT"> |
|
1116 |
<connectionPointOut> |
|
1117 |
<relPosition x="120" y="30"/> |
|
1118 |
</connectionPointOut> |
|
1119 |
</variable> |
|
1120 |
</outputVariables> |
|
1121 |
</block> |
|
1122 |
<block localId="122" width="150" height="105" typeName="RotatingCtrl" instanceName="counter2"> |
|
1123 |
<position x="1195" y="1025"/> |
|
1124 |
<inputVariables> |
|
1125 |
<variable formalParameter="Show"> |
|
1126 |
<connectionPointIn> |
|
1127 |
<relPosition x="0" y="35"/> |
|
1128 |
</connectionPointIn> |
|
1129 |
</variable> |
|
1130 |
<variable formalParameter="Enable"> |
|
1131 |
<connectionPointIn> |
|
1132 |
<relPosition x="0" y="60"/> |
|
1133 |
</connectionPointIn> |
|
1134 |
</variable> |
|
1135 |
<variable formalParameter="SetAngle"> |
|
1136 |
<connectionPointIn> |
|
1137 |
<relPosition x="0" y="90"/> |
|
1138 |
<connection refLocalId="117" formalParameter="OUT"> |
|
1139 |
<position x="1195" y="1115"/> |
|
1140 |
<position x="1135" y="1115"/> |
|
1141 |
</connection> |
|
1142 |
</connectionPointIn> |
|
1143 |
</variable> |
|
1144 |
</inputVariables> |
|
1145 |
<inOutVariables/> |
|
1146 |
<outputVariables> |
|
1147 |
<variable formalParameter="Angle"> |
|
1148 |
<connectionPointOut> |
|
1149 |
<relPosition x="150" y="35"/> |
|
1150 |
</connectionPointOut> |
|
1151 |
</variable> |
|
1152 |
</outputVariables> |
|
1153 |
</block> |
|
1154 |
</FBD> |
|
1155 |
</body> |
|
1156 |
</pou> |
|
1157 |
<pou name="GETBIT" pouType="function"> |
|
1158 |
<interface> |
|
1159 |
<returnType> |
|
1160 |
<BOOL/> |
|
1161 |
</returnType> |
|
1162 |
<inputVars> |
|
1163 |
<variable name="INPUT_BYTE"> |
|
1164 |
<type> |
|
1165 |
<BYTE/> |
|
1166 |
</type> |
|
1167 |
</variable> |
|
1168 |
<variable name="NUM_BIT"> |
|
1169 |
<type> |
|
1170 |
<USINT/> |
|
1171 |
</type> |
|
1172 |
</variable> |
|
1173 |
</inputVars> |
|
1174 |
</interface> |
|
1175 |
<body> |
|
1176 |
<FBD> |
|
1177 |
<block localId="1" width="70" height="60" typeName="SHR"> |
|
1178 |
<position x="175" y="110"/> |
|
1179 |
<inputVariables> |
|
1180 |
<variable formalParameter="IN"> |
|
1181 |
<connectionPointIn> |
|
1182 |
<relPosition x="0" y="30"/> |
|
1183 |
<connection refLocalId="2"> |
|
1184 |
<position x="175" y="140"/> |
|
1185 |
<position x="135" y="140"/> |
|
1186 |
</connection> |
|
1187 |
</connectionPointIn> |
|
1188 |
</variable> |
|
1189 |
<variable formalParameter="N"> |
|
1190 |
<connectionPointIn> |
|
1191 |
<relPosition x="0" y="50"/> |
|
1192 |
<connection refLocalId="3"> |
|
1193 |
<position x="175" y="160"/> |
|
1194 |
<position x="140" y="160"/> |
|
1195 |
<position x="140" y="180"/> |
|
1196 |
<position x="105" y="180"/> |
|
1197 |
</connection> |
|
1198 |
</connectionPointIn> |
|
1199 |
</variable> |
|
1200 |
</inputVariables> |
|
1201 |
<inOutVariables/> |
|
1202 |
<outputVariables> |
|
1203 |
<variable formalParameter="OUT"> |
|
1204 |
<connectionPointOut> |
|
1205 |
<relPosition x="70" y="30"/> |
|
1206 |
</connectionPointOut> |
|
1207 |
</variable> |
|
1208 |
</outputVariables> |
|
1209 |
</block> |
|
1210 |
<inVariable localId="2" height="30" width="105"> |
|
1211 |
<position x="30" y="125"/> |
|
1212 |
<connectionPointOut> |
|
1213 |
<relPosition x="105" y="15"/> |
|
1214 |
</connectionPointOut> |
|
1215 |
<expression>INPUT_BYTE</expression> |
|
1216 |
</inVariable> |
|
1217 |
<inVariable localId="3" height="30" width="75"> |
|
1218 |
<position x="30" y="165"/> |
|
1219 |
<connectionPointOut> |
|
1220 |
<relPosition x="75" y="15"/> |
|
1221 |
</connectionPointOut> |
|
1222 |
<expression>NUM_BIT</expression> |
|
1223 |
</inVariable> |
|
1224 |
<outVariable localId="4" height="30" width="65"> |
|
1225 |
<position x="555" y="125"/> |
|
1226 |
<connectionPointIn> |
|
1227 |
<relPosition x="0" y="15"/> |
|
1228 |
<connection refLocalId="7" formalParameter="OUT"> |
|
1229 |
<position x="555" y="140"/> |
|
1230 |
<position x="525" y="140"/> |
|
1231 |
</connection> |
|
1232 |
</connectionPointIn> |
|
1233 |
<expression>GETBIT</expression> |
|
1234 |
</outVariable> |
|
1235 |
<block localId="5" width="85" height="60" typeName="AND"> |
|
1236 |
<position x="275" y="110"/> |
|
1237 |
<inputVariables> |
|
1238 |
<variable formalParameter="IN1"> |
|
1239 |
<connectionPointIn> |
|
1240 |
<relPosition x="0" y="30"/> |
|
1241 |
<connection refLocalId="1" formalParameter="OUT"> |
|
1242 |
<position x="275" y="140"/> |
|
1243 |
<position x="245" y="140"/> |
|
1244 |
</connection> |
|
1245 |
</connectionPointIn> |
|
1246 |
</variable> |
|
1247 |
<variable formalParameter="IN2"> |
|
1248 |
<connectionPointIn> |
|
1249 |
<relPosition x="0" y="50"/> |
|
1250 |
<connection refLocalId="6"> |
|
1251 |
<position x="275" y="160"/> |
|
1252 |
<position x="255" y="160"/> |
|
1253 |
<position x="255" y="195"/> |
|
1254 |
<position x="240" y="195"/> |
|
1255 |
</connection> |
|
1256 |
</connectionPointIn> |
|
1257 |
</variable> |
|
1258 |
</inputVariables> |
|
1259 |
<inOutVariables/> |
|
1260 |
<outputVariables> |
|
1261 |
<variable formalParameter="OUT"> |
|
1262 |
<connectionPointOut> |
|
1263 |
<relPosition x="85" y="30"/> |
|
1264 |
</connectionPointOut> |
|
1265 |
</variable> |
|
1266 |
</outputVariables> |
|
1267 |
</block> |
|
1268 |
<inVariable localId="6" height="30" width="65"> |
|
1269 |
<position x="175" y="180"/> |
|
1270 |
<connectionPointOut> |
|
1271 |
<relPosition x="65" y="15"/> |
|
1272 |
</connectionPointOut> |
|
1273 |
<expression>BYTE#1</expression> |
|
1274 |
</inVariable> |
|
1275 |
<block localId="7" width="120" height="40" typeName="BYTE_TO_BOOL"> |
|
1276 |
<position x="405" y="110"/> |
|
1277 |
<inputVariables> |
|
1278 |
<variable formalParameter="IN"> |
|
1279 |
<connectionPointIn> |
|
1280 |
<relPosition x="0" y="30"/> |
|
1281 |
<connection refLocalId="5" formalParameter="OUT"> |
|
1282 |
<position x="405" y="140"/> |
|
1283 |
<position x="360" y="140"/> |
|
1284 |
</connection> |
|
1285 |
</connectionPointIn> |
|
1286 |
</variable> |
|
1287 |
</inputVariables> |
|
1288 |
<inOutVariables/> |
|
1289 |
<outputVariables> |
|
1290 |
<variable formalParameter="OUT"> |
|
1291 |
<connectionPointOut> |
|
1292 |
<relPosition x="120" y="30"/> |
|
1293 |
</connectionPointOut> |
|
1294 |
</variable> |
|
1295 |
</outputVariables> |
|
1296 |
</block> |
|
1297 |
<comment localId="8" height="70" width="545"> |
|
1298 |
<position x="30" y="20"/> |
|
1299 |
<content> |
|
1300 |
<![CDATA[Function that return NUM_BIT'th bit value of INPUT_BYTE]]> |
|
1301 |
</content> |
|
1302 |
</comment> |
|
1303 |
</FBD> |
|
1304 |
</body> |
|
1305 |
</pou> |
|
1306 |
<pou name="SETBIT" pouType="function"> |
|
1307 |
<interface> |
|
1308 |
<returnType> |
|
1309 |
<BYTE/> |
|
1310 |
</returnType> |
|
1311 |
<inputVars> |
|
1312 |
<variable name="INPUT_BYTE"> |
|
1313 |
<type> |
|
1314 |
<BYTE/> |
|
1315 |
</type> |
|
1316 |
</variable> |
|
1317 |
<variable name="INPUT_BIT"> |
|
1318 |
<type> |
|
1319 |
<BOOL/> |
|
1320 |
</type> |
|
1321 |
</variable> |
|
1322 |
<variable name="NUM_BIT"> |
|
1323 |
<type> |
|
1324 |
<USINT/> |
|
1325 |
</type> |
|
1326 |
</variable> |
|
1327 |
</inputVars> |
|
1328 |
</interface> |
|
1329 |
<body> |
|
1330 |
<FBD> |
|
1331 |
<inVariable localId="1" height="30" width="100"> |
|
1332 |
<position x="40" y="255"/> |
|
1333 |
<connectionPointOut> |
|
1334 |
<relPosition x="100" y="15"/> |
|
1335 |
</connectionPointOut> |
|
1336 |
<expression>INPUT_BYTE</expression> |
|
1337 |
</inVariable> |
|
1338 |
<inVariable localId="2" height="30" width="95"> |
|
1339 |
<position x="40" y="125"/> |
|
1340 |
<connectionPointOut> |
|
1341 |
<relPosition x="95" y="15"/> |
|
1342 |
</connectionPointOut> |
|
1343 |
<expression>INPUT_BIT</expression> |
|
1344 |
</inVariable> |
|
1345 |
<block localId="3" width="120" height="45" typeName="BOOL_TO_BYTE"> |
|
1346 |
<position x="165" y="110"/> |
|
1347 |
<inputVariables> |
|
1348 |
<variable formalParameter="IN"> |
|
1349 |
<connectionPointIn> |
|
1350 |
<relPosition x="0" y="30"/> |
|
1351 |
<connection refLocalId="2"> |
|
1352 |
<position x="165" y="140"/> |
|
1353 |
<position x="135" y="140"/> |
|
1354 |
</connection> |
|
1355 |
</connectionPointIn> |
|
1356 |
</variable> |
|
1357 |
</inputVariables> |
|
1358 |
<inOutVariables/> |
|
1359 |
<outputVariables> |
|
1360 |
<variable formalParameter="OUT"> |
|
1361 |
<connectionPointOut> |
|
1362 |
<relPosition x="120" y="30"/> |
|
1363 |
</connectionPointOut> |
|
1364 |
</variable> |
|
1365 |
</outputVariables> |
|
1366 |
</block> |
|
1367 |
<block localId="4" width="70" height="60" typeName="SHL"> |
|
1368 |
<position x="335" y="110"/> |
|
1369 |
<inputVariables> |
|
1370 |
<variable formalParameter="IN"> |
|
1371 |
<connectionPointIn> |
|
1372 |
<relPosition x="0" y="30"/> |
|
1373 |
<connection refLocalId="3" formalParameter="OUT"> |
|
1374 |
<position x="335" y="140"/> |
|
1375 |
<position x="285" y="140"/> |
|
1376 |
</connection> |
|
1377 |
</connectionPointIn> |
|
1378 |
</variable> |
|
1379 |
<variable formalParameter="N"> |
|
1380 |
<connectionPointIn> |
|
1381 |
<relPosition x="0" y="50"/> |
|
1382 |
<connection refLocalId="5"> |
|
1383 |
<position x="335" y="160"/> |
|
1384 |
<position x="130" y="160"/> |
|
1385 |
<position x="130" y="230"/> |
|
1386 |
<position x="115" y="230"/> |
|
1387 |
</connection> |
|
1388 |
</connectionPointIn> |
|
1389 |
</variable> |
|
1390 |
</inputVariables> |
|
1391 |
<inOutVariables/> |
|
1392 |
<outputVariables> |
|
1393 |
<variable formalParameter="OUT"> |
|
1394 |
<connectionPointOut> |
|
1395 |
<relPosition x="70" y="30"/> |
|
1396 |
</connectionPointOut> |
|
1397 |
</variable> |
|
1398 |
</outputVariables> |
|
1399 |
</block> |
|
1400 |
<inVariable localId="5" height="30" width="75"> |
|
1401 |
<position x="40" y="215"/> |
|
1402 |
<connectionPointOut> |
|
1403 |
<relPosition x="75" y="15"/> |
|
1404 |
</connectionPointOut> |
|
1405 |
<expression>NUM_BIT</expression> |
|
1406 |
</inVariable> |
|
1407 |
<block localId="7" width="70" height="60" typeName="SHL"> |
|
1408 |
<position x="235" y="180"/> |
|
1409 |
<inputVariables> |
|
1410 |
<variable formalParameter="IN"> |
|
1411 |
<connectionPointIn> |
|
1412 |
<relPosition x="0" y="30"/> |
|
1413 |
<connection refLocalId="8"> |
|
1414 |
<position x="235" y="210"/> |
|
1415 |
<position x="215" y="210"/> |
|
1416 |
<position x="220" y="210"/> |
|
1417 |
<position x="220" y="210"/> |
|
1418 |
<position x="220" y="210"/> |
|
1419 |
<position x="210" y="210"/> |
|
1420 |
</connection> |
|
1421 |
</connectionPointIn> |
|
1422 |
</variable> |
|
1423 |
<variable formalParameter="N"> |
|
1424 |
<connectionPointIn> |
|
1425 |
<relPosition x="0" y="50"/> |
|
1426 |
<connection refLocalId="5"> |
|
1427 |
<position x="235" y="230"/> |
|
1428 |
<position x="115" y="230"/> |
|
1429 |
</connection> |
|
1430 |
</connectionPointIn> |
|
1431 |
</variable> |
|
1432 |
</inputVariables> |
|
1433 |
<inOutVariables/> |
|
1434 |
<outputVariables> |
|
1435 |
<variable formalParameter="OUT"> |
|
1436 |
<connectionPointOut> |
|
1437 |
<relPosition x="70" y="30"/> |
|
1438 |
</connectionPointOut> |
|
1439 |
</variable> |
|
1440 |
</outputVariables> |
|
1441 |
</block> |
|
1442 |
<inVariable localId="8" height="30" width="65"> |
|
1443 |
<position x="145" y="195"/> |
|
1444 |
<connectionPointOut> |
|
1445 |
<relPosition x="65" y="15"/> |
|
1446 |
</connectionPointOut> |
|
1447 |
<expression>BYTE#1</expression> |
|
1448 |
</inVariable> |
|
1449 |
<block localId="9" width="70" height="40" typeName="NOT"> |
|
1450 |
<position x="335" y="180"/> |
|
1451 |
<inputVariables> |
|
1452 |
<variable formalParameter="IN"> |
|
1453 |
<connectionPointIn> |
|
1454 |
<relPosition x="0" y="30"/> |
|
1455 |
<connection refLocalId="7" formalParameter="OUT"> |
|
1456 |
<position x="335" y="210"/> |
|
1457 |
<position x="305" y="210"/> |
|
1458 |
</connection> |
|
1459 |
</connectionPointIn> |
|
1460 |
</variable> |
|
1461 |
</inputVariables> |
|
1462 |
<inOutVariables/> |
|
1463 |
<outputVariables> |
|
1464 |
<variable formalParameter="OUT"> |
|
1465 |
<connectionPointOut> |
|
1466 |
<relPosition x="70" y="30"/> |
|
1467 |
</connectionPointOut> |
|
1468 |
</variable> |
|
1469 |
</outputVariables> |
|
1470 |
</block> |
|
1471 |
<block localId="10" width="80" height="60" typeName="AND"> |
|
1472 |
<position x="440" y="180"/> |
|
1473 |
<inputVariables> |
|
1474 |
<variable formalParameter="IN1"> |
|
1475 |
<connectionPointIn> |
|
1476 |
<relPosition x="0" y="30"/> |
|
1477 |
<connection refLocalId="9" formalParameter="OUT"> |
|
1478 |
<position x="440" y="210"/> |
|
1479 |
<position x="405" y="210"/> |
|
1480 |
</connection> |
|
1481 |
</connectionPointIn> |
|
1482 |
</variable> |
|
1483 |
<variable formalParameter="IN2"> |
|
1484 |
<connectionPointIn> |
|
1485 |
<relPosition x="0" y="50"/> |
|
1486 |
<connection refLocalId="1"> |
|
1487 |
<position x="440" y="230"/> |
|
1488 |
<position x="320" y="230"/> |
|
1489 |
<position x="320" y="270"/> |
|
1490 |
<position x="140" y="270"/> |
|
1491 |
</connection> |
|
1492 |
</connectionPointIn> |
|
1493 |
</variable> |
|
1494 |
</inputVariables> |
|
1495 |
<inOutVariables/> |
|
1496 |
<outputVariables> |
|
1497 |
<variable formalParameter="OUT"> |
|
1498 |
<connectionPointOut> |
|
1499 |
<relPosition x="80" y="30"/> |
|
1500 |
</connectionPointOut> |
|
1501 |
</variable> |
|
1502 |
</outputVariables> |
|
1503 |
</block> |
|
1504 |
<block localId="11" width="80" height="60" typeName="OR"> |
|
1505 |
<position x="565" y="110"/> |
|
1506 |
<inputVariables> |
|
1507 |
<variable formalParameter="IN1"> |
|
1508 |
<connectionPointIn> |
|
1509 |
<relPosition x="0" y="30"/> |
|
1510 |
<connection refLocalId="4" formalParameter="OUT"> |
|
1511 |
<position x="565" y="140"/> |
|
1512 |
<position x="405" y="140"/> |
|
1513 |
</connection> |
|
1514 |
</connectionPointIn> |
|
1515 |
</variable> |
|
1516 |
<variable formalParameter="IN2"> |
|
1517 |
<connectionPointIn> |
|
1518 |
<relPosition x="0" y="50"/> |
|
1519 |
<connection refLocalId="10" formalParameter="OUT"> |
|
1520 |
<position x="565" y="160"/> |
|
1521 |
<position x="545" y="160"/> |
|
1522 |
<position x="545" y="210"/> |
|
1523 |
<position x="520" y="210"/> |
|
1524 |
</connection> |
|
1525 |
</connectionPointIn> |
|
1526 |
</variable> |
|
1527 |
</inputVariables> |
|
1528 |
<inOutVariables/> |
|
1529 |
<outputVariables> |
|
1530 |
<variable formalParameter="OUT"> |
|
1531 |
<connectionPointOut> |
|
1532 |
<relPosition x="80" y="30"/> |
|
1533 |
</connectionPointOut> |
|
1534 |
</variable> |
|
1535 |
</outputVariables> |
|
1536 |
</block> |
|
1537 |
<outVariable localId="12" height="30" width="70"> |
|
1538 |
<position x="695" y="125"/> |
|
1539 |
<connectionPointIn> |
|
1540 |
<relPosition x="0" y="15"/> |
|
1541 |
<connection refLocalId="11" formalParameter="OUT"> |
|
1542 |
<position x="695" y="140"/> |
|
1543 |
<position x="645" y="140"/> |
|
1544 |
</connection> |
|
1545 |
</connectionPointIn> |
|
1546 |
<expression>SETBIT</expression> |
|
1547 |
</outVariable> |
|
1548 |
<comment localId="13" height="75" width="435"> |
|
1549 |
<position x="35" y="15"/> |
|
1550 |
<content> |
|
1551 |
<![CDATA[Function that return INPUT_BYTE with NUM_BIT'th bit set to INPUT_BIT value]]> |
|
1552 |
</content> |
|
1553 |
</comment> |
|
1554 |
</FBD> |
|
1555 |
</body> |
|
1556 |
</pou> |
|
1557 |
<pou name="Bitwise_Block" pouType="functionBlock"> |
|
1558 |
<interface> |
|
1559 |
<inputVars> |
|
1560 |
<variable name="IN1"> |
|
1561 |
<type> |
|
1562 |
<BOOL/> |
|
1563 |
</type> |
|
1564 |
</variable> |
|
1565 |
<variable name="IN2"> |
|
1566 |
<type> |
|
1567 |
<BOOL/> |
|
1568 |
</type> |
|
1569 |
</variable> |
|
1570 |
</inputVars> |
|
1571 |
<outputVars> |
|
1572 |
<variable name="OUT_AND"> |
|
1573 |
<type> |
|
1574 |
<BOOL/> |
|
1575 |
</type> |
|
1576 |
</variable> |
|
1577 |
<variable name="OUT_OR"> |
|
1578 |
<type> |
|
1579 |
<BOOL/> |
|
1580 |
</type> |
|
1581 |
</variable> |
|
1582 |
<variable name="OUT_XOR"> |
|
1583 |
<type> |
|
1584 |
<BOOL/> |
|
1585 |
</type> |
|
1586 |
</variable> |
|
1587 |
<variable name="OUT_SR"> |
|
1588 |
<type> |
|
1589 |
<BOOL/> |
|
1590 |
</type> |
|
1591 |
</variable> |
|
1592 |
</outputVars> |
|
1593 |
<localVars> |
|
1594 |
<variable name="SR1"> |
|
1595 |
<type> |
|
1596 |
<derived name="SR"/> |
|
1597 |
</type> |
|
1598 |
</variable> |
|
1599 |
</localVars> |
|
1600 |
</interface> |
|
1601 |
<body> |
|
1602 |
<LD> |
|
1603 |
<leftPowerRail localId="1" height="80" width="3"> |
|
1604 |
<position x="40" y="180"/> |
|
1605 |
<connectionPointOut formalParameter=""> |
|
1606 |
<relPosition x="3" y="20"/> |
|
1607 |
</connectionPointOut> |
|
1608 |
<connectionPointOut formalParameter=""> |
|
1609 |
<relPosition x="3" y="55"/> |
|
1610 |
</connectionPointOut> |
|
1611 |
</leftPowerRail> |
|
1612 |
<contact localId="2" height="15" width="25"> |
|
1613 |
<position x="90" y="190"/> |
|
1614 |
<connectionPointIn> |
|
1615 |
<relPosition x="0" y="10"/> |
|
1616 |
<connection refLocalId="1"> |
|
1617 |
<position x="90" y="200"/> |
|
1618 |
<position x="43" y="200"/> |
|
1619 |
</connection> |
|
1620 |
</connectionPointIn> |
|
1621 |
<connectionPointOut> |
|
1622 |
<relPosition x="25" y="10"/> |
|
1623 |
</connectionPointOut> |
|
1624 |
<variable>IN1</variable> |
|
1625 |
</contact> |
|
1626 |
<contact localId="3" height="20" width="25"> |
|
1627 |
<position x="90" y="225"/> |
|
1628 |
<connectionPointIn> |
|
1629 |
<relPosition x="0" y="10"/> |
|
1630 |
<connection refLocalId="1"> |
|
1631 |
<position x="90" y="235"/> |
|
1632 |
<position x="43" y="235"/> |
|
1633 |
</connection> |
|
1634 |
</connectionPointIn> |
|
1635 |
<connectionPointOut> |
|
1636 |
<relPosition x="25" y="10"/> |
|
1637 |
</connectionPointOut> |
|
1638 |
<variable>IN2</variable> |
|
1639 |
</contact> |
|
1640 |
<coil localId="4" height="20" width="25"> |
|
1641 |
<position x="225" y="190"/> |
|
1642 |
<connectionPointIn> |
|
1643 |
<relPosition x="0" y="10"/> |
|
1644 |
<connection refLocalId="2"> |
|
1645 |
<position x="225" y="200"/> |
|
1646 |
<position x="115" y="200"/> |
|
1647 |
</connection> |
|
1648 |
<connection refLocalId="3"> |
|
1649 |
<position x="225" y="200"/> |
|
1650 |
<position x="189" y="200"/> |
|
1651 |
<position x="189" y="235"/> |
|
1652 |
<position x="115" y="235"/> |
|
1653 |
</connection> |
|
1654 |
</connectionPointIn> |
|
1655 |
<connectionPointOut> |
|
1656 |
<relPosition x="25" y="10"/> |
|
1657 |
</connectionPointOut> |
|
1658 |
<variable>OUT_OR</variable> |
|
1659 |
</coil> |
|
1660 |
<rightPowerRail localId="5" height="40" width="3"> |
|
1661 |
<position x="350" y="180"/> |
|
1662 |
<connectionPointIn> |
|
1663 |
<relPosition x="0" y="20"/> |
|
1664 |
<connection refLocalId="4"> |
|
1665 |
<position x="350" y="200"/> |
|
1666 |
<position x="250" y="200"/> |
|
1667 |
</connection> |
|
1668 |
</connectionPointIn> |
|
1669 |
</rightPowerRail> |
|
1670 |
<leftPowerRail localId="6" height="40" width="3"> |
|
1671 |
<position x="40" y="315"/> |
|
1672 |
<connectionPointOut formalParameter=""> |
|
1673 |
<relPosition x="3" y="20"/> |
|
1674 |
</connectionPointOut> |
|
1675 |
</leftPowerRail> |
|
1676 |
<contact localId="7" height="20" width="25"> |
|
1677 |
<position x="100" y="325"/> |
|
1678 |
<connectionPointIn> |
|
1679 |
<relPosition x="0" y="10"/> |
|
1680 |
<connection refLocalId="6"> |
|
1681 |
<position x="100" y="335"/> |
|
1682 |
<position x="43" y="335"/> |
|
1683 |
</connection> |
|
1684 |
</connectionPointIn> |
|
1685 |
<connectionPointOut> |
|
1686 |
<relPosition x="25" y="10"/> |
|
1687 |
</connectionPointOut> |
|
1688 |
<variable>IN1</variable> |
|
1689 |
</contact> |
|
1690 |
<contact localId="8" height="20" width="25"> |
|
1691 |
<position x="185" y="325"/> |
|
1692 |
<connectionPointIn> |
|
1693 |
<relPosition x="0" y="10"/> |
|
1694 |
<connection refLocalId="7"> |
|
1695 |
<position x="185" y="335"/> |
|
1696 |
<position x="125" y="335"/> |
|
1697 |
</connection> |
|
1698 |
</connectionPointIn> |
|
1699 |
<connectionPointOut> |
|
1700 |
<relPosition x="25" y="10"/> |
|
1701 |
</connectionPointOut> |
|
1702 |
<variable>IN2</variable> |
|
1703 |
</contact> |
|
1704 |
<coil localId="9" height="20" width="25"> |
|
1705 |
<position x="275" y="325"/> |
|
1706 |
<connectionPointIn> |
|
1707 |
<relPosition x="0" y="10"/> |
|
1708 |
<connection refLocalId="8"> |
|
1709 |
<position x="275" y="335"/> |
|
1710 |
<position x="210" y="335"/> |
|
1711 |
</connection> |
|
1712 |
</connectionPointIn> |
|
1713 |
<connectionPointOut> |
|
1714 |
<relPosition x="25" y="10"/> |
|
1715 |
</connectionPointOut> |
|
1716 |
<variable>OUT_AND</variable> |
|
1717 |
</coil> |
|
1718 |
<rightPowerRail localId="10" height="40" width="3"> |
|
1719 |
<position x="350" y="315"/> |
|
1720 |
<connectionPointIn> |
|
1721 |
<relPosition x="0" y="20"/> |
|
1722 |
<connection refLocalId="9"> |
|
1723 |
<position x="350" y="335"/> |
|
1724 |
<position x="300" y="335"/> |
|
1725 |
</connection> |
|
1726 |
</connectionPointIn> |
|
1727 |
</rightPowerRail> |
|
1728 |
<leftPowerRail localId="11" height="80" width="3"> |
|
1729 |
<position x="40" y="415"/> |
|
1730 |
<connectionPointOut formalParameter=""> |
|
1731 |
<relPosition x="3" y="20"/> |
|
1732 |
</connectionPointOut> |
|
1733 |
<connectionPointOut formalParameter=""> |
|
1734 |
<relPosition x="3" y="60"/> |
|
1735 |
</connectionPointOut> |
|
1736 |
</leftPowerRail> |
|
1737 |
<contact localId="12" height="20" width="25"> |
|
1738 |
<position x="100" y="425"/> |
|
1739 |
<connectionPointIn> |
|
1740 |
<relPosition x="0" y="10"/> |
|
1741 |
<connection refLocalId="11"> |
|
1742 |
<position x="100" y="435"/> |
|
1743 |
<position x="43" y="435"/> |
|
1744 |
</connection> |
|
1745 |
</connectionPointIn> |
|
1746 |
<connectionPointOut> |
|
1747 |
<relPosition x="25" y="10"/> |
|
1748 |
</connectionPointOut> |
|
1749 |
<variable>IN1</variable> |
|
1750 |
</contact> |
|
1751 |
<contact localId="13" height="20" width="25" negated="true"> |
|
1752 |
<position x="100" y="465"/> |
|
1753 |
<connectionPointIn> |
|
1754 |
<relPosition x="0" y="10"/> |
|
1755 |
<connection refLocalId="11"> |
|
1756 |
<position x="100" y="475"/> |
|
1757 |
<position x="43" y="475"/> |
|
1758 |
</connection> |
|
1759 |
</connectionPointIn> |
|
1760 |
<connectionPointOut> |
|
1761 |
<relPosition x="25" y="10"/> |
|
1762 |
</connectionPointOut> |
|
1763 |
<variable>IN1</variable> |
|
1764 |
</contact> |
|
1765 |
<contact localId="14" height="20" width="25" negated="true"> |
|
1766 |
<position x="190" y="425"/> |
|
1767 |
<connectionPointIn> |
|
1768 |
<relPosition x="0" y="10"/> |
|
1769 |
<connection refLocalId="12"> |
|
1770 |
<position x="190" y="435"/> |
|
1771 |
<position x="125" y="435"/> |
|
1772 |
</connection> |
|
1773 |
</connectionPointIn> |
|
1774 |
<connectionPointOut> |
|
1775 |
<relPosition x="25" y="10"/> |
|
1776 |
</connectionPointOut> |
|
1777 |
<variable>IN2</variable> |
|
1778 |
</contact> |
|
1779 |
<contact localId="15" height="20" width="25"> |
|
1780 |
<position x="190" y="465"/> |
|
1781 |
<connectionPointIn> |
|
1782 |
<relPosition x="0" y="10"/> |
|
1783 |
<connection refLocalId="13"> |
|
1784 |
<position x="190" y="475"/> |
|
1785 |
<position x="125" y="475"/> |
|
1786 |
</connection> |
|
1787 |
</connectionPointIn> |
|
1788 |
<connectionPointOut> |
|
1789 |
<relPosition x="25" y="10"/> |
|
1790 |
</connectionPointOut> |
|
1791 |
<variable>IN2</variable> |
|
1792 |
</contact> |
|
1793 |
<coil localId="16" height="20" width="30"> |
|
1794 |
<position x="295" y="425"/> |
|
1795 |
<connectionPointIn> |
|
1796 |
<relPosition x="0" y="10"/> |
|
1797 |
<connection refLocalId="14"> |
|
1798 |
<position x="295" y="435"/> |
|
1799 |
<position x="215" y="435"/> |
|
1800 |
</connection> |
|
1801 |
<connection refLocalId="15"> |
|
1802 |
<position x="295" y="435"/> |
|
1803 |
<position x="270" y="435"/> |
|
1804 |
<position x="270" y="475"/> |
|
1805 |
<position x="215" y="475"/> |
|
1806 |
</connection> |
|
1807 |
</connectionPointIn> |
|
1808 |
<connectionPointOut> |
|
1809 |
<relPosition x="30" y="10"/> |
|
1810 |
</connectionPointOut> |
|
1811 |
<variable>OUT_XOR</variable> |
|
1812 |
</coil> |
|
1813 |
<rightPowerRail localId="17" height="40" width="3"> |
|
1814 |
<position x="350" y="415"/> |
|
1815 |
<connectionPointIn> |
|
1816 |
<relPosition x="0" y="20"/> |
|
1817 |
<connection refLocalId="16"> |
|
1818 |
<position x="350" y="435"/> |
|
1819 |
<position x="325" y="435"/> |
|
1820 |
</connection> |
|
1821 |
</connectionPointIn> |
|
1822 |
</rightPowerRail> |
|
1823 |
<leftPowerRail localId="18" height="80" width="3"> |
|
1824 |
<position x="40" y="550"/> |
|
1825 |
<connectionPointOut formalParameter=""> |
|
1826 |
<relPosition x="3" y="20"/> |
|
1827 |
</connectionPointOut> |
|
1828 |
<connectionPointOut formalParameter=""> |
|
1829 |
<relPosition x="3" y="60"/> |
|
1830 |
</connectionPointOut> |
|
1831 |
</leftPowerRail> |
|
1832 |
<contact localId="19" height="20" width="25"> |
|
1833 |
<position x="100" y="560"/> |
|
1834 |
<connectionPointIn> |
|
1835 |
<relPosition x="0" y="10"/> |
|
1836 |
<connection refLocalId="18"> |
|
1837 |
<position x="100" y="570"/> |
|
1838 |
<position x="43" y="570"/> |
|
1839 |
</connection> |
|
1840 |
</connectionPointIn> |
|
1841 |
<connectionPointOut> |
|
1842 |
<relPosition x="25" y="10"/> |
|
1843 |
</connectionPointOut> |
|
1844 |
<variable>IN1</variable> |
|
1845 |
</contact> |
|
1846 |
<contact localId="21" height="20" width="25"> |
|
1847 |
<position x="100" y="600"/> |
|
1848 |
<connectionPointIn> |
|
1849 |
<relPosition x="0" y="10"/> |
|
1850 |
<connection refLocalId="18"> |
|
1851 |
<position x="100" y="610"/> |
|
1852 |
<position x="43" y="610"/> |
|
1853 |
</connection> |
|
1854 |
</connectionPointIn> |
|
1855 |
<connectionPointOut> |
|
1856 |
<relPosition x="25" y="10"/> |
|
1857 |
</connectionPointOut> |
|
1858 |
<variable>IN2</variable> |
|
1859 |
</contact> |
|
1860 |
<block localId="22" width="60" height="100" typeName="SR" instanceName="SR1"> |
|
1861 |
<position x="170" y="530"/> |
|
1862 |
<inputVariables> |
|
1863 |
<variable formalParameter="S1"> |
|
1864 |
<connectionPointIn> |
|
1865 |
<relPosition x="0" y="40"/> |
|
1866 |
<connection refLocalId="19"> |
|
1867 |
<position x="170" y="570"/> |
|
1868 |
<position x="125" y="570"/> |
|
1869 |
</connection> |
|
1870 |
</connectionPointIn> |
|
1871 |
</variable> |
|
1872 |
<variable formalParameter="R"> |
|
1873 |
<connectionPointIn> |
|
1874 |
<relPosition x="0" y="80"/> |
|
1875 |
<connection refLocalId="21"> |
|
1876 |
<position x="170" y="610"/> |
|
1877 |
<position x="125" y="610"/> |
|
1878 |
</connection> |
|
1879 |
</connectionPointIn> |
|
1880 |
</variable> |
|
1881 |
</inputVariables> |
|
1882 |
<inOutVariables/> |
|
1883 |
<outputVariables> |
|
1884 |
<variable formalParameter="Q1"> |
|
1885 |
<connectionPointOut> |
|
1886 |
<relPosition x="60" y="40"/> |
|
1887 |
</connectionPointOut> |
|
1888 |
</variable> |
|
1889 |
</outputVariables> |
|
1890 |
</block> |
|
1891 |
<coil localId="24" height="20" width="25"> |
|
1892 |
<position x="295" y="560"/> |
|
1893 |
<connectionPointIn> |
|
1894 |
<relPosition x="0" y="10"/> |
|
1895 |
<connection refLocalId="22" formalParameter="Q1"> |
|
1896 |
<position x="295" y="570"/> |
|
1897 |
<position x="230" y="570"/> |
|
1898 |
</connection> |
|
1899 |
</connectionPointIn> |
|
1900 |
<connectionPointOut> |
|
1901 |
<relPosition x="25" y="10"/> |
|
1902 |
</connectionPointOut> |
|
1903 |
<variable>OUT_SR</variable> |
|
1904 |
</coil> |
|
1905 |
<rightPowerRail localId="25" height="40" width="3"> |
|
1906 |
<position x="350" y="550"/> |
|
1907 |
<connectionPointIn> |
|
1908 |
<relPosition x="0" y="20"/> |
|
1909 |
<connection refLocalId="24"> |
|
1910 |
<position x="350" y="570"/> |
|
1911 |
<position x="320" y="570"/> |
|
1912 |
</connection> |
|
1913 |
</connectionPointIn> |
|
1914 |
</rightPowerRail> |
|
1915 |
<comment localId="26" height="85" width="385"> |
|
1916 |
<position x="25" y="35"/> |
|
1917 |
<content> |
|
1918 |
<![CDATA[A LD function block that embeds some FB and check basic LD]]> |
|
1919 |
</content> |
|
1920 |
</comment> |
|
1921 |
</LD> |
|
1922 |
</body> |
|
1923 |
</pou> |
|
1924 |
<pou name="Test_SFC" pouType="functionBlock"> |
|
1925 |
<interface> |
|
1926 |
<inputVars> |
|
1927 |
<variable name="CNT1"> |
|
1928 |
<type> |
|
1929 |
<BOOL/> |
|
1930 |
</type> |
|
1931 |
</variable> |
|
1932 |
<variable name="CNT2"> |
|
1933 |
<type> |
|
1934 |
<BOOL/> |
|
1935 |
</type> |
|
1936 |
</variable> |
|
1937 |
<variable name="IN1"> |
|
1938 |
<type> |
|
1939 |
<derived name="MYTYPE"/> |
|
1940 |
</type> |
|
1941 |
</variable> |
|
1942 |
<variable name="IN2"> |
|
1943 |
<type> |
|
1944 |
<derived name="MYTYPE"/> |
|
1945 |
</type> |
|
1946 |
</variable> |
|
1947 |
<variable name="UPPER1"> |
|
1948 |
<type> |
|
1949 |
<INT/> |
|
1950 |
</type> |
|
1951 |
</variable> |
|
1952 |
<variable name="UPPER2"> |
|
1953 |
<type> |
|
1954 |
<INT/> |
|
1955 |
</type> |
|
1956 |
</variable> |
|
1957 |
</inputVars> |
|
1958 |
<outputVars> |
|
1959 |
<variable name="OUT1"> |
|
1960 |
<type> |
|
1961 |
<derived name="MYTYPE"/> |
|
1962 |
</type> |
|
1963 |
</variable> |
|
1964 |
<variable name="OUT2"> |
|
1965 |
<type> |
|
1966 |
<derived name="MYTYPE"/> |
|
1967 |
</type> |
|
1968 |
</variable> |
|
1969 |
</outputVars> |
|
1970 |
<localVars> |
|
1971 |
<variable name="TEST_ENUM"> |
|
1972 |
<type> |
|
1973 |
<derived name="MYTYPE2"/> |
|
1974 |
</type> |
|
1975 |
</variable> |
|
1976 |
<variable name="TEST_ARRAY"> |
|
1977 |
<type> |
|
1978 |
<derived name="MYTYPE3"/> |
|
1979 |
</type> |
|
1980 |
</variable> |
|
177
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
1981 |
<variable name="GO"> |
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
1982 |
<type> |
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
1983 |
<BOOL/> |
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
1984 |
</type> |
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
1985 |
</variable> |
167 | 1986 |
</localVars> |
1987 |
</interface> |
|
1988 |
<actions> |
|
1989 |
<action name="COUNT1"> |
|
1990 |
<body> |
|
1991 |
<ST> |
|
1992 |
<![CDATA[OUT1 := IN1 + 1; |
|
1993 |
TEST_ENUM := OPEN; |
|
1994 |
]]> |
|
1995 |
</ST> |
|
1996 |
</body> |
|
1997 |
</action> |
|
1998 |
<action name="COUNT2"> |
|
1999 |
<body> |
|
2000 |
<ST> |
|
2001 |
<![CDATA[OUT2 := IN2 + 1; |
|
2002 |
TEST_ARRAY[0,1] := TEST_ARRAY[0,2] + 50; |
|
2003 |
]]> |
|
2004 |
</ST> |
|
2005 |
</body> |
|
2006 |
</action> |
|
2007 |
</actions> |
|
2008 |
<transitions> |
|
2009 |
<transition name="REACH_UPPER1"> |
|
2010 |
<body> |
|
2011 |
<ST> |
|
2012 |
<![CDATA[:= OUT1 >= UPPER1;]]> |
|
2013 |
</ST> |
|
2014 |
</body> |
|
2015 |
</transition> |
|
2016 |
<transition name="REACH_UPPER2"> |
|
2017 |
<body> |
|
2018 |
<ST> |
|
2019 |
<![CDATA[:= OUT2 >= UPPER2;]]> |
|
2020 |
</ST> |
|
2021 |
</body> |
|
2022 |
</transition> |
|
2023 |
</transitions> |
|
2024 |
<body> |
|
2025 |
<SFC> |
|
2026 |
<step localId="1" height="31" width="55" name="Start" initialStep="true"> |
|
2027 |
<position x="125" y="170"/> |
|
2028 |
<connectionPointOut formalParameter=""> |
|
2029 |
<relPosition x="25" y="31"/> |
|
2030 |
</connectionPointOut> |
|
2031 |
<connectionPointOutAction formalParameter=""> |
|
2032 |
<relPosition x="55" y="15"/> |
|
2033 |
</connectionPointOutAction> |
|
2034 |
</step> |
|
2035 |
<step localId="4" height="30" width="55" name="Step3"> |
|
2036 |
<position x="440" y="370"/> |
|
2037 |
<connectionPointIn> |
|
2038 |
<relPosition x="25" y="0"/> |
|
2039 |
<connection refLocalId="22"> |
|
2040 |
<position x="465" y="370"/> |
|
2041 |
<position x="465" y="348"/> |
|
2042 |
</connection> |
|
2043 |
</connectionPointIn> |
|
2044 |
<connectionPointOut formalParameter=""> |
|
2045 |
<relPosition x="25" y="30"/> |
|
2046 |
</connectionPointOut> |
|
2047 |
<connectionPointOutAction formalParameter=""> |
|
2048 |
<relPosition x="55" y="15"/> |
|
2049 |
</connectionPointOutAction> |
|
2050 |
</step> |
|
2051 |
<jumpStep localId="5" height="13" width="20" targetName="Start"> |
|
177
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
2052 |
<position x="205" y="755"/> |
167 | 2053 |
<connectionPointIn> |
2054 |
<relPosition x="10" y="0"/> |
|
177
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
2055 |
<connection refLocalId="56"> |
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
2056 |
<position x="215" y="755"/> |
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
2057 |
<position x="215" y="715"/> |
167 | 2058 |
</connection> |
2059 |
</connectionPointIn> |
|
2060 |
</jumpStep> |
|
2061 |
<transition localId="8" height="2" width="20"> |
|
2062 |
<position x="560" y="565"/> |
|
2063 |
<connectionPointIn> |
|
2064 |
<relPosition x="10" y="0"/> |
|
2065 |
<connection refLocalId="25"> |
|
2066 |
<position x="570" y="565"/> |
|
2067 |
<position x="570" y="523"/> |
|
2068 |
</connection> |
|
2069 |
</connectionPointIn> |
|
2070 |
<connectionPointOut> |
|
2071 |
<relPosition x="10" y="2"/> |
|
2072 |
</connectionPointOut> |
|
2073 |
<condition> |
|
2074 |
<inline name=""> |
|
2075 |
<ST> |
|
2076 |
<![CDATA[TRUE]]> |
|
2077 |
</ST> |
|
2078 |
</inline> |
|
2079 |
</condition> |
|
2080 |
</transition> |
|
2081 |
<actionBlock localId="9" height="30" width="90"> |
|
2082 |
<position x="325" y="375"/> |
|
2083 |
<connectionPointIn> |
|
2084 |
<relPosition x="0" y="15"/> |
|
2085 |
<connection refLocalId="13"> |
|
2086 |
<position x="325" y="390"/> |
|
2087 |
<position x="300" y="390"/> |
|
2088 |
</connection> |
|
2089 |
</connectionPointIn> |
|
2090 |
<action> |
|
2091 |
<reference name="COUNT1"/> |
|
2092 |
</action> |
|
2093 |
</actionBlock> |
|
2094 |
<actionBlock localId="10" height="30" width="90"> |
|
2095 |
<position x="520" y="370"/> |
|
2096 |
<connectionPointIn> |
|
2097 |
<relPosition x="0" y="15"/> |
|
2098 |
<connection refLocalId="4"> |
|
2099 |
<position x="520" y="385"/> |
|
2100 |
<position x="495" y="385"/> |
|
2101 |
</connection> |
|
2102 |
</connectionPointIn> |
|
2103 |
<action> |
|
2104 |
<reference name="COUNT1"/> |
|
2105 |
</action> |
|
2106 |
</actionBlock> |
|
2107 |
<selectionDivergence localId="11" height="1" width="530"> |
|
2108 |
<position x="45" y="230"/> |
|
2109 |
<connectionPointIn> |
|
2110 |
<relPosition x="105" y="0"/> |
|
2111 |
<connection refLocalId="1"> |
|
2112 |
<position x="150" y="230"/> |
|
2113 |
<position x="150" y="201"/> |
|
2114 |
</connection> |
|
2115 |
</connectionPointIn> |
|
2116 |
<connectionPointOut formalParameter=""> |
|
2117 |
<relPosition x="0" y="1"/> |
|
2118 |
</connectionPointOut> |
|
2119 |
<connectionPointOut formalParameter=""> |
|
2120 |
<relPosition x="225" y="1"/> |
|
2121 |
</connectionPointOut> |
|
2122 |
<connectionPointOut formalParameter=""> |
|
2123 |
<relPosition x="530" y="1"/> |
|
2124 |
</connectionPointOut> |
|
2125 |
</selectionDivergence> |
|
2126 |
<selectionConvergence localId="12" height="1" width="525"> |
|
2127 |
<position x="45" y="600"/> |
|
2128 |
<connectionPointIn> |
|
2129 |
<relPosition x="0" y="0"/> |
|
2130 |
<connection refLocalId="38"> |
|
2131 |
<position x="45" y="600"/> |
|
2132 |
<position x="45" y="472"/> |
|
2133 |
</connection> |
|
2134 |
</connectionPointIn> |
|
2135 |
<connectionPointIn> |
|
2136 |
<relPosition x="225" y="0"/> |
|
2137 |
<connection refLocalId="15"> |
|
2138 |
<position x="270" y="600"/> |
|
2139 |
<position x="270" y="472"/> |
|
2140 |
</connection> |
|
2141 |
</connectionPointIn> |
|
2142 |
<connectionPointIn> |
|
2143 |
<relPosition x="525" y="0"/> |
|
2144 |
<connection refLocalId="8"> |
|
2145 |
<position x="570" y="600"/> |
|
2146 |
<position x="570" y="567"/> |
|
2147 |
</connection> |
|
2148 |
</connectionPointIn> |
|
2149 |
<connectionPointOut> |
|
2150 |
<relPosition x="170" y="1"/> |
|
2151 |
</connectionPointOut> |
|
2152 |
</selectionConvergence> |
|
2153 |
<step localId="13" height="30" width="55" name="Step1"> |
|
2154 |
<position x="245" y="375"/> |
|
2155 |
<connectionPointIn> |
|
2156 |
<relPosition x="25" y="0"/> |
|
2157 |
<connection refLocalId="44"> |
|
2158 |
<position x="270" y="375"/> |
|
2159 |
<position x="270" y="280"/> |
|
2160 |
</connection> |
|
2161 |
</connectionPointIn> |
|
2162 |
<connectionPointOut formalParameter=""> |
|
2163 |
<relPosition x="25" y="30"/> |
|
2164 |
</connectionPointOut> |
|
2165 |
<connectionPointOutAction formalParameter=""> |
|
2166 |
<relPosition x="55" y="15"/> |
|
2167 |
</connectionPointOutAction> |
|
2168 |
</step> |
|
2169 |
<transition localId="15" height="2" width="20"> |
|
2170 |
<position x="260" y="470"/> |
|
2171 |
<connectionPointIn> |
|
2172 |
<relPosition x="10" y="0"/> |
|
2173 |
<connection refLocalId="13"> |
|
2174 |
<position x="270" y="470"/> |
|
2175 |
<position x="270" y="405"/> |
|
2176 |
</connection> |
|
2177 |
</connectionPointIn> |
|
2178 |
<connectionPointOut> |
|
2179 |
<relPosition x="10" y="2"/> |
|
2180 |
</connectionPointOut> |
|
2181 |
<condition> |
|
2182 |
<reference name="REACH_UPPER1"/> |
|
2183 |
</condition> |
|
2184 |
</transition> |
|
2185 |
<simultaneousDivergence localId="22" height="3" width="210"> |
|
2186 |
<position x="465" y="345"/> |
|
2187 |
<connectionPointIn> |
|
2188 |
<relPosition x="110" y="0"/> |
|
2189 |
<connection refLocalId="45"> |
|
2190 |
<position x="575" y="345"/> |
|
2191 |
<position x="575" y="280"/> |
|
2192 |
</connection> |
|
2193 |
</connectionPointIn> |
|
2194 |
<connectionPointOut formalParameter=""> |
|
2195 |
<relPosition x="0" y="3"/> |
|
2196 |
</connectionPointOut> |
|
2197 |
<connectionPointOut formalParameter=""> |
|
2198 |
<relPosition x="210" y="3"/> |
|
2199 |
</connectionPointOut> |
|
2200 |
</simultaneousDivergence> |
|
2201 |
<transition localId="23" height="2" width="20"> |
|
2202 |
<position x="455" y="430"/> |
|
2203 |
<connectionPointIn> |
|
2204 |
<relPosition x="10" y="0"/> |
|
2205 |
<connection refLocalId="4"> |
|
2206 |
<position x="465" y="430"/> |
|
2207 |
<position x="465" y="400"/> |
|
2208 |
</connection> |
|
2209 |
</connectionPointIn> |
|
2210 |
<connectionPointOut> |
|
2211 |
<relPosition x="10" y="2"/> |
|
2212 |
</connectionPointOut> |
|
2213 |
<condition> |
|
2214 |
<reference name="REACH_UPPER1"/> |
|
2215 |
</condition> |
|
2216 |
</transition> |
|
2217 |
<step localId="24" height="27" width="55" name="WAIT1"> |
|
2218 |
<position x="440" y="465"/> |
|
2219 |
<connectionPointIn> |
|
2220 |
<relPosition x="25" y="0"/> |
|
2221 |
<connection refLocalId="23"> |
|
2222 |
<position x="465" y="465"/> |
|
2223 |
<position x="465" y="432"/> |
|
2224 |
</connection> |
|
2225 |
</connectionPointIn> |
|
2226 |
<connectionPointOut formalParameter=""> |
|
2227 |
<relPosition x="25" y="27"/> |
|
2228 |
</connectionPointOut> |
|
2229 |
</step> |
|
2230 |
<simultaneousConvergence localId="25" height="3" width="210"> |
|
2231 |
<position x="465" y="520"/> |
|
2232 |
<connectionPointIn> |
|
2233 |
<relPosition x="0" y="0"/> |
|
2234 |
<connection refLocalId="24"> |
|
2235 |
<position x="465" y="520"/> |
|
2236 |
<position x="465" y="492"/> |
|
2237 |
</connection> |
|
2238 |
</connectionPointIn> |
|
2239 |
<connectionPointIn> |
|
2240 |
<relPosition x="210" y="0"/> |
|
2241 |
<connection refLocalId="29"> |
|
2242 |
<position x="675" y="520"/> |
|
2243 |
<position x="675" y="492"/> |
|
2244 |
</connection> |
|
2245 |
</connectionPointIn> |
|
2246 |
<connectionPointOut> |
|
2247 |
<relPosition x="105" y="3"/> |
|
2248 |
</connectionPointOut> |
|
2249 |
</simultaneousConvergence> |
|
2250 |
<step localId="26" height="30" width="55" name="Step4"> |
|
2251 |
<position x="650" y="370"/> |
|
2252 |
<connectionPointIn> |
|
2253 |
<relPosition x="25" y="0"/> |
|
2254 |
<connection refLocalId="22"> |
|
2255 |
<position x="675" y="370"/> |
|
2256 |
<position x="675" y="348"/> |
|
2257 |
</connection> |
|
2258 |
</connectionPointIn> |
|
2259 |
<connectionPointOut formalParameter=""> |
|
2260 |
<relPosition x="25" y="30"/> |
|
2261 |
</connectionPointOut> |
|
2262 |
<connectionPointOutAction formalParameter=""> |
|
2263 |
<relPosition x="55" y="15"/> |
|
2264 |
</connectionPointOutAction> |
|
2265 |
</step> |
|
2266 |
<transition localId="28" height="2" width="20"> |
|
2267 |
<position x="665" y="430"/> |
|
2268 |
<connectionPointIn> |
|
2269 |
<relPosition x="10" y="0"/> |
|
2270 |
<connection refLocalId="26"> |
|
2271 |
<position x="675" y="430"/> |
|
2272 |
<position x="675" y="400"/> |
|
2273 |
</connection> |
|
2274 |
</connectionPointIn> |
|
2275 |
<connectionPointOut> |
|
2276 |
<relPosition x="10" y="2"/> |
|
2277 |
</connectionPointOut> |
|
2278 |
<condition> |
|
2279 |
<reference name="REACH_UPPER2"/> |
|
2280 |
</condition> |
|
2281 |
</transition> |
|
2282 |
<step localId="29" height="27" width="55" name="WAIT2"> |
|
2283 |
<position x="650" y="465"/> |
|
2284 |
<connectionPointIn> |
|
2285 |
<relPosition x="25" y="0"/> |
|
2286 |
<connection refLocalId="28"> |
|
2287 |
<position x="675" y="465"/> |
|
2288 |
<position x="675" y="432"/> |
|
2289 |
</connection> |
|
2290 |
</connectionPointIn> |
|
2291 |
<connectionPointOut formalParameter=""> |
|
2292 |
<relPosition x="25" y="27"/> |
|
2293 |
</connectionPointOut> |
|
2294 |
</step> |
|
2295 |
<actionBlock localId="31" height="30" width="90"> |
|
2296 |
<position x="730" y="370"/> |
|
2297 |
<connectionPointIn> |
|
2298 |
<relPosition x="0" y="15"/> |
|
2299 |
<connection refLocalId="26"> |
|
2300 |
<position x="730" y="385"/> |
|
2301 |
<position x="705" y="385"/> |
|
2302 |
</connection> |
|
2303 |
</connectionPointIn> |
|
2304 |
<action> |
|
2305 |
<reference name="COUNT2"/> |
|
2306 |
</action> |
|
2307 |
</actionBlock> |
|
177
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
2308 |
<actionBlock localId="32" height="30" width="350"> |
167 | 2309 |
<position x="200" y="170"/> |
2310 |
<connectionPointIn> |
|
2311 |
<relPosition x="0" y="15"/> |
|
2312 |
<connection refLocalId="1"> |
|
2313 |
<position x="200" y="185"/> |
|
2314 |
<position x="180" y="185"/> |
|
2315 |
</connection> |
|
2316 |
</connectionPointIn> |
|
2317 |
<action> |
|
2318 |
<inline> |
|
2319 |
<ST> |
|
177
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
2320 |
<![CDATA[OUT1 := 0;OUT2 := 0;GO := FALSE;]]> |
167 | 2321 |
</ST> |
2322 |
</inline> |
|
2323 |
</action> |
|
2324 |
</actionBlock> |
|
2325 |
<transition localId="33" height="2" width="20"> |
|
2326 |
<position x="35" y="325"/> |
|
2327 |
<connectionPointIn> |
|
2328 |
<relPosition x="10" y="0"/> |
|
2329 |
<connection refLocalId="11"> |
|
2330 |
<position x="45" y="325"/> |
|
2331 |
<position x="45" y="231"/> |
|
2332 |
</connection> |
|
2333 |
</connectionPointIn> |
|
2334 |
<connectionPointOut> |
|
2335 |
<relPosition x="10" y="2"/> |
|
2336 |
</connectionPointOut> |
|
2337 |
<condition> |
|
2338 |
<inline name=""> |
|
2339 |
<ST> |
|
2340 |
<![CDATA[CNT2 AND NOT CNT1]]> |
|
2341 |
</ST> |
|
2342 |
</inline> |
|
2343 |
</condition> |
|
2344 |
</transition> |
|
2345 |
<block localId="34" width="80" height="90" typeName="AND"> |
|
2346 |
<position x="435" y="240"/> |
|
2347 |
<inputVariables> |
|
2348 |
<variable formalParameter="IN1"> |
|
2349 |
<connectionPointIn> |
|
2350 |
<relPosition x="0" y="35"/> |
|
2351 |
<connection refLocalId="35"> |
|
2352 |
<position x="435" y="275"/> |
|
2353 |
<position x="410" y="275"/> |
|
2354 |
</connection> |
|
2355 |
</connectionPointIn> |
|
2356 |
</variable> |
|
2357 |
<variable formalParameter="IN2"> |
|
2358 |
<connectionPointIn> |
|
2359 |
<relPosition x="0" y="70"/> |
|
2360 |
<connection refLocalId="39"> |
|
2361 |
<position x="435" y="310"/> |
|
2362 |
<position x="410" y="310"/> |
|
2363 |
</connection> |
|
2364 |
</connectionPointIn> |
|
2365 |
</variable> |
|
2366 |
</inputVariables> |
|
2367 |
<inOutVariables/> |
|
2368 |
<outputVariables> |
|
2369 |
<variable formalParameter="OUT"> |
|
2370 |
<connectionPointOut> |
|
2371 |
<relPosition x="80" y="35"/> |
|
2372 |
</connectionPointOut> |
|
2373 |
</variable> |
|
2374 |
</outputVariables> |
|
2375 |
</block> |
|
2376 |
<inVariable localId="35" height="30" width="50"> |
|
2377 |
<position x="360" y="260"/> |
|
2378 |
<connectionPointOut> |
|
2379 |
<relPosition x="50" y="15"/> |
|
2380 |
</connectionPointOut> |
|
2381 |
<expression>CNT1</expression> |
|
2382 |
</inVariable> |
|
2383 |
<step localId="36" height="27" width="60" name="Step2"> |
|
2384 |
<position x="15" y="375"/> |
|
2385 |
<connectionPointIn> |
|
2386 |
<relPosition x="30" y="0"/> |
|
2387 |
<connection refLocalId="33"> |
|
2388 |
<position x="45" y="375"/> |
|
2389 |
<position x="45" y="327"/> |
|
2390 |
</connection> |
|
2391 |
</connectionPointIn> |
|
2392 |
<connectionPointOut formalParameter=""> |
|
2393 |
<relPosition x="30" y="27"/> |
|
2394 |
</connectionPointOut> |
|
2395 |
<connectionPointOutAction formalParameter=""> |
|
2396 |
<relPosition x="60" y="15"/> |
|
2397 |
</connectionPointOutAction> |
|
2398 |
</step> |
|
2399 |
<actionBlock localId="37" height="30" width="90"> |
|
2400 |
<position x="100" y="375"/> |
|
2401 |
<connectionPointIn> |
|
2402 |
<relPosition x="0" y="15"/> |
|
2403 |
<connection refLocalId="36"> |
|
2404 |
<position x="100" y="390"/> |
|
2405 |
<position x="75" y="390"/> |
|
2406 |
</connection> |
|
2407 |
</connectionPointIn> |
|
2408 |
<action> |
|
2409 |
<reference name="COUNT2"/> |
|
2410 |
</action> |
|
2411 |
</actionBlock> |
|
2412 |
<transition localId="38" height="2" width="20"> |
|
2413 |
<position x="35" y="470"/> |
|
2414 |
<connectionPointIn> |
|
2415 |
<relPosition x="10" y="0"/> |
|
2416 |
<connection refLocalId="36"> |
|
2417 |
<position x="45" y="470"/> |
|
2418 |
<position x="45" y="402"/> |
|
2419 |
</connection> |
|
2420 |
</connectionPointIn> |
|
2421 |
<connectionPointOut> |
|
2422 |
<relPosition x="10" y="2"/> |
|
2423 |
</connectionPointOut> |
|
2424 |
<condition> |
|
2425 |
<reference name="REACH_UPPER2"/> |
|
2426 |
</condition> |
|
2427 |
</transition> |
|
2428 |
<inVariable localId="39" height="30" width="50"> |
|
2429 |
<position x="360" y="295"/> |
|
2430 |
<connectionPointOut> |
|
2431 |
<relPosition x="50" y="15"/> |
|
2432 |
</connectionPointOut> |
|
2433 |
<expression>CNT2</expression> |
|
2434 |
</inVariable> |
|
2435 |
<leftPowerRail localId="40" height="40" width="3"> |
|
2436 |
<position x="70" y="255"/> |
|
2437 |
<connectionPointOut formalParameter=""> |
|
2438 |
<relPosition x="3" y="20"/> |
|
2439 |
</connectionPointOut> |
|
2440 |
</leftPowerRail> |
|
2441 |
<contact localId="41" height="20" width="25"> |
|
2442 |
<position x="110" y="265"/> |
|
2443 |
<connectionPointIn> |
|
2444 |
<relPosition x="0" y="10"/> |
|
2445 |
<connection refLocalId="40"> |
|
2446 |
<position x="110" y="275"/> |
|
2447 |
<position x="73" y="275"/> |
|
2448 |
</connection> |
|
2449 |
</connectionPointIn> |
|
2450 |
<connectionPointOut> |
|
2451 |
<relPosition x="25" y="10"/> |
|
2452 |
</connectionPointOut> |
|
2453 |
<variable>CNT1</variable> |
|
2454 |
</contact> |
|
2455 |
<contact localId="42" height="20" width="25" negated="true"> |
|
2456 |
<position x="190" y="265"/> |
|
2457 |
<connectionPointIn> |
|
2458 |
<relPosition x="0" y="10"/> |
|
2459 |
<connection refLocalId="41"> |
|
2460 |
<position x="190" y="275"/> |
|
2461 |
<position x="135" y="275"/> |
|
2462 |
</connection> |
|
2463 |
</connectionPointIn> |
|
2464 |
<connectionPointOut> |
|
2465 |
<relPosition x="25" y="10"/> |
|
2466 |
</connectionPointOut> |
|
2467 |
<variable>CNT2</variable> |
|
2468 |
</contact> |
|
2469 |
<transition localId="44" height="10" width="20"> |
|
2470 |
<position x="260" y="270"/> |
|
2471 |
<connectionPointIn> |
|
2472 |
<relPosition x="10" y="0"/> |
|
2473 |
<connection refLocalId="11"> |
|
2474 |
<position x="270" y="270"/> |
|
2475 |
<position x="270" y="231"/> |
|
2476 |
</connection> |
|
2477 |
</connectionPointIn> |
|
2478 |
<connectionPointOut> |
|
2479 |
<relPosition x="10" y="10"/> |
|
2480 |
</connectionPointOut> |
|
2481 |
<condition> |
|
2482 |
<connection refLocalId="42"> |
|
2483 |
<position x="260" y="275"/> |
|
2484 |
<position x="215" y="275"/> |
|
2485 |
</connection> |
|
2486 |
</condition> |
|
2487 |
</transition> |
|
2488 |
<transition localId="45" height="10" width="20"> |
|
2489 |
<position x="565" y="270"/> |
|
2490 |
<connectionPointIn> |
|
2491 |
<relPosition x="10" y="0"/> |
|
2492 |
<connection refLocalId="11"> |
|
2493 |
<position x="575" y="270"/> |
|
2494 |
<position x="575" y="231"/> |
|
2495 |
</connection> |
|
2496 |
</connectionPointIn> |
|
2497 |
<connectionPointOut> |
|
2498 |
<relPosition x="10" y="10"/> |
|
2499 |
</connectionPointOut> |
|
2500 |
<condition> |
|
2501 |
<connection refLocalId="34" formalParameter="OUT"> |
|
2502 |
<position x="565" y="275"/> |
|
2503 |
<position x="515" y="275"/> |
|
2504 |
</connection> |
|
2505 |
</condition> |
|
2506 |
</transition> |
|
2507 |
<comment localId="46" height="120" width="785"> |
|
2508 |
<position x="15" y="25"/> |
|
2509 |
<content> |
|
2510 |
<![CDATA[A SFC that make use of different kinds of divergences, and mix LD and FBD and inline transitions. |
|
2511 |
It is supposed to increment OUT1 and OUT2 according CNT1 and CNT2, and untill UPPER1 and UPPER2 limits are reached.]]> |
|
2512 |
</content> |
|
2513 |
</comment> |
|
2514 |
<step localId="47" height="45" width="75" name="Start2" initialStep="true"> |
|
2515 |
<position x="1010" y="215"/> |
|
2516 |
<connectionPointOut formalParameter=""> |
|
2517 |
<relPosition x="35" y="45"/> |
|
2518 |
</connectionPointOut> |
|
2519 |
</step> |
|
2520 |
<transition localId="48" height="10" width="20"> |
|
2521 |
<position x="1035" y="285"/> |
|
2522 |
<connectionPointIn> |
|
2523 |
<relPosition x="10" y="0"/> |
|
2524 |
<connection refLocalId="47"> |
|
2525 |
<position x="1045" y="285"/> |
|
2526 |
<position x="1045" y="260"/> |
|
2527 |
</connection> |
|
2528 |
</connectionPointIn> |
|
2529 |
<connectionPointOut> |
|
2530 |
<relPosition x="10" y="10"/> |
|
2531 |
</connectionPointOut> |
|
2532 |
<condition> |
|
2533 |
<connection refLocalId="54" formalParameter="OUT"> |
|
2534 |
<position x="1035" y="290"/> |
|
2535 |
<position x="1000" y="290"/> |
|
2536 |
</connection> |
|
2537 |
</condition> |
|
2538 |
</transition> |
|
2539 |
<transition localId="49" height="5" width="20"> |
|
2540 |
<position x="1035" y="380"/> |
|
2541 |
<connectionPointIn> |
|
2542 |
<relPosition x="10" y="0"/> |
|
2543 |
<connection refLocalId="50"> |
|
2544 |
<position x="1045" y="380"/> |
|
2545 |
<position x="1045" y="355"/> |
|
2546 |
</connection> |
|
2547 |
</connectionPointIn> |
|
2548 |
<connectionPointOut> |
|
2549 |
<relPosition x="10" y="5"/> |
|
2550 |
</connectionPointOut> |
|
2551 |
<condition> |
|
2552 |
<inline name=""> |
|
2553 |
<ST> |
|
2554 |
<![CDATA[CNT2]]> |
|
2555 |
</ST> |
|
2556 |
</inline> |
|
2557 |
</condition> |
|
2558 |
</transition> |
|
2559 |
<step localId="50" height="35" width="60" name="WAIT3"> |
|
2560 |
<position x="1015" y="320"/> |
|
2561 |
<connectionPointIn> |
|
2562 |
<relPosition x="30" y="0"/> |
|
2563 |
<connection refLocalId="48"> |
|
2564 |
<position x="1045" y="320"/> |
|
2565 |
<position x="1045" y="310"/> |
|
2566 |
<position x="1045" y="310"/> |
|
2567 |
<position x="1045" y="295"/> |
|
2568 |
</connection> |
|
2569 |
</connectionPointIn> |
|
2570 |
<connectionPointOut formalParameter=""> |
|
2571 |
<relPosition x="30" y="35"/> |
|
2572 |
</connectionPointOut> |
|
2573 |
</step> |
|
2574 |
<jumpStep localId="51" height="15" width="20" targetName="Start2"> |
|
2575 |
<position x="1035" y="415"/> |
|
2576 |
<connectionPointIn> |
|
2577 |
<relPosition x="10" y="0"/> |
|
2578 |
<connection refLocalId="49"> |
|
2579 |
<position x="1045" y="415"/> |
|
2580 |
<position x="1045" y="385"/> |
|
2581 |
</connection> |
|
2582 |
</connectionPointIn> |
|
2583 |
</jumpStep> |
|
2584 |
<inVariable localId="52" height="30" width="170"> |
|
2585 |
<position x="700" y="245"/> |
|
2586 |
<connectionPointOut> |
|
2587 |
<relPosition x="170" y="15"/> |
|
2588 |
</connectionPointOut> |
|
2589 |
<expression>TEST_ARRAY[0, 1]</expression> |
|
2590 |
</inVariable> |
|
2591 |
<inVariable localId="53" height="30" width="70"> |
|
2592 |
<position x="800" y="320"/> |
|
2593 |
<connectionPointOut> |
|
2594 |
<relPosition x="70" y="15"/> |
|
2595 |
</connectionPointOut> |
|
2596 |
<expression>UINT#0</expression> |
|
2597 |
</inVariable> |
|
2598 |
<block localId="54" width="75" height="70" typeName="GT"> |
|
2599 |
<position x="925" y="260"/> |
|
2600 |
<inputVariables> |
|
2601 |
<variable formalParameter="IN1"> |
|
2602 |
<connectionPointIn> |
|
2603 |
<relPosition x="0" y="30"/> |
|
2604 |
<connection refLocalId="52"> |
|
2605 |
<position x="925" y="290"/> |
|
2606 |
<position x="900" y="290"/> |
|
2607 |
<position x="900" y="260"/> |
|
2608 |
<position x="870" y="260"/> |
|
2609 |
</connection> |
|
2610 |
</connectionPointIn> |
|
2611 |
</variable> |
|
2612 |
<variable formalParameter="IN2"> |
|
2613 |
<connectionPointIn> |
|
2614 |
<relPosition x="0" y="55"/> |
|
2615 |
<connection refLocalId="53"> |
|
2616 |
<position x="925" y="315"/> |
|
2617 |
<position x="900" y="315"/> |
|
2618 |
<position x="900" y="335"/> |
|
2619 |
<position x="870" y="335"/> |
|
2620 |
</connection> |
|
2621 |
</connectionPointIn> |
|
2622 |
</variable> |
|
2623 |
</inputVariables> |
|
2624 |
<inOutVariables/> |
|
2625 |
<outputVariables> |
|
2626 |
<variable formalParameter="OUT"> |
|
2627 |
<connectionPointOut> |
|
2628 |
<relPosition x="75" y="30"/> |
|
2629 |
</connectionPointOut> |
|
2630 |
</variable> |
|
2631 |
</outputVariables> |
|
2632 |
</block> |
|
177
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
2633 |
<step localId="55" height="40" width="120" name="TIMED_WAIT"> |
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
2634 |
<position x="155" y="635"/> |
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
2635 |
<connectionPointIn> |
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
2636 |
<relPosition x="60" y="0"/> |
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
2637 |
<connection refLocalId="12"> |
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
2638 |
<position x="215" y="635"/> |
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
2639 |
<position x="215" y="601"/> |
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
2640 |
</connection> |
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
2641 |
</connectionPointIn> |
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
2642 |
<connectionPointOut formalParameter=""> |
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
2643 |
<relPosition x="60" y="40"/> |
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
2644 |
</connectionPointOut> |
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
2645 |
<connectionPointOutAction formalParameter=""> |
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
2646 |
<relPosition x="120" y="20"/> |
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
2647 |
</connectionPointOutAction> |
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
2648 |
</step> |
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
2649 |
<transition localId="56" height="5" width="20"> |
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
2650 |
<position x="205" y="710"/> |
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
2651 |
<connectionPointIn> |
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
2652 |
<relPosition x="10" y="0"/> |
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
2653 |
<connection refLocalId="55"> |
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
2654 |
<position x="215" y="710"/> |
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
2655 |
<position x="215" y="675"/> |
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
2656 |
</connection> |
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
2657 |
</connectionPointIn> |
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
2658 |
<connectionPointOut> |
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
2659 |
<relPosition x="10" y="5"/> |
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
2660 |
</connectionPointOut> |
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
2661 |
<condition> |
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
2662 |
<inline name=""> |
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
2663 |
<ST> |
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
2664 |
<![CDATA[GO]]> |
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
2665 |
</ST> |
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
2666 |
</inline> |
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
2667 |
</condition> |
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
2668 |
</transition> |
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
2669 |
<actionBlock localId="57" height="35" width="170"> |
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
2670 |
<position x="320" y="640"/> |
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
2671 |
<connectionPointIn> |
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
2672 |
<relPosition x="0" y="15"/> |
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
2673 |
<connection refLocalId="55"> |
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
2674 |
<position x="320" y="655"/> |
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
2675 |
<position x="275" y="655"/> |
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
2676 |
</connection> |
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
2677 |
</connectionPointIn> |
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
2678 |
<action qualifier="D" duration="T#2s"> |
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
2679 |
<inline> |
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
2680 |
<ST> |
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
2681 |
<![CDATA[GO := TRUE;]]> |
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
2682 |
</ST> |
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
2683 |
</inline> |
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
2684 |
</action> |
8b3faaf3715e
Adding some examples with time qualifier in action_block in SFC
lbessard
parents:
167
diff
changeset
|
2685 |
</actionBlock> |
167 | 2686 |
</SFC> |
2687 |
</body> |
|
2688 |
</pou> |
|
2689 |
</pous> |
|
2690 |
</types> |
|
2691 |
<instances> |
|
2692 |
<configurations> |
|
2693 |
<configuration name="STD_CONF"> |
|
2694 |
<resource name="STD_RESSOURCE"> |
|
2695 |
<task name="STD_TASK" interval="00:00:00.100000" priority="0"> |
|
2696 |
<pouInstance name="MAIN_INSTANCE" type="MAIN_TEST"/> |
|
2697 |
</task> |
|
2698 |
</resource> |
|
2699 |
</configuration> |
|
2700 |
</configurations> |
|
2701 |
</instances> |
|
2702 |
</project> |