examples/example.xml
author laurent
Sun, 08 Jan 2012 19:16:58 +0100
changeset 616 8a60ffcfd70b
parent 455 d39f7fb16ec9
permissions -rw-r--r--
Adding support for drag'n dropping variable from global defined in configurations and resources to POU variable panel or body editor for declaring external variables
Adding support for drag'n dropping located variables from topology panel to configurations and resources variable panel for declaring global located variables
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">
455
d39f7fb16ec9 Wiped out references to Lolitech
edouard
parents: 431
diff changeset
     6
  <fileHeader companyName="Example"
d39f7fb16ec9 Wiped out references to Lolitech
edouard
parents: 431
diff changeset
     7
              companyURL="none"
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"
431
c1c92d068ac5 Changes merged
'Laurent Bessard <laurent.bessard@lolitech.fr>'
parents: 392
diff changeset
    15
                 modificationDateTime="2009-09-21T17:43:10"
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>
431
c1c92d068ac5 Changes merged
'Laurent Bessard <laurent.bessard@lolitech.fr>'
parents: 392
diff changeset
   530
          <localVars>
c1c92d068ac5 Changes merged
'Laurent Bessard <laurent.bessard@lolitech.fr>'
parents: 392
diff changeset
   531
            <variable name="IN1">
c1c92d068ac5 Changes merged
'Laurent Bessard <laurent.bessard@lolitech.fr>'
parents: 392
diff changeset
   532
              <type>
c1c92d068ac5 Changes merged
'Laurent Bessard <laurent.bessard@lolitech.fr>'
parents: 392
diff changeset
   533
                <BOOL/>
c1c92d068ac5 Changes merged
'Laurent Bessard <laurent.bessard@lolitech.fr>'
parents: 392
diff changeset
   534
              </type>
c1c92d068ac5 Changes merged
'Laurent Bessard <laurent.bessard@lolitech.fr>'
parents: 392
diff changeset
   535
            </variable>
c1c92d068ac5 Changes merged
'Laurent Bessard <laurent.bessard@lolitech.fr>'
parents: 392
diff changeset
   536
          </localVars>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   537
          <inputVars>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   538
            <variable name="IN2">
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
                <BOOL/>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   541
              </type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   542
            </variable>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   543
            <variable name="IN3">
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
                <BOOL/>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   546
              </type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   547
            </variable>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   548
            <variable name="IN4">
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
                <BOOL/>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   551
              </type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   552
            </variable>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   553
            <variable name="IN5">
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
                <BOOL/>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   556
              </type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   557
            </variable>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   558
          </inputVars>
68
66308e07402c Adding support for allowing declarations of function block into POU interface
lbessard
parents: 67
diff changeset
   559
          <localVars>
66308e07402c Adding support for allowing declarations of function block into POU interface
lbessard
parents: 67
diff changeset
   560
            <variable name="SR1">
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
                <derived name="SR"/>
66308e07402c Adding support for allowing declarations of function block into POU interface
lbessard
parents: 67
diff changeset
   563
              </type>
66308e07402c Adding support for allowing declarations of function block into POU interface
lbessard
parents: 67
diff changeset
   564
            </variable>
66308e07402c Adding support for allowing declarations of function block into POU interface
lbessard
parents: 67
diff changeset
   565
          </localVars>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   566
        </interface>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   567
        <actions>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   568
          <action name="ACT1">
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   569
            <body>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   570
              <ST>
67
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   571
<![CDATA[
1
e9d01d824086 SFC textual programs generation completed
lbessard
parents: 0
diff changeset
   572
IF IN1 THEN
2
93bc4c2cf376 PLCGenerator finished
lbessard
parents: 1
diff changeset
   573
  IN2 := 1;
1
e9d01d824086 SFC textual programs generation completed
lbessard
parents: 0
diff changeset
   574
ELSE
2
93bc4c2cf376 PLCGenerator finished
lbessard
parents: 1
diff changeset
   575
  IN3 := 1;
1
e9d01d824086 SFC textual programs generation completed
lbessard
parents: 0
diff changeset
   576
END_IF;
67
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   577
]]>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   578
              </ST>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   579
            </body>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   580
          </action>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   581
        </actions>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   582
        <transitions>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   583
          <transition name="TR1">
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   584
            <body>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   585
              <ST>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   586
