tests/projects/svghmi_real/plc.xml
author Edouard Tisserant <edouard.tisserant@gmail.com>
Tue, 22 Mar 2022 14:50:46 +0100
branchwxPython4
changeset 3442 29dbdb09da2e
parent 3416 53c66c4aefa3
child 3837 efe0b5b21842
permissions -rw-r--r--
Tests: fix project edit test sikuli IDE test.

Background click based on bitmap matching doesn't work.
Grid dots are not good match candidates.
Rendering probably affected by virtual display's bpp or rasterizer approximations.
<?xml version='1.0' encoding='utf-8'?>
<project xmlns:ns1="http://www.plcopen.org/xml/tc6_0201" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.plcopen.org/xml/tc6_0201">
  <fileHeader companyName="Unknown" productName="Unnamed" productVersion="1" creationDateTime="2019-08-06T14:23:42"/>
  <contentHeader name="Unnamed" modificationDateTime="2021-02-16T10:38:12">
    <coordinateInfo>
      <fbd>
        <scaling x="5" y="5"/>
      </fbd>
      <ld>
        <scaling x="0" y="0"/>
      </ld>
      <sfc>
        <scaling x="0" y="0"/>
      </sfc>
    </coordinateInfo>
  </contentHeader>
  <types>
    <dataTypes/>
    <pous>
      <pou name="MainStuff" pouType="program">
        <interface>
          <localVars>
            <variable name="var0">
              <type>
                <derived name="HMI_REAL"/>
              </type>
            </variable>
            <variable name="var1">
              <type>
                <derived name="HMI_INT"/>
              </type>
            </variable>
          </localVars>
        </interface>
        <body>
          <FBD>
            <inVariable localId="5" executionOrderId="0" height="30" width="125" negated="false">
              <position x="240" y="45"/>
              <connectionPointOut>
                <relPosition x="125" y="15"/>
              </connectionPointOut>
              <expression>var0</expression>
            </inVariable>
            <outVariable localId="10" executionOrderId="0" height="25" width="85" negated="false">
              <position x="720" y="70"/>
              <connectionPointIn>
                <relPosition x="0" y="10"/>
                <connection refLocalId="11" formalParameter="OUT">
                  <position x="720" y="80"/>
                  <position x="667" y="80"/>
                  <position x="667" y="75"/>
                  <position x="605" y="75"/>
                </connection>
              </connectionPointIn>
              <expression>var1</expression>
            </outVariable>
            <block localId="11" typeName="REAL_TO_INT" executionOrderId="0" height="40" width="100">
              <position x="505" y="45"/>
              <inputVariables>
                <variable formalParameter="IN">
                  <connectionPointIn>
                    <relPosition x="0" y="30"/>
                    <connection refLocalId="5">
                      <position x="505" y="75"/>
                      <position x="445" y="75"/>
                      <position x="445" y="60"/>
                      <position x="365" y="60"/>
                    </connection>
                  </connectionPointIn>
                </variable>
              </inputVariables>
              <inOutVariables/>
              <outputVariables>
                <variable formalParameter="OUT">
                  <connectionPointOut>
                    <relPosition x="100" y="30"/>
                  </connectionPointOut>
                </variable>
              </outputVariables>
            </block>
          </FBD>
        </body>
      </pou>
    </pous>
  </types>
  <instances>
    <configurations>
      <configuration name="config">
        <resource name="resource1">
          <task name="task0" priority="0" interval="T#20ms">
            <pouInstance name="instance0" typeName="MainStuff"/>
          </task>
        </resource>
      </configuration>
    </configurations>
  </instances>
</project>