tests/svghmi/plc.xml
author Edouard Tisserant
Wed, 11 Sep 2019 12:24:30 +0200
branchsvghmi
changeset 2771 361366b891ca
parent 2759 7345bd8a98eb
child 2805 e521e0d133d5
permissions -rw-r--r--
WIP on svghmi, now builds and runs. HTTP serving + WS transport ready, missing actual data to transmit and thread to collect it.
2750
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
     1
<?xml version='1.0' encoding='utf-8'?>
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
     2
<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">
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
     3
  <fileHeader companyName="Unknown" productName="Unnamed" productVersion="1" creationDateTime="2019-08-06T14:23:42"/>
2771
361366b891ca WIP on svghmi, now builds and runs. HTTP serving + WS transport ready, missing actual data to transmit and thread to collect it.
Edouard Tisserant
parents: 2759
diff changeset
     4
  <contentHeader name="Unnamed" modificationDateTime="2019-09-11T11:54:14">
2750
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
     5
    <coordinateInfo>
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
     6
      <fbd>
2751
eab6161e603d Complete SVGUI test minimal skeleton so that it builds.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 2750
diff changeset
     7
        <scaling x="5" y="5"/>
2750
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
     8
      </fbd>
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
     9
      <ld>
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    10
        <scaling x="0" y="0"/>
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    11
      </ld>
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    12
      <sfc>
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    13
        <scaling x="0" y="0"/>
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    14
      </sfc>
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    15
    </coordinateInfo>
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    16
  </contentHeader>
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    17
  <types>
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    18
    <dataTypes/>
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    19
    <pous>
2759
7345bd8a98eb SVGHMI: make a reasonably basic test
Edouard Tisserant
parents: 2758
diff changeset
    20
      <pou name="MainStuff" pouType="program">
2751
eab6161e603d Complete SVGUI test minimal skeleton so that it builds.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 2750
diff changeset
    21
        <interface>
eab6161e603d Complete SVGUI test minimal skeleton so that it builds.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 2750
diff changeset
    22
          <localVars>
2759
7345bd8a98eb SVGHMI: make a reasonably basic test
Edouard Tisserant
parents: 2758
diff changeset
    23
            <variable name="TargetPressure">
2751
eab6161e603d Complete SVGUI test minimal skeleton so that it builds.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 2750
diff changeset
    24
              <type>
2757
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
    25
                <derived name="HMI_INT"/>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
    26
              </type>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
    27
            </variable>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
    28
            <variable name="Pump0">
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
    29
              <type>
2758
5f79b194fa63 SVGHMI: filter out temporary variables created while generating ST code out of FBD.
Edouard Tisserant
parents: 2757
diff changeset
    30
                <derived name="PumpControl"/>
2751
eab6161e603d Complete SVGUI test minimal skeleton so that it builds.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 2750
diff changeset
    31
              </type>
eab6161e603d Complete SVGUI test minimal skeleton so that it builds.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 2750
diff changeset
    32
            </variable>
eab6161e603d Complete SVGUI test minimal skeleton so that it builds.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 2750
diff changeset
    33
          </localVars>
eab6161e603d Complete SVGUI test minimal skeleton so that it builds.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 2750
diff changeset
    34
        </interface>
2750
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    35
        <body>
2751
eab6161e603d Complete SVGUI test minimal skeleton so that it builds.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 2750
diff changeset
    36
          <FBD>
eab6161e603d Complete SVGUI test minimal skeleton so that it builds.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 2750
diff changeset
    37
            <block localId="2" typeName="ADD" executionOrderId="0" height="60" width="63">
eab6161e603d Complete SVGUI test minimal skeleton so that it builds.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 2750
diff changeset
    38
              <position x="255" y="175"/>
eab6161e603d Complete SVGUI test minimal skeleton so that it builds.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 2750
diff changeset
    39
              <inputVariables>
eab6161e603d Complete SVGUI test minimal skeleton so that it builds.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 2750
diff changeset
    40
                <variable formalParameter="IN1">
eab6161e603d Complete SVGUI test minimal skeleton so that it builds.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 2750
diff changeset
    41
                  <connectionPointIn>