<![CDATA[:= AND(IN1, IN2, IN3);]]>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   587
              </ST>
67
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   588
            </body>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   589
          </transition>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   590
          <transition name="TR2">
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   591
            <body>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   592
              <FBD>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   593
                <inVariable localId="2" height="27" width="54">
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   594
                  <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
   595
                  <connectionPointOut>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   596
                    <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
   597
                  </connectionPointOut>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   598
                  <expression>IN1</expression>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   599
                </inVariable>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   600
                <inVariable localId="3" height="27" width="53">
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   601
                  <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
   602
                  <connectionPointOut>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   603
                    <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
   604
                  </connectionPointOut>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   605
                  <expression>IN2</expression>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   606
                </inVariable>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   607
                <outVariable localId="4" height="27" width="57">
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   608
                  <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
   609
                  <connectionPointIn>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   610
                    <relPosition x="0" y="13"/>
68
66308e07402c Adding support for allowing declarations of function block into POU interface
lbessard
parents: 67
diff changeset
   611
                    <connection refLocalId="5" formalParameter="Q1">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   612
                      <position x="340" y="95"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   613
                      <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
   614
                    </connection>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   615
                  </connectionPointIn>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   616
                  <expression>TR2</expression>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   617
                </outVariable>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   618
                <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
   619
                  <position x="161" y="63"/>
68
66308e07402c Adding support for allowing declarations of function block into POU interface
lbessard
parents: 67
diff changeset
   620
                  <inputVariables>
66308e07402c Adding support for allowing declarations of function block into POU interface
lbessard
parents: 67
diff changeset
   621
                    <variable formalParameter="S1">
66308e07402c Adding support for allowing declarations of function block into POU interface
lbessard
parents: 67
diff changeset
   622
                      <connectionPointIn>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   623
                        <relPosition x="0" y="32"/>
68
66308e07402c Adding support for allowing declarations of function block into POU interface
lbessard
parents: 67
diff changeset
   624
                        <connection refLocalId="2">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   625
                          <position x="161" y="95"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   626
                          <position x="121" y="95"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   627
                          <position x="121" y="72"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   628
                          <position x="81" y="72"/>
68
66308e07402c Adding support for allowing declarations of function block into POU interface
lbessard
parents: 67
diff changeset
   629
                        </connection>
66308e07402c Adding support for allowing declarations of function block into POU interface
lbessard
parents: 67
diff changeset
   630
                      </connectionPointIn>
66308e07402c Adding support for allowing declarations of function block into POU interface
lbessard
parents: 67
diff changeset
   631
                    </variable>
66308e07402c Adding support for allowing declarations of function block into POU interface
lbessard
parents: 67
diff changeset
   632
                    <variable formalParameter="R">
66308e07402c Adding support for allowing declarations of function block into POU interface
lbessard
parents: 67
diff changeset
   633
                      <connectionPointIn>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   634
                        <relPosition x="0" y="57"/>
68
66308e07402c Adding support for allowing declarations of function block into POU interface
lbessard
parents: 67
diff changeset
   635
                        <connection refLocalId="3">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   636
                          <position x="161" y="120"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   637
                          <position x="121" y="120"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   638
                          <position x="121" y="153"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   639
                          <position x="81" y="153"/>
68
66308e07402c Adding support for allowing declarations of function block into POU interface
lbessard
parents: 67
diff changeset
   640
                        </connection>
66308e07402c Adding support for allowing declarations of function block into POU interface
lbessard
parents: 67
diff changeset
   641
                      </connectionPointIn>
66308e07402c Adding support for allowing declarations of function block into POU interface
lbessard
parents: 67
diff changeset
   642
                    </variable>
66308e07402c Adding support for allowing declarations of function block into POU interface
lbessard
parents: 67
diff changeset
   643
                  </inputVariables>
66308e07402c Adding support for allowing declarations of function block into POU interface
lbessard
parents: 67
diff changeset
   644
                  <inOutVariables/>
66308e07402c Adding support for allowing declarations of function block into POU interface
lbessard
parents: 67
diff changeset
   645
                  <outputVariables>
66308e07402c Adding support for allowing declarations of function block into POU interface
lbessard
parents: 67
diff changeset
   646
                    <variable formalParameter="Q1">
