139 <relPosition x="80" y="65"/> |
92 <relPosition x="80" y="65"/> |
140 </connectionPointOut> |
93 </connectionPointOut> |
141 </variable> |
94 </variable> |
142 </outputVariables> |
95 </outputVariables> |
143 </block> |
96 </block> |
144 <inOutVariable localId="33" height="35" width="85"> |
97 <inOutVariable localId="33" height="35" width="85" executionOrderId="0" negatedOut="false" negatedIn="false"> |
145 <position x="770" y="470"/> |
98 <position x="754" y="289"/> |
146 <connectionPointIn> |
99 <connectionPointIn> |
147 <relPosition x="0" y="15"/> |
100 <relPosition x="0" y="17"/> |
148 <connection refLocalId="32" formalParameter="OUT"> |
101 <connection refLocalId="32" formalParameter="OUT"> |
149 <position x="770" y="485"/> |
102 <position x="754" y="306"/> |
150 <position x="745" y="485"/> |
103 <position x="729" y="306"/> |
151 </connection> |
104 </connection> |
152 </connectionPointIn> |
105 </connectionPointIn> |
153 <connectionPointOut> |
106 <connectionPointOut> |
154 <relPosition x="85" y="15"/> |
107 <relPosition x="85" y="17"/> |
155 </connectionPointOut> |
108 </connectionPointOut> |
156 <expression>counter</expression> |
109 <expression>counter</expression> |
157 </inOutVariable> |
110 </inOutVariable> |
158 <inVariable localId="39" height="35" width="70"> |
111 <inVariable localId="39" height="35" width="89" executionOrderId="0" negated="false"> |
159 <position x="90" y="470"/> |
112 <position x="55" y="289"/> |
160 <connectionPointOut> |
113 <connectionPointOut> |
161 <relPosition x="70" y="15"/> |
114 <relPosition x="89" y="17"/> |
162 </connectionPointOut> |
115 </connectionPointOut> |
163 <expression>BOOL#1</expression> |
116 <expression>BOOL#1</expression> |
164 </inVariable> |
117 </inVariable> |
165 <inVariable localId="41" height="30" width="120"> |
118 <inVariable localId="41" height="30" width="120" executionOrderId="0" negated="false"> |
166 <position x="45" y="180"/> |
119 <position x="21" y="575"/> |
167 <connectionPointOut> |
120 <connectionPointOut> |
168 <relPosition x="120" y="15"/> |
121 <relPosition x="120" y="15"/> |
169 </connectionPointOut> |
122 </connectionPointOut> |
170 <expression>'stop_back'</expression> |
123 <expression>'stop_back'</expression> |
171 </inVariable> |
124 </inVariable> |
172 <inVariable localId="42" height="30" width="120"> |
125 <inVariable localId="42" height="30" width="120" executionOrderId="0" negated="false"> |
173 <position x="45" y="225"/> |
126 <position x="21" y="617"/> |
174 <connectionPointOut> |
127 <connectionPointOut> |
175 <relPosition x="120" y="15"/> |
128 <relPosition x="120" y="15"/> |
176 </connectionPointOut> |
129 </connectionPointOut> |
177 <expression>'stop_sele'</expression> |
130 <expression>'stop_sele'</expression> |
178 </inVariable> |
131 </inVariable> |
179 <inVariable localId="46" height="30" width="180"> |
132 <inVariable localId="46" height="30" width="121" executionOrderId="0" negated="false"> |
180 <position x="675" y="265"/> |
133 <position x="694" y="755"/> |
181 <connectionPointOut> |
134 <connectionPointOut> |
182 <relPosition x="180" y="15"/> |
135 <relPosition x="121" y="15"/> |
183 </connectionPointOut> |
136 </connectionPointOut> |
184 <expression>'text_compteur'</expression> |
137 <expression>'text_counter'</expression> |
185 </inVariable> |
138 </inVariable> |
186 <inVariable localId="51" height="30" width="110"> |
139 <inVariable localId="51" height="30" width="119" executionOrderId="0" negated="false"> |
187 <position x="725" y="80"/> |
140 <position x="692" y="568"/> |
188 <connectionPointOut> |
141 <connectionPointOut> |
189 <relPosition x="110" y="15"/> |
142 <relPosition x="119" y="15"/> |
190 </connectionPointOut> |
143 </connectionPointOut> |
191 <expression>'led_stop'</expression> |
144 <expression>'led_stop'</expression> |
192 </inVariable> |
145 </inVariable> |
193 <inVariable localId="52" height="30" width="120"> |
146 <inVariable localId="52" height="30" width="120" executionOrderId="0" negated="false"> |
194 <position x="715" y="115"/> |
147 <position x="691" y="604"/> |
195 <connectionPointOut> |
148 <connectionPointOut> |
196 <relPosition x="120" y="15"/> |
149 <relPosition x="120" y="15"/> |
197 </connectionPointOut> |
150 </connectionPointOut> |
198 <expression>'led_start'</expression> |
151 <expression>'led_start'</expression> |
199 </inVariable> |
152 </inVariable> |
200 <block localId="83" width="145" height="60" typeName="INT_TO_STRING"> |
153 <block localId="83" width="145" height="60" typeName="INT_TO_STRING" executionOrderId="0"> |
201 <position x="600" y="320"/> |
154 <position x="537" y="812"/> |
202 <inputVariables> |
155 <inputVariables> |
203 <variable formalParameter="IN"> |
156 <variable formalParameter="IN"> |
204 <connectionPointIn> |
157 <connectionPointIn> |
205 <relPosition x="0" y="40"/> |
158 <relPosition x="0" y="40"/> |
206 <connection refLocalId="4"> |
159 <connection refLocalId="4"> |
207 <position x="600" y="360"/> |
160 <position x="537" y="852"/> |
208 <position x="555" y="360"/> |
161 <position x="504" y="852"/> |
209 </connection> |
162 </connection> |
210 </connectionPointIn> |
163 </connectionPointIn> |
211 </variable> |
164 </variable> |
212 </inputVariables> |
165 </inputVariables> |
213 <inOutVariables/> |
166 <inOutVariables/> |
217 <relPosition x="145" y="40"/> |
170 <relPosition x="145" y="40"/> |
218 </connectionPointOut> |
171 </connectionPointOut> |
219 </variable> |
172 </variable> |
220 </outputVariables> |
173 </outputVariables> |
221 </block> |
174 </block> |
222 <block localId="92" width="200" height="230" typeName="Button" instanceName="Start_Stop"> |
175 <block localId="92" width="187" height="230" typeName="Button" instanceName="Start_Stop" executionOrderId="0"> |
223 <position x="225" y="155"/> |
176 <position x="201" y="549"/> |
224 <inputVariables> |
177 <inputVariables> |
225 <variable formalParameter="back_id"> |
178 <variable formalParameter="back_id"> |
226 <connectionPointIn> |
179 <connectionPointIn> |
227 <relPosition x="0" y="40"/> |
180 <relPosition x="0" y="41"/> |
228 <connection refLocalId="41"> |
181 <connection refLocalId="41"> |
229 <position x="225" y="195"/> |
182 <position x="201" y="590"/> |
230 <position x="165" y="195"/> |
183 <position x="141" y="590"/> |
231 </connection> |
184 </connection> |
232 </connectionPointIn> |
185 </connectionPointIn> |
233 </variable> |
186 </variable> |
234 <variable formalParameter="sele_id"> |
187 <variable formalParameter="sele_id"> |
235 <connectionPointIn> |
188 <connectionPointIn> |
236 <relPosition x="0" y="85"/> |
189 <relPosition x="0" y="83"/> |
237 <connection refLocalId="42"> |
190 <connection refLocalId="42"> |
238 <position x="225" y="240"/> |
191 <position x="201" y="632"/> |
239 <position x="165" y="240"/> |
192 <position x="141" y="632"/> |
240 </connection> |
193 </connection> |
241 </connectionPointIn> |
194 </connectionPointIn> |
242 </variable> |
195 </variable> |
243 <variable formalParameter="toggle"> |
196 <variable formalParameter="toggle"> |
244 <connectionPointIn> |
197 <connectionPointIn> |
245 <relPosition x="0" y="125"/> |
198 <relPosition x="0" y="125"/> |
246 <connection refLocalId="93"> |
199 <connection refLocalId="93"> |
247 <position x="225" y="280"/> |
200 <position x="201" y="674"/> |
248 <position x="165" y="280"/> |
201 <position x="141" y="674"/> |
249 </connection> |
202 </connection> |
250 </connectionPointIn> |
203 </connectionPointIn> |
251 </variable> |
204 </variable> |
252 <variable formalParameter="set_state"> |
205 <variable formalParameter="set_state"> |
253 <connectionPointIn> |
206 <connectionPointIn> |
254 <relPosition x="0" y="165"/> |
207 <relPosition x="0" y="167"/> |
255 </connectionPointIn> |
208 </connectionPointIn> |
256 </variable> |
209 </variable> |
257 <variable formalParameter="state_in"> |
210 <variable formalParameter="state_in"> |
258 <connectionPointIn> |
211 <connectionPointIn> |
259 <relPosition x="0" y="210"/> |
212 <relPosition x="0" y="209"/> |
260 </connectionPointIn> |
213 </connectionPointIn> |
261 </variable> |
214 </variable> |
262 </inputVariables> |
215 </inputVariables> |
263 <inOutVariables/> |
216 <inOutVariables/> |
264 <outputVariables> |
217 <outputVariables> |
265 <variable formalParameter="state_out"> |
218 <variable formalParameter="state_out"> |
266 <connectionPointOut> |
219 <connectionPointOut> |
267 <relPosition x="200" y="40"/> |
220 <relPosition x="187" y="41"/> |
268 </connectionPointOut> |
221 </connectionPointOut> |
269 </variable> |
222 </variable> |
270 </outputVariables> |
223 </outputVariables> |
271 </block> |
224 </block> |
272 <inVariable localId="93" height="30" width="70"> |
225 <inVariable localId="93" height="30" width="120" executionOrderId="0" negated="false"> |
273 <position x="95" y="265"/> |
226 <position x="21" y="659"/> |
274 <connectionPointOut> |
227 <connectionPointOut> |
275 <relPosition x="70" y="15"/> |
228 <relPosition x="120" y="15"/> |
276 </connectionPointOut> |
229 </connectionPointOut> |
277 <expression>BOOL#1</expression> |
230 <expression>BOOL#1</expression> |
278 </inVariable> |
231 </inVariable> |
279 <block localId="94" width="100" height="145" typeName="TextCtrl" instanceName="Compteur"> |
232 <block localId="94" width="100" height="145" typeName="TextCtrl" instanceName="Counter_TextCtrl" executionOrderId="0"> |
280 <position x="900" y="240"/> |
233 <position x="876" y="730"/> |
281 <inputVariables> |
234 <inputVariables> |
282 <variable formalParameter="back_id"> |
235 <variable formalParameter="back_id"> |
283 <connectionPointIn> |
236 <connectionPointIn> |
284 <relPosition x="0" y="40"/> |
237 <relPosition x="0" y="40"/> |
285 <connection refLocalId="46"> |
238 <connection refLocalId="46"> |
286 <position x="900" y="280"/> |
239 <position x="876" y="770"/> |
287 <position x="855" y="280"/> |
240 <position x="815" y="770"/> |
288 </connection> |
241 </connection> |
289 </connectionPointIn> |
242 </connectionPointIn> |
290 </variable> |
243 </variable> |
291 <variable formalParameter="set_text"> |
244 <variable formalParameter="set_text"> |
292 <connectionPointIn> |
245 <connectionPointIn> |
293 <relPosition x="0" y="80"/> |
246 <relPosition x="0" y="81"/> |
294 <connection refLocalId="3"> |
247 <connection refLocalId="3"> |
295 <position x="900" y="320"/> |
248 <position x="876" y="811"/> |
296 <position x="855" y="320"/> |
249 <position x="815" y="811"/> |
297 </connection> |
250 </connection> |
298 </connectionPointIn> |
251 </connectionPointIn> |
299 </variable> |
252 </variable> |
300 <variable formalParameter="text"> |
253 <variable formalParameter="text"> |
301 <connectionPointIn> |
254 <connectionPointIn> |
302 <relPosition x="0" y="120"/> |
255 <relPosition x="0" y="122"/> |
303 <connection refLocalId="83" formalParameter="OUT"> |
256 <connection refLocalId="83" formalParameter="OUT"> |
304 <position x="900" y="360"/> |
257 <position x="876" y="852"/> |
305 <position x="745" y="360"/> |
258 <position x="682" y="852"/> |
306 </connection> |
259 </connection> |
307 </connectionPointIn> |
260 </connectionPointIn> |
308 </variable> |
261 </variable> |
309 </inputVariables> |
262 </inputVariables> |
310 <inOutVariables/> |
263 <inOutVariables/> |
311 <outputVariables/> |
264 <outputVariables/> |
312 </block> |
265 </block> |
313 <inVariable localId="1" height="30" width="70"> |
266 <inVariable localId="1" height="30" width="88" executionOrderId="0" negated="false"> |
314 <position x="80" y="85"/> |
267 <position x="59" y="220"/> |
315 <connectionPointOut> |
268 <connectionPointOut> |
316 <relPosition x="70" y="15"/> |
269 <relPosition x="88" y="15"/> |
317 </connectionPointOut> |
270 </connectionPointOut> |
318 <expression>BOOL#1</expression> |
271 <expression>BOOL#1</expression> |
319 </inVariable> |
272 </inVariable> |
320 <block localId="95" width="100" height="130" typeName="Led" instanceName="Temoin"> |
273 <block localId="95" width="100" height="130" typeName="Led" instanceName="State_LedCtrl" executionOrderId="0"> |
321 <position x="900" y="55"/> |
274 <position x="876" y="545"/> |
322 <inputVariables> |
275 <inputVariables> |
323 <variable formalParameter="back_id"> |
276 <variable formalParameter="back_id"> |
324 <connectionPointIn> |
277 <connectionPointIn> |
325 <relPosition x="0" y="40"/> |
278 <relPosition x="0" y="38"/> |
326 <connection refLocalId="51"> |
279 <connection refLocalId="51"> |
327 <position x="900" y="95"/> |
280 <position x="876" y="583"/> |
328 <position x="835" y="95"/> |
281 <position x="811" y="583"/> |
329 </connection> |
282 </connection> |
330 </connectionPointIn> |
283 </connectionPointIn> |
331 </variable> |
284 </variable> |
332 <variable formalParameter="sele_id"> |
285 <variable formalParameter="sele_id"> |
333 <connectionPointIn> |
286 <connectionPointIn> |
334 <relPosition x="0" y="75"/> |
287 <relPosition x="0" y="74"/> |
335 <connection refLocalId="52"> |
288 <connection refLocalId="52"> |
336 <position x="900" y="130"/> |
289 <position x="876" y="619"/> |
337 <position x="835" y="130"/> |
290 <position x="811" y="619"/> |
338 </connection> |
291 </connection> |
339 </connectionPointIn> |
292 </connectionPointIn> |
340 </variable> |
293 </variable> |
341 <variable formalParameter="state_in"> |
294 <variable formalParameter="state_in"> |
342 <connectionPointIn> |
295 <connectionPointIn> |
343 <relPosition x="0" y="110"/> |
296 <relPosition x="0" y="110"/> |
344 <connection refLocalId="2"> |
297 <connection refLocalId="2"> |
345 <position x="900" y="165"/> |
298 <position x="876" y="655"/> |
346 <position x="835" y="165"/> |
299 <position x="811" y="655"/> |
347 </connection> |
300 </connection> |
348 </connectionPointIn> |
301 </connectionPointIn> |
349 </variable> |
302 </variable> |
350 </inputVariables> |
303 </inputVariables> |
351 <inOutVariables/> |
304 <inOutVariables/> |
352 <outputVariables/> |
305 <outputVariables/> |
353 </block> |
306 </block> |
354 <block localId="96" width="80" height="65" typeName="AND"> |
307 <block localId="96" width="80" height="65" typeName="AND" executionOrderId="0"> |
355 <position x="200" y="45"/> |
308 <position x="200" y="182"/> |
356 <inputVariables> |
309 <inputVariables> |
357 <variable formalParameter="IN1" negated="true"> |
310 <variable formalParameter="IN1" negated="true"> |
358 <connectionPointIn> |
311 <connectionPointIn> |
359 <relPosition x="0" y="30"/> |
312 <relPosition x="0" y="31"/> |
360 <connection refLocalId="96" formalParameter="OUT"> |
313 <connection refLocalId="96" formalParameter="OUT"> |
361 <position x="200" y="75"/> |
314 <position x="200" y="213"/> |
362 <position x="175" y="75"/> |
315 <position x="175" y="213"/> |
363 <position x="175" y="30"/> |
316 <position x="175" y="167"/> |
364 <position x="305" y="30"/> |
317 <position x="305" y="167"/> |
365 <position x="305" y="75"/> |
318 <position x="305" y="213"/> |
366 <position x="280" y="75"/> |
319 <position x="280" y="213"/> |
367 </connection> |
320 </connection> |
368 </connectionPointIn> |
321 </connectionPointIn> |
369 </variable> |
322 </variable> |
370 <variable formalParameter="IN2"> |
323 <variable formalParameter="IN2"> |
371 <connectionPointIn> |
324 <connectionPointIn> |
372 <relPosition x="0" y="55"/> |
325 <relPosition x="0" y="53"/> |
373 <connection refLocalId="1"> |
326 <connection refLocalId="1"> |
374 <position x="200" y="100"/> |
327 <position x="200" y="235"/> |
375 <position x="150" y="100"/> |
328 <position x="147" y="235"/> |
376 </connection> |
329 </connection> |
377 </connectionPointIn> |
330 </connectionPointIn> |
378 </variable> |
331 </variable> |
379 </inputVariables> |
332 </inputVariables> |
380 <inOutVariables/> |
333 <inOutVariables/> |
381 <outputVariables> |
334 <outputVariables> |
382 <variable formalParameter="OUT"> |
335 <variable formalParameter="OUT"> |
383 <connectionPointOut> |
336 <connectionPointOut> |
384 <relPosition x="80" y="30"/> |
337 <relPosition x="80" y="31"/> |
385 </connectionPointOut> |
338 </connectionPointOut> |
386 </variable> |
339 </variable> |
387 </outputVariables> |
340 </outputVariables> |
388 </block> |
341 </block> |
389 <connector name="CLOCK" localId="97" height="30" width="90"> |
342 <connector name="CLOCK" localId="97" height="30" width="90"> |
390 <position x="345" y="60"/> |
343 <position x="345" y="198"/> |
391 <connectionPointIn> |
344 <connectionPointIn> |
392 <relPosition x="0" y="15"/> |
345 <relPosition x="0" y="15"/> |
393 <connection refLocalId="96" formalParameter="OUT"> |
346 <connection refLocalId="96" formalParameter="OUT"> |
394 <position x="345" y="75"/> |
347 <position x="345" y="213"/> |
395 <position x="280" y="75"/> |
348 <position x="280" y="213"/> |
396 </connection> |
349 </connection> |
397 </connectionPointIn> |
350 </connectionPointIn> |
398 </connector> |
351 </connector> |
399 <connector name="COUNT" localId="98" height="30" width="90"> |
352 <connector name="COUNT" localId="98" height="30" width="90"> |
400 <position x="485" y="180"/> |
353 <position x="461" y="575"/> |
401 <connectionPointIn> |
354 <connectionPointIn> |
402 <relPosition x="0" y="15"/> |
355 <relPosition x="0" y="15"/> |
403 <connection refLocalId="92" formalParameter="state_out"> |
356 <connection refLocalId="92" formalParameter="state_out"> |
404 <position x="485" y="195"/> |
357 <position x="461" y="590"/> |
405 <position x="425" y="195"/> |
358 <position x="388" y="590"/> |
406 </connection> |
359 </connection> |
407 </connectionPointIn> |
360 </connectionPointIn> |
408 </connector> |
361 </connector> |
409 <continuation name="COUNT" localId="2" height="30" width="90"> |
362 <continuation name="COUNT" localId="2" height="30" width="120"> |
410 <position x="745" y="150"/> |
363 <position x="691" y="640"/> |
|
364 <connectionPointOut> |
|
365 <relPosition x="120" y="15"/> |
|
366 </connectionPointOut> |
|
367 </continuation> |
|
368 <inVariable localId="4" height="35" width="85" executionOrderId="0" negated="false"> |
|
369 <position x="419" y="835"/> |
|
370 <connectionPointOut> |
|
371 <relPosition x="85" y="17"/> |
|
372 </connectionPointOut> |
|
373 <expression>counter</expression> |
|
374 </inVariable> |
|
375 <continuation name="COUNT" localId="5" height="30" width="90"> |
|
376 <position x="504" y="261"/> |
411 <connectionPointOut> |
377 <connectionPointOut> |
412 <relPosition x="90" y="15"/> |
378 <relPosition x="90" y="15"/> |
413 </connectionPointOut> |
379 </connectionPointOut> |
414 </continuation> |
380 </continuation> |
415 <inVariable localId="4" height="35" width="85"> |
381 <block localId="99" width="80" height="110" typeName="AND" executionOrderId="0"> |
416 <position x="470" y="345"/> |
382 <position x="199" y="264"/> |
417 <connectionPointOut> |
383 <inputVariables> |
418 <relPosition x="85" y="15"/> |
384 <variable formalParameter="IN1"> |
419 </connectionPointOut> |
385 <connectionPointIn> |
420 <expression>counter</expression> |
386 <relPosition x="0" y="42"/> |
421 </inVariable> |
387 <connection refLocalId="39"> |
422 <continuation name="COUNT" localId="5" height="30" width="90"> |
388 <position x="199" y="306"/> |
423 <position x="520" y="440"/> |
389 <position x="144" y="306"/> |
|
390 </connection> |
|
391 </connectionPointIn> |
|
392 </variable> |
|
393 <variable formalParameter="IN2"> |
|
394 <connectionPointIn> |
|
395 <relPosition x="0" y="87"/> |
|
396 <connection refLocalId="6"> |
|
397 <position x="199" y="351"/> |
|
398 <position x="144" y="351"/> |
|
399 </connection> |
|
400 </connectionPointIn> |
|
401 </variable> |
|
402 </inputVariables> |
|
403 <inOutVariables/> |
|
404 <outputVariables> |
|
405 <variable formalParameter="OUT"> |
|
406 <connectionPointOut> |
|
407 <relPosition x="80" y="42"/> |
|
408 </connectionPointOut> |
|
409 </variable> |
|
410 </outputVariables> |
|
411 </block> |
|
412 <continuation name="CLOCK" localId="6" height="30" width="90"> |
|
413 <position x="54" y="336"/> |
424 <connectionPointOut> |
414 <connectionPointOut> |
425 <relPosition x="90" y="15"/> |
415 <relPosition x="90" y="15"/> |
426 </connectionPointOut> |
416 </connectionPointOut> |
427 </continuation> |
417 </continuation> |
428 <block localId="99" width="80" height="110" typeName="AND"> |
418 <block localId="100" width="125" height="45" typeName="BOOL_TO_INT" executionOrderId="0"> |
429 <position x="215" y="445"/> |
419 <position x="349" y="274"/> |
430 <inputVariables> |
420 <inputVariables> |
431 <variable formalParameter="IN1"> |
421 <variable formalParameter="IN"> |
432 <connectionPointIn> |
422 <connectionPointIn> |
433 <relPosition x="0" y="40"/> |
423 <relPosition x="0" y="32"/> |
434 <connection refLocalId="39"> |
424 <connection refLocalId="99" formalParameter="OUT"> |
435 <position x="215" y="485"/> |
425 <position x="349" y="306"/> |
436 <position x="160" y="485"/> |
426 <position x="279" y="306"/> |
437 </connection> |
|
438 </connectionPointIn> |
|
439 </variable> |
|
440 <variable formalParameter="IN2"> |
|
441 <connectionPointIn> |
|
442 <relPosition x="0" y="85"/> |
|
443 <connection refLocalId="6"> |
|
444 <position x="215" y="530"/> |
|
445 <position x="160" y="530"/> |
|
446 </connection> |
427 </connection> |
447 </connectionPointIn> |
428 </connectionPointIn> |
448 </variable> |
429 </variable> |
449 </inputVariables> |
430 </inputVariables> |
450 <inOutVariables/> |
431 <inOutVariables/> |
451 <outputVariables> |
432 <outputVariables> |
452 <variable formalParameter="OUT"> |
433 <variable formalParameter="OUT"> |
453 <connectionPointOut> |
434 <connectionPointOut> |
454 <relPosition x="80" y="40"/> |
435 <relPosition x="125" y="32"/> |
455 </connectionPointOut> |
436 </connectionPointOut> |
456 </variable> |
437 </variable> |
457 </outputVariables> |
438 </outputVariables> |
458 </block> |
439 </block> |
459 <continuation name="CLOCK" localId="6" height="30" width="90"> |
440 <continuation name="CLOCK" localId="3" height="30" width="122"> |
460 <position x="70" y="515"/> |
441 <position x="693" y="796"/> |
461 <connectionPointOut> |
442 <connectionPointOut> |
462 <relPosition x="90" y="15"/> |
443 <relPosition x="122" y="15"/> |
463 </connectionPointOut> |
444 </connectionPointOut> |
464 </continuation> |
445 </continuation> |
465 <block localId="100" width="125" height="45" typeName="BOOL_TO_INT"> |
446 <comment localId="101" height="152" width="816"> |
466 <position x="365" y="455"/> |
447 <position x="27" y="8"/> |
467 <inputVariables> |
448 <content> |
468 <variable formalParameter="IN"> |
449 <xhtml:p><![CDATA[This example shows how IEC program in PLC can interact with web interface. |
469 <connectionPointIn> |
450 |
470 <relPosition x="0" y="30"/> |
451 svgui is extensions to build web interface to PLC. It has *integrated* web-server. So it's NOT necessary to install Apache, lighttpd or nginx for that!!! |
471 <connection refLocalId="99" formalParameter="OUT"> |
452 |
472 <position x="365" y="485"/> |
453 As the program is running in PLC, web UI will be available at http://localhost:8009/. |
473 <position x="295" y="485"/> |
454 |
474 </connection> |
455 |
475 </connectionPointIn> |
456 Web interface is build as SVG file in Inkscape. To edit SVG file click 'Inkscape' button in 0x: svgui extension. |
476 </variable> |
457 Inkscape is a free and open-source vector graphics editor. It's not part of Beremiz and needs to be installed separately. |
477 </inputVariables> |
458 ]]></xhtml:p> |
478 <inOutVariables/> |
459 </content> |
479 <outputVariables> |
460 </comment> |
480 <variable formalParameter="OUT"> |
461 <comment localId="102" height="101" width="544"> |
481 <connectionPointOut> |
462 <position x="17" y="409"/> |
482 <relPosition x="125" y="30"/> |
463 <content> |
483 </connectionPointOut> |
464 <xhtml:p><![CDATA[In this example basic elements like 'Button', 'Led' and 'Text' are used. |
484 </variable> |
465 Back_id and sele_id inputs of these blocks are IDs of graphic primitives in SVG file. |
485 </outputVariables> |
466 This is the way how elements in SVG are bound to elements in PLC program. |
486 </block> |
467 You can find out or edit these IDs in Inkscape.]]></xhtml:p> |
487 <continuation name="CLOCK" localId="3" height="30" width="90"> |
468 </content> |
488 <position x="765" y="305"/> |
469 </comment> |
489 <connectionPointOut> |
|
490 <relPosition x="90" y="15"/> |
|
491 </connectionPointOut> |
|
492 </continuation> |
|
493 </FBD> |
470 </FBD> |
494 </body> |
471 </body> |
495 </pou> |
472 </pou> |
496 </pous> |
473 </pous> |
497 </types> |
474 </types> |