tests/genericmake/plc.xml
author Edouard Tisserant
Mon, 20 Jan 2014 11:04:19 +0100
changeset 1387 435965ca8b63
child 1542 0535a6b50534
permissions -rw-r--r--
Re-introduced toolchain_makefile.py. This time, it comes with a 'Generic' target, and a 'genericmake' example
<?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="2014-01-19T11:14:47"/>
  <contentHeader name="Unnamed" modificationDateTime="2014-01-20T01:37:01">
    <coordinateInfo>
      <fbd>
        <scaling x="0" y="0"/>
      </fbd>
      <ld>
        <scaling x="0" y="0"/>
      </ld>
      <sfc>
        <scaling x="0" y="0"/>
      </sfc>
    </coordinateInfo>
  </contentHeader>
  <types>
    <dataTypes/>
    <pous>
      <pou name="program0" pouType="program">
        <interface>
          <localVars>
            <variable name="LocalVara">
              <type>
                <INT/>
              </type>
            </variable>
            <variable name="LocalVarb">
              <type>
                <INT/>
              </type>
            </variable>
          </localVars>
        </interface>
        <body>
          <FBD>
            <inVariable localId="1" executionOrderId="0" height="27" width="77" negated="false">
              <position x="196" y="224"/>
              <connectionPointOut>
                <relPosition x="77" y="13"/>
              </connectionPointOut>
              <expression>LocalVara</expression>
            </inVariable>
            <outVariable localId="2" executionOrderId="0" height="27" width="77" negated="false">
              <position x="305" y="227"/>
              <connectionPointIn>
                <relPosition x="0" y="13"/>
                <connection refLocalId="1">
                  <position x="305" y="240"/>
                  <position x="288" y="240"/>
                  <position x="288" y="237"/>
                  <position x="273" y="237"/>
                </connection>
              </connectionPointIn>
              <expression>LocalVarb</expression>
            </outVariable>
          </FBD>
        </body>
      </pou>
    </pous>
  </types>
  <instances>
    <configurations>
      <configuration name="config">
        <resource name="resource1">
          <task name="Tsk" priority="0" interval="T#100ms">
            <pouInstance name="Inst" typeName="program0"/>
          </task>
        </resource>
      </configuration>
    </configurations>
  </instances>
</project>