66308e07402c Adding support for allowing declarations of function block into POU interface
lbessard
parents: 67
diff changeset
   647
                      <connectionPointOut>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   648
                        <relPosition x="100" y="32"/>
68
66308e07402c Adding support for allowing declarations of function block into POU interface
lbessard
parents: 67
diff changeset
   649
                      </connectionPointOut>
66308e07402c Adding support for allowing declarations of function block into POU interface
lbessard
parents: 67
diff changeset
   650
                    </variable>
66308e07402c Adding support for allowing declarations of function block into POU interface
lbessard
parents: 67
diff changeset
   651
                  </outputVariables>
66308e07402c Adding support for allowing declarations of function block into POU interface
lbessard
parents: 67
diff changeset
   652
                </block>
67
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   653
              </FBD>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   654
            </body>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   655
          </transition>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   656
          <transition name="TR3">
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   657
            <body>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   658
              <LD>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   659
                <leftPowerRail localId="1" height="98" width="2">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   660
                  <position x="31" y="20"/>
80
c798a68c5560 Lots of bugs fixed
lbessard
parents: 70
diff changeset
   661
                  <connectionPointOut formalParameter="None">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   662
                    <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
   663
                  </connectionPointOut>
80
c798a68c5560 Lots of bugs fixed
lbessard
parents: 70
diff changeset
   664
                  <connectionPointOut formalParameter="None">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   665
                    <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
   666
                  </connectionPointOut>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   667
                </leftPowerRail>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   668
                <contact localId="2" height="15" width="21">
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   669
                  <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
   670
                  <connectionPointIn>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   671
                    <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
   672
                    <connection refLocalId="1">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   673
                      <position x="72" y="40"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   674
                      <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
   675
                    </connection>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   676
                  </connectionPointIn>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   677
                  <connectionPointOut>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   678
                    <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
   679
                  </connectionPointOut>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   680
                  <variable>IN2</variable>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   681
                </contact>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   682
                <contact localId="3" height="15" width="21" edge="rising">
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   683
                  <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
   684
                  <connectionPointIn>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   685
                    <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
   686
                    <connection refLocalId="1">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   687
                      <position x="72" y="84"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   688
                      <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
   689
                    </connection>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   690
                  </connectionPointIn>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   691
                  <connectionPointOut>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   692
                    <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
   693
                  </connectionPointOut>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   694
                  <variable>IN5</variable>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   695
                </contact>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   696
                <coil localId="4" height="15" width="21" negated="true">
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   697
                  <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
   698
                  <connectionPointIn>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   699
                    <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
   700
                    <connection refLocalId="2">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   701
                      <position x="208" y="40"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   702
                      <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
   703
                    </connection>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   704
                    <connection refLocalId="3">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   705
                      <position x="208" y="40"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   706
                      <position x="131" y="40"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   707
                      <position x="131" y="84"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   708
                      <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
   709
                    </connection>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   710
                  </connectionPointIn>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   711
                  <connectionPointOut>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   712
                    <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
   713
                  </connectionPointOut>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   714
                  <variable>TR3</variable>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   715
                </coil>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   716
                <rightPowerRail localId="5" height="40" width="2">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   717
                  <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
   718
                  <connectionPointIn>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   719
                    <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
   720
                    <connection refLocalId="4">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   721
                      <position x="271" y="40"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   722
                      <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
   723
                    </connection>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   724
                  </connectionPointIn>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   725
                </rightPowerRail>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   726
              </LD>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   727
            </body>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   728
          </transition>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   729
          <transition name="TR4">
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   730
            <body>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   731
              <IL>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   732