eab6161e603d Complete SVGUI test minimal skeleton so that it builds.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 2750
diff changeset
    42
                    <relPosition x="0" y="30"/>
2754
a46311f88604 SVGHMI: little fixes to make the build go through
Edouard Tisserant
parents: 2751
diff changeset
    43
                    <connection refLocalId="1">
a46311f88604 SVGHMI: little fixes to make the build go through
Edouard Tisserant
parents: 2751
diff changeset
    44
                      <position x="255" y="205"/>
a46311f88604 SVGHMI: little fixes to make the build go through
Edouard Tisserant
parents: 2751
diff changeset
    45
                      <position x="202" y="205"/>
a46311f88604 SVGHMI: little fixes to make the build go through
Edouard Tisserant
parents: 2751
diff changeset
    46
                    </connection>
2751
eab6161e603d Complete SVGUI test minimal skeleton so that it builds.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 2750
diff changeset
    47
                  </connectionPointIn>
eab6161e603d Complete SVGUI test minimal skeleton so that it builds.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 2750
diff changeset
    48
                </variable>
eab6161e603d Complete SVGUI test minimal skeleton so that it builds.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 2750
diff changeset
    49
                <variable formalParameter="IN2">
eab6161e603d Complete SVGUI test minimal skeleton so that it builds.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 2750
diff changeset
    50
                  <connectionPointIn>
eab6161e603d Complete SVGUI test minimal skeleton so that it builds.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 2750
diff changeset
    51
                    <relPosition x="0" y="50"/>
2754
a46311f88604 SVGHMI: little fixes to make the build go through
Edouard Tisserant
parents: 2751
diff changeset
    52
                    <connection refLocalId="3">
a46311f88604 SVGHMI: little fixes to make the build go through
Edouard Tisserant
parents: 2751
diff changeset
    53
                      <position x="255" y="225"/>
a46311f88604 SVGHMI: little fixes to make the build go through
Edouard Tisserant
parents: 2751
diff changeset
    54
                      <position x="235" y="225"/>
a46311f88604 SVGHMI: little fixes to make the build go through
Edouard Tisserant
parents: 2751
diff changeset
    55
                      <position x="235" y="235"/>
a46311f88604 SVGHMI: little fixes to make the build go through
Edouard Tisserant
parents: 2751
diff changeset
    56
                      <position x="190" y="235"/>
a46311f88604 SVGHMI: little fixes to make the build go through
Edouard Tisserant
parents: 2751
diff changeset
    57
                    </connection>
2751
eab6161e603d Complete SVGUI test minimal skeleton so that it builds.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 2750
diff changeset
    58
                  </connectionPointIn>
eab6161e603d Complete SVGUI test minimal skeleton so that it builds.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 2750
diff changeset
    59
                </variable>
eab6161e603d Complete SVGUI test minimal skeleton so that it builds.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 2750
diff changeset
    60
              </inputVariables>
eab6161e603d Complete SVGUI test minimal skeleton so that it builds.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 2750
diff changeset
    61
              <inOutVariables/>
eab6161e603d Complete SVGUI test minimal skeleton so that it builds.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 2750
diff changeset
    62
              <outputVariables>
eab6161e603d Complete SVGUI test minimal skeleton so that it builds.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 2750
diff changeset
    63
                <variable formalParameter="OUT">
eab6161e603d Complete SVGUI test minimal skeleton so that it builds.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 2750
diff changeset
    64
                  <connectionPointOut>
eab6161e603d Complete SVGUI test minimal skeleton so that it builds.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 2750
diff changeset
    65
                    <relPosition x="63" y="30"/>
eab6161e603d Complete SVGUI test minimal skeleton so that it builds.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 2750
diff changeset
    66
                  </connectionPointOut>
eab6161e603d Complete SVGUI test minimal skeleton so that it builds.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 2750
diff changeset
    67
                </variable>
eab6161e603d Complete SVGUI test minimal skeleton so that it builds.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 2750
diff changeset
    68
              </outputVariables>
eab6161e603d Complete SVGUI test minimal skeleton so that it builds.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 2750
diff changeset
    69
            </block>
2759
7345bd8a98eb SVGHMI: make a reasonably basic test
Edouard Tisserant
parents: 2758
diff changeset
    70
            <inOutVariable localId="1" executionOrderId="0" height="26" width="122" negatedOut="false" negatedIn="false">
