tests/win32/test/plc.xml
author lbessard
Tue, 24 Mar 2009 17:32:54 +0100
changeset 327 e82c422ad811
parent 266 530118da6c15
permissions -rw-r--r--
Register the current watched variable in Debug Window before starting
266
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
     1
<?xml version="1.0" encoding="UTF-8"?>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
     2
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
     3
         xmlns="http://www.plcopen.org/xml/tc6.xsd"
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
     4
         xmlns:xhtml="http://www.w3.org/1999/xhtml"
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
     5
         xsi:schemaLocation="http://www.plcopen.org/xml/tc6.xsd http://www.plcopen.org/xml/tc6.xsd">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
     6
  <fileHeader companyName="LOLITECH"
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
     7
              companyURL="www.lolitech.com"
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
     8
              productName="BREMIZ"
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
     9
              productVersion="1"
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    10
              productRelease="1"
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    11
              creationDateTime="2007-07-07 11:58:26"
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    12
              contentDescription="This tests as most as possible IEC standard library"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    13
  <contentHeader name="STD_TEST"
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    14
                 modificationDateTime="2008-08-27 16:29:04">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    15
    <coordinateInfo>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    16
      <fbd>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    17
        <scaling x="5" y="5"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    18
      </fbd>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    19
      <ld>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    20
        <scaling x="5" y="5"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    21
      </ld>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    22
      <sfc>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    23
        <scaling x="5" y="5"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    24
      </sfc>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    25
    </coordinateInfo>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    26
  </contentHeader>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    27
  <types>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    28
    <dataTypes>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    29
      <dataType name="MYTYPE">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    30
        <baseType>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    31
          <subrangeSigned>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    32
            <range lower="0" upper="1000"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    33
            <baseType>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    34
              <INT/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    35
            </baseType>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    36
          </subrangeSigned>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    37
        </baseType>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    38
      </dataType>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    39
      <dataType name="MYTYPE2">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    40
        <baseType>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    41
          <enum>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    42
            <values>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    43
              <value name="OPEN"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    44
              <value name="CLOSED"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    45
            </values>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    46
          </enum>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    47
        </baseType>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    48
        <initialValue>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    49
          <simpleValue value="CLOSED"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    50
        </initialValue>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    51
      </dataType>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    52
      <dataType name="MYTYPE3">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    53
        <baseType>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    54
          <array>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    55
            <dimension lower="1" upper="8"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    56
            <dimension lower="1" upper="8"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    57
            <baseType>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    58
              <derived name="MYTYPE5"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    59
            </baseType>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    60
          </array>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    61
        </baseType>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    62
        <initialValue>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    63
          <arrayValue>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    64
            <value repetitionValue="32">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    65
              <simpleValue value="0"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    66
            </value>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    67
            <value repetitionValue="30">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    68
              <simpleValue value="1"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    69
            </value>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    70
          </arrayValue>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    71
        </initialValue>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    72
      </dataType>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    73
      <dataType name="MYTYPE4">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    74
        <baseType>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    75
          <subrangeUnsigned>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    76
            <range lower="1" upper="100"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    77
            <baseType>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    78
              <UINT/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    79
            </baseType>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    80
          </subrangeUnsigned>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    81
        </baseType>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    82
      </dataType>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    83
      <dataType name="MYTYPE5">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    84
        <baseType>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    85
          <derived name="MYTYPE4"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    86
        </baseType>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    87
        <initialValue>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    88
          <simpleValue value="10"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    89
        </initialValue>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    90
      </dataType>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    91
    </dataTypes>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    92
    <pous>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    93
      <pou name="MAIN_TEST" pouType="program">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    94
        <interface>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    95
          <localVars>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    96
            <variable name="DigitalOut" address="%QB0.0.16.25088.1">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    97
              <type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    98
                <BYTE/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
    99
              </type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   100
            </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   101
            <variable name="DigitalIn" address="%IB0.0.32.24576.1">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   102
              <type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   103
                <BYTE/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   104
              </type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   105
            </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   106
            <variable name="AnalogOut1" address="%QW0.0.16.25617.1">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   107
              <type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   108
                <derived name="MYTYPE"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   109
              </type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   110
            </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   111
            <variable name="AnalogOut2" address="%QW0.0.16.25617.2">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   112
              <type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   113
                <derived name="MYTYPE"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   114
              </type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   115
            </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   116
            <variable name="AnalogOut3" address="%QW0.0.16.25617.3">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   117
              <type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   118
                <INT/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   119
              </type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   120
            </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   121
            <variable name="AnalogIn1" address="%IW0.0.32.25601.1">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   122
              <type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   123
                <INT/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   124
              </type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   125
            </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   126
            <variable name="AnalogIn2" address="%IW0.0.32.25601.2">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   127
              <type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   128
                <INT/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   129
              </type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   130
            </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   131
          </localVars>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   132
          <localVars>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   133
            <variable name="Test">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   134
              <type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   135
                <derived name="Bitwise_Block"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   136
              </type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   137
            </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   138
            <variable name="Test2">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   139
              <type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   140
                <derived name="Test_SFC"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   141
              </type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   142
            </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   143
            <variable name="t1">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   144
              <type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   145
                <derived name="TOF"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   146
              </type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   147
            </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   148
            <variable name="latch">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   149
              <type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   150
                <derived name="RS"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   151
              </type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   152
            </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   153
            <variable name="t2">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   154
              <type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   155
                <derived name="TOF"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   156
              </type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   157
            </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   158
          </localVars>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   159
        </interface>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   160
        <body>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   161
          <FBD>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   162
            <comment localId="26" height="80" width="475">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   163
              <position x="25" y="5"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   164
              <content>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   165