<![CDATA[
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   733
    LD  IN3
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   734
    AND IN4
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   735
]]>
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   736
              </IL>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   737
            </body>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   738
          </transition>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   739
        </transitions>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   740
        <body>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   741
          <SFC>
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   742
            <step localId="1" height="38" width="69" name="Start" initialStep="true">
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   743
              <position x="71" y="39"/>
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   744
              <connectionPointOut formalParameter="">
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   745
                <relPosition x="34" y="38"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   746
              </connectionPointOut>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   747
            </step>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   748
            <transition localId="2" height="2" width="20">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   749
              <position x="95" y="102"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   750
              <connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   751
                <relPosition x="10" y="0"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   752
                <connection refLocalId="1">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   753
                  <position x="105" y="102"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   754
                  <position x="105" y="77"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   755
                </connection>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   756
              </connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   757
              <connectionPointOut>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   758
                <relPosition x="10" y="2"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   759
              </connectionPointOut>
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
                <reference name="TR1"/>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   762
              </condition>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   763
            </transition>
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   764
            <step localId="3" height="27" width="52" name="Init">
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   765
              <position x="79" y="129"/>
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   766
              <connectionPointIn>
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   767
                <relPosition x="26" y="0"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   768
                <connection refLocalId="2">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   769
                  <position x="105" y="129"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   770
                  <position x="105" y="104"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   771
                </connection>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   772
              </connectionPointIn>
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   773
              <connectionPointOut formalParameter="">
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   774
                <relPosition x="26" y="27"/>
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   775
              </connectionPointOut>
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   776
              <connectionPointOutAction formalParameter="">
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   777
                <relPosition x="52" y="13"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   778
              </connectionPointOutAction>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   779
            </step>
2
93bc4c2cf376 PLCGenerator finished
lbessard
parents: 1
diff changeset
   780
            <selectionDivergence localId="4" height="1" width="391">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   781
              <position x="105" y="181"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   782
              <connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   783
                <relPosition x="0" y="0"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   784
                <connection refLocalId="3">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   785
                  <position x="105" y="181"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   786
                  <position x="105" y="156"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   787
                </connection>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   788
              </connectionPointIn>
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   789
              <connectionPointOut formalParameter="">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   790
                <relPosition x="0" y="1"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   791
              </connectionPointOut>
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   792
              <connectionPointOut formalParameter="">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   793
                <relPosition x="228" y="1"/>
2
93bc4c2cf376 PLCGenerator finished
lbessard
parents: 1
diff changeset
   794
              </connectionPointOut>
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   795
              <connectionPointOut formalParameter="">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   796
                <relPosition x="391" y="1"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   797
              </connectionPointOut>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   798
            </selectionDivergence>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   799
            <transition localId="5" height="2" width="20">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   800
              <position x="95" y="207"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   801
              <connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   802
                <relPosition x="10" y="0"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   803
                <connection refLocalId="4">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   804
                  <position x="105" y="207"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   805
                  <position x="105" y="182"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   806
                </connection>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   807
              </connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   808
              <connectionPointOut>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   809
                <relPosition x="10" y="2"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   810
              </connectionPointOut>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   811
              <condition>
80
c798a68c5560 Lots of bugs fixed
lbessard
parents: 70
diff changeset
   812
                <inline name="None">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   813
                  <ST>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   814
<![CDATA[IN2 AND IN3]]>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   815
                  </ST>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   816
                </inline>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   817
              </condition>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   818
            </transition>
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   819
            <step localId="6" height="37" width="63" name="Step1">
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   820
              <position x="74" y="262"/>
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   821
              <connectionPointIn>
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   822
                <relPosition x="31" y="0"/>
2
93bc4c2cf376 PLCGenerator finished
lbessard
parents: 1
diff changeset
   823
                <connection refLocalId="21">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   824
                  <position x="105" y="262"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   825
                  <position x="105" y="237"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   826
                </connection>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   827
              </connectionPointIn>
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   828
              <connectionPointOut formalParameter="">
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   829
                <relPosition x="31" y="37"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   830
              </connectionPointOut>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   831
            </step>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   832
            <transition localId="7" height="2" width="20" priority="1">
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   833
              <position x="323" y="207"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   834
              <connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   835
                <relPosition x="10" y="0"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   836
                <connection refLocalId="4">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   837
                  <position x="333" y="207"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   838
                  <position x="333" y="182"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   839
                </connection>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   840
              </connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   841
              <connectionPointOut>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   842
                <relPosition x="10" y="2"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   843
              </connectionPointOut>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   844
              <condition>
