examples/example.xml
author lbessard
Tue, 26 Feb 2008 15:41:18 +0100
changeset 174 97bbbaa54964
parent 158 8a770e8d745a
child 213 4931959ea256
permissions -rw-r--r--
Bug on wire Drawing fixed
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
     1
<?xml version="1.0" encoding="UTF-8"?>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
     2
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
     3
         xmlns="http://www.plcopen.org/xml/tc6.xsd"
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
     4
         xmlns:xhtml="http://www.w3.org/1999/xhtml"
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
     5
         xsi:schemaLocation="http://www.plcopen.org/xml/tc6.xsd http://www.plcopen.org/xml/tc6.xsd">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
     6
  <fileHeader companyName="Lolitech"
145
4fb225afddf4 Adding scaling
lbessard
parents: 142
diff changeset
     7
              companyURL="www.lolitech.net"
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
     8
              productName="PLCOpenEditorExample"
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
     9
              productVersion="1.0"
145
4fb225afddf4 Adding scaling
lbessard
parents: 142
diff changeset
    10
              productRelease="rc1"
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
    11
              creationDateTime="2006-09-07 18:52:43"
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
    12
              contentDescription="Example of PLCOpenEditor usage"/>
145
4fb225afddf4 Adding scaling
lbessard
parents: 142
diff changeset
    13
  <contentHeader name="Test"
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
    14
                 version="1"
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
    15
                 modificationDateTime="2008-01-28 11:02:45"
145
4fb225afddf4 Adding scaling
lbessard
parents: 142
diff changeset
    16
                 author="Laurent Bessard"
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
    17
                 language="en-US">
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
    18
    <coordinateInfo>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
    19
      <pageSize x="1000" y="2000"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
    20
      <fbd>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
    21
        <scaling x="8" y="8"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
    22
      </fbd>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
    23
      <ld>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
    24
        <scaling x="0" y="0"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
    25
      </ld>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
    26
      <sfc>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
    27
        <scaling x="0" y="0"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
    28
      </sfc>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
    29
    </coordinateInfo>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
    30
  </contentHeader>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
    31
  <types>
126
4a76987f8a40 Adding execution order and complex data types
lbessard
parents: 116
diff changeset
    32
    <dataTypes>
4a76987f8a40 Adding execution order and complex data types
lbessard
parents: 116
diff changeset
    33
      <dataType name="MyType">
4a76987f8a40 Adding execution order and complex data types
lbessard
parents: 116
diff changeset
    34
        <baseType>
4a76987f8a40 Adding execution order and complex data types
lbessard
parents: 116
diff changeset
    35
          <array>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
    36
            <dimension lower="1" upper="16"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
    37
            <dimension lower="1" upper="2"/>
126
4a76987f8a40 Adding execution order and complex data types
lbessard
parents: 116
diff changeset
    38
            <baseType>
4a76987f8a40 Adding execution order and complex data types
lbessard
parents: 116
diff changeset
    39
              <INT/>
4a76987f8a40 Adding execution order and complex data types
lbessard
parents: 116
diff changeset
    40
            </baseType>
4a76987f8a40 Adding execution order and complex data types
lbessard
parents: 116
diff changeset
    41
          </array>
4a76987f8a40 Adding execution order and complex data types
lbessard
parents: 116
diff changeset
    42
        </baseType>
4a76987f8a40 Adding execution order and complex data types
lbessard
parents: 116
diff changeset
    43
        <initialValue>
4a76987f8a40 Adding execution order and complex data types
lbessard
parents: 116
diff changeset
    44
          <arrayValue>
145
4fb225afddf4 Adding scaling
lbessard
parents: 142
diff changeset
    45
            <value repetitionValue="8">
4fb225afddf4 Adding scaling
lbessard
parents: 142
diff changeset
    46
              <arrayValue>
4fb225afddf4 Adding scaling
lbessard
parents: 142
diff changeset
    47
                <value>
4fb225afddf4 Adding scaling
lbessard
parents: 142
diff changeset
    48
                  <simpleValue value="-100"/>
4fb225afddf4 Adding scaling
lbessard
parents: 142
diff changeset
    49
                </value>
4fb225afddf4 Adding scaling
lbessard
parents: 142
diff changeset
    50
                <value>
4fb225afddf4 Adding scaling
lbessard
parents: 142
diff changeset
    51
                  <simpleValue value="100"/>
4fb225afddf4 Adding scaling
lbessard
parents: 142
diff changeset
    52
                </value>
4fb225afddf4 Adding scaling
lbessard
parents: 142
diff changeset
    53
              </arrayValue>
126
4a76987f8a40 Adding execution order and complex data types
lbessard
parents: 116
diff changeset
    54
            </value>
145
4fb225afddf4 Adding scaling
lbessard
parents: 142
diff changeset
    55
            <value repetitionValue="8">
4fb225afddf4 Adding scaling
lbessard
parents: 142
diff changeset
    56
              <arrayValue>
4fb225afddf4 Adding scaling
lbessard
parents: 142
diff changeset
    57
                <value>
4fb225afddf4 Adding scaling
lbessard
parents: 142
diff changeset
    58
                  <simpleValue value="100"/>
4fb225afddf4 Adding scaling
lbessard
parents: 142
diff changeset
    59
                </value>
4fb225afddf4 Adding scaling
lbessard
parents: 142
diff changeset
    60
                <value>
4fb225afddf4 Adding scaling
lbessard
parents: 142
diff changeset
    61
                  <simpleValue value="-100"/>
4fb225afddf4 Adding scaling
lbessard
parents: 142
diff changeset
    62
                </value>
4fb225afddf4 Adding scaling
lbessard
parents: 142
diff changeset
    63
              </arrayValue>
126
4a76987f8a40 Adding execution order and complex data types
lbessard
parents: 116
diff changeset
    64
            </value>
4a76987f8a40 Adding execution order and complex data types
lbessard
parents: 116
diff changeset
    65
          </arrayValue>
4a76987f8a40 Adding execution order and complex data types
lbessard
parents: 116
diff changeset
    66
        </initialValue>
4a76987f8a40 Adding execution order and complex data types
lbessard
parents: 116
diff changeset
    67
      </dataType>
4a76987f8a40 Adding execution order and complex data types
lbessard
parents: 116
diff changeset
    68
      <dataType name="MyType2">
4a76987f8a40 Adding execution order and complex data types
lbessard
parents: 116
diff changeset
    69
        <baseType>
4a76987f8a40 Adding execution order and complex data types
lbessard
parents: 116
diff changeset
    70
          <BYTE/>
4a76987f8a40 Adding execution order and complex data types
lbessard
parents: 116
diff changeset
    71
        </baseType>
4a76987f8a40 Adding execution order and complex data types
lbessard
parents: 116
diff changeset
    72
        <initialValue>
4a76987f8a40 Adding execution order and complex data types
lbessard
parents: 116
diff changeset
    73
          <simpleValue value="0"/>
4a76987f8a40 Adding execution order and complex data types
lbessard
parents: 116
diff changeset
    74
        </initialValue>
4a76987f8a40 Adding execution order and complex data types
lbessard
parents: 116
diff changeset
    75
      </dataType>
4a76987f8a40 Adding execution order and complex data types
lbessard
parents: 116
diff changeset
    76
      <dataType name="MyType3">
4a76987f8a40 Adding execution order and complex data types
lbessard
parents: 116
diff changeset
    77
        <baseType>
4a76987f8a40 Adding execution order and complex data types
lbessard
parents: 116
diff changeset
    78
          <enum>
4a76987f8a40 Adding execution order and complex data types
lbessard
parents: 116
diff changeset
    79
            <values>