2754
a46311f88604 SVGHMI: little fixes to make the build go through
Edouard Tisserant
parents: 2751
diff changeset
    71
              <position x="120" y="190"/>
a46311f88604 SVGHMI: little fixes to make the build go through
Edouard Tisserant
parents: 2751
diff changeset
    72
              <connectionPointIn>
2759
7345bd8a98eb SVGHMI: make a reasonably basic test
Edouard Tisserant
parents: 2758
diff changeset
    73
                <relPosition x="0" y="15"/>
2754
a46311f88604 SVGHMI: little fixes to make the build go through
Edouard Tisserant
parents: 2751
diff changeset
    74
                <connection refLocalId="2" formalParameter="OUT">
2759
7345bd8a98eb SVGHMI: make a reasonably basic test
Edouard Tisserant
parents: 2758
diff changeset
    75
                  <position x="120" y="205"/>
7345bd8a98eb SVGHMI: make a reasonably basic test
Edouard Tisserant
parents: 2758
diff changeset
    76
                  <position x="100" y="205"/>
2754
a46311f88604 SVGHMI: little fixes to make the build go through
Edouard Tisserant
parents: 2751
diff changeset
    77
                  <position x="100" y="140"/>
a46311f88604 SVGHMI: little fixes to make the build go through
Edouard Tisserant
parents: 2751
diff changeset
    78
                  <position x="328" y="140"/>
2759
7345bd8a98eb SVGHMI: make a reasonably basic test
Edouard Tisserant
parents: 2758
diff changeset
    79
                  <position x="328" y="205"/>
7345bd8a98eb SVGHMI: make a reasonably basic test
Edouard Tisserant
parents: 2758
diff changeset
    80
                  <position x="318" y="205"/>
2754
a46311f88604 SVGHMI: little fixes to make the build go through
Edouard Tisserant
parents: 2751
diff changeset
    81
                </connection>
a46311f88604 SVGHMI: little fixes to make the build go through
Edouard Tisserant
parents: 2751
diff changeset
    82
              </connectionPointIn>
a46311f88604 SVGHMI: little fixes to make the build go through
Edouard Tisserant
parents: 2751
diff changeset
    83
              <connectionPointOut>
2759
7345bd8a98eb SVGHMI: make a reasonably basic test
Edouard Tisserant
parents: 2758
diff changeset
    84
                <relPosition x="122" y="15"/>
7345bd8a98eb SVGHMI: make a reasonably basic test
Edouard Tisserant
parents: 2758
diff changeset
    85
              </connectionPointOut>
7345bd8a98eb SVGHMI: make a reasonably basic test
Edouard Tisserant
parents: 2758
diff changeset
    86
              <expression>TargetPressure</expression>
2754
a46311f88604 SVGHMI: little fixes to make the build go through
Edouard Tisserant
parents: 2751
diff changeset
    87
            </inOutVariable>
a46311f88604 SVGHMI: little fixes to make the build go through
Edouard Tisserant
parents: 2751
diff changeset
    88
            <inVariable localId="3" executionOrderId="0" height="25" width="60" negated="false">
a46311f88604 SVGHMI: little fixes to make the build go through
Edouard Tisserant
parents: 2751
diff changeset
    89
              <position x="130" y="225"/>
a46311f88604 SVGHMI: little fixes to make the build go through
Edouard Tisserant
parents: 2751
diff changeset
    90
              <connectionPointOut>
a46311f88604 SVGHMI: little fixes to make the build go through
Edouard Tisserant
parents: 2751
diff changeset
    91
                <relPosition x="60" y="10"/>
a46311f88604 SVGHMI: little fixes to make the build go through
Edouard Tisserant
parents: 2751
diff changeset
    92
              </connectionPointOut>
2757
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
    93
              <expression>1</expression>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
    94
            </inVariable>
2759
7345bd8a98eb SVGHMI: make a reasonably basic test
Edouard Tisserant
parents: 2758
diff changeset
    95
            <block localId="4" typeName="PumpControl" instanceName="Pump0" executionOrderId="0" height="40" width="127">
2757
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
    96
              <position x="595" y="50"/>