67
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   845
                <reference name="TR2"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   846
              </condition>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   847
            </transition>
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   848
            <step localId="8" height="35" width="57" name="Step2">
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   849
              <position x="305" y="234"/>
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   850
              <connectionPointIn>
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   851
                <relPosition x="28" y="0"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   852
                <connection refLocalId="7">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   853
                  <position x="333" y="234"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   854
                  <position x="333" y="209"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   855
                </connection>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   856
              </connectionPointIn>
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   857
              <connectionPointOut formalParameter="">
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   858
                <relPosition x="28" y="35"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   859
              </connectionPointOut>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   860
            </step>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   861
            <transition localId="9" height="2" width="20">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   862
              <position x="486" y="207"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   863
              <connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   864
                <relPosition x="10" y="0"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   865
                <connection refLocalId="4">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   866
                  <position x="496" y="207"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   867
                  <position x="496" y="182"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   868
                </connection>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   869
              </connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   870
              <connectionPointOut>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   871
                <relPosition x="10" y="2"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   872
              </connectionPointOut>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   873
              <condition>
67
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   874
                <reference name="TR4"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   875
              </condition>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   876
            </transition>
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   877
            <step localId="10" height="36" width="60" name="Step3">
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   878
              <position x="466" y="234"/>
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   879
              <connectionPointIn>
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   880
                <relPosition x="30" y="0"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   881
                <connection refLocalId="9">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   882
                  <position x="496" y="234"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   883
                  <position x="496" y="209"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   884
                </connection>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   885
              </connectionPointIn>
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   886
              <connectionPointOut formalParameter="">
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   887
                <relPosition x="30" y="36"/>
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   888
              </connectionPointOut>
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   889
              <connectionPointOutAction formalParameter="">
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   890
                <relPosition x="60" y="18"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   891
              </connectionPointOutAction>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   892
            </step>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   893
            <transition localId="11" height="2" width="20">
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   894
              <position x="95" y="362"/>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   895
              <connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   896
                <relPosition x="10" y="0"/>
2
93bc4c2cf376 PLCGenerator finished
lbessard
parents: 1
diff changeset
   897
                <connection refLocalId="23">
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   898
                  <position x="105" y="362"/>
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   899
                  <position x="105" y="337"/>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   900
                </connection>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   901
              </connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   902
              <connectionPointOut>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   903
                <relPosition x="10" y="2"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   904
              </connectionPointOut>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   905
              <condition>
67
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
   906
                <reference name="TR3"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   907
              </condition>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   908
            </transition>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   909
            <jumpStep localId="12" height="13" width="12" targetName="Start">
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   910
              <position x="99" y="389"/>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   911
              <connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   912
                <relPosition x="6" y="0"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   913
                <connection refLocalId="11">
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   914
                  <position x="105" y="389"/>
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   915
                  <position x="105" y="364"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   916
                </connection>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   917
              </connectionPointIn>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   918
            </jumpStep>
392
546053de1426 Adding connector test in example
laurent
parents: 213
diff changeset
   919
            <actionBlock localId="13" width="100" height="30">
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   920
              <position x="175" y="127"/>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   921
              <connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   922
                <relPosition x="0" y="15"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   923
                <connection refLocalId="3">
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   924
                  <position x="175" y="142"/>
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   925
                  <position x="131" y="142"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   926
                </connection>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   927
              </connectionPointIn>
392
546053de1426 Adding connector test in example
laurent
parents: 213
diff changeset
   928
              <action localId="0">
546053de1426 Adding connector test in example
laurent
parents: 213
diff changeset
   929
                <relPosition x="0" y="0"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   930
                <reference name="ACT1"/>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   931
              </action>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   932
            </actionBlock>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   933
            <transition localId="14" height="2" width="20">
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   934
              <position x="323" y="294"/>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   935
              <connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   936
                <relPosition x="10" y="0"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   937
                <connection refLocalId="8">
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   938
                  <position x="333" y="294"/>
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   939
                  <position x="333" y="269"/>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   940
                </connection>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   941
              </connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   942
              <connectionPointOut>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   943
                <relPosition x="10" y="2"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   944
              </connectionPointOut>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   945
              <condition>
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   946
                <inline name="">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   947
                  <ST>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   948
