1 <?xml version='1.0' encoding='utf-8'?> |
1 <?xml version='1.0' encoding='utf-8'?> |
2 <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.plcopen.org/xml/tc6_0201" xmlns:xhtml="http://www.w3.org/1999/xhtml" xsi:schemaLocation="http://www.plcopen.org/xml/tc6_0201"> |
2 <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.plcopen.org/xml/tc6_0201" xmlns:xhtml="http://www.w3.org/1999/xhtml" xsi:schemaLocation="http://www.plcopen.org/xml/tc6_0201"> |
3 <fileHeader companyName="beremiz" productName="Beremiz" productVersion="0.0" creationDateTime="2008-12-14T16:21:19"/> |
3 <fileHeader companyName="beremiz" productName="Beremiz" productVersion="0.0" creationDateTime="2008-12-14T16:21:19"/> |
4 <contentHeader name="Beremiz SVGUI Test" modificationDateTime="2016-10-20T12:38:31"> |
4 <contentHeader name="Beremiz SVGUI Test" modificationDateTime="2018-08-24T13:19:27"> |
5 <coordinateInfo> |
5 <coordinateInfo> |
6 <pageSize x="1024" y="1024"/> |
6 <pageSize x="1024" y="1024"/> |
7 <fbd> |
7 <fbd> |
8 <scaling x="0" y="0"/> |
8 <scaling x="0" y="0"/> |
9 </fbd> |
9 </fbd> |
262 </inputVariables> |
262 </inputVariables> |
263 <inOutVariables/> |
263 <inOutVariables/> |
264 <outputVariables/> |
264 <outputVariables/> |
265 </block> |
265 </block> |
266 <inVariable localId="1" height="30" width="88" executionOrderId="0" negated="false"> |
266 <inVariable localId="1" height="30" width="88" executionOrderId="0" negated="false"> |
267 <position x="59" y="220"/> |
267 <position x="59" y="228"/> |
268 <connectionPointOut> |
268 <connectionPointOut> |
269 <relPosition x="88" y="15"/> |
269 <relPosition x="88" y="15"/> |
270 </connectionPointOut> |
270 </connectionPointOut> |
271 <expression>BOOL#1</expression> |
271 <expression>BOOL#1</expression> |
272 </inVariable> |
272 </inVariable> |
303 </inputVariables> |
303 </inputVariables> |
304 <inOutVariables/> |
304 <inOutVariables/> |
305 <outputVariables/> |
305 <outputVariables/> |
306 </block> |
306 </block> |
307 <block localId="96" width="80" height="65" typeName="AND" executionOrderId="0"> |
307 <block localId="96" width="80" height="65" typeName="AND" executionOrderId="0"> |
308 <position x="200" y="182"/> |
308 <position x="200" y="190"/> |
309 <inputVariables> |
309 <inputVariables> |
310 <variable formalParameter="IN1" negated="true"> |
310 <variable formalParameter="IN1" negated="true"> |
311 <connectionPointIn> |
311 <connectionPointIn> |
312 <relPosition x="0" y="31"/> |
312 <relPosition x="0" y="31"/> |
313 <connection refLocalId="96" formalParameter="OUT"> |
313 <connection refLocalId="96" formalParameter="OUT"> |
314 <position x="200" y="213"/> |
314 <position x="200" y="221"/> |
315 <position x="175" y="213"/> |
315 <position x="175" y="221"/> |
316 <position x="175" y="167"/> |
316 <position x="175" y="175"/> |
317 <position x="305" y="167"/> |
317 <position x="305" y="175"/> |
318 <position x="305" y="213"/> |
318 <position x="305" y="221"/> |
319 <position x="280" y="213"/> |
319 <position x="280" y="221"/> |
320 </connection> |
320 </connection> |
321 </connectionPointIn> |
321 </connectionPointIn> |
322 </variable> |
322 </variable> |
323 <variable formalParameter="IN2"> |
323 <variable formalParameter="IN2"> |
324 <connectionPointIn> |
324 <connectionPointIn> |
325 <relPosition x="0" y="53"/> |
325 <relPosition x="0" y="53"/> |
326 <connection refLocalId="1"> |
326 <connection refLocalId="1"> |
327 <position x="200" y="235"/> |
327 <position x="200" y="243"/> |
328 <position x="147" y="235"/> |
328 <position x="147" y="243"/> |
329 </connection> |
329 </connection> |
330 </connectionPointIn> |
330 </connectionPointIn> |
331 </variable> |
331 </variable> |
332 </inputVariables> |
332 </inputVariables> |
333 <inOutVariables/> |
333 <inOutVariables/> |
338 </connectionPointOut> |
338 </connectionPointOut> |
339 </variable> |
339 </variable> |
340 </outputVariables> |
340 </outputVariables> |
341 </block> |
341 </block> |
342 <connector name="CLOCK" localId="97" height="30" width="90"> |
342 <connector name="CLOCK" localId="97" height="30" width="90"> |
343 <position x="345" y="198"/> |
343 <position x="345" y="206"/> |
344 <connectionPointIn> |
344 <connectionPointIn> |
345 <relPosition x="0" y="15"/> |
345 <relPosition x="0" y="15"/> |
346 <connection refLocalId="96" formalParameter="OUT"> |
346 <connection refLocalId="96" formalParameter="OUT"> |
347 <position x="345" y="213"/> |
347 <position x="345" y="221"/> |
348 <position x="280" y="213"/> |
348 <position x="280" y="221"/> |
349 </connection> |
349 </connection> |
350 </connectionPointIn> |
350 </connectionPointIn> |
351 </connector> |
351 </connector> |
352 <connector name="COUNT" localId="98" height="30" width="90"> |
352 <connector name="COUNT" localId="98" height="30" width="90"> |
353 <position x="461" y="575"/> |
353 <position x="461" y="575"/> |
441 <position x="693" y="796"/> |
441 <position x="693" y="796"/> |
442 <connectionPointOut> |
442 <connectionPointOut> |
443 <relPosition x="122" y="15"/> |
443 <relPosition x="122" y="15"/> |
444 </connectionPointOut> |
444 </connectionPointOut> |
445 </continuation> |
445 </continuation> |
446 <comment localId="101" height="152" width="816"> |
446 <comment localId="101" height="164" width="977"> |
447 <position x="27" y="8"/> |
447 <position x="27" y="8"/> |
448 <content> |
448 <content> |
449 <xhtml:p><![CDATA[This example shows how IEC program in PLC can interact with web interface. |
449 <xhtml:p><![CDATA[This example shows how IEC program in PLC can interact with web interface. |
450 |
450 |
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!!! |
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!!! |
456 Web interface is build as SVG file in Inkscape. To edit SVG file click 'Inkscape' button in 0x: svgui extension. |
456 Web interface is build as SVG file in Inkscape. To edit SVG file click 'Inkscape' button in 0x: svgui extension. |
457 Inkscape is a free and open-source vector graphics editor. It's not part of Beremiz and needs to be installed separately. |
457 Inkscape is a free and open-source vector graphics editor. It's not part of Beremiz and needs to be installed separately. |
458 ]]></xhtml:p> |
458 ]]></xhtml:p> |
459 </content> |
459 </content> |
460 </comment> |
460 </comment> |
461 <comment localId="102" height="101" width="544"> |
461 <comment localId="102" height="126" width="641"> |
462 <position x="17" y="409"/> |
462 <position x="17" y="397"/> |
463 <content> |
463 <content> |
464 <xhtml:p><![CDATA[In this example basic elements like 'Button', 'Led' and 'Text' are used. |
464 <xhtml:p><![CDATA[In this example basic elements like 'Button', 'Led' and 'Text' are used. |
465 Back_id and sele_id inputs of these blocks are IDs of graphic primitives in SVG file. |
465 Back_id and sele_id inputs of these blocks are IDs of graphic primitives in SVG file. |
466 This is the way how elements in SVG are bound to elements in PLC program. |
466 This is the way how elements in SVG are bound to elements in PLC program. |
467 You can find out or edit these IDs in Inkscape.]]></xhtml:p> |
467 You can find out or edit these IDs in Inkscape.]]></xhtml:p> |