4a76987f8a40 Adding execution order and complex data types
lbessard
parents: 116
diff changeset
    80
              <value name="OPEN"/>
4a76987f8a40 Adding execution order and complex data types
lbessard
parents: 116
diff changeset
    81
              <value name="CLOSED"/>
4a76987f8a40 Adding execution order and complex data types
lbessard
parents: 116
diff changeset
    82
            </values>
4a76987f8a40 Adding execution order and complex data types
lbessard
parents: 116
diff changeset
    83
          </enum>
4a76987f8a40 Adding execution order and complex data types
lbessard
parents: 116
diff changeset
    84
        </baseType>
4a76987f8a40 Adding execution order and complex data types
lbessard
parents: 116
diff changeset
    85
        <initialValue>
4a76987f8a40 Adding execution order and complex data types
lbessard
parents: 116
diff changeset
    86
          <simpleValue value="CLOSED"/>
4a76987f8a40 Adding execution order and complex data types
lbessard
parents: 116
diff changeset
    87
        </initialValue>
4a76987f8a40 Adding execution order and complex data types
lbessard
parents: 116
diff changeset
    88
      </dataType>
4a76987f8a40 Adding execution order and complex data types
lbessard
parents: 116
diff changeset
    89
      <dataType name="MyType4">
4a76987f8a40 Adding execution order and complex data types
lbessard
parents: 116
diff changeset
    90
        <baseType>
4a76987f8a40 Adding execution order and complex data types
lbessard
parents: 116
diff changeset
    91
          <subrangeSigned>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
    92
            <range lower="-4500" upper="4500"/>
126
4a76987f8a40 Adding execution order and complex data types
lbessard
parents: 116
diff changeset
    93
            <baseType>
4a76987f8a40 Adding execution order and complex data types
lbessard
parents: 116
diff changeset
    94
              <DINT/>
4a76987f8a40 Adding execution order and complex data types
lbessard
parents: 116
diff changeset
    95
            </baseType>
4a76987f8a40 Adding execution order and complex data types
lbessard
parents: 116
diff changeset
    96
          </subrangeSigned>
4a76987f8a40 Adding execution order and complex data types
lbessard
parents: 116
diff changeset
    97
        </baseType>
4a76987f8a40 Adding execution order and complex data types
lbessard
parents: 116
diff changeset
    98
        <initialValue>
4a76987f8a40 Adding execution order and complex data types
lbessard
parents: 116
diff changeset
    99
          <simpleValue value="0"/>
4a76987f8a40 Adding execution order and complex data types
lbessard
parents: 116
diff changeset
   100
        </initialValue>
4a76987f8a40 Adding execution order and complex data types
lbessard
parents: 116
diff changeset
   101
      </dataType>
4a76987f8a40 Adding execution order and complex data types
lbessard
parents: 116
diff changeset
   102
    </dataTypes>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   103
    <pous>
13
69075340d6a9 Adding support for forbidding insertion of function block into function
lbessard
parents: 2
diff changeset
   104
      <pou name="FBDTest" pouType="functionBlock">
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   105
        <interface>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   106
          <inputVars>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   107
            <variable name="IN1">
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   108
              <type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   109
                <BOOL/>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   110
              </type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   111
              <initialValue>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   112
                <simpleValue value="false"/>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   113
              </initialValue>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   114
            </variable>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   115
            <variable name="IN2">
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   116
              <type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   117
                <BOOL/>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   118
              </type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   119
              <initialValue>
58
39cd981ff242 Changing file headers
lbessard
parents: 56
diff changeset
   120
                <simpleValue value="true"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   121
              </initialValue>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   122
            </variable>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   123
            <variable name="IN3">
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   124
              <type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   125
                <BOOL/>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   126
              </type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   127
            </variable>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   128
          </inputVars>
13
69075340d6a9 Adding support for forbidding insertion of function block into function
lbessard
parents: 2
diff changeset
   129
          <outputVars>
69075340d6a9 Adding support for forbidding insertion of function block into function
lbessard
parents: 2
diff changeset
   130
            <variable name="OUT">
69075340d6a9 Adding support for forbidding insertion of function block into function
lbessard
parents: 2
diff changeset
   131
              <type>
69075340d6a9 Adding support for forbidding insertion of function block into function
lbessard
parents: 2
diff changeset
   132
                <BOOL/>
69075340d6a9 Adding support for forbidding insertion of function block into function
lbessard
parents: 2
diff changeset
   133
              </type>
69075340d6a9 Adding support for forbidding insertion of function block into function
lbessard
parents: 2
diff changeset
   134
            </variable>
69075340d6a9 Adding support for forbidding insertion of function block into function
lbessard
parents: 2
diff changeset
   135
          </outputVars>
67
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   136
          <localVars>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   137
            <variable name="SR1">
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   138
              <type>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   139
                <derived name="SR"/>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   140
              </type>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   141
            </variable>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   142
          </localVars>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   143
        </interface>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   144
        <body>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   145
          <FBD>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   146
            <inVariable localId="2" height="32" width="88">
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   147
              <position x="64" y="80"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   148
              <connectionPointOut>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   149
                <relPosition x="88" y="16"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   150
              </connectionPointOut>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   151
              <expression>IN1</expression>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   152
            </inVariable>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   153
            <inVariable localId="3" height="32" width="88">
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   154
              <position x="64" y="200"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   155
              <connectionPointOut>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   156
                <relPosition x="88" y="16"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   157
              </connectionPointOut>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   158
              <expression>IN2</expression>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   159
            </inVariable>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   160
            <outVariable localId="4" height="32" width="96" executionOrderId="2">
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   161
              <position x="584" y="176"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   162
              <connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   163
                <relPosition x="0" y="16"/>
27
dae55dd9ee14 Current developping version
lbessard
parents: 24
diff changeset
   164
                <connection refLocalId="11" formalParameter="Q1">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   165
                  <position x="584" y="192"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   166
                  <position x="528" y="192"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   167
                </connection>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   168
              </connectionPointIn>
13
69075340d6a9 Adding support for forbidding insertion of function block into function
lbessard
parents: 2
diff changeset
   169
              <expression>OUT</expression>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   170
            </outVariable>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   171
            <block localId="6" width="104" height="88" typeName="AND" executionOrderId="3">
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   172
              <position x="232" y="104"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   173
              <inputVariables>
67
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   174
                <variable formalParameter="IN1" edge="rising">
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   175
                  <connectionPointIn>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   176
                    <relPosition x="0" y="40"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   177
                    <connection refLocalId="2">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   178
                      <position x="232" y="144"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   179
                      <position x="192" y="144"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   180
                      <position x="192" y="96"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   181
                      <position x="152" y="96"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   182
                    </connection>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   183
                  </connectionPointIn>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   184
                </variable>
67
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   185
                <variable formalParameter="IN2">
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   186
                  <connectionPointIn>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   187
                    <relPosition x="0" y="72"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   188
                    <connection refLocalId="3">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   189
                      <position x="232" y="176"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   190
                      <position x="192" y="176"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   191
                      <position x="192" y="216"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   192
                      <position x="152" y="216"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   193
                    </connection>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   194
                  </connectionPointIn>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   195
                </variable>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   196
              </inputVariables>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   197
              <inOutVariables/>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   198
              <outputVariables>