<![CDATA[IN5]]>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   949
                  </ST>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   950
                </inline>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   951
              </condition>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   952
            </transition>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   953
            <transition localId="15" height="2" width="20">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   954
              <position x="486" y="346"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   955
              <connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   956
                <relPosition x="10" y="0"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   957
                <connection refLocalId="10">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   958
                  <position x="496" y="346"/>
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   959
                  <position x="496" y="270"/>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   960
                </connection>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   961
              </connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   962
              <connectionPointOut>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   963
                <relPosition x="10" y="2"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   964
              </connectionPointOut>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   965
              <condition>
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   966
                <inline name="">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   967
                  <ST>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   968
<![CDATA[IN5]]>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   969
                  </ST>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   970
                </inline>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   971
              </condition>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   972
            </transition>
2
93bc4c2cf376 PLCGenerator finished
lbessard
parents: 1
diff changeset
   973
            <selectionConvergence localId="16" height="1" width="163">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   974
              <position x="333" y="373"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   975
              <connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   976
                <relPosition x="0" y="0"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   977
                <connection refLocalId="14">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   978
                  <position x="333" y="373"/>
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
   979
                  <position x="333" y="296"/>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   980
                </connection>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   981
              </connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   982
              <connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   983
                <relPosition x="163" y="0"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   984
                <connection refLocalId="15">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   985
                  <position x="496" y="373"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   986
                  <position x="496" y="348"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   987
                </connection>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   988
              </connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   989
              <connectionPointOut>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   990
                <relPosition x="80" y="1"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   991
              </connectionPointOut>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   992
            </selectionConvergence>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   993
            <jumpStep localId="19" height="13" width="12" targetName="Init">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   994
              <position x="407" y="399"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   995
              <connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   996
                <relPosition x="6" y="0"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
   997
                <connection refLocalId="16">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   998
                  <position x="413" y="399"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
   999
                  <position x="413" y="374"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1000
                </connection>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1001
              </connectionPointIn>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1002
            </jumpStep>
392
546053de1426 Adding connector test in example
laurent
parents: 213
diff changeset
  1003
            <actionBlock localId="20" width="237" height="90">
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
  1004
              <position x="582" y="237"/>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
  1005
              <connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
  1006
                <relPosition x="0" y="15"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1007
                <connection refLocalId="10">
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
  1008
                  <position x="582" y="252"/>
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
  1009
                  <position x="526" y="252"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1010
                </connection>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1011
              </connectionPointIn>
392
546053de1426 Adding connector test in example
laurent
parents: 213
diff changeset
  1012
              <action localId="0" indicator="IN5">
546053de1426 Adding connector test in example
laurent
parents: 213
diff changeset
  1013
                <relPosition x="0" y="0"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1014
                <reference name="ACT1"/>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1015
              </action>
392
546053de1426 Adding connector test in example
laurent
parents: 213
diff changeset
  1016
              <action localId="0" qualifier="D" duration="T#10s">
546053de1426 Adding connector test in example
laurent
parents: 213
diff changeset
  1017
                <relPosition x="0" y="0"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1018
                <reference name="IN1"/>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1019
              </action>
392
546053de1426 Adding connector test in example
laurent
parents: 213
diff changeset
  1020
              <action localId="0" qualifier="P">
546053de1426 Adding connector test in example
laurent
parents: 213
diff changeset
  1021
                <relPosition x="0" y="0"/>
46
4379e98a30aa Bug on SFC generation fixed
lbessard
parents: 27
diff changeset
  1022
                <inline>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
  1023
                  <ST>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
  1024
<![CDATA[IN2 := TRUE;]]>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
  1025
                  </ST>
46
4379e98a30aa Bug on SFC generation fixed
lbessard
parents: 27
diff changeset
  1026
                </inline>
4379e98a30aa Bug on SFC generation fixed
lbessard
parents: 27
diff changeset
  1027
              </action>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1028
            </actionBlock>
2
93bc4c2cf376 PLCGenerator finished
lbessard
parents: 1
diff changeset
  1029
            <simultaneousDivergence localId="21" height="3" width="118">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
  1030
              <position x="105" y="234"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
  1031
              <connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
  1032
                <relPosition x="0" y="0"/>
2
93bc4c2cf376 PLCGenerator finished
lbessard
parents: 1
diff changeset
  1033
                <connection refLocalId="5">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
  1034
                  <position x="105" y="234"/>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
  1035
                  <position x="105" y="209"/>
