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