80
c798a68c5560 Lots of bugs fixed
lbessard
parents: 70
diff changeset
   199
                <variable formalParameter="OUT">
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   200
                  <connectionPointOut>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   201
                    <relPosition x="104" y="40"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   202
                  </connectionPointOut>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   203
                </variable>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   204
              </outputVariables>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   205
            </block>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   206
            <inVariable localId="7" height="32" width="88">
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   207
              <position x="64" y="336"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   208
              <connectionPointOut>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   209
                <relPosition x="88" y="16"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   210
              </connectionPointOut>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   211
              <expression>IN3</expression>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   212
            </inVariable>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   213
            <block localId="8" width="104" height="88" typeName="OR" executionOrderId="4">
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   214
              <position x="232" y="240"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   215
              <inputVariables>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   216
                <variable formalParameter="IN1" negated="true">
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   217
                  <connectionPointIn>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   218
                    <relPosition x="0" y="40"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   219
                    <connection refLocalId="3">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   220
                      <position x="232" y="280"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   221
                      <position x="192" y="280"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   222
                      <position x="192" y="216"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   223
                      <position x="152" y="216"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   224
                    </connection>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   225
                  </connectionPointIn>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   226
                </variable>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   227
                <variable formalParameter="IN2">
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   228
                  <connectionPointIn>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   229
                    <relPosition x="0" y="72"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   230
                    <connection refLocalId="7">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   231
                      <position x="232" y="312"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   232
                      <position x="192" y="312"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   233
                      <position x="192" y="352"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   234
                      <position x="152" y="352"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   235
                    </connection>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   236
                  </connectionPointIn>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   237
                </variable>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   238
              </inputVariables>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   239
              <inOutVariables/>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   240
              <outputVariables>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   241
                <variable formalParameter="OUT">
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   242
                  <connectionPointOut>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   243
                    <relPosition x="104" y="40"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   244
                  </connectionPointOut>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   245
                </variable>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   246
              </outputVariables>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   247
            </block>
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   248
            <comment localId="10" height="40" width="376">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   249
              <position x="240" y="24"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   250
              <content>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   251
<![CDATA[POU used for testing PLCOpenEditor.]]>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   252
              </content>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   253
            </comment>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   254
            <block localId="11" width="104" height="96" typeName="SR" instanceName="SR1" executionOrderId="1">
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   255
              <position x="424" y="152"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   256
              <inputVariables>
80
c798a68c5560 Lots of bugs fixed
lbessard
parents: 70
diff changeset
   257
                <variable formalParameter="S1" negated="true">
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   258
                  <connectionPointIn>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   259
                    <relPosition x="0" y="40"/>
27
dae55dd9ee14 Current developping version
lbessard
parents: 24
diff changeset
   260
                    <connection refLocalId="6" formalParameter="OUT">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   261
                      <position x="424" y="192"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   262
                      <position x="376" y="192"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   263
                      <position x="376" y="144"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   264
                      <position x="336" y="144"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   265
                    </connection>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   266
                  </connectionPointIn>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   267
                </variable>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   268
                <variable formalParameter="R">
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   269
                  <connectionPointIn>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   270
                    <relPosition x="0" y="80"/>
27
dae55dd9ee14 Current developping version
lbessard
parents: 24
diff changeset
   271
                    <connection refLocalId="8" formalParameter="OUT">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   272
                      <position x="424" y="232"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   273
                      <position x="376" y="232"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   274
                      <position x="376" y="280"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   275
                      <position x="336" y="280"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   276
                    </connection>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   277
                  </connectionPointIn>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   278
                </variable>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   279
              </inputVariables>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   280
              <inOutVariables/>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   281
              <outputVariables>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   282
                <variable formalParameter="Q1">
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   283
                  <connectionPointOut>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   284
                    <relPosition x="104" y="40"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   285
                  </connectionPointOut>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   286
                </variable>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   287
              </outputVariables>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   288
            </block>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   289
          </FBD>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   290
        </body>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   291
      </pou>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   292
      <pou name="LDTest" pouType="function">
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   293
        <interface>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   294
          <returnType>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   295
            <BOOL/>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   296
          </returnType>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   297
          <inputVars>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   298
            <variable name="IN1">
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   299
              <type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   300
                <BOOL/>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   301
              </type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   302
            </variable>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   303
            <variable name="IN2">
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   304
              <type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   305
                <BOOL/>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   306
              </type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   307
            </variable>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   308
            <variable name="IN3">
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   309
              <type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   310
                <BOOL/>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   311
              </type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   312
            </variable>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   313
            <variable name="IN4">
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   314
              <type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   315
                <BOOL/>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   316
              </type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   317
            </variable>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   318
          </inputVars>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   319
        </interface>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   320
        <body>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   321
          <LD>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   322
            <comment localId="1" height="40" width="600">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   323
              <position x="10" y="10"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   324
              <content>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   325
<![CDATA[Comment]]>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   326
              </content>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   327
            </comment>
142
f5f43f009709 Update of plcopeneditor example
lbessard
parents: 126
diff changeset
   328
            <leftPowerRail localId="2" height="80" width="3">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   329
              <position x="10" y="60"/>
142
f5f43f009709 Update of plcopeneditor example
lbessard
parents: 126
diff changeset
   330
              <connectionPointOut formalParameter="">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   331
                <relPosition x="3" y="20"/>
142
f5f43f009709 Update of plcopeneditor example
lbessard
parents: 126
diff changeset
   332
              </connectionPointOut>
f5f43f009709 Update of plcopeneditor example
lbessard
parents: 126
diff changeset
   333
              <connectionPointOut formalParameter="">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   334
                <relPosition x="3" y="60"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   335
              </connectionPointOut>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   336
            </leftPowerRail>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   337
            <coil localId="3" height="15" width="21">
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   338
              <position x="265" y="72"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   339
              <connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   340
                <relPosition x="0" y="8"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   341
                <connection refLocalId="7">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   342
                  <position x="265" y="80"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   343
                  <position x="195" y="80"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   344
                </connection>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   345
              </connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   346
              <connectionPointOut>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   347
                <relPosition x="21" y="8"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   348
              </connectionPointOut>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   349
              <variable>LDTest</variable>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   350
            </coil>
142
f5f43f009709 Update of plcopeneditor example
lbessard
parents: 126
diff changeset
   351
            <rightPowerRail localId="4" height="40" width="3">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   352
              <position x="323" y="60"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   353
              <connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   354
                <relPosition x="0" y="20"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   355
                <connection refLocalId="3">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   356
                  <position x="323" y="80"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   357
                  <position x="286" y="80"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   358
                </connection>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   359
              </connectionPointIn>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   360
            </rightPowerRail>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   361
            <contact localId="5" height="15" width="21" negated="true">
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   362
              <position x="42" y="72"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   363
              <connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   364
                <relPosition x="0" y="8"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   365
                <connection refLocalId="2">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   366
                  <position x="42" y="80"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   367
                  <position x="13" y="80"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   368
                </connection>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   369
              </connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   370
              <connectionPointOut>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   371
                <relPosition x="21" y="8"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   372
              </connectionPointOut>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   373
              <variable>IN1</variable>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   374
            </contact>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   375
            <contact localId="7" height="15" width="21">
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   376
              <position x="174" y="72"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   377
              <connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   378
                <relPosition x="0" y="8"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   379
                <connection refLocalId="5">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   380
                  <position x="174" y="80"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   381
                  <position x="63" y="80"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   382
                </connection>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   383
                <connection refLocalId="9">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   384
                  <position x="174" y="80"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   385
                  <position x="144" y="80"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   386
                  <position x="144" y="120"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   387
                  <position x="114" y="120"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   388
                </connection>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   389
              </connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   390
              <connectionPointOut>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   391
                <relPosition x="21" y="8"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   392
              </connectionPointOut>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   393
              <variable>IN2</variable>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   394
            </contact>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   395
            <contact localId="8" height="15" width="21">
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   396
              <position x="42" y="112"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   397
              <connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   398
                <relPosition x="0" y="8"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   399
                <connection refLocalId="2">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   400
                  <position x="42" y="120"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   401
                  <position x="13" y="120"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   402
                </connection>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   403
              </connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   404
              <connectionPointOut>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   405
                <relPosition x="21" y="8"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   406
              </connectionPointOut>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   407
              <variable>IN3</variable>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   408
            </contact>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   409
            <contact localId="9" height="15" width="21" negated="true">
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   410
              <position x="93" y="112"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   411
              <connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   412
                <relPosition x="0" y="8"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   413
                <connection refLocalId="8">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   414
                  <position x="93" y="120"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   415
                  <position x="63" y="120"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   416
                </connection>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   417
              </connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   418
              <connectionPointOut>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   419
                <relPosition x="21" y="8"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   420
              </connectionPointOut>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   421
              <variable>IN4</variable>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   422
            </contact>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   423
          </LD>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   424
        </body>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   425
      </pou>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   426
      <pou name="ILTest" pouType="function">
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   427
        <interface>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   428
          <returnType>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   429
            <REAL/>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   430
          </returnType>