2
93bc4c2cf376 PLCGenerator finished
lbessard
parents: 1
diff changeset
  1036
                </connection>
93bc4c2cf376 PLCGenerator finished
lbessard
parents: 1
diff changeset
  1037
              </connectionPointIn>
80
c798a68c5560 Lots of bugs fixed
lbessard
parents: 70
diff changeset
  1038
              <connectionPointOut formalParameter="None">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
  1039
                <relPosition x="0" y="3"/>
2
93bc4c2cf376 PLCGenerator finished
lbessard
parents: 1
diff changeset
  1040
              </connectionPointOut>
80
c798a68c5560 Lots of bugs fixed
lbessard
parents: 70
diff changeset
  1041
              <connectionPointOut formalParameter="None">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
  1042
                <relPosition x="118" y="3"/>
2
93bc4c2cf376 PLCGenerator finished
lbessard
parents: 1
diff changeset
  1043
              </connectionPointOut>
93bc4c2cf376 PLCGenerator finished
lbessard
parents: 1
diff changeset
  1044
            </simultaneousDivergence>
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
  1045
            <step localId="22" height="36" width="61" name="Step4">
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
  1046
              <position x="193" y="261"/>
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
  1047
              <connectionPointIn>
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
  1048
                <relPosition x="30" y="0"/>
2
93bc4c2cf376 PLCGenerator finished
lbessard
parents: 1
diff changeset
  1049
                <connection refLocalId="21">
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
  1050
                  <position x="223" y="261"/>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
  1051
                  <position x="223" y="237"/>
2
93bc4c2cf376 PLCGenerator finished
lbessard
parents: 1
diff changeset
  1052
                </connection>
93bc4c2cf376 PLCGenerator finished
lbessard
parents: 1
diff changeset
  1053
              </connectionPointIn>
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
  1054
              <connectionPointOut formalParameter="">
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
  1055
                <relPosition x="30" y="36"/>
2
93bc4c2cf376 PLCGenerator finished
lbessard
parents: 1
diff changeset
  1056
              </connectionPointOut>
93bc4c2cf376 PLCGenerator finished
lbessard
parents: 1
diff changeset
  1057
            </step>
93bc4c2cf376 PLCGenerator finished
lbessard
parents: 1
diff changeset
  1058
            <simultaneousConvergence localId="23" height="3" width="118">
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
  1059
              <position x="105" y="334"/>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
  1060
              <connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
  1061
                <relPosition x="0" y="0"/>
2
93bc4c2cf376 PLCGenerator finished
lbessard
parents: 1
diff changeset
  1062
                <connection refLocalId="6">
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
  1063
                  <position x="105" y="334"/>
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
  1064
                  <position x="105" y="299"/>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
  1065
                </connection>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
  1066
              </connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
  1067
              <connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
  1068
                <relPosition x="118" y="0"/>
2
93bc4c2cf376 PLCGenerator finished
lbessard
parents: 1
diff changeset
  1069
                <connection refLocalId="22">
158
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
  1070
                  <position x="223" y="334"/>
8a770e8d745a Adding support for Viewer font
lbessard
parents: 151
diff changeset
  1071
                  <position x="223" y="297"/>
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
  1072
                </connection>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
  1073
              </connectionPointIn>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
  1074
              <connectionPointOut>
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
  1075
                <relPosition x="0" y="3"/>
2
93bc4c2cf376 PLCGenerator finished
lbessard
parents: 1
diff changeset
  1076
              </connectionPointOut>
93bc4c2cf376 PLCGenerator finished
lbessard
parents: 1
diff changeset
  1077
            </simultaneousConvergence>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1078
          </SFC>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1079
        </body>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1080
      </pou>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1081
      <pou name="STTest" pouType="functionBlock">
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1082
        <interface>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1083
          <inputVars>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1084
            <variable name="Collision">
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
                <BOOL/>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1087
              </type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1088
            </variable>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1089
            <variable name="Gate">
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
                <BOOL/>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1092
              </type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1093
            </variable>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1094
            <variable name="Pump">
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
                <BOOL/>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1097
              </type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1098
            </variable>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1099
            <variable name="Temp">
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1100
              <type>