2759
7345bd8a98eb SVGHMI: make a reasonably basic test
Edouard Tisserant
parents: 2758
diff changeset
    97
              <inputVariables>
7345bd8a98eb SVGHMI: make a reasonably basic test
Edouard Tisserant
parents: 2758
diff changeset
    98
                <variable formalParameter="TargetPressure">
7345bd8a98eb SVGHMI: make a reasonably basic test
Edouard Tisserant
parents: 2758
diff changeset
    99
                  <connectionPointIn>
7345bd8a98eb SVGHMI: make a reasonably basic test
Edouard Tisserant
parents: 2758
diff changeset
   100
                    <relPosition x="0" y="30"/>
7345bd8a98eb SVGHMI: make a reasonably basic test
Edouard Tisserant
parents: 2758
diff changeset
   101
                    <connection refLocalId="5">
7345bd8a98eb SVGHMI: make a reasonably basic test
Edouard Tisserant
parents: 2758
diff changeset
   102
                      <position x="595" y="80"/>
7345bd8a98eb SVGHMI: make a reasonably basic test
Edouard Tisserant
parents: 2758
diff changeset
   103
                      <position x="570" y="80"/>
7345bd8a98eb SVGHMI: make a reasonably basic test
Edouard Tisserant
parents: 2758
diff changeset
   104
                    </connection>
7345bd8a98eb SVGHMI: make a reasonably basic test
Edouard Tisserant
parents: 2758
diff changeset
   105
                  </connectionPointIn>
7345bd8a98eb SVGHMI: make a reasonably basic test
Edouard Tisserant
parents: 2758
diff changeset
   106
                </variable>
7345bd8a98eb SVGHMI: make a reasonably basic test
Edouard Tisserant
parents: 2758
diff changeset
   107
              </inputVariables>
2757
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   108
              <inOutVariables/>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   109
              <outputVariables/>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   110
            </block>
2759
7345bd8a98eb SVGHMI: make a reasonably basic test
Edouard Tisserant
parents: 2758
diff changeset
   111
            <inVariable localId="5" executionOrderId="0" height="30" width="125" negated="false">
7345bd8a98eb SVGHMI: make a reasonably basic test
Edouard Tisserant
parents: 2758
diff changeset
   112
              <position x="445" y="65"/>
7345bd8a98eb SVGHMI: make a reasonably basic test
Edouard Tisserant
parents: 2758
diff changeset
   113
              <connectionPointOut>
7345bd8a98eb SVGHMI: make a reasonably basic test
Edouard Tisserant
parents: 2758
diff changeset
   114
                <relPosition x="125" y="15"/>
7345bd8a98eb SVGHMI: make a reasonably basic test
Edouard Tisserant
parents: 2758
diff changeset
   115
              </connectionPointOut>
7345bd8a98eb SVGHMI: make a reasonably basic test
Edouard Tisserant
parents: 2758
diff changeset
   116
              <expression>TargetPressure</expression>
7345bd8a98eb SVGHMI: make a reasonably basic test
Edouard Tisserant
parents: 2758
diff changeset
   117
            </inVariable>
2757
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   118
          </FBD>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   119
        </body>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   120
      </pou>
2758
5f79b194fa63 SVGHMI: filter out temporary variables created while generating ST code out of FBD.
Edouard Tisserant
parents: 2757
diff changeset
   121
      <pou name="PumpControl" pouType="functionBlock">
2757
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   122
        <interface>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   123
          <localVars>
2758
5f79b194fa63 SVGHMI: filter out temporary variables created while generating ST code out of FBD.
Edouard Tisserant
parents: 2757
diff changeset
   124
            <variable name="Pump">
2757
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   125
              <type>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   126
                <derived name="HMI_LABEL"/>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   127
              </type>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   128
            </variable>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   129
            <variable name="Pressure">
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   130
              <type>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   131
                <derived name="HMI_INT"/>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   132
              </type>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   133
            </variable>
2759
7345bd8a98eb SVGHMI: make a reasonably basic test
Edouard Tisserant
parents: 2758
diff changeset
   134
          </localVars>
7345bd8a98eb SVGHMI: make a reasonably basic test
Edouard Tisserant
parents: 2758
diff changeset
   135
          <inputVars>