<![CDATA[Main program]]>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   166
              </content>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   167
            </comment>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   168
            <inVariable localId="34" height="30" width="95">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   169
              <position x="40" y="535"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   170
              <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   171
                <relPosition x="95" y="15"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   172
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   173
              <expression>DigitalIn</expression>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   174
            </inVariable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   175
            <outVariable localId="36" height="30" width="100">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   176
              <position x="915" y="450"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   177
              <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   178
                <relPosition x="0" y="15"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   179
                <connection refLocalId="39">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   180
                  <position x="915" y="465"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   181
                  <position x="885" y="465"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   182
                  <position x="885" y="465"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   183
                  <position x="925" y="465"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   184
                  <position x="925" y="465"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   185
                  <position x="865" y="465"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   186
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   187
              </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   188
              <expression>DigitalOut</expression>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   189
            </outVariable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   190
            <block localId="37" width="107" height="60" typeName="GETBIT">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   191
              <position x="195" y="520"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   192
              <inputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   193
                <variable formalParameter="INPUT_BYTE">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   194
                  <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   195
                    <relPosition x="0" y="30"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   196
                    <connection refLocalId="34">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   197
                      <position x="195" y="550"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   198
                      <position x="135" y="550"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   199
                    </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   200
                  </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   201
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   202
                <variable formalParameter="NUM_BIT">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   203
                  <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   204
                    <relPosition x="0" y="50"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   205
                    <connection refLocalId="38">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   206
                      <position x="195" y="570"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   207
                      <position x="165" y="570"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   208
                      <position x="165" y="585"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   209
                      <position x="105" y="585"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   210
                    </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   211
                  </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   212
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   213
              </inputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   214
              <inOutVariables/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   215
              <outputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   216
                <variable formalParameter="">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   217
                  <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   218
                    <relPosition x="107" y="30"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   219
                  </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   220
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   221
              </outputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   222
            </block>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   223
            <inVariable localId="38" height="30" width="65">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   224
              <position x="40" y="570"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   225
              <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   226
                <relPosition x="65" y="15"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   227
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   228
              <expression>UINT#0</expression>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   229
            </inVariable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   230
            <block localId="39" width="120" height="80" typeName="SETBIT">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   231
              <position x="745" y="435"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   232
              <inputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   233
                <variable formalParameter="INPUT_BYTE">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   234
                  <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   235
                    <relPosition x="0" y="30"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   236
                    <connection refLocalId="95">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   237
                      <position x="745" y="465"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   238
                      <position x="695" y="465"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   239
                    </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   240
                  </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   241
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   242
                <variable formalParameter="INPUT_BIT">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   243
                  <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   244
                    <relPosition x="0" y="50"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   245
                    <connection refLocalId="52" formalParameter="OUT_AND">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   246
                      <position x="745" y="485"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   247
                      <position x="569" y="485"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   248
                      <position x="569" y="550"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   249
                      <position x="513" y="550"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   250
                    </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   251
                  </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   252
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   253
                <variable formalParameter="NUM_BIT">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   254
                  <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   255
                    <relPosition x="0" y="70"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   256
                    <connection refLocalId="96">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   257
                      <position x="745" y="505"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   258
                      <position x="690" y="505"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   259
                    </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   260
                  </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   261
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   262
              </inputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   263
              <inOutVariables/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   264
              <outputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   265
                <variable formalParameter="">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   266
                  <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   267
                    <relPosition x="120" y="30"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   268
                  </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   269
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   270
              </outputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   271
            </block>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   272
            <inVariable localId="40" height="30" width="100">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   273
              <position x="25" y="155"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   274
              <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   275
                <relPosition x="100" y="15"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   276
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   277
              <expression>DigitalOut</expression>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   278
            </inVariable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   279
            <block localId="42" width="120" height="85" typeName="SETBIT">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   280
              <position x="745" y="530"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   281
              <inputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   282
                <variable formalParameter="INPUT_BYTE">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   283
                  <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   284
                    <relPosition x="0" y="30"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   285
                    <connection refLocalId="94">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   286
                      <position x="745" y="560"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   287
                      <position x="690" y="560"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   288
                    </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   289
                  </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   290
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   291
                <variable formalParameter="INPUT_BIT">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   292
                  <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   293
                    <relPosition x="0" y="50"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   294
                    <connection refLocalId="52" formalParameter="OUT_OR">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   295
                      <position x="745" y="580"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   296
                      <position x="513" y="580"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   297
                    </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   298
                  </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   299
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   300
                <variable formalParameter="NUM_BIT">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   301
                  <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   302
                    <relPosition x="0" y="70"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   303
                    <connection refLocalId="93">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   304
                      <position x="745" y="600"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   305
                      <position x="690" y="600"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   306
                    </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   307
                  </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   308
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   309
              </inputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   310
              <inOutVariables/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   311
              <outputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   312
                <variable formalParameter="">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   313
                  <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   314
                    <relPosition x="120" y="30"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   315
                  </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   316
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   317
              </outputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   318
            </block>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   319
            <outVariable localId="43" height="30" width="100">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   320
              <position x="910" y="545"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   321
              <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   322
                <relPosition x="0" y="15"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   323
                <connection refLocalId="42">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   324
                  <position x="910" y="560"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   325
                  <position x="865" y="560"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   326
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   327
              </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   328
              <expression>DigitalOut</expression>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   329
            </outVariable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   330
            <block localId="44" width="115" height="60" typeName="GETBIT">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   331
              <position x="195" y="595"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   332
              <inputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   333
                <variable formalParameter="INPUT_BYTE">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   334
                  <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   335
                    <relPosition x="0" y="30"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   336
                    <connection refLocalId="97">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   337
                      <position x="195" y="625"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   338
                      <position x="135" y="625"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   339
                    </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   340
                  </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   341
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   342
                <variable formalParameter="NUM_BIT">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   343
                  <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   344
                    <relPosition x="0" y="50"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   345
                    <connection refLocalId="45">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   346
                      <position x="195" y="645"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   347
                      <position x="154" y="645"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   348
                      <position x="154" y="660"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   349
                      <position x="105" y="660"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   350
                    </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   351
                  </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   352
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   353
              </inputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   354
              <inOutVariables/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   355
              <outputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   356
                <variable formalParameter="">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   357
                  <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   358
                    <relPosition x="115" y="30"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   359
                  </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   360
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   361
              </outputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   362
            </block>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   363
            <inVariable localId="45" height="30" width="65">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   364
              <position x="40" y="645"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   365
              <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   366
                <relPosition x="65" y="15"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   367
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   368
              <expression>UINT#1</expression>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   369
            </inVariable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   370
            <block localId="46" width="120" height="80" typeName="SETBIT">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   371
              <position x="745" y="630"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   372
              <inputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   373
                <variable formalParameter="INPUT_BYTE">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   374
                  <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   375
                    <relPosition x="0" y="30"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   376
                    <connection refLocalId="92">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   377
                      <position x="745" y="660"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   378
                      <position x="690" y="660"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   379
                    </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   380
                  </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   381
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   382
                <variable formalParameter="INPUT_BIT">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   383
                  <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   384
                    <relPosition x="0" y="50"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   385
                    <connection refLocalId="52" formalParameter="OUT_XOR">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   386
                      <position x="745" y="680"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   387
                      <position x="555" y="680"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   388
                      <position x="555" y="610"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   389
                      <position x="513" y="610"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   390
                    </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   391
                  </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   392
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   393
                <variable formalParameter="NUM_BIT">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   394
                  <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   395
                    <relPosition x="0" y="70"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   396
                    <connection refLocalId="49">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   397
                      <position x="745" y="700"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   398
                      <position x="690" y="700"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   399
                    </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   400
                  </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   401
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   402
              </inputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   403
              <inOutVariables/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   404
              <outputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   405
                <variable formalParameter="">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   406
                  <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   407
                    <relPosition x="120" y="30"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   408
                  </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   409
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   410
              </outputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   411
            </block>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   412
            <outVariable localId="47" height="30" width="105">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   413
              <position x="910" y="645"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   414
              <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   415
                <relPosition x="0" y="15"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   416
                <connection refLocalId="46">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   417
                  <position x="910" y="660"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   418
                  <position x="865" y="660"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   419
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   420
              </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   421
              <expression>DigitalOut</expression>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   422
            </outVariable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   423
            <inVariable localId="49" height="30" width="65">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   424
              <position x="625" y="685"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   425
              <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   426
                <relPosition x="65" y="15"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   427
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   428
              <expression>UINT#2</expression>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   429
            </inVariable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   430
            <block localId="50" width="120" height="80" typeName="SETBIT">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   431
              <position x="745" y="725"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   432
              <inputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   433
                <variable formalParameter="INPUT_BYTE">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   434
                  <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   435
                    <relPosition x="0" y="30"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   436
                    <connection refLocalId="91">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   437
                      <position x="745" y="755"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   438
                      <position x="690" y="755"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   439
                    </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   440
                  </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   441
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   442
                <variable formalParameter="INPUT_BIT">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   443
                  <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   444
                    <relPosition x="0" y="50"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   445
                    <connection refLocalId="52" formalParameter="OUT_SR">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   446
                      <position x="745" y="775"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   447
                      <position x="525" y="775"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   448
                      <position x="525" y="640"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   449
                      <position x="513" y="640"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   450
                    </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   451
                  </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   452
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   453
                <variable formalParameter="NUM_BIT">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   454
                  <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   455
                    <relPosition x="0" y="70"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   456
                    <connection refLocalId="53">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   457
                      <position x="745" y="795"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   458
                      <position x="692" y="795"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   459
                    </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   460
                  </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   461
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   462
              </inputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   463
              <inOutVariables/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   464
              <outputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   465
                <variable formalParameter="">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   466
                  <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   467
                    <relPosition x="120" y="30"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   468
                  </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   469
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   470
              </outputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   471
            </block>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   472
            <outVariable localId="51" height="30" width="100">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   473
              <position x="910" y="740"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   474
              <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   475
                <relPosition x="0" y="15"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   476
                <connection refLocalId="50">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   477
                  <position x="910" y="755"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   478
                  <position x="865" y="755"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   479
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   480
              </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   481
              <expression>DigitalOut</expression>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   482
            </outVariable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   483
            <block localId="52" width="127" height="141" typeName="Bitwise_Block" instanceName="Test">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   484
              <position x="386" y="515"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   485
              <inputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   486
                <variable formalParameter="IN1">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   487
                  <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   488
                    <relPosition x="0" y="35"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   489
                    <connection refLocalId="37">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   490
                      <position x="386" y="550"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   491
                      <position x="302" y="550"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   492
                    </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   493
                  </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   494
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   495
                <variable formalParameter="IN2">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   496
                  <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   497
                    <relPosition x="0" y="65"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   498
                    <connection refLocalId="44">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   499
                      <position x="386" y="580"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   500
                      <position x="365" y="580"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   501
                      <position x="365" y="625"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   502
                      <position x="310" y="625"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   503
                    </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   504
                  </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   505
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   506
              </inputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   507
              <inOutVariables/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   508
              <outputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   509
                <variable formalParameter="OUT_AND">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   510
                  <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   511
                    <relPosition x="127" y="35"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   512
                  </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   513
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   514
                <variable formalParameter="OUT_OR">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   515
                  <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   516
                    <relPosition x="127" y="65"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   517
                  </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   518
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   519
                <variable formalParameter="OUT_XOR">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   520
                  <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   521
                    <relPosition x="127" y="95"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   522
                  </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   523
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   524
                <variable formalParameter="OUT_SR">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   525
                  <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   526
                    <relPosition x="127" y="125"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   527
                  </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   528
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   529
              </outputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   530
            </block>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   531
            <inVariable localId="53" height="30" width="67">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   532
              <position x="625" y="780"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   533
              <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   534
                <relPosition x="67" y="15"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   535
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   536
              <expression>UINT#3</expression>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   537
            </inVariable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   538
            <inVariable localId="59" height="30" width="100">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   539
              <position x="45" y="910"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   540
              <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   541
                <relPosition x="100" y="15"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   542
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   543
              <expression>AnalogOut1</expression>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   544
            </inVariable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   545
            <outVariable localId="60" height="30" width="100">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   546
              <position x="910" y="840"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   547
              <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   548
                <relPosition x="0" y="15"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   549
                <connection refLocalId="69" formalParameter="OUT1">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   550
                  <position x="910" y="855"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   551
                  <position x="610" y="855"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   552
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   553
              </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   554
              <expression>AnalogOut1</expression>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   555
            </outVariable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   556
            <inVariable localId="64" height="30" width="95">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   557
              <position x="45" y="980"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   558
              <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   559
                <relPosition x="95" y="15"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   560
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   561
              <expression>AnalogIn1</expression>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   562
            </inVariable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   563
            <block localId="69" width="160" height="230" typeName="Test_SFC" instanceName="Test2">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   564
              <position x="450" y="820"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   565
              <inputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   566
                <variable formalParameter="CNT1">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   567
                  <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   568
                    <relPosition x="0" y="35"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   569
                    <connection refLocalId="37">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   570
                      <position x="450" y="855"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   571
                      <position x="340" y="855"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   572
                      <position x="340" y="550"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   573
                      <position x="302" y="550"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   574
                    </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   575
                  </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   576
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   577
                <variable formalParameter="CNT2">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   578
                  <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   579
                    <relPosition x="0" y="70"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   580
                    <connection refLocalId="44">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   581
                      <position x="450" y="890"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   582
                      <position x="365" y="890"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   583
                      <position x="365" y="625"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   584
                      <position x="310" y="625"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   585
                    </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   586
                  </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   587
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   588
                <variable formalParameter="IN1">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   589
                  <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   590
                    <relPosition x="0" y="105"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   591
                    <connection refLocalId="59">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   592
                      <position x="450" y="925"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   593
                      <position x="145" y="925"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   594
                    </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   595
                  </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   596
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   597
                <variable formalParameter="IN2">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   598
                  <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   599
                    <relPosition x="0" y="140"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   600
                    <connection refLocalId="71">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   601
                      <position x="450" y="960"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   602
                      <position x="145" y="960"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   603
                    </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   604
                  </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   605
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   606
                <variable formalParameter="UPPER1">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   607
                  <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   608
                    <relPosition x="0" y="175"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   609
                    <connection refLocalId="64">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   610
                      <position x="450" y="995"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   611
                      <position x="140" y="995"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   612
                    </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   613
                  </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   614
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   615
                <variable formalParameter="UPPER2">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   616
                  <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   617
                    <relPosition x="0" y="210"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   618
                    <connection refLocalId="72">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   619
                      <position x="450" y="1030"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   620
                      <position x="140" y="1030"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   621
                    </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   622
                  </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   623
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   624
              </inputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   625
              <inOutVariables/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   626
              <outputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   627
                <variable formalParameter="OUT1">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   628
                  <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   629
                    <relPosition x="160" y="35"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   630
                  </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   631
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   632
                <variable formalParameter="OUT2">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   633
                  <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   634
                    <relPosition x="160" y="70"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   635
                  </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   636
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   637
              </outputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   638
            </block>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   639
            <outVariable localId="70" height="30" width="100">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   640
              <position x="910" y="875"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   641
              <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   642
                <relPosition x="0" y="15"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   643
                <connection refLocalId="69" formalParameter="OUT2">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   644
                  <position x="910" y="890"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   645
                  <position x="610" y="890"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   646
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   647
              </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   648
              <expression>AnalogOut2</expression>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   649
            </outVariable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   650
            <inVariable localId="71" height="30" width="100">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   651
              <position x="45" y="945"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   652
              <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   653
                <relPosition x="100" y="15"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   654
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   655
              <expression>AnalogOut2</expression>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   656
            </inVariable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   657
            <inVariable localId="72" height="35" width="95">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   658
              <position x="45" y="1015"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   659
              <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   660
                <relPosition x="95" y="15"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   661
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   662
              <expression>AnalogIn2</expression>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   663
            </inVariable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   664
            <block localId="73" width="120" height="80" typeName="SETBIT">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   665
              <position x="745" y="140"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   666
              <inputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   667
                <variable formalParameter="INPUT_BYTE">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   668
                  <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   669
                    <relPosition x="0" y="30"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   670
                    <connection refLocalId="40">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   671
                      <position x="745" y="170"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   672
                      <position x="125" y="170"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   673
                    </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   674
                  </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   675
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   676
                <variable formalParameter="INPUT_BIT">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   677
                  <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   678
                    <relPosition x="0" y="50"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   679
                    <connection refLocalId="77" formalParameter="Q">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   680
                      <position x="745" y="190"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   681
                      <position x="526" y="190"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   682
                      <position x="526" y="220"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   683
                      <position x="507" y="220"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   684
                    </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   685
                  </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   686
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   687
                <variable formalParameter="NUM_BIT">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   688
                  <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   689
                    <relPosition x="0" y="70"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   690
                    <connection refLocalId="74">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   691
                      <position x="745" y="210"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   692
                      <position x="540" y="210"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   693
                      <position x="540" y="295"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   694
                      <position x="95" y="295"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   695
                    </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   696
                  </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   697
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   698
              </inputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   699
              <inOutVariables/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   700
              <outputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   701
                <variable formalParameter="">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   702
                  <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   703
                    <relPosition x="120" y="30"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   704
                  </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   705
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   706
              </outputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   707
            </block>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   708
            <inVariable localId="74" height="30" width="65">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   709
              <position x="30" y="280"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   710
              <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   711
                <relPosition x="65" y="15"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   712
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   713
              <expression>UINT#7</expression>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   714
            </inVariable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   715
            <block localId="75" width="120" height="60" typeName="GETBIT">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   716
              <position x="170" y="190"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   717
              <inputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   718
                <variable formalParameter="INPUT_BYTE">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   719
                  <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   720
                    <relPosition x="0" y="30"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   721
                    <connection refLocalId="40">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   722
                      <position x="170" y="220"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   723
                      <position x="150" y="220"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   724
                      <position x="150" y="170"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   725
                      <position x="125" y="170"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   726
                    </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   727
                  </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   728
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   729
                <variable formalParameter="NUM_BIT">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   730
                  <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   731
                    <relPosition x="0" y="50"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   732
                    <connection refLocalId="74">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   733
                      <position x="170" y="240"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   734
                      <position x="151" y="240"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   735
                      <position x="151" y="295"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   736
                      <position x="95" y="295"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   737
                    </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   738
                  </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   739
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   740
              </inputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   741
              <inOutVariables/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   742
              <outputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   743
                <variable formalParameter="">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   744
                  <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   745
                    <relPosition x="120" y="30"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   746
                  </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   747
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   748
              </outputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   749
            </block>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   750
            <outVariable localId="76" height="30" width="100">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   751
              <position x="910" y="155"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   752
              <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   753
                <relPosition x="0" y="15"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   754
                <connection refLocalId="73">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   755
                  <position x="910" y="170"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   756
                  <position x="865" y="170"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   757
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   758
              </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   759
              <expression>DigitalOut</expression>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   760
            </outVariable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   761
            <block localId="77" width="57" height="60" typeName="TP" instanceName="t1">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   762
              <position x="450" y="190"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   763
              <inputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   764
                <variable formalParameter="IN" negated="true">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   765
                  <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   766
                    <relPosition x="0" y="30"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   767
                    <connection refLocalId="85" formalParameter="Q">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   768
                      <position x="450" y="220"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   769
                      <position x="400" y="220"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   770
                    </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   771
                  </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   772
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   773
                <variable formalParameter="PT">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   774
                  <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   775
                    <relPosition x="0" y="50"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   776
                    <connection refLocalId="80">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   777
                      <position x="450" y="240"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   778
                      <position x="420" y="240"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   779
                      <position x="420" y="270"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   780
                      <position x="220" y="270"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   781
                    </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   782
                  </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   783
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   784
              </inputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   785
              <inOutVariables/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   786
              <outputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   787
                <variable formalParameter="Q">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   788
                  <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   789
                    <relPosition x="57" y="30"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   790
                  </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   791
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   792
                <variable formalParameter="ET">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   793
                  <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   794
                    <relPosition x="57" y="50"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   795
                  </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   796
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   797
              </outputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   798
            </block>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   799
            <inVariable localId="80" height="27" width="50">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   800
              <position x="170" y="255"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   801
              <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   802
                <relPosition x="50" y="15"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   803
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   804
              <expression>T#1s</expression>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   805
            </inVariable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   806
            <block localId="85" width="60" height="60" typeName="TOF" instanceName="t2">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   807
              <position x="340" y="190"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   808
              <inputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   809
                <variable formalParameter="IN">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   810
                  <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   811
                    <relPosition x="0" y="30"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   812
                    <connection refLocalId="75">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   813
                      <position x="340" y="220"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   814
                      <position x="290" y="220"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   815
                    </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   816
                  </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   817
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   818
                <variable formalParameter="PT">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   819
                  <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   820
                    <relPosition x="0" y="50"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   821
                    <connection refLocalId="80">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   822
                      <position x="340" y="240"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   823
                      <position x="296" y="240"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   824
                      <position x="296" y="270"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   825
                      <position x="220" y="270"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   826
                    </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   827
                  </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   828
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   829
              </inputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   830
              <inOutVariables/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   831
              <outputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   832
                <variable formalParameter="Q">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   833
                  <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   834
                    <relPosition x="60" y="30"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   835
                  </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   836
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   837
                <variable formalParameter="ET">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   838
                  <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   839
                    <relPosition x="60" y="50"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   840
                  </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   841
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   842
              </outputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   843
            </block>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   844
            <outVariable localId="86" height="30" width="100">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   845
              <position x="910" y="330"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   846
              <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   847
                <relPosition x="0" y="15"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   848
                <connection refLocalId="90" formalParameter="OUT">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   849
                  <position x="910" y="345"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   850
                  <position x="865" y="345"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   851
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   852
              </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   853
              <expression>AnalogOut3</expression>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   854
            </outVariable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   855
            <block localId="87" width="120" height="40" typeName="TIME_TO_REAL">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   856
              <position x="455" y="315"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   857
              <inputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   858
                <variable formalParameter="IN">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   859
                  <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   860
                    <relPosition x="0" y="30"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   861
                    <connection refLocalId="77" formalParameter="ET">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   862
                      <position x="455" y="345"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   863
                      <position x="445" y="345"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   864
                      <position x="445" y="275"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   865
                      <position x="517" y="275"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   866
                      <position x="517" y="240"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   867
                      <position x="507" y="240"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   868
                    </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   869
                  </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   870
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   871
              </inputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   872
              <inOutVariables/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   873
              <outputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   874
                <variable formalParameter="OUT">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   875
                  <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   876
                    <relPosition x="120" y="30"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   877
                  </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   878
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   879
              </outputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   880
            </block>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   881
            <block localId="88" width="80" height="60" typeName="MUL">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   882
              <position x="630" y="315"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   883
              <inputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   884
                <variable formalParameter="IN1">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   885
                  <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   886
                    <relPosition x="0" y="30"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   887
                    <connection refLocalId="87" formalParameter="OUT">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   888
                      <position x="630" y="345"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   889
                      <position x="575" y="345"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   890
                    </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   891
                  </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   892
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   893
                <variable formalParameter="IN2">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   894
                  <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   895
                    <relPosition x="0" y="50"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   896
                    <connection refLocalId="89">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   897
                      <position x="630" y="365"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   898
                      <position x="607" y="365"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   899
                      <position x="607" y="400"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   900
                      <position x="585" y="400"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   901
                    </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   902
                  </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   903
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   904
              </inputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   905
              <inOutVariables/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   906
              <outputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   907
                <variable formalParameter="OUT">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   908
                  <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   909
                    <relPosition x="80" y="30"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   910
                  </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   911
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   912
              </outputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   913
            </block>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   914
            <inVariable localId="89" height="35" width="120">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   915
              <position x="465" y="385"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   916
              <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   917
                <relPosition x="120" y="15"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   918
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   919
              <expression>REAL#10000.0</expression>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   920
            </inVariable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   921
            <block localId="90" width="120" height="40" typeName="REAL_TO_INT">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   922
              <position x="745" y="315"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   923
              <inputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   924
                <variable formalParameter="IN">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   925
                  <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   926
                    <relPosition x="0" y="30"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   927
                    <connection refLocalId="88" formalParameter="OUT">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   928
                      <position x="745" y="345"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   929
                      <position x="710" y="345"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   930
                    </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   931
                  </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   932
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   933
              </inputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   934
              <inOutVariables/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   935
              <outputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   936
                <variable formalParameter="OUT">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   937
                  <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   938
                    <relPosition x="120" y="30"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   939
                  </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   940
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   941
              </outputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   942
            </block>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   943
            <inVariable localId="91" height="30" width="100">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   944
              <position x="590" y="740"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   945
              <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   946
                <relPosition x="100" y="15"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   947
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   948
              <expression>DigitalOut</expression>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   949
            </inVariable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   950
            <inVariable localId="92" height="30" width="100">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   951
              <position x="590" y="645"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   952
              <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   953
                <relPosition x="100" y="15"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   954
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   955
              <expression>DigitalOut</expression>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   956
            </inVariable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   957
            <inVariable localId="93" height="30" width="65">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   958
              <position x="625" y="585"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   959
              <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   960
                <relPosition x="65" y="15"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   961
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   962
              <expression>UINT#1</expression>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   963
            </inVariable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   964
            <inVariable localId="94" height="30" width="100">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   965
              <position x="590" y="545"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   966
              <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   967
                <relPosition x="100" y="15"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   968
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   969
              <expression>DigitalOut</expression>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   970
            </inVariable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   971
            <inVariable localId="95" height="30" width="100">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   972
              <position x="595" y="450"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   973
              <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   974
                <relPosition x="100" y="15"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   975
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   976
              <expression>DigitalOut</expression>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   977
            </inVariable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   978
            <inVariable localId="96" height="30" width="95">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   979
              <position x="595" y="490"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   980
              <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   981
                <relPosition x="95" y="15"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   982
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   983
              <expression>UINT#0</expression>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   984
            </inVariable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   985
            <inVariable localId="97" height="30" width="95">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   986
              <position x="40" y="610"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   987
              <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   988
                <relPosition x="95" y="15"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   989
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   990
              <expression>DigitalIn</expression>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   991
            </inVariable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   992
            <comment localId="100" height="40" width="400">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   993
              <position x="25" y="100"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   994
              <content>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   995