1
e9d01d824086 SFC textual programs generation completed
lbessard
parents: 0
diff changeset
   431
          <inputVars>
70
0e48629c1e6d Adding support for avoiding name conflicts
lbessard
parents: 68
diff changeset
   432
            <variable name="X1">
1
e9d01d824086 SFC textual programs generation completed
lbessard
parents: 0
diff changeset
   433
              <type>
e9d01d824086 SFC textual programs generation completed
lbessard
parents: 0
diff changeset
   434
                <REAL/>
e9d01d824086 SFC textual programs generation completed
lbessard
parents: 0
diff changeset
   435
              </type>
e9d01d824086 SFC textual programs generation completed
lbessard
parents: 0
diff changeset
   436
            </variable>
e9d01d824086 SFC textual programs generation completed
lbessard
parents: 0
diff changeset
   437
          </inputVars>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   438
          <localVars>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   439
            <variable name="Temp">
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   440
              <type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   441
                <REAL/>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   442
              </type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   443
            </variable>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   444
          </localVars>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   445
          <inputVars>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   446
            <variable name="X2">
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   447
              <type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   448
                <REAL/>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   449
              </type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   450
            </variable>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   451
            <variable name="Y1">
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   452
              <type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   453
                <REAL/>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   454
              </type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   455
            </variable>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   456
            <variable name="Y2">
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   457
              <type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   458
                <REAL/>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   459
              </type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   460
            </variable>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   461
            <variable name="TMax">
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   462
              <type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   463
                <REAL/>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   464
              </type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   465
            </variable>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   466
          </inputVars>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   467
          <outputVars>
13
69075340d6a9 Adding support for forbidding insertion of function block into function
lbessard
parents: 2
diff changeset
   468
            <variable name="ERROR">
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   469
              <type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   470
                <BOOL/>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   471
              </type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   472
            </variable>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   473
          </outputVars>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   474
        </interface>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   475
        <body>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   476
          <IL>
67
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   477
<![CDATA[
13
69075340d6a9 Adding support for forbidding insertion of function block into function
lbessard
parents: 2
diff changeset
   478
     LD   Y1
69075340d6a9 Adding support for forbidding insertion of function block into function
lbessard
parents: 2
diff changeset
   479
     SUB  Y2     (* Substract Y2 from Y1 *)
69075340d6a9 Adding support for forbidding insertion of function block into function
lbessard
parents: 2
diff changeset
   480
     ST   Temp   (* Store Y1-Y2 in Temp *)
69075340d6a9 Adding support for forbidding insertion of function block into function
lbessard
parents: 2
diff changeset
   481
     MUL  Temp   (* Multiply by Temp to square *)
69075340d6a9 Adding support for forbidding insertion of function block into function
lbessard
parents: 2
diff changeset
   482
     ADD( X1     (* Defer ADD *)
69075340d6a9 Adding support for forbidding insertion of function block into function
lbessard
parents: 2
diff changeset
   483
     SUB  X2     (* Substract X1 from X2 *)
69075340d6a9 Adding support for forbidding insertion of function block into function
lbessard
parents: 2
diff changeset
   484
     ST   Temp   (* Store X1-X2 in Temp *)
69075340d6a9 Adding support for forbidding insertion of function block into function
lbessard
parents: 2
diff changeset
   485
     MUL  Temp   (* Multiply by Temp to square *)
69075340d6a9 Adding support for forbidding insertion of function block into function
lbessard
parents: 2
diff changeset
   486
     )
17
faa048f4172e Mistakes written in IL and ST code corrected
lbessard
parents: 13
diff changeset
   487
     SQRT        (* Call Square root fun *)
13
69075340d6a9 Adding support for forbidding insertion of function block into function
lbessard
parents: 2
diff changeset
   488
     ST   ILTest (* Setup function result *)
69075340d6a9 Adding support for forbidding insertion of function block into function
lbessard
parents: 2
diff changeset
   489
     GT   TMax   (* Greater than TMax ? *)
69075340d6a9 Adding support for forbidding insertion of function block into function
lbessard
parents: 2
diff changeset
   490
     JMPC ERR    (* Yes, Jump to Error *)
69075340d6a9 Adding support for forbidding insertion of function block into function
lbessard
parents: 2
diff changeset
   491
     S    ERROR  (* Set ERROR *)
69075340d6a9 Adding support for forbidding insertion of function block into function
lbessard
parents: 2
diff changeset
   492
     RET         (* Normal return *)
69075340d6a9 Adding support for forbidding insertion of function block into function
lbessard
parents: 2
diff changeset
   493
ERR: RET         (* Error return, ENO not set *)
67
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   494
]]>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   495
          </IL>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   496
        </body>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   497
      </pou>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   498
      <pou name="SFCTest" pouType="program">
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   499
        <interface>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   500
          <inputVars>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   501
            <variable name="IN1">
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   502
              <type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   503
                <BOOL/>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   504
              </type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   505
            </variable>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   506
            <variable name="IN2">
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   507
              <type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   508
                <BOOL/>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   509
              </type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   510
            </variable>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   511
            <variable name="IN3">
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   512
              <type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   513
                <BOOL/>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   514
              </type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   515
            </variable>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   516
            <variable name="IN4">
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   517
              <type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   518
                <BOOL/>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   519
              </type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   520
            </variable>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   521
            <variable name="IN5">
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   522
              <type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   523
                <BOOL/>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   524
              </type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   525
            </variable>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   526
          </inputVars>
68
66308e07402c Adding support for allowing declarations of function block into POU interface
lbessard
parents: 67
diff changeset
   527
          <localVars>
66308e07402c Adding support for allowing declarations of function block into POU interface
lbessard
parents: 67
diff changeset
   528
            <variable name="SR1">
66308e07402c Adding support for allowing declarations of function block into POU interface
lbessard
parents: 67
diff changeset
   529
              <type>
66308e07402c Adding support for allowing declarations of function block into POU interface
lbessard
parents: 67
diff changeset
   530
                <derived name="SR"/>
66308e07402c Adding support for allowing declarations of function block into POU interface
lbessard
parents: 67
diff changeset
   531
              </type>
66308e07402c Adding support for allowing declarations of function block into POU interface
lbessard
parents: 67
diff changeset
   532
            </variable>
