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