tests/linux/test_slave/plc.xml
author laurent
Thu, 08 Oct 2009 11:04:06 +0200
changeset 409 63249a965feb
parent 264 06420c9fb656
permissions -rw-r--r--
Allowing multiple Beremiz_service instances to run on same target.
167
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
     1
<?xml version="1.0" encoding="UTF-8"?>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
     2
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
     3
         xmlns="http://www.plcopen.org/xml/tc6.xsd"
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
     4
         xmlns:xhtml="http://www.w3.org/1999/xhtml"
264
06420c9fb656 Update test_master and test_slave examples for linux
greg
parents: 179
diff changeset
     5
         xsi:schemaLocation="http://www.plcopen.org/xml/tc6.xsd">
167
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
     6
  <fileHeader companyName="lolitech"
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
     7
              productName="beremiz"
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
     8
              productVersion="1"
264
06420c9fb656 Update test_master and test_slave examples for linux
greg
parents: 179
diff changeset
     9
              creationDateTime="2008-06-24T18:44:00"/>
167
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    10
  <contentHeader name="test_slave"
264
06420c9fb656 Update test_master and test_slave examples for linux
greg
parents: 179
diff changeset
    11
                 modificationDateTime="2008-10-24T09:32:01"
167
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    12
                 language="en-US">
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    13
    <coordinateInfo>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    14
      <fbd>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    15
        <scaling x="0" y="0"/>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    16
      </fbd>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    17
      <ld>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    18
        <scaling x="0" y="0"/>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    19
      </ld>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    20
      <sfc>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    21
        <scaling x="0" y="0"/>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    22
      </sfc>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    23
    </coordinateInfo>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    24
  </contentHeader>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    25
  <types>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    26
    <dataTypes/>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    27
    <pous>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    28
      <pou name="test_main" pouType="program">
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    29
        <interface>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    30
          <localVars>
170
acc6a61c493c Moved DS401 Slave Gui based demo to test_master_DS401GUI. test_master is now a pure simple master, supposed to work with test_slave.
etisserant
parents: 167
diff changeset
    31
            <variable name="outvar" address="%QW0.0.8192.0">
acc6a61c493c Moved DS401 Slave Gui based demo to test_master_DS401GUI. test_master is now a pure simple master, supposed to work with test_slave.
etisserant
parents: 167
diff changeset
    32
              <type>
acc6a61c493c Moved DS401 Slave Gui based demo to test_master_DS401GUI. test_master is now a pure simple master, supposed to work with test_slave.
etisserant
parents: 167
diff changeset
    33
                <INT/>
acc6a61c493c Moved DS401 Slave Gui based demo to test_master_DS401GUI. test_master is now a pure simple master, supposed to work with test_slave.
etisserant
parents: 167
diff changeset
    34
              </type>
acc6a61c493c Moved DS401 Slave Gui based demo to test_master_DS401GUI. test_master is now a pure simple master, supposed to work with test_slave.
etisserant
parents: 167
diff changeset
    35
            </variable>
acc6a61c493c Moved DS401 Slave Gui based demo to test_master_DS401GUI. test_master is now a pure simple master, supposed to work with test_slave.
etisserant
parents: 167
diff changeset
    36
            <variable name="invar" address="%IW0.0.8193.0">
167
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    37
              <type>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    38
                <INT/>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    39
              </type>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    40
            </variable>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    41
          </localVars>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    42
        </interface>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    43
        <body>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    44
          <FBD>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    45
            <outVariable localId="1" height="29" width="80">
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    46
              <position x="362" y="140"/>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    47
              <connectionPointIn>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    48
                <relPosition x="0" y="14"/>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    49
                <connection refLocalId="4" formalParameter="OUT">
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    50
                  <position x="362" y="154"/>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    51
                  <position x="330" y="154"/>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    52
                  <position x="330" y="153"/>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    53
                  <position x="299" y="153"/>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    54
                </connection>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    55
              </connectionPointIn>
170
acc6a61c493c Moved DS401 Slave Gui based demo to test_master_DS401GUI. test_master is now a pure simple master, supposed to work with test_slave.
etisserant
parents: 167
diff changeset
    56
              <expression>outvar</expression>
167
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    57
            </outVariable>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    58
            <inVariable localId="2" height="29" width="20">
170
acc6a61c493c Moved DS401 Slave Gui based demo to test_master_DS401GUI. test_master is now a pure simple master, supposed to work with test_slave.
etisserant
parents: 167
diff changeset
    59
              <position x="100" y="115"/>
167
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    60
              <connectionPointOut>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    61
                <relPosition x="20" y="14"/>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    62
              </connectionPointOut>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    63
              <expression>1</expression>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    64
            </inVariable>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    65
            <block localId="4" width="75" height="60" typeName="ADD">
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    66
              <position x="224" y="123"/>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    67
              <inputVariables>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    68
                <variable formalParameter="IN1">
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    69
                  <connectionPointIn>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    70
                    <relPosition x="0" y="30"/>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    71
                    <connection refLocalId="2">
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    72
                      <position x="224" y="153"/>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    73
                      <position x="183" y="153"/>