66308e07402c Adding support for allowing declarations of function block into POU interface
lbessard
parents: 67
diff changeset
   533
          </localVars>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   534
        </interface>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   535
        <actions>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   536
          <action name="ACT1">
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   537
            <body>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   538
              <ST>
67
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   539
<![CDATA[
1
e9d01d824086 SFC textual programs generation completed
lbessard
parents: 0
diff changeset
   540
IF IN1 THEN
2
93bc4c2cf376 PLCGenerator finished
lbessard
parents: 1
diff changeset
   541
  IN2 := 1;
1
e9d01d824086 SFC textual programs generation completed
lbessard
parents: 0
diff changeset
   542
ELSE
2
93bc4c2cf376 PLCGenerator finished
lbessard
parents: 1
diff changeset
   543
  IN3 := 1;
1
e9d01d824086 SFC textual programs generation completed
lbessard
parents: 0
diff changeset
   544
END_IF;
67
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   545
]]>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   546
              </ST>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   547
            </body>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   548
          </action>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   549
        </actions>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   550
        <transitions>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   551
          <transition name="TR1">
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   552
            <body>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   553
              <ST>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   554
<![CDATA[:= AND(IN1, IN2, IN3);]]>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   555
              </ST>
67
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   556
            </body>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   557
          </transition>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   558
          <transition name="TR2">
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   559
            <body>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   560
              <FBD>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   561
                <inVariable localId="2" height="27" width="54">
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   562
                  <position x="27" y="59"/>
67
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   563
                  <connectionPointOut>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   564
                    <relPosition x="54" y="13"/>
67
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   565
                  </connectionPointOut>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   566
                  <expression>IN1</expression>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   567
                </inVariable>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   568
                <inVariable localId="3" height="27" width="53">
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   569
                  <position x="28" y="140"/>
67
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   570
                  <connectionPointOut>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   571
                    <relPosition x="53" y="13"/>
67
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   572
                  </connectionPointOut>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   573
                  <expression>IN2</expression>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   574
                </inVariable>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   575
                <outVariable localId="4" height="27" width="57">
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   576
                  <position x="340" y="82"/>
67
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   577
                  <connectionPointIn>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   578
                    <relPosition x="0" y="13"/>
68
66308e07402c Adding support for allowing declarations of function block into POU interface
lbessard
parents: 67
diff changeset
   579
                    <connection refLocalId="5" formalParameter="Q1">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   580
                      <position x="340" y="95"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   581
                      <position x="261" y="95"/>
67
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   582
                    </connection>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   583
                  </connectionPointIn>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   584
                  <expression>TR2</expression>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   585
                </outVariable>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   586
                <block localId="5" width="100" height="70" typeName="SR" instanceName="SR1">
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   587
                  <position x="161" y="63"/>
68
66308e07402c Adding support for allowing declarations of function block into POU interface
lbessard
parents: 67
diff changeset
   588
                  <inputVariables>
66308e07402c Adding support for allowing declarations of function block into POU interface
lbessard
parents: 67
diff changeset
   589
                    <variable formalParameter="S1">
66308e07402c Adding support for allowing declarations of function block into POU interface
lbessard
parents: 67
diff changeset
   590
                      <connectionPointIn>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   591
                        <relPosition x="0" y="32"/>
68
66308e07402c Adding support for allowing declarations of function block into POU interface
lbessard
parents: 67
diff changeset
   592
                        <connection refLocalId="2">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   593
                          <position x="161" y="95"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   594
                          <position x="121" y="95"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   595
                          <position x="121" y="72"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   596
                          <position x="81" y="72"/>
68
66308e07402c Adding support for allowing declarations of function block into POU interface
lbessard
parents: 67
diff changeset
   597
                        </connection>
66308e07402c Adding support for allowing declarations of function block into POU interface
lbessard
parents: 67
diff changeset
   598
                      </connectionPointIn>
66308e07402c Adding support for allowing declarations of function block into POU interface
lbessard
parents: 67
diff changeset
   599
                    </variable>
66308e07402c Adding support for allowing declarations of function block into POU interface
lbessard
parents: 67
diff changeset
   600
                    <variable formalParameter="R">
66308e07402c Adding support for allowing declarations of function block into POU interface
lbessard
parents: 67
diff changeset
   601
                      <connectionPointIn>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   602
                        <relPosition x="0" y="57"/>
68
66308e07402c Adding support for allowing declarations of function block into POU interface
lbessard
parents: 67
diff changeset
   603
                        <connection refLocalId="3">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   604
                          <position x="161" y="120"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   605
                          <position x="121" y="120"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   606
                          <position x="121" y="153"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   607
                          <position x="81" y="153"/>
68
66308e07402c Adding support for allowing declarations of function block into POU interface
lbessard
parents: 67
diff changeset
   608
                        </connection>
66308e07402c Adding support for allowing declarations of function block into POU interface
lbessard
parents: 67
diff changeset
   609
                      </connectionPointIn>
66308e07402c Adding support for allowing declarations of function block into POU interface
lbessard
parents: 67
diff changeset
   610
                    </variable>
66308e07402c Adding support for allowing declarations of function block into POU interface
lbessard
parents: 67
diff changeset
   611
                  </inputVariables>
66308e07402c Adding support for allowing declarations of function block into POU interface
lbessard
parents: 67
diff changeset
   612
                  <inOutVariables/>
66308e07402c Adding support for allowing declarations of function block into POU interface
lbessard
parents: 67
diff changeset
   613
                  <outputVariables>
66308e07402c Adding support for allowing declarations of function block into POU interface
lbessard
parents: 67
diff changeset
   614
                    <variable formalParameter="Q1">
66308e07402c Adding support for allowing declarations of function block into POU interface
lbessard
parents: 67
diff changeset
   615
                      <connectionPointOut>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   616
                        <relPosition x="100" y="32"/>
68
66308e07402c Adding support for allowing declarations of function block into POU interface
lbessard
parents: 67
diff changeset
   617
                      </connectionPointOut>
66308e07402c Adding support for allowing declarations of function block into POU interface
lbessard
parents: 67
diff changeset
   618
                    </variable>
66308e07402c Adding support for allowing declarations of function block into POU interface
lbessard
parents: 67
diff changeset
   619
                  </outputVariables>
66308e07402c Adding support for allowing declarations of function block into POU interface
lbessard
parents: 67
diff changeset
   620
                </block>
67
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   621
              </FBD>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   622
            </body>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   623
          </transition>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   624
          <transition name="TR3">
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   625
            <body>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   626
              <LD>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   627
                <leftPowerRail localId="1" height="98" width="2">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   628
                  <position x="31" y="20"/>
80
c798a68c5560 Lots of bugs fixed
lbessard
parents: 70
diff changeset
   629
                  <connectionPointOut formalParameter="None">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   630
                    <relPosition x="2" y="20"/>
67
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   631
                  </connectionPointOut>
80
c798a68c5560 Lots of bugs fixed
lbessard
parents: 70
diff changeset
   632
                  <connectionPointOut formalParameter="None">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   633
                    <relPosition x="2" y="64"/>
67
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   634
                  </connectionPointOut>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   635
                </leftPowerRail>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   636
                <contact localId="2" height="15" width="21">
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   637
                  <position x="72" y="32"/>
67
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   638
                  <connectionPointIn>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   639
                    <relPosition x="0" y="8"/>
67
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   640
                    <connection refLocalId="1">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   641
                      <position x="72" y="40"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   642
                      <position x="33" y="40"/>
67
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   643
                    </connection>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   644
                  </connectionPointIn>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   645
                  <connectionPointOut>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   646
                    <relPosition x="21" y="8"/>
