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