170
acc6a61c493c Moved DS401 Slave Gui based demo to test_master_DS401GUI. test_master is now a pure simple master, supposed to work with test_slave.
etisserant
parents: 167
diff changeset
    74
                      <position x="183" y="129"/>
acc6a61c493c Moved DS401 Slave Gui based demo to test_master_DS401GUI. test_master is now a pure simple master, supposed to work with test_slave.
etisserant
parents: 167
diff changeset
    75
                      <position x="120" y="129"/>
167
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    76
                    </connection>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    77
                  </connectionPointIn>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    78
                </variable>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    79
                <variable formalParameter="IN2">
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    80
                  <connectionPointIn>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    81
                    <relPosition x="0" y="50"/>
170
acc6a61c493c Moved DS401 Slave Gui based demo to test_master_DS401GUI. test_master is now a pure simple master, supposed to work with test_slave.
etisserant
parents: 167
diff changeset
    82
                    <connection refLocalId="5">
167
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    83
                      <position x="224" y="173"/>
170
acc6a61c493c Moved DS401 Slave Gui based demo to test_master_DS401GUI. test_master is now a pure simple master, supposed to work with test_slave.
etisserant
parents: 167
diff changeset
    84
                      <position x="187" y="173"/>
acc6a61c493c Moved DS401 Slave Gui based demo to test_master_DS401GUI. test_master is now a pure simple master, supposed to work with test_slave.
etisserant
parents: 167
diff changeset
    85
                      <position x="187" y="187"/>
acc6a61c493c Moved DS401 Slave Gui based demo to test_master_DS401GUI. test_master is now a pure simple master, supposed to work with test_slave.
etisserant
parents: 167
diff changeset
    86
                      <position x="150" y="187"/>
167
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    87
                    </connection>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    88
                  </connectionPointIn>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    89
                </variable>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    90
              </inputVariables>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    91
              <inOutVariables/>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    92
              <outputVariables>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    93
                <variable formalParameter="OUT">
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    94
                  <connectionPointOut>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    95
                    <relPosition x="75" y="30"/>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    96
                  </connectionPointOut>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    97
                </variable>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    98
              </outputVariables>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
    99
            </block>
170
acc6a61c493c Moved DS401 Slave Gui based demo to test_master_DS401GUI. test_master is now a pure simple master, supposed to work with test_slave.
etisserant
parents: 167
diff changeset
   100
            <inVariable localId="5" height="29" width="60">
acc6a61c493c Moved DS401 Slave Gui based demo to test_master_DS401GUI. test_master is now a pure simple master, supposed to work with test_slave.
etisserant
parents: 167
diff changeset
   101
              <position x="90" y="173"/>
acc6a61c493c Moved DS401 Slave Gui based demo to test_master_DS401GUI. test_master is now a pure simple master, supposed to work with test_slave.
etisserant
parents: 167
diff changeset
   102
              <connectionPointOut>
acc6a61c493c Moved DS401 Slave Gui based demo to test_master_DS401GUI. test_master is now a pure simple master, supposed to work with test_slave.
etisserant
parents: 167
diff changeset
   103
                <relPosition x="60" y="14"/>
acc6a61c493c Moved DS401 Slave Gui based demo to test_master_DS401GUI. test_master is now a pure simple master, supposed to work with test_slave.
etisserant
parents: 167
diff changeset
   104
              </connectionPointOut>
acc6a61c493c Moved DS401 Slave Gui based demo to test_master_DS401GUI. test_master is now a pure simple master, supposed to work with test_slave.
etisserant
parents: 167
diff changeset
   105
              <expression>invar</expression>
acc6a61c493c Moved DS401 Slave Gui based demo to test_master_DS401GUI. test_master is now a pure simple master, supposed to work with test_slave.
etisserant
parents: 167
diff changeset
   106
            </inVariable>
167
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
   107
          </FBD>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
   108
        </body>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
   109
      </pou>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
   110
    </pous>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
   111
  </types>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
   112
  <instances>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
   113
    <configurations>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
   114
      <configuration name="conf">
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
   115
        <resource name="res">
179
66a4dc7f534a Added PLC tick alignement on external synchronization source feature.
etisserant
parents: 170
diff changeset
   116
          <task name="tache" interval="00:00:00.010000" priority="0">
167
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
   117
            <pouInstance name="toto" type="test_main"/>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
   118
          </task>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
   119
        </resource>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
   120
      </configuration>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
   121
    </configurations>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
   122
  </instances>
648449a9d778 Re-organized tests
etisserant
parents:
diff changeset
   123
</project>