67
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   647
                  </connectionPointOut>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   648
                  <variable>IN2</variable>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   649
                </contact>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   650
                <contact localId="3" height="15" width="21" edge="rising">
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   651
                  <position x="72" y="76"/>
67
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   652
                  <connectionPointIn>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   653
                    <relPosition x="0" y="8"/>
67
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   654
                    <connection refLocalId="1">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   655
                      <position x="72" y="84"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   656
                      <position x="33" y="84"/>
67
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   657
                    </connection>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   658
                  </connectionPointIn>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   659
                  <connectionPointOut>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   660
                    <relPosition x="21" y="8"/>
67
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   661
                  </connectionPointOut>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   662
                  <variable>IN5</variable>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   663
                </contact>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   664
                <coil localId="4" height="15" width="21" negated="true">
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   665
                  <position x="208" y="32"/>
67
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   666
                  <connectionPointIn>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   667
                    <relPosition x="0" y="8"/>
67
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   668
                    <connection refLocalId="2">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   669
                      <position x="208" y="40"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   670
                      <position x="93" y="40"/>
67
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   671
                    </connection>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   672
                    <connection refLocalId="3">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   673
                      <position x="208" y="40"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   674
                      <position x="131" y="40"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   675
                      <position x="131" y="84"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   676
                      <position x="93" y="84"/>
67
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   677
                    </connection>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   678
                  </connectionPointIn>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   679
                  <connectionPointOut>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   680
                    <relPosition x="21" y="8"/>
67
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   681
                  </connectionPointOut>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   682
                  <variable>TR3</variable>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   683
                </coil>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   684
                <rightPowerRail localId="5" height="40" width="2">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   685
                  <position x="271" y="19"/>
67
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   686
                  <connectionPointIn>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   687
                    <relPosition x="0" y="21"/>
67
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   688
                    <connection refLocalId="4">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   689
                      <position x="271" y="40"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   690
                      <position x="229" y="40"/>
67
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   691
                    </connection>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   692
                  </connectionPointIn>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   693
                </rightPowerRail>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   694
              </LD>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   695
            </body>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   696
          </transition>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   697
          <transition name="TR4">
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   698
            <body>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   699
              <IL>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   700
<![CDATA[
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   701
    LD  IN3
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   702
    AND IN4
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   703
]]>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   704
              </IL>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   705
            </body>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   706
          </transition>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   707
        </transitions>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   708
        <body>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   709
          <SFC>
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   710
            <step localId="1" height="38" width="69" name="Start" initialStep="true">
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   711
              <position x="71" y="39"/>
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   712
              <connectionPointOut formalParameter="">
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   713
                <relPosition x="34" y="38"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   714
              </connectionPointOut>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   715
            </step>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   716
            <transition localId="2" height="2" width="20">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   717
              <position x="95" y="102"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   718
              <connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   719
                <relPosition x="10" y="0"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   720
                <connection refLocalId="1">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   721
                  <position x="105" y="102"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   722
                  <position x="105" y="77"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   723
                </connection>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   724
              </connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   725
              <connectionPointOut>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   726
                <relPosition x="10" y="2"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   727
              </connectionPointOut>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   728
              <condition>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   729
                <reference name="TR1"/>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   730
              </condition>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   731
            </transition>
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   732
            <step localId="3" height="27" width="52" name="Init">
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   733
              <position x="79" y="129"/>
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   734
              <connectionPointIn>
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   735
                <relPosition x="26" y="0"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   736
                <connection refLocalId="2">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   737
                  <position x="105" y="129"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   738
                  <position x="105" y="104"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   739
                </connection>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   740
              </connectionPointIn>
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   741
              <connectionPointOut formalParameter="">
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   742
                <relPosition x="26" y="27"/>
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   743
              </connectionPointOut>
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   744
              <connectionPointOutAction formalParameter="">
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   745
                <relPosition x="52" y="13"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   746
              </connectionPointOutAction>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   747
            </step>
2
93bc4c2cf376 PLCGenerator finished
lbessard
parents: 1
diff changeset
   748
            <selectionDivergence localId="4" height="1" width="391">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   749
              <position x="105" y="181"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   750
              <connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   751
                <relPosition x="0" y="0"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   752
                <connection refLocalId="3">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   753
                  <position x="105" y="181"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   754
                  <position x="105" y="156"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   755
                </connection>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   756
              </connectionPointIn>
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   757
              <connectionPointOut formalParameter="">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   758
                <relPosition x="0" y="1"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   759
              </connectionPointOut>
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   760
              <connectionPointOut formalParameter="">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   761
                <relPosition x="228" y="1"/>
2
93bc4c2cf376 PLCGenerator finished
lbessard
parents: 1
diff changeset
   762
              </connectionPointOut>
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   763
              <connectionPointOut formalParameter="">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   764
                <relPosition x="391" y="1"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   765
              </connectionPointOut>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   766
            </selectionDivergence>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   767
            <transition localId="5" height="2" width="20">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   768
              <position x="95" y="207"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   769
              <connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   770
                <relPosition x="10" y="0"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   771
                <connection refLocalId="4">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   772
                  <position x="105" y="207"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   773
                  <position x="105" y="182"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   774
                </connection>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   775
              </connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   776
              <connectionPointOut>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   777
                <relPosition x="10" y="2"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   778
              </connectionPointOut>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   779
              <condition>
80
c798a68c5560 Lots of bugs fixed
lbessard
parents: 70
diff changeset
   780
                <inline name="None">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   781
                  <ST>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   782
<![CDATA[IN2 AND IN3]]>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   783
                  </ST>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   784
                </inline>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   785
              </condition>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   786
            </transition>
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   787
            <step localId="6" height="37" width="63" name="Step1">
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   788
              <position x="74" y="262"/>
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   789
              <connectionPointIn>
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   790
                <relPosition x="31" y="0"/>
2
93bc4c2cf376 PLCGenerator finished
lbessard
parents: 1
diff changeset
   791
                <connection refLocalId="21">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   792
                  <position x="105" y="262"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   793
                  <position x="105" y="237"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   794
                </connection>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   795
              </connectionPointIn>
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   796
              <connectionPointOut formalParameter="">
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   797
                <relPosition x="31" y="37"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   798
              </connectionPointOut>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   799
            </step>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   800
            <transition localId="7" height="2" width="20" priority="1">
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   801
              <position x="323" y="207"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   802
              <connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   803
                <relPosition x="10" y="0"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   804
                <connection refLocalId="4">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   805
                  <position x="333" y="207"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   806
                  <position x="333" y="182"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   807
                </connection>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   808
              </connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   809
              <connectionPointOut>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   810
                <relPosition x="10" y="2"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   811
              </connectionPointOut>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   812
              <condition>
67
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   813
                <reference name="TR2"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   814
              </condition>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   815
            </transition>
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   816
            <step localId="8" height="35" width="57" name="Step2">
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   817
              <position x="305" y="234"/>
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   818
              <connectionPointIn>
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   819
                <relPosition x="28" y="0"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   820
                <connection refLocalId="7">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   821
                  <position x="333" y="234"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   822
                  <position x="333" y="209"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   823
                </connection>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   824
              </connectionPointIn>
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   825
              <connectionPointOut formalParameter="">
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   826
                <relPosition x="28" y="35"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   827
              </connectionPointOut>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   828
            </step>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   829
            <transition localId="9" height="2" width="20">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   830
              <position x="486" y="207"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   831
              <connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   832
                <relPosition x="10" y="0"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   833
                <connection refLocalId="4">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   834
                  <position x="496" y="207"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   835
                  <position x="496" y="182"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   836
                </connection>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   837
              </connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   838
              <connectionPointOut>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   839
                <relPosition x="10" y="2"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   840
              </connectionPointOut>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   841
              <condition>