7345bd8a98eb SVGHMI: make a reasonably basic test
Edouard Tisserant
parents: 2758
diff changeset
   136
            <variable name="TargetPressure">
7345bd8a98eb SVGHMI: make a reasonably basic test
Edouard Tisserant
parents: 2758
diff changeset
   137
              <type>
7345bd8a98eb SVGHMI: make a reasonably basic test
Edouard Tisserant
parents: 2758
diff changeset
   138
                <INT/>
7345bd8a98eb SVGHMI: make a reasonably basic test
Edouard Tisserant
parents: 2758
diff changeset
   139
              </type>
7345bd8a98eb SVGHMI: make a reasonably basic test
Edouard Tisserant
parents: 2758
diff changeset
   140
            </variable>
7345bd8a98eb SVGHMI: make a reasonably basic test
Edouard Tisserant
parents: 2758
diff changeset
   141
          </inputVars>
7345bd8a98eb SVGHMI: make a reasonably basic test
Edouard Tisserant
parents: 2758
diff changeset
   142
          <localVars>
2758
5f79b194fa63 SVGHMI: filter out temporary variables created while generating ST code out of FBD.
Edouard Tisserant
parents: 2757
diff changeset
   143
            <variable name="AddOut">
5f79b194fa63 SVGHMI: filter out temporary variables created while generating ST code out of FBD.
Edouard Tisserant
parents: 2757
diff changeset
   144
              <type>
5f79b194fa63 SVGHMI: filter out temporary variables created while generating ST code out of FBD.
Edouard Tisserant
parents: 2757
diff changeset
   145
                <derived name="HMI_INT"/>
5f79b194fa63 SVGHMI: filter out temporary variables created while generating ST code out of FBD.
Edouard Tisserant
parents: 2757
diff changeset
   146
              </type>
5f79b194fa63 SVGHMI: filter out temporary variables created while generating ST code out of FBD.
Edouard Tisserant
parents: 2757
diff changeset
   147
            </variable>
2757
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   148
          </localVars>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   149
        </interface>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   150
        <body>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   151
          <FBD>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   152
            <inOutVariable localId="1" executionOrderId="0" height="30" width="75" negatedOut="false" negatedIn="false">
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   153
              <position x="285" y="105"/>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   154
              <connectionPointIn>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   155
                <relPosition x="0" y="15"/>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   156
                <connection refLocalId="2" formalParameter="OUT">
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   157
                  <position x="285" y="120"/>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   158
                  <position x="275" y="120"/>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   159
                  <position x="275" y="95"/>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   160
                  <position x="550" y="95"/>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   161
                  <position x="550" y="135"/>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   162
                  <position x="540" y="135"/>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   163
                </connection>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   164
              </connectionPointIn>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   165
              <connectionPointOut>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   166
                <relPosition x="75" y="15"/>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   167
              </connectionPointOut>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   168
              <expression>Pressure</expression>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   169
            </inOutVariable>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   170
            <block localId="2" typeName="ADD" executionOrderId="0" height="60" width="65">
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   171
              <position x="475" y="105"/>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   172
              <inputVariables>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   173
                <variable formalParameter="IN1">
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   174
                  <connectionPointIn>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   175
                    <relPosition x="0" y="30"/>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   176
                    <connection refLocalId="1">
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   177
                      <position x="475" y="135"/>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   178
                      <position x="417" y="135"/>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   179
                      <position x="417" y="120"/>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   180
                      <position x="360" y="120"/>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   181
                    </connection>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   182
                  </connectionPointIn>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   183
                </variable>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   184
                <variable formalParameter="IN2">
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   185
                  <connectionPointIn>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   186
                    <relPosition x="0" y="50"/>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   187
                    <connection refLocalId="3">
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   188
                      <position x="475" y="155"/>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   189
                      <position x="432" y="155"/>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   190
                      <position x="432" y="150"/>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   191
                      <position x="410" y="150"/>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   192
                    </connection>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   193
                  </connectionPointIn>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   194
                </variable>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   195
              </inputVariables>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   196
              <inOutVariables/>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   197
              <outputVariables>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   198
                <variable formalParameter="OUT">
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   199
                  <connectionPointOut>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   200
                    <relPosition x="65" y="30"/>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   201
                  </connectionPointOut>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   202
                </variable>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   203
              </outputVariables>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   204
            </block>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   205
            <inVariable localId="3" executionOrderId="0" height="25" width="30" negated="false">
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   206
              <position x="380" y="140"/>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   207
              <connectionPointOut>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   208
                <relPosition x="30" y="10"/>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   209
              </connectionPointOut>