17
faa048f4172e Mistakes written in IL and ST code corrected
lbessard
parents: 13
diff changeset
  1101
                <REAL/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1102
              </type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1103
            </variable>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1104
          </inputVars>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1105
          <outputVars>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1106
            <variable name="Speed">
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
                <INT/>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1109
              </type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1110
            </variable>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1111
            <variable name="PumpSpeed">
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
                <INT/>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1114
              </type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1115
            </variable>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1116
            <variable name="Brakes">
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
                <BOOL/>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1119
              </type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1120
            </variable>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1121
            <variable name="Control_State">
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
                <BOOL/>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1124
              </type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1125
            </variable>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1126
          </outputVars>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1127
        </interface>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1128
        <body>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1129
          <ST>
67
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
  1130
<![CDATA[
1
e9d01d824086 SFC textual programs generation completed
lbessard
parents: 0
diff changeset
  1131
IF Collision THEN
2
93bc4c2cf376 PLCGenerator finished
lbessard
parents: 1
diff changeset
  1132
  Speed := 0;
13
69075340d6a9 Adding support for forbidding insertion of function block into function
lbessard
parents: 2
diff changeset
  1133
  Brakes := TRUE;
1
e9d01d824086 SFC textual programs generation completed
lbessard
parents: 0
diff changeset
  1134
END_IF;
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1135
126
4a76987f8a40 Adding execution order and complex data types
lbessard
parents: 116
diff changeset
  1136
IF (Gate = open) AND
13
69075340d6a9 Adding support for forbidding insertion of function block into function
lbessard
parents: 2
diff changeset
  1137
    (Pump = TRUE) AND (Temp > 200.0) THEN
69075340d6a9 Adding support for forbidding insertion of function block into function
lbessard
parents: 2
diff changeset
  1138
  Control_State := TRUE;
1
e9d01d824086 SFC textual programs generation completed
lbessard
parents: 0
diff changeset
  1139
ELSE
13
69075340d6a9 Adding support for forbidding insertion of function block into function
lbessard
parents: 2
diff changeset
  1140
  Control_State := FALSE;
56
7187e1c00975 Adding support for Undo/Redo and Unsaved File On Close detection
lbessard
parents: 47
diff changeset
  1141
2
93bc4c2cf376 PLCGenerator finished
lbessard
parents: 1
diff changeset
  1142
  PumpSpeed := 10.0;
1
e9d01d824086 SFC textual programs generation completed
lbessard
parents: 0
diff changeset
  1143
END_IF;
67
3a1b0afdaf84 Adding support for automatically generate function blocks in interface when a block is added
lbessard
parents: 58
diff changeset
  1144
]]>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1145
          </ST>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1146
        </body>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1147
      </pou>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1148
    </pous>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1149
  </types>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1150
  <instances>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1151
    <configurations>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1152
      <configuration name="ConfigTest">
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1153
        <resource name="ResourceTest">
151
aaa80b48bead Adding support for the new version of xmlclass
lbessard
parents: 145
diff changeset
  1154
          <task name="Toto" single="Tutu" priority="6">
392
546053de1426 Adding connector test in example
laurent
parents: 213
diff changeset
  1155
            <pouInstance name="Program1" typeName="SFCTest"/>
0
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1156
          </task>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1157
          <globalVars>
56
7187e1c00975 Adding support for Undo/Redo and Unsaved File On Close detection
lbessard
parents: 47
diff changeset
  1158
            <variable name="Titi" address="%MW30">
0
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
                <INT/>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1161
              </type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1162
            </variable>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1163
          </globalVars>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1164
        </resource>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1165
        <globalVars>
56
7187e1c00975 Adding support for Undo/Redo and Unsaved File On Close detection
lbessard
parents: 47
diff changeset
  1166
          <variable name="Toto" address="%MW10">
0
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
              <INT/>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1169
            </type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1170
          </variable>
56
7187e1c00975 Adding support for Undo/Redo and Unsaved File On Close detection
lbessard
parents: 47
diff changeset
  1171
          <variable name="Tutu" address="%MX20">
0
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
              <BOOL/>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1174
            </type>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1175
          </variable>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1176
        </globalVars>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1177
      </configuration>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1178
    </configurations>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1179
  </instances>
b622defdfd98 PLCOpenEditor initial commit. 31/01/07.
etisserant
parents:
diff changeset
  1180
</project>