67
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   842
                <reference name="TR4"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   843
              </condition>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   844
            </transition>
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   845
            <step localId="10" height="36" width="60" name="Step3">
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   846
              <position x="466" y="234"/>
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   847
              <connectionPointIn>
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   848
                <relPosition x="30" y="0"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   849
                <connection refLocalId="9">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   850
                  <position x="496" y="234"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   851
                  <position x="496" y="209"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   852
                </connection>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   853
              </connectionPointIn>
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   854
              <connectionPointOut formalParameter="">
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   855
                <relPosition x="30" y="36"/>
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   856
              </connectionPointOut>
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   857
              <connectionPointOutAction formalParameter="">
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   858
                <relPosition x="60" y="18"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   859
              </connectionPointOutAction>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   860
            </step>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   861
            <transition localId="11" height="2" width="20">
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   862
              <position x="95" y="362"/>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   863
              <connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   864
                <relPosition x="10" y="0"/>
2
93bc4c2cf376 PLCGenerator finished
lbessard
parents: 1
diff changeset
   865
                <connection refLocalId="23">
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   866
                  <position x="105" y="362"/>
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   867
                  <position x="105" y="337"/>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   868
                </connection>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   869
              </connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   870
              <connectionPointOut>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   871
                <relPosition x="10" y="2"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   872
              </connectionPointOut>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   873
              <condition>
67
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   874
                <reference name="TR3"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   875
              </condition>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   876
            </transition>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   877
            <jumpStep localId="12" height="13" width="12" targetName="Start">
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   878
              <position x="99" y="389"/>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   879
              <connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   880
                <relPosition x="6" y="0"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   881
                <connection refLocalId="11">
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   882
                  <position x="105" y="389"/>
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   883
                  <position x="105" y="364"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   884
                </connection>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   885
              </connectionPointIn>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   886
            </jumpStep>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   887
            <actionBlock localId="13" height="30" width="100">
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   888
              <position x="175" y="127"/>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   889
              <connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   890
                <relPosition x="0" y="15"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   891
                <connection refLocalId="3">
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   892
                  <position x="175" y="142"/>
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   893
                  <position x="131" y="142"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   894
                </connection>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   895
              </connectionPointIn>
116
58b9b84e385f Adding support in xmlclass for timezone in datetime and for not paying attention to xml comments
lbessard
parents: 80
diff changeset
   896
              <action>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   897
                <reference name="ACT1"/>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   898
              </action>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   899
            </actionBlock>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   900
            <transition localId="14" height="2" width="20">
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   901
              <position x="323" y="294"/>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   902
              <connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   903
                <relPosition x="10" y="0"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   904
                <connection refLocalId="8">
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   905
                  <position x="333" y="294"/>
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   906
                  <position x="333" y="269"/>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   907
                </connection>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   908
              </connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   909
              <connectionPointOut>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   910
                <relPosition x="10" y="2"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   911
              </connectionPointOut>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   912
              <condition>
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   913
                <inline name="">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   914
                  <ST>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   915
<![CDATA[IN5]]>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   916
                  </ST>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   917
                </inline>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   918
              </condition>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   919
            </transition>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   920
            <transition localId="15" height="2" width="20">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   921
              <position x="486" y="346"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   922
              <connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   923
                <relPosition x="10" y="0"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   924
                <connection refLocalId="10">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   925
                  <position x="496" y="346"/>
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   926
                  <position x="496" y="270"/>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   927
                </connection>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   928
              </connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   929
              <connectionPointOut>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   930
                <relPosition x="10" y="2"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   931
              </connectionPointOut>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   932
              <condition>
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   933
                <inline name="">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   934
                  <ST>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   935
<![CDATA[IN5]]>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   936
                  </ST>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   937
                </inline>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   938
              </condition>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   939
            </transition>
2
93bc4c2cf376 PLCGenerator finished
lbessard
parents: 1
diff changeset
   940
            <selectionConvergence localId="16" height="1" width="163">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   941
              <position x="333" y="373"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   942
              <connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   943
                <relPosition x="0" y="0"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   944
                <connection refLocalId="14">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   945
                  <position x="333" y="373"/>
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   946
                  <position x="333" y="296"/>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   947
                </connection>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   948
              </connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   949
              <connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   950
                <relPosition x="163" y="0"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   951
                <connection refLocalId="15">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   952
                  <position x="496" y="373"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   953
                  <position x="496" y="348"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   954
                </connection>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   955
              </connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   956
              <connectionPointOut>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   957
                <relPosition x="80" y="1"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   958
              </connectionPointOut>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   959
            </selectionConvergence>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   960
            <jumpStep localId="19" height="13" width="12" targetName="Init">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   961
              <position x="407" y="399"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   962
              <connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   963
                <relPosition x="6" y="0"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   964
                <connection refLocalId="16">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   965
                  <position x="413" y="399"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   966
                  <position x="413" y="374"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   967
                </connection>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   968
              </connectionPointIn>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   969
            </jumpStep>
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   970
            <actionBlock localId="20" height="90" width="237">
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   971
              <position x="582" y="237"/>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   972
              <connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   973
                <relPosition x="0" y="15"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   974
                <connection refLocalId="10">
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   975
                  <position x="582" y="252"/>
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   976
                  <position x="526" y="252"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   977
                </connection>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   978
              </connectionPointIn>
116
58b9b84e385f Adding support in xmlclass for timezone in datetime and for not paying attention to xml comments
lbessard
parents: 80
diff changeset
   979
              <action indicator="IN5">
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   980
                <reference name="ACT1"/>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   981
              </action>
2
93bc4c2cf376 PLCGenerator finished
lbessard
parents: 1
diff changeset
   982
              <action qualifier="D" duration="T#10s">
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   983
                <reference name="IN1"/>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   984
              </action>
46
4379e98a30aa Bug on SFC generation fixed
lbessard
parents: 27
diff changeset
   985
              <action qualifier="P">
4379e98a30aa Bug on SFC generation fixed
lbessard
parents: 27
diff changeset
   986
                <inline>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   987
                  <ST>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   988
<![CDATA[IN2 := TRUE;]]>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   989
                  </ST>
46
4379e98a30aa Bug on SFC generation fixed
lbessard
parents: 27
diff changeset
   990
                </inline>
4379e98a30aa Bug on SFC generation fixed
lbessard
parents: 27
diff changeset
   991
              </action>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   992
            </actionBlock>
2
93bc4c2cf376 PLCGenerator finished
lbessard
parents: 1
diff changeset
   993
            <simultaneousDivergence localId="21" height="3" width="118">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   994
              <position x="105" y="234"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   995
              <connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   996
                <relPosition x="0" y="0"/>
2
93bc4c2cf376 PLCGenerator finished
lbessard
parents: 1
diff changeset
   997
                <connection refLocalId="5">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   998
                  <position x="105" y="234"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   999
                  <position x="105" y="209"/>
2
93bc4c2cf376 PLCGenerator finished
lbessard
parents: 1
diff changeset
  1000
                </connection>
93bc4c2cf376 PLCGenerator finished
lbessard
parents: 1
diff changeset
  1001
              </connectionPointIn>
80
c798a68c5560 Lots of bugs fixed
lbessard
parents: 70
diff changeset
  1002
              <connectionPointOut formalParameter="None">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
  1003
                <relPosition x="0" y="3"/>