c901baa36bb3 SVGHMI: added deduction of HMI tree from list of HMI_* instances.
Edouard Tisserant
parents: 2754
diff changeset
   210
              <expression>23</expression>
2754
a46311f88604 SVGHMI: little fixes to make the build go through
Edouard Tisserant
parents: 2751
diff changeset
   211
            </inVariable>
2758
5f79b194fa63 SVGHMI: filter out temporary variables created while generating ST code out of FBD.
Edouard Tisserant
parents: 2757
diff changeset
   212
            <outVariable localId="4" executionOrderId="0" height="30" width="60" negated="false">
5f79b194fa63 SVGHMI: filter out temporary variables created while generating ST code out of FBD.
Edouard Tisserant
parents: 2757
diff changeset
   213
              <position x="640" y="135"/>
5f79b194fa63 SVGHMI: filter out temporary variables created while generating ST code out of FBD.
Edouard Tisserant
parents: 2757
diff changeset
   214
              <connectionPointIn>
5f79b194fa63 SVGHMI: filter out temporary variables created while generating ST code out of FBD.
Edouard Tisserant
parents: 2757
diff changeset
   215
                <relPosition x="0" y="15"/>
5f79b194fa63 SVGHMI: filter out temporary variables created while generating ST code out of FBD.
Edouard Tisserant
parents: 2757
diff changeset
   216
                <connection refLocalId="2" formalParameter="OUT">
5f79b194fa63 SVGHMI: filter out temporary variables created while generating ST code out of FBD.
Edouard Tisserant
parents: 2757
diff changeset
   217
                  <position x="640" y="150"/>
5f79b194fa63 SVGHMI: filter out temporary variables created while generating ST code out of FBD.
Edouard Tisserant
parents: 2757
diff changeset
   218
                  <position x="590" y="150"/>
5f79b194fa63 SVGHMI: filter out temporary variables created while generating ST code out of FBD.
Edouard Tisserant
parents: 2757
diff changeset
   219
                  <position x="590" y="135"/>
5f79b194fa63 SVGHMI: filter out temporary variables created while generating ST code out of FBD.
Edouard Tisserant
parents: 2757
diff changeset
   220
                  <position x="540" y="135"/>
5f79b194fa63 SVGHMI: filter out temporary variables created while generating ST code out of FBD.
Edouard Tisserant
parents: 2757
diff changeset
   221
                </connection>
5f79b194fa63 SVGHMI: filter out temporary variables created while generating ST code out of FBD.
Edouard Tisserant
parents: 2757
diff changeset
   222
              </connectionPointIn>
5f79b194fa63 SVGHMI: filter out temporary variables created while generating ST code out of FBD.
Edouard Tisserant
parents: 2757
diff changeset
   223
              <expression>AddOut</expression>
5f79b194fa63 SVGHMI: filter out temporary variables created while generating ST code out of FBD.
Edouard Tisserant
parents: 2757
diff changeset
   224
            </outVariable>
2751
eab6161e603d Complete SVGUI test minimal skeleton so that it builds.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 2750
diff changeset
   225
          </FBD>
2750
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
   226
        </body>
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
   227
      </pou>
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
   228
    </pous>
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
   229
  </types>
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
   230
  <instances>
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
   231
    <configurations>
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
   232
      <configuration name="config">
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
   233
        <resource name="resource1">
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
   234
          <task name="task0" priority="0" interval="T#20ms">
2759
7345bd8a98eb SVGHMI: make a reasonably basic test
Edouard Tisserant
parents: 2758
diff changeset
   235
            <pouInstance name="instance0" typeName="MainStuff"/>
2750
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
   236
          </task>
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
   237
        </resource>
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
   238
      </configuration>
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
   239
    </configurations>
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
   240
  </instances>
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
   241
</project>