<![CDATA[A simple blinking output (2s period)]]>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   996
              </content>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   997
            </comment>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   998
            <comment localId="102" height="40" width="430">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
   999
              <position x="580" y="255"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1000
              <content>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1001
<![CDATA[Output value of TP block as analog output #3]]>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1002
              </content>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1003
            </comment>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1004
            <comment localId="103" height="65" width="420">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1005
              <position x="25" y="425"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1006
              <content>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1007
<![CDATA[Map input and output of bitwise_block test to bits of DigitalIn and Digital out]]>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1008
              </content>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1009
            </comment>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1010
            <comment localId="104" height="85" width="285">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1011
              <position x="40" y="805"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1012
              <content>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1013
<![CDATA[Map AnalogIN #1 #2 and AnalogOUT #1 #2 to SFC test interface]]>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1014
              </content>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1015
            </comment>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1016
          </FBD>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1017
        </body>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1018
      </pou>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1019
      <pou name="GETBIT" pouType="function">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1020
        <interface>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1021
          <returnType>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1022
            <BOOL/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1023
          </returnType>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1024
          <inputVars>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1025
            <variable name="INPUT_BYTE">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1026
              <type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1027
                <BYTE/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1028
              </type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1029
            </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1030
            <variable name="NUM_BIT">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1031
              <type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1032
                <USINT/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1033
              </type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1034
            </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1035
          </inputVars>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1036
        </interface>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1037
        <body>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1038
          <FBD>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1039
            <block localId="1" width="70" height="60" typeName="SHR">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1040
              <position x="175" y="110"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1041
              <inputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1042
                <variable formalParameter="IN">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1043
                  <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1044
                    <relPosition x="0" y="30"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1045
                    <connection refLocalId="2">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1046
                      <position x="175" y="140"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1047
                      <position x="135" y="140"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1048
                    </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1049
                  </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1050
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1051
                <variable formalParameter="N">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1052
                  <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1053
                    <relPosition x="0" y="50"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1054
                    <connection refLocalId="3">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1055
                      <position x="175" y="160"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1056
                      <position x="140" y="160"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1057
                      <position x="140" y="180"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1058
                      <position x="105" y="180"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1059
                    </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1060
                  </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1061
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1062
              </inputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1063
              <inOutVariables/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1064
              <outputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1065
                <variable formalParameter="OUT">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1066
                  <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1067
                    <relPosition x="70" y="30"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1068
                  </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1069
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1070
              </outputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1071
            </block>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1072
            <inVariable localId="2" height="30" width="105">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1073
              <position x="30" y="125"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1074
              <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1075
                <relPosition x="105" y="15"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1076
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1077
              <expression>INPUT_BYTE</expression>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1078
            </inVariable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1079
            <inVariable localId="3" height="30" width="75">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1080
              <position x="30" y="165"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1081
              <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1082
                <relPosition x="75" y="15"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1083
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1084
              <expression>NUM_BIT</expression>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1085
            </inVariable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1086
            <outVariable localId="4" height="30" width="65">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1087
              <position x="555" y="125"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1088
              <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1089
                <relPosition x="0" y="15"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1090
                <connection refLocalId="7" formalParameter="OUT">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1091
                  <position x="555" y="140"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1092
                  <position x="515" y="140"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1093
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1094
              </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1095
              <expression>GETBIT</expression>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1096
            </outVariable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1097
            <block localId="5" width="85" height="60" typeName="AND">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1098
              <position x="275" y="110"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1099
              <inputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1100
                <variable formalParameter="IN1">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1101
                  <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1102
                    <relPosition x="0" y="30"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1103
                    <connection refLocalId="1" formalParameter="OUT">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1104
                      <position x="275" y="140"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1105
                      <position x="245" y="140"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1106
                    </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1107
                  </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1108
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1109
                <variable formalParameter="IN2">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1110
                  <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1111
                    <relPosition x="0" y="50"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1112
                    <connection refLocalId="6">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1113
                      <position x="275" y="160"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1114
                      <position x="255" y="160"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1115
                      <position x="255" y="195"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1116
                      <position x="240" y="195"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1117
                    </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1118
                  </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1119
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1120
              </inputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1121
              <inOutVariables/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1122
              <outputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1123
                <variable formalParameter="OUT">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1124
                  <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1125
                    <relPosition x="85" y="30"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1126
                  </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1127
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1128
              </outputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1129
            </block>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1130
            <inVariable localId="6" height="30" width="65">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1131
              <position x="175" y="180"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1132
              <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1133
                <relPosition x="65" y="15"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1134
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1135
              <expression>BYTE#1</expression>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1136
            </inVariable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1137
            <block localId="7" width="120" height="40" typeName="BYTE_TO_BOOL">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1138
              <position x="395" y="110"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1139
              <inputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1140
                <variable formalParameter="IN">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1141
                  <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1142
                    <relPosition x="0" y="30"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1143
                    <connection refLocalId="5" formalParameter="OUT">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1144
                      <position x="395" y="140"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1145
                      <position x="360" y="140"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1146
                    </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1147
                  </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1148
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1149
              </inputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1150
              <inOutVariables/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1151
              <outputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1152
                <variable formalParameter="OUT">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1153
                  <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1154
                    <relPosition x="120" y="30"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1155
                  </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1156
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1157
              </outputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1158
            </block>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1159
            <comment localId="8" height="70" width="545">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1160
              <position x="30" y="20"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1161
              <content>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1162
<![CDATA[Function that return NUM_BIT'th bit value of INPUT_BYTE]]>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1163
              </content>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1164
            </comment>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1165
          </FBD>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1166
        </body>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1167
      </pou>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1168
      <pou name="SETBIT" pouType="function">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1169
        <interface>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1170
          <returnType>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1171
            <BYTE/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1172
          </returnType>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1173
          <inputVars>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1174
            <variable name="INPUT_BYTE">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1175
              <type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1176
                <BYTE/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1177
              </type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1178
            </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1179
            <variable name="INPUT_BIT">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1180
              <type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1181
                <BOOL/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1182
              </type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1183
            </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1184
            <variable name="NUM_BIT">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1185
              <type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1186
                <USINT/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1187
              </type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1188
            </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1189
          </inputVars>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1190
        </interface>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1191
        <body>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1192
          <FBD>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1193
            <inVariable localId="1" height="30" width="100">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1194
              <position x="40" y="255"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1195
              <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1196
                <relPosition x="100" y="15"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1197
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1198
              <expression>INPUT_BYTE</expression>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1199
            </inVariable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1200
            <inVariable localId="2" height="30" width="95">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1201
              <position x="40" y="125"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1202
              <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1203
                <relPosition x="95" y="15"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1204
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1205
              <expression>INPUT_BIT</expression>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1206
            </inVariable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1207
            <block localId="3" width="120" height="45" typeName="BOOL_TO_BYTE">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1208
              <position x="165" y="110"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1209
              <inputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1210
                <variable formalParameter="IN">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1211
                  <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1212
                    <relPosition x="0" y="30"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1213
                    <connection refLocalId="2">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1214
                      <position x="165" y="140"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1215
                      <position x="135" y="140"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1216
                    </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1217
                  </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1218
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1219
              </inputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1220
              <inOutVariables/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1221
              <outputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1222
                <variable formalParameter="OUT">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1223
                  <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1224
                    <relPosition x="120" y="30"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1225
                  </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1226
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1227
              </outputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1228
            </block>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1229
            <block localId="4" width="70" height="60" typeName="SHL">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1230
              <position x="335" y="110"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1231
              <inputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1232
                <variable formalParameter="IN">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1233
                  <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1234
                    <relPosition x="0" y="30"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1235
                    <connection refLocalId="3" formalParameter="OUT">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1236
                      <position x="335" y="140"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1237
                      <position x="285" y="140"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1238
                    </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1239
                  </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1240
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1241
                <variable formalParameter="N">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1242
                  <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1243
                    <relPosition x="0" y="50"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1244
                    <connection refLocalId="5">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1245
                      <position x="335" y="160"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1246
                      <position x="130" y="160"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1247
                      <position x="130" y="230"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1248
                      <position x="115" y="230"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1249
                    </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1250
                  </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1251
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1252
              </inputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1253
              <inOutVariables/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1254
              <outputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1255
                <variable formalParameter="OUT">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1256
                  <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1257
                    <relPosition x="70" y="30"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1258
                  </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1259
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1260
              </outputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1261
            </block>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1262
            <inVariable localId="5" height="30" width="75">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1263
              <position x="40" y="215"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1264
              <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1265
                <relPosition x="75" y="15"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1266
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1267
              <expression>NUM_BIT</expression>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1268
            </inVariable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1269
            <block localId="7" width="70" height="60" typeName="SHL">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1270
              <position x="235" y="180"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1271
              <inputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1272
                <variable formalParameter="IN">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1273
                  <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1274
                    <relPosition x="0" y="30"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1275
                    <connection refLocalId="8">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1276
                      <position x="235" y="210"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1277
                      <position x="215" y="210"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1278
                      <position x="220" y="210"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1279
                      <position x="220" y="210"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1280
                      <position x="220" y="210"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1281
                      <position x="210" y="210"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1282
                    </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1283
                  </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1284
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1285
                <variable formalParameter="N">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1286
                  <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1287
                    <relPosition x="0" y="50"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1288
                    <connection refLocalId="5">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1289
                      <position x="235" y="230"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1290
                      <position x="115" y="230"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1291
                    </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1292
                  </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1293
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1294
              </inputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1295
              <inOutVariables/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1296
              <outputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1297
                <variable formalParameter="OUT">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1298
                  <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1299
                    <relPosition x="70" y="30"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1300
                  </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1301
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1302
              </outputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1303
            </block>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1304
            <inVariable localId="8" height="30" width="65">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1305
              <position x="145" y="195"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1306
              <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1307
                <relPosition x="65" y="15"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1308
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1309
              <expression>BYTE#1</expression>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1310
            </inVariable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1311
            <block localId="9" width="70" height="40" typeName="NOT">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1312
              <position x="335" y="180"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1313
              <inputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1314
                <variable formalParameter="IN">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1315
                  <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1316
                    <relPosition x="0" y="30"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1317
                    <connection refLocalId="7" formalParameter="OUT">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1318
                      <position x="335" y="210"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1319
                      <position x="305" y="210"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1320
                    </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1321
                  </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1322
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1323
              </inputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1324
              <inOutVariables/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1325
              <outputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1326
                <variable formalParameter="OUT">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1327
                  <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1328
                    <relPosition x="70" y="30"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1329
                  </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1330
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1331
              </outputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1332
            </block>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1333
            <block localId="10" width="80" height="60" typeName="AND">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1334
              <position x="440" y="180"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1335
              <inputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1336
                <variable formalParameter="IN1">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1337
                  <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1338
                    <relPosition x="0" y="30"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1339
                    <connection refLocalId="9" formalParameter="OUT">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1340
                      <position x="440" y="210"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1341
                      <position x="405" y="210"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1342
                    </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1343
                  </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1344
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1345
                <variable formalParameter="IN2">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1346
                  <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1347
                    <relPosition x="0" y="50"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1348
                    <connection refLocalId="1">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1349
                      <position x="440" y="230"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1350
                      <position x="320" y="230"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1351
                      <position x="320" y="270"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1352
                      <position x="140" y="270"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1353
                    </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1354
                  </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1355
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1356
              </inputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1357
              <inOutVariables/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1358
              <outputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1359
                <variable formalParameter="OUT">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1360
                  <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1361
                    <relPosition x="80" y="30"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1362
                  </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1363
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1364
              </outputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1365
            </block>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1366
            <block localId="11" width="80" height="60" typeName="OR">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1367
              <position x="565" y="110"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1368
              <inputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1369
                <variable formalParameter="IN1">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1370
                  <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1371
                    <relPosition x="0" y="30"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1372
                    <connection refLocalId="4" formalParameter="OUT">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1373
                      <position x="565" y="140"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1374
                      <position x="405" y="140"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1375
                    </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1376
                  </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1377
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1378
                <variable formalParameter="IN2">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1379
                  <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1380
                    <relPosition x="0" y="50"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1381
                    <connection refLocalId="10" formalParameter="OUT">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1382
                      <position x="565" y="160"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1383
                      <position x="545" y="160"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1384
                      <position x="545" y="210"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1385
                      <position x="520" y="210"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1386
                    </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1387
                  </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1388
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1389
              </inputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1390
              <inOutVariables/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1391
              <outputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1392
                <variable formalParameter="OUT">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1393
                  <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1394
                    <relPosition x="80" y="30"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1395
                  </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1396
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1397
              </outputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1398
            </block>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1399
            <outVariable localId="12" height="30" width="70">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1400
              <position x="695" y="125"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1401
              <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1402
                <relPosition x="0" y="15"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1403
                <connection refLocalId="11" formalParameter="OUT">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1404
                  <position x="695" y="140"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1405
                  <position x="645" y="140"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1406
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1407
              </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1408
              <expression>SETBIT</expression>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1409
            </outVariable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1410
            <comment localId="13" height="75" width="435">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1411
              <position x="35" y="15"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1412
              <content>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1413
<![CDATA[Function that return INPUT_BYTE with NUM_BIT'th  bit set to INPUT_BIT value]]>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1414
              </content>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1415
            </comment>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1416
          </FBD>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1417
        </body>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1418
      </pou>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1419
      <pou name="Bitwise_Block" pouType="functionBlock">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1420
        <interface>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1421
          <inputVars>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1422
            <variable name="IN1">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1423
              <type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1424
                <BOOL/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1425
              </type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1426
            </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1427
            <variable name="IN2">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1428
              <type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1429
                <BOOL/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1430
              </type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1431
            </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1432
          </inputVars>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1433
          <outputVars>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1434
            <variable name="OUT_AND">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1435
              <type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1436
                <BOOL/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1437
              </type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1438
            </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1439
            <variable name="OUT_OR">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1440
              <type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1441
                <BOOL/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1442
              </type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1443
            </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1444
            <variable name="OUT_XOR">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1445
              <type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1446
                <BOOL/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1447
              </type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1448
            </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1449
            <variable name="OUT_SR">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1450
              <type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1451
                <BOOL/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1452
              </type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1453
            </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1454
          </outputVars>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1455
          <localVars>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1456
            <variable name="SR1">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1457
              <type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1458
                <derived name="SR"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1459
              </type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1460
            </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1461
          </localVars>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1462
        </interface>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1463
        <body>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1464
          <LD>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1465
            <leftPowerRail localId="1" height="80" width="3">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1466
              <position x="40" y="180"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1467
              <connectionPointOut formalParameter="">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1468
                <relPosition x="3" y="20"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1469
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1470
              <connectionPointOut formalParameter="">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1471
                <relPosition x="3" y="55"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1472
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1473
            </leftPowerRail>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1474
            <contact localId="2" height="15" width="25">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1475
              <position x="90" y="190"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1476
              <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1477
                <relPosition x="0" y="10"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1478
                <connection refLocalId="1">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1479
                  <position x="90" y="200"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1480
                  <position x="43" y="200"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1481
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1482
              </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1483
              <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1484
                <relPosition x="25" y="10"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1485
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1486
              <variable>IN1</variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1487
            </contact>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1488
            <contact localId="3" height="20" width="25">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1489
              <position x="90" y="225"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1490
              <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1491
                <relPosition x="0" y="10"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1492
                <connection refLocalId="1">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1493
                  <position x="90" y="235"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1494
                  <position x="43" y="235"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1495
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1496
              </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1497
              <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1498
                <relPosition x="25" y="10"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1499
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1500
              <variable>IN2</variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1501
            </contact>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1502
            <coil localId="4" height="20" width="25">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1503
              <position x="225" y="190"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1504
              <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1505
                <relPosition x="0" y="10"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1506
                <connection refLocalId="2">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1507
                  <position x="225" y="200"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1508
                  <position x="115" y="200"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1509
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1510
                <connection refLocalId="3">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1511
                  <position x="225" y="200"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1512
                  <position x="189" y="200"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1513
                  <position x="189" y="235"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1514
                  <position x="115" y="235"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1515
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1516
              </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1517
              <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1518
                <relPosition x="25" y="10"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1519
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1520
              <variable>OUT_OR</variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1521
            </coil>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1522
            <rightPowerRail localId="5" height="40" width="3">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1523
              <position x="350" y="180"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1524
              <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1525
                <relPosition x="0" y="20"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1526
                <connection refLocalId="4">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1527
                  <position x="350" y="200"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1528
                  <position x="250" y="200"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1529
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1530
              </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1531
            </rightPowerRail>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1532
            <leftPowerRail localId="6" height="40" width="3">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1533
              <position x="40" y="315"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1534
              <connectionPointOut formalParameter="">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1535
                <relPosition x="3" y="20"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1536
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1537
            </leftPowerRail>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1538
            <contact localId="7" height="20" width="25">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1539
              <position x="100" y="325"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1540
              <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1541
                <relPosition x="0" y="10"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1542
                <connection refLocalId="6">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1543
                  <position x="100" y="335"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1544
                  <position x="43" y="335"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1545
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1546
              </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1547
              <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1548
                <relPosition x="25" y="10"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1549
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1550
              <variable>IN1</variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1551
            </contact>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1552
            <contact localId="8" height="20" width="25">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1553
              <position x="185" y="325"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1554
              <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1555
                <relPosition x="0" y="10"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1556
                <connection refLocalId="7">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1557
                  <position x="185" y="335"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1558
                  <position x="125" y="335"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1559
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1560
              </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1561
              <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1562
                <relPosition x="25" y="10"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1563
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1564
              <variable>IN2</variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1565
            </contact>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1566
            <coil localId="9" height="20" width="25">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1567
              <position x="275" y="325"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1568
              <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1569
                <relPosition x="0" y="10"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1570
                <connection refLocalId="8">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1571
                  <position x="275" y="335"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1572
                  <position x="210" y="335"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1573
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1574
              </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1575
              <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1576
                <relPosition x="25" y="10"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1577
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1578
              <variable>OUT_AND</variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1579
            </coil>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1580
            <rightPowerRail localId="10" height="40" width="3">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1581
              <position x="350" y="315"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1582
              <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1583
                <relPosition x="0" y="20"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1584
                <connection refLocalId="9">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1585
                  <position x="350" y="335"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1586
                  <position x="300" y="335"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1587
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1588
              </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1589
            </rightPowerRail>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1590
            <leftPowerRail localId="11" height="80" width="3">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1591
              <position x="40" y="415"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1592
              <connectionPointOut formalParameter="">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1593
                <relPosition x="3" y="20"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1594
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1595
              <connectionPointOut formalParameter="">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1596
                <relPosition x="3" y="60"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1597
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1598
            </leftPowerRail>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1599
            <contact localId="12" height="20" width="25">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1600
              <position x="100" y="425"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1601
              <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1602
                <relPosition x="0" y="10"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1603
                <connection refLocalId="11">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1604
                  <position x="100" y="435"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1605
                  <position x="43" y="435"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1606
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1607
              </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1608
              <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1609
                <relPosition x="25" y="10"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1610
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1611
              <variable>IN1</variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1612
            </contact>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1613
            <contact localId="13" height="20" width="25" negated="true">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1614
              <position x="100" y="465"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1615
              <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1616
                <relPosition x="0" y="10"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1617
                <connection refLocalId="11">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1618
                  <position x="100" y="475"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1619
                  <position x="43" y="475"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1620
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1621
              </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1622
              <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1623
                <relPosition x="25" y="10"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1624
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1625
              <variable>IN1</variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1626
            </contact>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1627
            <contact localId="14" height="20" width="25" negated="true">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1628
              <position x="190" y="425"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1629
              <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1630
                <relPosition x="0" y="10"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1631
                <connection refLocalId="12">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1632
                  <position x="190" y="435"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1633
                  <position x="125" y="435"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1634
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1635
              </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1636
              <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1637
                <relPosition x="25" y="10"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1638
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1639
              <variable>IN2</variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1640
            </contact>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1641
            <contact localId="15" height="20" width="25">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1642
              <position x="190" y="465"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1643
              <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1644
                <relPosition x="0" y="10"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1645
                <connection refLocalId="13">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1646
                  <position x="190" y="475"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1647
                  <position x="125" y="475"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1648
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1649
              </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1650
              <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1651
                <relPosition x="25" y="10"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1652
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1653
              <variable>IN2</variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1654
            </contact>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1655
            <coil localId="16" height="20" width="30">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1656
              <position x="295" y="425"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1657
              <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1658
                <relPosition x="0" y="10"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1659
                <connection refLocalId="14">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1660
                  <position x="295" y="435"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1661
                  <position x="215" y="435"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1662
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1663
                <connection refLocalId="15">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1664
                  <position x="295" y="435"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1665
                  <position x="270" y="435"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1666
                  <position x="270" y="475"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1667
                  <position x="215" y="475"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1668
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1669
              </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1670
              <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1671
                <relPosition x="30" y="10"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1672
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1673
              <variable>OUT_XOR</variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1674
            </coil>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1675
            <rightPowerRail localId="17" height="40" width="3">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1676
              <position x="350" y="415"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1677
              <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1678
                <relPosition x="0" y="20"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1679
                <connection refLocalId="16">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1680
                  <position x="350" y="435"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1681
                  <position x="325" y="435"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1682
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1683
              </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1684
            </rightPowerRail>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1685
            <leftPowerRail localId="18" height="80" width="3">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1686
              <position x="40" y="550"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1687
              <connectionPointOut formalParameter="">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1688
                <relPosition x="3" y="20"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1689
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1690
              <connectionPointOut formalParameter="">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1691
                <relPosition x="3" y="60"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1692
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1693
            </leftPowerRail>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1694
            <contact localId="19" height="20" width="25">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1695
              <position x="100" y="560"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1696
              <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1697
                <relPosition x="0" y="10"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1698
                <connection refLocalId="18">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1699
                  <position x="100" y="570"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1700
                  <position x="43" y="570"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1701
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1702
              </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1703
              <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1704
                <relPosition x="25" y="10"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1705
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1706
              <variable>IN1</variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1707
            </contact>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1708
            <contact localId="21" height="20" width="25">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1709
              <position x="100" y="600"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1710
              <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1711
                <relPosition x="0" y="10"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1712
                <connection refLocalId="18">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1713
                  <position x="100" y="610"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1714
                  <position x="43" y="610"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1715
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1716
              </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1717
              <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1718
                <relPosition x="25" y="10"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1719
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1720
              <variable>IN2</variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1721
            </contact>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1722
            <block localId="22" width="60" height="100" typeName="SR" instanceName="SR1">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1723
              <position x="170" y="530"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1724
              <inputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1725
                <variable formalParameter="S1">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1726
                  <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1727
                    <relPosition x="0" y="40"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1728
                    <connection refLocalId="19">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1729
                      <position x="170" y="570"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1730
                      <position x="125" y="570"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1731
                    </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1732
                  </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1733
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1734
                <variable formalParameter="R">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1735
                  <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1736
                    <relPosition x="0" y="80"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1737
                    <connection refLocalId="21">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1738
                      <position x="170" y="610"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1739
                      <position x="125" y="610"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1740
                    </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1741
                  </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1742
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1743
              </inputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1744
              <inOutVariables/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1745
              <outputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1746
                <variable formalParameter="Q1">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1747
                  <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1748
                    <relPosition x="60" y="40"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1749
                  </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1750
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1751
              </outputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1752
            </block>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1753
            <coil localId="24" height="20" width="25">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1754
              <position x="295" y="560"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1755
              <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1756
                <relPosition x="0" y="10"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1757
                <connection refLocalId="22" formalParameter="Q1">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1758
                  <position x="295" y="570"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1759
                  <position x="230" y="570"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1760
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1761
              </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1762
              <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1763
                <relPosition x="25" y="10"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1764
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1765
              <variable>OUT_SR</variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1766
            </coil>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1767
            <rightPowerRail localId="25" height="40" width="3">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1768
              <position x="350" y="550"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1769
              <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1770
                <relPosition x="0" y="20"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1771
                <connection refLocalId="24">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1772
                  <position x="350" y="570"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1773
                  <position x="320" y="570"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1774
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1775
              </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1776
            </rightPowerRail>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1777
            <comment localId="26" height="85" width="385">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1778
              <position x="25" y="35"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1779
              <content>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1780
<![CDATA[A LD function block that embeds some FB and check basic LD]]>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1781
              </content>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1782
            </comment>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1783
          </LD>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1784
        </body>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1785
      </pou>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1786
      <pou name="Test_SFC" pouType="functionBlock">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1787
        <interface>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1788
          <inputVars>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1789
            <variable name="CNT1">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1790
              <type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1791
                <BOOL/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1792
              </type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1793
            </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1794
            <variable name="CNT2">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1795
              <type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1796
                <BOOL/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1797
              </type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1798
            </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1799
            <variable name="IN1">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1800
              <type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1801
                <derived name="MYTYPE"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1802
              </type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1803
            </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1804
            <variable name="IN2">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1805
              <type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1806
                <derived name="MYTYPE"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1807
              </type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1808
            </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1809
            <variable name="UPPER1">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1810
              <type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1811
                <INT/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1812
              </type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1813
            </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1814
            <variable name="UPPER2">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1815
              <type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1816
                <INT/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1817
              </type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1818
            </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1819
          </inputVars>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1820
          <outputVars>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1821
            <variable name="OUT1">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1822
              <type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1823
                <derived name="MYTYPE"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1824
              </type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1825
            </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1826
            <variable name="OUT2">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1827
              <type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1828
                <derived name="MYTYPE"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1829
              </type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1830
            </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1831
          </outputVars>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1832
          <localVars>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1833
            <variable name="TEST_ENUM">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1834
              <type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1835
                <derived name="MYTYPE2"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1836
              </type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1837
            </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1838
            <variable name="TEST_ARRAY">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1839
              <type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1840
                <derived name="MYTYPE3"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1841
              </type>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1842
            </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1843
          </localVars>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1844
        </interface>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1845
        <actions>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1846
          <action name="COUNT1">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1847
            <body>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1848
              <ST>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1849
<![CDATA[
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1850
OUT1 := IN1 + 1;
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1851
TEST_ENUM := OPEN;
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1852
]]>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1853
              </ST>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1854
            </body>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1855
          </action>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1856
          <action name="COUNT2">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1857
            <body>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1858
              <ST>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1859
<![CDATA[
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1860
OUT2 := IN2 + 1;
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1861
TEST_ARRAY[0,0] := TEST_ARRAY[0,1] + 50;
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1862
]]>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1863
              </ST>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1864
            </body>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1865
          </action>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1866
        </actions>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1867
        <transitions>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1868
          <transition name="REACH_UPPER1">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1869
            <body>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1870
              <ST>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1871
<![CDATA[:= OUT1 >= UPPER1;]]>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1872
              </ST>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1873
            </body>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1874
          </transition>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1875
          <transition name="REACH_UPPER2">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1876
            <body>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1877
              <ST>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1878
<![CDATA[:= OUT2 >= UPPER2;]]>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1879
              </ST>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1880
            </body>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1881
          </transition>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1882
        </transitions>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1883
        <body>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1884
          <SFC>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1885
            <step localId="1" height="31" width="55" name="Start" initialStep="true">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1886
              <position x="125" y="170"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1887
              <connectionPointOut formalParameter="">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1888
                <relPosition x="25" y="31"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1889
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1890
              <connectionPointOutAction formalParameter="">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1891
                <relPosition x="55" y="15"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1892
              </connectionPointOutAction>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1893
            </step>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1894
            <step localId="4" height="30" width="55" name="Step3">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1895
              <position x="440" y="370"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1896
              <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1897
                <relPosition x="25" y="0"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1898
                <connection refLocalId="22">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1899
                  <position x="465" y="370"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1900
                  <position x="465" y="348"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1901
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1902
              </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1903
              <connectionPointOut formalParameter="">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1904
                <relPosition x="25" y="30"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1905
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1906
              <connectionPointOutAction formalParameter="">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1907
                <relPosition x="55" y="15"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1908
              </connectionPointOutAction>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1909
            </step>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1910
            <jumpStep localId="5" height="13" width="20" targetName="Start">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1911
              <position x="205" y="630"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1912
              <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1913
                <relPosition x="10" y="0"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1914
                <connection refLocalId="12">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1915
                  <position x="215" y="630"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1916
                  <position x="215" y="601"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1917
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1918
              </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1919
            </jumpStep>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1920
            <transition localId="8" height="2" width="20">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1921
              <position x="560" y="565"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1922
              <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1923
                <relPosition x="10" y="0"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1924
                <connection refLocalId="25">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1925
                  <position x="570" y="565"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1926
                  <position x="570" y="523"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1927
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1928
              </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1929
              <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1930
                <relPosition x="10" y="2"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1931
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1932
              <condition>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1933
                <inline name="">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1934
                  <ST>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1935
<![CDATA[TRUE]]>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1936
                  </ST>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1937
                </inline>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1938
              </condition>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1939
            </transition>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1940
            <actionBlock localId="9" height="30" width="84">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1941
              <position x="325" y="375"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1942
              <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1943
                <relPosition x="0" y="15"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1944
                <connection refLocalId="13">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1945
                  <position x="325" y="390"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1946
                  <position x="300" y="390"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1947
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1948
              </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1949
              <action>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1950
                <reference name="COUNT1"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1951
              </action>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1952
            </actionBlock>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1953
            <actionBlock localId="10" height="30" width="105">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1954
              <position x="520" y="370"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1955
              <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1956
                <relPosition x="0" y="15"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1957
                <connection refLocalId="4">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1958
                  <position x="520" y="385"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1959
                  <position x="495" y="385"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1960
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1961
              </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1962
              <action>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1963
                <reference name="COUNT1"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1964
              </action>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1965
            </actionBlock>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1966
            <selectionDivergence localId="11" height="1" width="530">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1967
              <position x="45" y="230"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1968
              <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1969
                <relPosition x="105" y="0"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1970
                <connection refLocalId="1">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1971
                  <position x="150" y="230"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1972
                  <position x="150" y="201"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1973
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1974
              </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1975
              <connectionPointOut formalParameter="">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1976
                <relPosition x="0" y="1"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1977
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1978
              <connectionPointOut formalParameter="">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1979
                <relPosition x="225" y="1"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1980
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1981
              <connectionPointOut formalParameter="">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1982
                <relPosition x="530" y="1"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1983
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1984
            </selectionDivergence>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1985
            <selectionConvergence localId="12" height="1" width="525">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1986
              <position x="45" y="600"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1987
              <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1988
                <relPosition x="0" y="0"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1989
                <connection refLocalId="38">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1990
                  <position x="45" y="600"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1991
                  <position x="45" y="472"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1992
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1993
              </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1994
              <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1995
                <relPosition x="225" y="0"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1996
                <connection refLocalId="15">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1997
                  <position x="270" y="600"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1998
                  <position x="270" y="472"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  1999
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2000
              </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2001
              <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2002
                <relPosition x="525" y="0"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2003
                <connection refLocalId="8">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2004
                  <position x="570" y="600"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2005
                  <position x="570" y="567"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2006
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2007
              </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2008
              <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2009
                <relPosition x="170" y="1"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2010
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2011
            </selectionConvergence>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2012
            <step localId="13" height="30" width="55" name="Step1">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2013
              <position x="245" y="375"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2014
              <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2015
                <relPosition x="25" y="0"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2016
                <connection refLocalId="44">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2017
                  <position x="270" y="375"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2018
                  <position x="270" y="280"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2019
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2020
              </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2021
              <connectionPointOut formalParameter="">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2022
                <relPosition x="25" y="30"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2023
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2024
              <connectionPointOutAction formalParameter="">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2025
                <relPosition x="55" y="15"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2026
              </connectionPointOutAction>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2027
            </step>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2028
            <transition localId="15" height="2" width="20">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2029
              <position x="260" y="470"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2030
              <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2031
                <relPosition x="10" y="0"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2032
                <connection refLocalId="13">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2033
                  <position x="270" y="470"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2034
                  <position x="270" y="405"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2035
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2036
              </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2037
              <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2038
                <relPosition x="10" y="2"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2039
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2040
              <condition>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2041
                <reference name="REACH_UPPER1"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2042
              </condition>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2043
            </transition>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2044
            <simultaneousDivergence localId="22" height="3" width="210">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2045
              <position x="465" y="345"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2046
              <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2047
                <relPosition x="110" y="0"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2048
                <connection refLocalId="45">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2049
                  <position x="575" y="345"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2050
                  <position x="575" y="280"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2051
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2052
              </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2053
              <connectionPointOut formalParameter="">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2054
                <relPosition x="0" y="3"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2055
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2056
              <connectionPointOut formalParameter="">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2057
                <relPosition x="210" y="3"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2058
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2059
            </simultaneousDivergence>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2060
            <transition localId="23" height="2" width="20">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2061
              <position x="455" y="430"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2062
              <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2063
                <relPosition x="10" y="0"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2064
                <connection refLocalId="4">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2065
                  <position x="465" y="430"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2066
                  <position x="465" y="400"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2067
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2068
              </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2069
              <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2070
                <relPosition x="10" y="2"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2071
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2072
              <condition>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2073
                <reference name="REACH_UPPER1"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2074
              </condition>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2075
            </transition>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2076
            <step localId="24" height="27" width="55" name="WAIT1">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2077
              <position x="440" y="465"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2078
              <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2079
                <relPosition x="25" y="0"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2080
                <connection refLocalId="23">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2081
                  <position x="465" y="465"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2082
                  <position x="465" y="432"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2083
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2084
              </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2085
              <connectionPointOut formalParameter="">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2086
                <relPosition x="25" y="27"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2087
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2088
            </step>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2089
            <simultaneousConvergence localId="25" height="3" width="210">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2090
              <position x="465" y="520"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2091
              <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2092
                <relPosition x="0" y="0"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2093
                <connection refLocalId="24">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2094
                  <position x="465" y="520"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2095
                  <position x="465" y="492"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2096
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2097
              </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2098
              <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2099
                <relPosition x="210" y="0"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2100
                <connection refLocalId="29">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2101
                  <position x="675" y="520"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2102
                  <position x="675" y="492"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2103
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2104
              </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2105
              <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2106
                <relPosition x="105" y="3"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2107
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2108
            </simultaneousConvergence>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2109
            <step localId="26" height="30" width="55" name="Step4">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2110
              <position x="650" y="370"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2111
              <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2112
                <relPosition x="25" y="0"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2113
                <connection refLocalId="22">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2114
                  <position x="675" y="370"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2115
                  <position x="675" y="348"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2116
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2117
              </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2118
              <connectionPointOut formalParameter="">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2119
                <relPosition x="25" y="30"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2120
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2121
              <connectionPointOutAction formalParameter="">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2122
                <relPosition x="55" y="15"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2123
              </connectionPointOutAction>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2124
            </step>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2125
            <transition localId="28" height="2" width="20">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2126
              <position x="665" y="430"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2127
              <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2128
                <relPosition x="10" y="0"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2129
                <connection refLocalId="26">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2130
                  <position x="675" y="430"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2131
                  <position x="675" y="400"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2132
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2133
              </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2134
              <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2135
                <relPosition x="10" y="2"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2136
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2137
              <condition>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2138
                <reference name="REACH_UPPER2"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2139
              </condition>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2140
            </transition>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2141
            <step localId="29" height="27" width="55" name="WAIT2">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2142
              <position x="650" y="465"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2143
              <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2144
                <relPosition x="25" y="0"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2145
                <connection refLocalId="28">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2146
                  <position x="675" y="465"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2147
                  <position x="675" y="432"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2148
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2149
              </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2150
              <connectionPointOut formalParameter="">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2151
                <relPosition x="25" y="27"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2152
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2153
            </step>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2154
            <actionBlock localId="31" height="30" width="100">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2155
              <position x="730" y="370"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2156
              <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2157
                <relPosition x="0" y="15"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2158
                <connection refLocalId="26">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2159
                  <position x="730" y="385"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2160
                  <position x="705" y="385"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2161
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2162
              </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2163
              <action>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2164
                <reference name="COUNT2"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2165
              </action>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2166
            </actionBlock>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2167
            <actionBlock localId="32" height="30" width="235">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2168
              <position x="200" y="170"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2169
              <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2170
                <relPosition x="0" y="15"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2171
                <connection refLocalId="1">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2172
                  <position x="200" y="185"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2173
                  <position x="180" y="185"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2174
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2175
              </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2176
              <action>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2177
                <inline>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2178
                  <ST>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2179
<![CDATA[OUT1 := 0;OUT2 := 0;]]>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2180
                  </ST>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2181
                </inline>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2182
              </action>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2183
            </actionBlock>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2184
            <transition localId="33" height="2" width="20">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2185
              <position x="35" y="325"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2186
              <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2187
                <relPosition x="10" y="0"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2188
                <connection refLocalId="11">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2189
                  <position x="45" y="325"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2190
                  <position x="45" y="231"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2191
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2192
              </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2193
              <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2194
                <relPosition x="10" y="2"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2195
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2196
              <condition>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2197
                <inline name="">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2198
                  <ST>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2199
<![CDATA[CNT2 AND NOT CNT1]]>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2200
                  </ST>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2201
                </inline>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2202
              </condition>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2203
            </transition>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2204
            <block localId="34" width="80" height="90" typeName="AND">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2205
              <position x="435" y="240"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2206
              <inputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2207
                <variable formalParameter="IN1">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2208
                  <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2209
                    <relPosition x="0" y="35"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2210
                    <connection refLocalId="35">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2211
                      <position x="435" y="275"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2212
                      <position x="410" y="275"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2213
                    </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2214
                  </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2215
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2216
                <variable formalParameter="IN2">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2217
                  <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2218
                    <relPosition x="0" y="70"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2219
                    <connection refLocalId="39">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2220
                      <position x="435" y="310"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2221
                      <position x="410" y="310"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2222
                    </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2223
                  </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2224
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2225
              </inputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2226
              <inOutVariables/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2227
              <outputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2228
                <variable formalParameter="OUT">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2229
                  <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2230
                    <relPosition x="80" y="35"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2231
                  </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2232
                </variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2233
              </outputVariables>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2234
            </block>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2235
            <inVariable localId="35" height="30" width="50">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2236
              <position x="360" y="260"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2237
              <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2238
                <relPosition x="50" y="15"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2239
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2240
              <expression>CNT1</expression>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2241
            </inVariable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2242
            <step localId="36" height="27" width="60" name="Step2">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2243
              <position x="15" y="375"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2244
              <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2245
                <relPosition x="30" y="0"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2246
                <connection refLocalId="33">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2247
                  <position x="45" y="375"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2248
                  <position x="45" y="327"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2249
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2250
              </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2251
              <connectionPointOut formalParameter="">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2252
                <relPosition x="30" y="27"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2253
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2254
              <connectionPointOutAction formalParameter="">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2255
                <relPosition x="60" y="15"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2256
              </connectionPointOutAction>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2257
            </step>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2258
            <actionBlock localId="37" height="30" width="84">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2259
              <position x="100" y="375"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2260
              <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2261
                <relPosition x="0" y="15"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2262
                <connection refLocalId="36">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2263
                  <position x="100" y="390"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2264
                  <position x="75" y="390"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2265
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2266
              </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2267
              <action>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2268
                <reference name="COUNT2"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2269
              </action>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2270
            </actionBlock>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2271
            <transition localId="38" height="2" width="20">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2272
              <position x="35" y="470"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2273
              <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2274
                <relPosition x="10" y="0"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2275
                <connection refLocalId="36">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2276
                  <position x="45" y="470"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2277
                  <position x="45" y="402"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2278
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2279
              </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2280
              <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2281
                <relPosition x="10" y="2"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2282
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2283
              <condition>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2284
                <reference name="REACH_UPPER2"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2285
              </condition>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2286
            </transition>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2287
            <inVariable localId="39" height="30" width="50">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2288
              <position x="360" y="295"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2289
              <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2290
                <relPosition x="50" y="15"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2291
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2292
              <expression>CNT2</expression>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2293
            </inVariable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2294
            <leftPowerRail localId="40" height="40" width="3">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2295
              <position x="70" y="255"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2296
              <connectionPointOut formalParameter="">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2297
                <relPosition x="3" y="20"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2298
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2299
            </leftPowerRail>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2300
            <contact localId="41" height="20" width="25">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2301
              <position x="110" y="265"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2302
              <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2303
                <relPosition x="0" y="10"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2304
                <connection refLocalId="40">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2305
                  <position x="110" y="275"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2306
                  <position x="73" y="275"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2307
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2308
              </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2309
              <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2310
                <relPosition x="25" y="10"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2311
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2312
              <variable>CNT1</variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2313
            </contact>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2314
            <contact localId="42" height="20" width="25" negated="true">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2315
              <position x="190" y="265"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2316
              <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2317
                <relPosition x="0" y="10"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2318
                <connection refLocalId="41">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2319
                  <position x="190" y="275"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2320
                  <position x="135" y="275"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2321
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2322
              </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2323
              <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2324
                <relPosition x="25" y="10"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2325
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2326
              <variable>CNT2</variable>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2327
            </contact>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2328
            <transition localId="44" height="10" width="20">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2329
              <position x="260" y="270"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2330
              <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2331
                <relPosition x="10" y="0"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2332
                <connection refLocalId="11">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2333
                  <position x="270" y="270"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2334
                  <position x="270" y="231"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2335
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2336
              </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2337
              <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2338
                <relPosition x="10" y="10"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2339
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2340
              <condition>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2341
                <connection refLocalId="42">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2342
                  <position x="260" y="275"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2343
                  <position x="215" y="275"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2344
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2345
              </condition>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2346
            </transition>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2347
            <transition localId="45" height="10" width="20">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2348
              <position x="565" y="270"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2349
              <connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2350
                <relPosition x="10" y="0"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2351
                <connection refLocalId="11">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2352
                  <position x="575" y="270"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2353
                  <position x="575" y="231"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2354
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2355
              </connectionPointIn>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2356
              <connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2357
                <relPosition x="10" y="10"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2358
              </connectionPointOut>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2359
              <condition>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2360
                <connection refLocalId="34" formalParameter="OUT">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2361
                  <position x="565" y="275"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2362
                  <position x="515" y="275"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2363
                </connection>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2364
              </condition>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2365
            </transition>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2366
            <comment localId="46" height="120" width="785">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2367
              <position x="15" y="25"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2368
              <content>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2369
<![CDATA[A SFC that make use of different kinds of divergences, and mix LD and FBD and inline transitions.
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2370
It is supposed to increment OUT1 and OUT2 according CNT1 and CNT2, and untill UPPER1 and UPPER2 limits are reached.]]>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2371
              </content>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2372
            </comment>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2373
          </SFC>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2374
        </body>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2375
      </pou>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2376
    </pous>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2377
  </types>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2378
  <instances>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2379
    <configurations>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2380
      <configuration name="STD_CONF">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2381
        <resource name="STD_RESSOURCE">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2382
          <task name="STD_TASK" interval="00:00:00.100000" priority="0">
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2383
            <pouInstance name="MAIN_INSTANCE" type="MAIN_TEST"/>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2384
          </task>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2385
        </resource>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2386
      </configuration>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2387
    </configurations>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2388
  </instances>
530118da6c15 update test_master and test_slave examples for win32
greg
parents:
diff changeset
  2389
</project>