2
93bc4c2cf376 PLCGenerator finished
lbessard
parents: 1
diff changeset
  1004
              </connectionPointOut>
80
c798a68c5560 Lots of bugs fixed
lbessard
parents: 70
diff changeset
  1005
              <connectionPointOut formalParameter="None">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
  1006
                <relPosition x="118" y="3"/>
2
93bc4c2cf376 PLCGenerator finished
lbessard
parents: 1
diff changeset
  1007
              </connectionPointOut>
93bc4c2cf376 PLCGenerator finished
lbessard
parents: 1
diff changeset
  1008
            </simultaneousDivergence>
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
  1009
            <step localId="22" height="36" width="61" name="Step4">
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
  1010
              <position x="193" y="261"/>
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
  1011
              <connectionPointIn>
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
  1012
                <relPosition x="30" y="0"/>
2
93bc4c2cf376 PLCGenerator finished
lbessard
parents: 1
diff changeset
  1013
                <connection refLocalId="21">
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
  1014
                  <position x="223" y="261"/>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
  1015
                  <position x="223" y="237"/>
2
93bc4c2cf376 PLCGenerator finished
lbessard
parents: 1
diff changeset
  1016
                </connection>
93bc4c2cf376 PLCGenerator finished
lbessard
parents: 1
diff changeset
  1017
              </connectionPointIn>
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
  1018
              <connectionPointOut formalParameter="">
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
  1019
                <relPosition x="30" y="36"/>
2
93bc4c2cf376 PLCGenerator finished
lbessard
parents: 1
diff changeset
  1020
              </connectionPointOut>
93bc4c2cf376 PLCGenerator finished
lbessard
parents: 1
diff changeset
  1021
            </step>
93bc4c2cf376 PLCGenerator finished
lbessard
parents: 1
diff changeset
  1022
            <simultaneousConvergence localId="23" height="3" width="118">
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
  1023
              <position x="105" y="334"/>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
  1024
              <connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
  1025
                <relPosition x="0" y="0"/>
2
93bc4c2cf376 PLCGenerator finished
lbessard
parents: 1
diff changeset
  1026
                <connection refLocalId="6">
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
  1027
                  <position x="105" y="334"/>
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
  1028
                  <position x="105" y="299"/>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
  1029
                </connection>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
  1030
              </connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
  1031
              <connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
  1032
                <relPosition x="118" y="0"/>
2
93bc4c2cf376 PLCGenerator finished
lbessard
parents: 1
diff changeset
  1033
                <connection refLocalId="22">
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
  1034
                  <position x="223" y="334"/>
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
  1035
                  <position x="223" y="297"/>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
  1036
                </connection>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
  1037
              </connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
  1038
              <connectionPointOut>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
  1039
                <relPosition x="0" y="3"/>
2
93bc4c2cf376 PLCGenerator finished
lbessard
parents: 1
diff changeset
  1040
              </connectionPointOut>
93bc4c2cf376 PLCGenerator finished
lbessard
parents: 1
diff changeset
  1041
            </simultaneousConvergence>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1042
          </SFC>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1043
        </body>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1044
      </pou>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1045
      <pou name="STTest" pouType="functionBlock">
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1046
        <interface>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1047
          <inputVars>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1048
            <variable name="Collision">
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1049
              <type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1050
                <BOOL/>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1051
              </type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1052
            </variable>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1053
            <variable name="Gate">
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1054
              <type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1055
                <BOOL/>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1056
              </type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1057
            </variable>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1058
            <variable name="Pump">
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1059
              <type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1060
                <BOOL/>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1061
              </type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1062
            </variable>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1063
            <variable name="Temp">
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1064
              <type>
17
faa048f4172e Mistakes written in IL and ST code corrected
lbessard
parents: 13
diff changeset
  1065
                <REAL/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1066
              </type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1067
            </variable>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1068
          </inputVars>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1069
          <outputVars>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1070
            <variable name="Speed">
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1071
              <type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1072
                <INT/>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1073
              </type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1074
            </variable>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1075
            <variable name="PumpSpeed">
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1076
              <type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1077
                <INT/>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1078
              </type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1079
            </variable>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1080
            <variable name="Brakes">
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1081
              <type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1082
                <BOOL/>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1083
              </type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1084
            </variable>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1085
            <variable name="Control_State">
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1086
              <type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1087
                <BOOL/>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1088
              </type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1089
            </variable>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1090
          </outputVars>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1091
        </interface>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1092
        <body>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1093
          <ST>
67
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
  1094
<![CDATA[
1
e9d01d824086 SFC textual programs generation completed
lbessard
parents: 0
diff changeset
  1095
IF Collision THEN
2
93bc4c2cf376 PLCGenerator finished
lbessard
parents: 1
diff changeset
  1096
  Speed := 0;
13
69075340d6a9 Adding support for forbidding insertion of function block into function
lbessard
parents: 2
diff changeset
  1097
  Brakes := TRUE;
1
e9d01d824086 SFC textual programs generation completed
lbessard
parents: 0
diff changeset
  1098
END_IF;
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1099
126
4a76987f8a40 Adding execution order and complex data types
lbessard
parents: 116
diff changeset
  1100
IF (Gate = open) AND
13
69075340d6a9 Adding support for forbidding insertion of function block into function
lbessard
parents: 2
diff changeset
  1101
    (Pump = TRUE) AND (Temp > 200.0) THEN
69075340d6a9 Adding support for forbidding insertion of function block into function
lbessard
parents: 2
diff changeset
  1102
  Control_State := TRUE;
1
e9d01d824086 SFC textual programs generation completed
lbessard
parents: 0
diff changeset
  1103
ELSE
13
69075340d6a9 Adding support for forbidding insertion of function block into function
lbessard
parents: 2
diff changeset
  1104
  Control_State := FALSE;
56
7187e1c00975 Adding support for Undo/Redo and Unsaved File On Close detection
lbessard
parents: 47
diff changeset
  1105
2
93bc4c2cf376 PLCGenerator finished
lbessard
parents: 1
diff changeset
  1106
  PumpSpeed := 10.0;
1
e9d01d824086 SFC textual programs generation completed
lbessard
parents: 0
diff changeset
  1107
END_IF;
67
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
  1108
]]>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1109
          </ST>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1110
        </body>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1111
      </pou>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1112
    </pous>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1113
  </types>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1114
  <instances>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1115
    <configurations>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1116
      <configuration name="ConfigTest">
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1117
        <resource name="ResourceTest">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
  1118
          <task name="Toto" single="Tutu" priority="6">
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
  1119
            <pouInstance name="Program1" type="SFCTest"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1120
          </task>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1121
          <globalVars>
56
7187e1c00975 Adding support for Undo/Redo and Unsaved File On Close detection
lbessard
parents: 47
diff changeset
  1122
            <variable name="Titi" address="%MW30">
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1123
              <type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1124
                <INT/>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1125
              </type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1126
            </variable>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1127
          </globalVars>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1128
        </resource>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1129
        <globalVars>
56
7187e1c00975 Adding support for Undo/Redo and Unsaved File On Close detection
lbessard
parents: 47
diff changeset
  1130
          <variable name="Toto" address="%MW10">
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1131
            <type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1132
              <INT/>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1133
            </type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1134
          </variable>
56
7187e1c00975 Adding support for Undo/Redo and Unsaved File On Close detection
lbessard
parents: 47
diff changeset
  1135
          <variable name="Tutu" address="%MX20">
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1136
            <type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1137
              <BOOL/>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1138
            </type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1139
          </variable>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1140
        </globalVars>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1141
      </configuration>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1142
    </configurations>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1143
  </instances>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1144
</project>