tests/first_steps/plc.xml
author Edouard Tisserant
Wed, 03 Apr 2019 13:20:28 +0200
branchrename_on_location_change
changeset 2574 48a486000e84
parent 2534 47ca468ebcbe
permissions -rw-r--r--
LocationCellEditor use better source for variable name replacement, and validate variable name before applying it or complains otherwise.
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
     1
<?xml version='1.0' encoding='utf-8'?>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
     2
<project xmlns:ns1="http://www.plcopen.org/xml/tc6_0201" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.plcopen.org/xml/tc6_0201">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
     3
  <fileHeader companyName="Beremiz" productName="Beremiz" productVersion="1" creationDateTime="2016-10-24T18:09:22"/>
2534
47ca468ebcbe revert occasionally committed changed first_steps project.
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2514
diff changeset
     4
  <contentHeader name="First Steps" modificationDateTime="2018-09-26T12:52:51">
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
     5
    <coordinateInfo>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
     6
      <fbd>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
     7
        <scaling x="0" y="0"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
     8
      </fbd>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
     9
      <ld>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    10
        <scaling x="0" y="0"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    11
      </ld>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    12
      <sfc>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    13
        <scaling x="0" y="0"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    14
      </sfc>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    15
    </coordinateInfo>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    16
  </contentHeader>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    17
  <types>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    18
    <dataTypes/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    19
    <pous>
2170
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
    20
      <pou name="AverageVal" pouType="function">
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
    21
        <interface>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
    22
          <returnType>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
    23
            <REAL/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
    24
          </returnType>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
    25
          <inputVars>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
    26
            <variable name="Cnt1">
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
    27
              <type>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
    28
                <INT/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
    29
              </type>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
    30
            </variable>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
    31
            <variable name="Cnt2">
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
    32
              <type>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
    33
                <INT/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
    34
              </type>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
    35
            </variable>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
    36
            <variable name="Cnt3">
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
    37
              <type>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
    38
                <INT/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
    39
              </type>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
    40
            </variable>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
    41
            <variable name="Cnt4">
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
    42
              <type>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
    43
                <INT/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
    44
              </type>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
    45
            </variable>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
    46
            <variable name="Cnt5">
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
    47
              <type>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
    48
                <INT/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
    49
              </type>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
    50
            </variable>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
    51
          </inputVars>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
    52
          <localVars>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
    53
            <variable name="InputsNumber">
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
    54
              <type>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
    55
                <REAL/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
    56
              </type>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
    57
              <initialValue>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
    58
                <simpleValue value="5.0"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
    59
              </initialValue>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
    60
              <documentation>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
    61
                <xhtml:p><![CDATA[Количество входных значений]]></xhtml:p>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
    62
              </documentation>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
    63
            </variable>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
    64
          </localVars>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
    65
        </interface>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
    66
        <body>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
    67
          <ST>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
    68
            <xhtml:p><![CDATA[AverageVal := INT_TO_REAL(Cnt1+Cnt2+Cnt3+Cnt4+Cnt5)/InputsNumber;]]></xhtml:p>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
    69
          </ST>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
    70
        </body>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
    71
      </pou>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    72
      <pou name="plc_prg" pouType="program">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    73
        <interface>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    74
          <inputVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    75
            <variable name="Reset">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    76
              <type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    77
                <BOOL/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    78
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    79
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    80
          </inputVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    81
          <outputVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    82
            <variable name="Cnt1">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    83
              <type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    84
                <INT/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    85
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    86
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    87
            <variable name="Cnt2">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    88
              <type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    89
                <INT/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    90
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    91
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    92
            <variable name="Cnt3">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    93
              <type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    94
                <INT/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    95
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    96
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    97
            <variable name="Cnt4">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    98
              <type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    99
                <INT/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   100
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   101
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   102
            <variable name="Cnt5">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   103
              <type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   104
                <INT/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   105
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   106
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   107
          </outputVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   108
          <localVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   109
            <variable name="CounterST0">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   110
              <type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   111
                <derived name="CounterST"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   112
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   113
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   114
            <variable name="CounterFBD0">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   115
              <type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   116
                <derived name="CounterFBD"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   117
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   118
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   119
            <variable name="CounterSFC0">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   120
              <type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   121
                <derived name="CounterSFC"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   122
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   123
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   124
            <variable name="CounterIL0">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   125
              <type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   126
                <derived name="CounterIL"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   127
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   128
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   129
            <variable name="CounterLD0">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   130
              <type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   131
                <derived name="CounterLD"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   132
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   133
            </variable>
2170
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   134
            <variable name="AVCnt">
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   135
              <type>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   136
                <REAL/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   137
              </type>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   138
            </variable>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   139
          </localVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   140
        </interface>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   141
        <body>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   142
          <FBD>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   143
            <block localId="1" typeName="CounterST" instanceName="CounterST0" executionOrderId="0" height="60" width="125">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   144
              <position x="207" y="53"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   145
              <inputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   146
                <variable formalParameter="Reset">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   147
                  <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   148
                    <relPosition x="0" y="40"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   149
                    <connection refLocalId="2">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   150
                      <position x="207" y="93"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   151
                      <position x="114" y="93"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   152
                    </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   153
                  </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   154
                </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   155
              </inputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   156
              <inOutVariables/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   157
              <outputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   158
                <variable formalParameter="OUT">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   159
                  <connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   160
                    <relPosition x="125" y="40"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   161
                  </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   162
                </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   163
              </outputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   164
            </block>
2170
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   165
            <inVariable localId="2" executionOrderId="0" height="30" width="79" negated="false">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   166
              <position x="35" y="78"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   167
              <connectionPointOut>
2170
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   168
                <relPosition x="79" y="15"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   169
              </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   170
              <expression>Reset</expression>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   171
            </inVariable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   172
            <block localId="4" typeName="CounterFBD" instanceName="CounterFBD0" executionOrderId="0" height="54" width="121">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   173
              <position x="211" y="146"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   174
              <inputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   175
                <variable formalParameter="Reset">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   176
                  <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   177
                    <relPosition x="0" y="37"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   178
                    <connection refLocalId="13">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   179
                      <position x="211" y="183"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   180
                      <position x="115" y="183"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   181
                    </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   182
                  </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   183
                </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   184
              </inputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   185
              <inOutVariables/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   186
              <outputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   187
                <variable formalParameter="OUT">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   188
                  <connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   189
                    <relPosition x="121" y="37"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   190
                  </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   191
                </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   192
              </outputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   193
            </block>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   194
            <comment localId="6" height="365" width="569">
2170
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   195
              <position x="620" y="130"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   196
              <content>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   197
                <xhtml:p><![CDATA[In this example function block with the same functionality 
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   198
is created using all five IEC 61131-3 programing languages:
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   199
- IL;
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   200
- FBD;
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   201
- LD;
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   202
- ST;
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   203
- SFC.
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   204
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   205
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   206
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   207
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   208
Function block is a counter with reset control input.
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   209
If reset is True counter value is reset to the value defined by
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   210
global configuration constant ResetCounterValue. 
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   211
If reset is False, counter is incremented every cycle.
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   212
]]></xhtml:p>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   213
              </content>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   214
            </comment>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   215
            <block localId="7" typeName="CounterSFC" instanceName="CounterSFC0" executionOrderId="0" height="52" width="121">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   216
              <position x="211" y="237"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   217
              <inputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   218
                <variable formalParameter="Reset">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   219
                  <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   220
                    <relPosition x="0" y="36"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   221
                    <connection refLocalId="12">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   222
                      <position x="211" y="273"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   223
                      <position x="103" y="273"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   224
                    </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   225
                  </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   226
                </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   227
              </inputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   228
              <inOutVariables/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   229
              <outputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   230
                <variable formalParameter="OUT">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   231
                  <connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   232
                    <relPosition x="121" y="36"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   233
                  </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   234
                </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   235
              </outputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   236
            </block>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   237
            <block localId="9" typeName="CounterIL" instanceName="CounterIL0" executionOrderId="0" height="62" width="121">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   238
              <position x="211" y="322"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   239
              <inputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   240
                <variable formalParameter="Reset">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   241
                  <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   242
                    <relPosition x="0" y="41"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   243
                    <connection refLocalId="10">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   244
                      <position x="211" y="363"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   245
                      <position x="101" y="363"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   246
                    </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   247
                  </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   248
                </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   249
              </inputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   250
              <inOutVariables/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   251
              <outputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   252
                <variable formalParameter="OUT">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   253
                  <connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   254
                    <relPosition x="121" y="41"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   255
                  </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   256
                </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   257
              </outputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   258
            </block>
2170
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   259
            <inVariable localId="10" executionOrderId="0" height="30" width="67" negated="false">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   260
              <position x="34" y="348"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   261
              <connectionPointOut>
2170
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   262
                <relPosition x="67" y="15"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   263
              </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   264
              <expression>Reset</expression>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   265
            </inVariable>
2170
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   266
            <inVariable localId="12" executionOrderId="0" height="30" width="67" negated="false">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   267
              <position x="36" y="258"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   268
              <connectionPointOut>
2170
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   269
                <relPosition x="67" y="15"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   270
              </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   271
              <expression>Reset</expression>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   272
            </inVariable>
2170
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   273
            <inVariable localId="13" executionOrderId="0" height="30" width="79" negated="false">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   274
              <position x="36" y="168"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   275
              <connectionPointOut>
2170
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   276
                <relPosition x="79" y="15"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   277
              </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   278
              <expression>Reset</expression>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   279
            </inVariable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   280
            <block localId="14" typeName="CounterLD" instanceName="CounterLD0" executionOrderId="0" height="62" width="124">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   281
              <position x="210" y="412"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   282
              <inputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   283
                <variable formalParameter="Reset">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   284
                  <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   285
                    <relPosition x="0" y="41"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   286
                    <connection refLocalId="16">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   287
                      <position x="210" y="453"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   288
                      <position x="100" y="453"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   289
                    </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   290
                  </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   291
                </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   292
              </inputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   293
              <inOutVariables/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   294
              <outputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   295
                <variable formalParameter="Out">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   296
                  <connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   297
                    <relPosition x="124" y="41"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   298
                  </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   299
                </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   300
              </outputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   301
            </block>
2170
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   302
            <inVariable localId="16" executionOrderId="0" height="30" width="64" negated="false">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   303
              <position x="36" y="438"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   304
              <connectionPointOut>
2170
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   305
                <relPosition x="64" y="15"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   306
              </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   307
              <expression>Reset</expression>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   308
            </inVariable>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   309
            <block localId="17" typeName="AverageVal" executionOrderId="0" height="470" width="100">
2170
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   310
              <position x="514" y="28"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   311
              <inputVariables>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   312
                <variable formalParameter="Cnt1">
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   313
                  <connectionPointIn>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   314
                    <relPosition x="0" y="65"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   315
                    <connection refLocalId="3">
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   316
                      <position x="514" y="93"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   317
                      <position x="474" y="93"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   318
                    </connection>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   319
                  </connectionPointIn>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   320
                </variable>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   321
                <variable formalParameter="Cnt2">
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   322
                  <connectionPointIn>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   323
                    <relPosition x="0" y="155"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   324
                    <connection refLocalId="5">
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   325
                      <position x="514" y="183"/>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   326
                      <position x="473" y="183"/>
2170
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   327
                    </connection>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   328
                  </connectionPointIn>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   329
                </variable>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   330
                <variable formalParameter="Cnt3">
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   331
                  <connectionPointIn>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   332
                    <relPosition x="0" y="245"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   333
                    <connection refLocalId="8">
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   334
                      <position x="514" y="273"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   335
                      <position x="472" y="273"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   336
                    </connection>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   337
                  </connectionPointIn>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   338
                </variable>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   339
                <variable formalParameter="Cnt4">
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   340
                  <connectionPointIn>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   341
                    <relPosition x="0" y="335"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   342
                    <connection refLocalId="11">
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   343
                      <position x="514" y="363"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   344
                      <position x="469" y="363"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   345
                    </connection>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   346
                  </connectionPointIn>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   347
                </variable>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   348
                <variable formalParameter="Cnt5">
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   349
                  <connectionPointIn>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   350
                    <relPosition x="0" y="425"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   351
                    <connection refLocalId="15">
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   352
                      <position x="514" y="453"/>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   353
                      <position x="469" y="453"/>
2170
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   354
                    </connection>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   355
                  </connectionPointIn>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   356
                </variable>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   357
              </inputVariables>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   358
              <inOutVariables/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   359
              <outputVariables>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   360
                <variable formalParameter="OUT">
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   361
                  <connectionPointOut>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   362
                    <relPosition x="100" y="65"/>
2170
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   363
                  </connectionPointOut>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   364
                </variable>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   365
              </outputVariables>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   366
            </block>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   367
            <outVariable localId="18" executionOrderId="0" height="30" width="55" negated="false">
2170
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   368
              <position x="649" y="78"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   369
              <connectionPointIn>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   370
                <relPosition x="0" y="15"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   371
                <connection refLocalId="17" formalParameter="OUT">
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   372
                  <position x="649" y="93"/>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   373
                  <position x="614" y="93"/>
2170
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   374
                </connection>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   375
              </connectionPointIn>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   376
              <expression>AVCnt</expression>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   377
            </outVariable>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   378
            <inOutVariable localId="3" executionOrderId="0" height="30" width="106" negatedOut="false" negatedIn="false">
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   379
              <position x="368" y="78"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   380
              <connectionPointIn>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   381
                <relPosition x="0" y="15"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   382
                <connection refLocalId="1" formalParameter="OUT">
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   383
                  <position x="368" y="93"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   384
                  <position x="332" y="93"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   385
                </connection>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   386
              </connectionPointIn>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   387
              <connectionPointOut>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   388
                <relPosition x="106" y="15"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   389
              </connectionPointOut>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   390
              <expression>Cnt1</expression>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   391
            </inOutVariable>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   392
            <inOutVariable localId="5" executionOrderId="0" height="30" width="103" negatedOut="false" negatedIn="false">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   393
              <position x="370" y="168"/>
2170
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   394
              <connectionPointIn>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   395
                <relPosition x="0" y="15"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   396
                <connection refLocalId="4" formalParameter="OUT">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   397
                  <position x="370" y="183"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   398
                  <position x="332" y="183"/>
2170
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   399
                </connection>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   400
              </connectionPointIn>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   401
              <connectionPointOut>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   402
                <relPosition x="103" y="15"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   403
              </connectionPointOut>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   404
              <expression>Cnt2</expression>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   405
            </inOutVariable>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   406
            <inOutVariable localId="8" executionOrderId="0" height="30" width="97" negatedOut="false" negatedIn="false">
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   407
              <position x="375" y="258"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   408
              <connectionPointIn>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   409
                <relPosition x="0" y="15"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   410
                <connection refLocalId="7" formalParameter="OUT">
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   411
                  <position x="375" y="273"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   412
                  <position x="332" y="273"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   413
                </connection>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   414
              </connectionPointIn>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   415
              <connectionPointOut>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   416
                <relPosition x="97" y="15"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   417
              </connectionPointOut>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   418
              <expression>Cnt3</expression>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   419
            </inOutVariable>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   420
            <inOutVariable localId="11" executionOrderId="0" height="30" width="91" negatedOut="false" negatedIn="false">
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   421
              <position x="378" y="348"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   422
              <connectionPointIn>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   423
                <relPosition x="0" y="15"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   424
                <connection refLocalId="9" formalParameter="OUT">
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   425
                  <position x="378" y="363"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   426
                  <position x="332" y="363"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   427
                </connection>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   428
              </connectionPointIn>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   429
              <connectionPointOut>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   430
                <relPosition x="91" y="15"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   431
              </connectionPointOut>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   432
              <expression>Cnt4</expression>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   433
            </inOutVariable>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   434
            <inOutVariable localId="15" executionOrderId="0" height="30" width="88" negatedOut="false" negatedIn="false">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   435
              <position x="381" y="438"/>
2170
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   436
              <connectionPointIn>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   437
                <relPosition x="0" y="15"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   438
                <connection refLocalId="14" formalParameter="Out">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   439
                  <position x="381" y="453"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   440
                  <position x="334" y="453"/>
2170
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   441
                </connection>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   442
              </connectionPointIn>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   443
              <connectionPointOut>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   444
                <relPosition x="88" y="15"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   445
              </connectionPointOut>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   446
              <expression>Cnt5</expression>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   447
            </inOutVariable>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   448
          </FBD>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   449
        </body>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   450
      </pou>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   451
      <pou name="CounterST" pouType="functionBlock">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   452
        <interface>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   453
          <inputVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   454
            <variable name="Reset">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   455
              <type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   456
                <BOOL/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   457
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   458
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   459
          </inputVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   460
          <localVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   461
            <variable name="Cnt">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   462
              <type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   463
                <INT/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   464
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   465
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   466
          </localVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   467
          <outputVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   468
            <variable name="OUT">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   469
              <type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   470
                <INT/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   471
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   472
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   473
          </outputVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   474
          <externalVars constant="true">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   475
            <variable name="ResetCounterValue">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   476
              <type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   477
                <INT/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   478
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   479
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   480
          </externalVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   481
        </interface>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   482
        <body>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   483
          <ST>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   484
            <xhtml:p><![CDATA[IF Reset THEN
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   485
  Cnt := ResetCounterValue;
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   486
ELSE
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   487
  Cnt := Cnt + 1;
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   488
END_IF;
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   489
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   490
Out := Cnt;]]></xhtml:p>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   491
          </ST>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   492
        </body>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   493
      </pou>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   494
      <pou name="CounterFBD" pouType="functionBlock">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   495
        <interface>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   496
          <inputVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   497
            <variable name="Reset">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   498
              <type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   499
                <BOOL/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   500
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   501
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   502
          </inputVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   503
          <outputVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   504
            <variable name="OUT">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   505
              <type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   506
                <INT/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   507
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   508
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   509
          </outputVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   510
          <localVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   511
            <variable name="Cnt">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   512
              <type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   513
                <INT/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   514
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   515
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   516
          </localVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   517
          <externalVars constant="true">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   518
            <variable name="ResetCounterValue">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   519
              <type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   520
                <INT/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   521
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   522
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   523
          </externalVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   524
        </interface>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   525
        <body>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   526
          <FBD>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   527
            <inVariable localId="1" executionOrderId="0" height="30" width="61" negated="false">
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   528
              <position x="321" y="58"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   529
              <connectionPointOut>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   530
                <relPosition x="61" y="15"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   531
              </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   532
              <expression>Reset</expression>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   533
            </inVariable>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   534
            <outVariable localId="2" executionOrderId="0" height="30" width="39" negated="false">
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   535
              <position x="675" y="137"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   536
              <connectionPointIn>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   537
                <relPosition x="0" y="15"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   538
                <connection refLocalId="3">
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   539
                  <position x="675" y="152"/>
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   540
                  <position x="589" y="152"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   541
                </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   542
              </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   543
              <expression>OUT</expression>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   544
            </outVariable>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   545
            <inOutVariable localId="3" executionOrderId="0" height="30" width="37" negatedOut="false" negatedIn="false">
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   546
              <position x="557" y="137"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   547
              <connectionPointIn>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   548
                <relPosition x="0" y="15"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   549
                <connection refLocalId="7" formalParameter="OUT">
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   550
                  <position x="557" y="152"/>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   551
                  <position x="527" y="152"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   552
                  <position x="527" y="130"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   553
                  <position x="517" y="130"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   554
                </connection>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   555
              </connectionPointIn>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   556
              <connectionPointOut>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   557
                <relPosition x="37" y="15"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   558
              </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   559
              <expression>Cnt</expression>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   560
            </inOutVariable>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   561
            <block localId="4" typeName="ADD" executionOrderId="0" height="80" width="69">
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   562
              <position x="328" y="115"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   563
              <inputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   564
                <variable formalParameter="IN1">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   565
                  <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   566
                    <relPosition x="0" y="35"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   567
                    <connection refLocalId="6">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   568
                      <position x="328" y="150"/>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   569
                      <position x="275" y="150"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   570
                    </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   571
                  </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   572
                </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   573
                <variable formalParameter="IN2">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   574
                  <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   575
                    <relPosition x="0" y="65"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   576
                    <connection refLocalId="3">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   577
                      <position x="328" y="180"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   578
                      <position x="317" y="180"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   579
                      <position x="317" y="213"/>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   580
                      <position x="604" y="213"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   581
                      <position x="604" y="152"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   582
                      <position x="594" y="152"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   583
                    </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   584
                  </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   585
                </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   586
              </inputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   587
              <inOutVariables/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   588
              <outputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   589
                <variable formalParameter="OUT">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   590
                  <connectionPointOut>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   591
                    <relPosition x="69" y="35"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   592
                  </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   593
                </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   594
              </outputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   595
            </block>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   596
            <inVariable localId="5" executionOrderId="0" height="30" width="163" negated="false">
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   597
              <position x="222" y="256"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   598
              <connectionPointOut>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   599
                <relPosition x="163" y="15"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   600
              </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   601
              <expression>ResetCounterValue</expression>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   602
            </inVariable>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   603
            <inVariable localId="6" executionOrderId="0" height="30" width="21" negated="false">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   604
              <position x="254" y="135"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   605
              <connectionPointOut>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   606
                <relPosition x="21" y="15"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   607
              </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   608
              <expression>1</expression>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   609
            </inVariable>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   610
            <block localId="7" typeName="SEL" executionOrderId="0" height="80" width="69">
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   611
              <position x="448" y="100"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   612
              <inputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   613
                <variable formalParameter="G">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   614
                  <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   615
                    <relPosition x="0" y="30"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   616
                    <connection refLocalId="1">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   617
                      <position x="448" y="130"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   618
                      <position x="415" y="130"/>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   619
                      <position x="415" y="73"/>
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   620
                      <position x="382" y="73"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   621
                    </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   622
                  </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   623
                </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   624
                <variable formalParameter="IN0">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   625
                  <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   626
                    <relPosition x="0" y="50"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   627
                    <connection refLocalId="4" formalParameter="OUT">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   628
                      <position x="448" y="150"/>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   629
                      <position x="397" y="150"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   630
                    </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   631
                  </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   632
                </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   633
                <variable formalParameter="IN1">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   634
                  <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   635
                    <relPosition x="0" y="70"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   636
                    <connection refLocalId="5">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   637
                      <position x="448" y="170"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   638
                      <position x="414" y="170"/>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   639
                      <position x="414" y="271"/>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   640
                      <position x="385" y="271"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   641
                    </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   642
                  </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   643
                </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   644
              </inputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   645
              <inOutVariables/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   646
              <outputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   647
                <variable formalParameter="OUT">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   648
                  <connectionPointOut>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   649
                    <relPosition x="69" y="30"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   650
                  </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   651
                </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   652
              </outputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   653
            </block>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   654
          </FBD>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   655
        </body>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   656
      </pou>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   657
      <pou name="CounterSFC" pouType="functionBlock">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   658
        <interface>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   659
          <inputVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   660
            <variable name="Reset">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   661
              <type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   662
                <BOOL/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   663
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   664
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   665
          </inputVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   666
          <outputVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   667
            <variable name="OUT">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   668
              <type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   669
                <INT/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   670
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   671
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   672
          </outputVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   673
          <localVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   674
            <variable name="Cnt">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   675
              <type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   676
                <INT/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   677
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   678
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   679
          </localVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   680
          <externalVars constant="true">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   681
            <variable name="ResetCounterValue">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   682
              <type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   683
                <INT/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   684
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   685
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   686
          </externalVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   687
        </interface>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   688
        <actions/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   689
        <body>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   690
          <SFC>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   691
            <step localId="1" name="Start" initialStep="true" height="34" width="90">
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   692
              <position x="241" y="14"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   693
              <connectionPointOut formalParameter="">
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   694
                <relPosition x="45" y="34"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   695
              </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   696
            </step>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   697
            <selectionDivergence localId="2" height="1" width="431">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   698
              <position x="70" y="86"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   699
              <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   700
                <relPosition x="216" y="0"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   701
                <connection refLocalId="1">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   702
                  <position x="286" y="86"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   703
                  <position x="286" y="42"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   704
                </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   705
              </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   706
              <connectionPointOut formalParameter="">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   707
                <relPosition x="0" y="1"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   708
              </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   709
              <connectionPointOut formalParameter="">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   710
                <relPosition x="431" y="1"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   711
              </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   712
            </selectionDivergence>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   713
            <transition localId="3" height="2" width="20">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   714
              <position x="491" y="132"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   715
              <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   716
                <relPosition x="10" y="0"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   717
                <connection refLocalId="2">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   718
                  <position x="501" y="132"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   719
                  <position x="501" y="87"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   720
                </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   721
              </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   722
              <connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   723
                <relPosition x="10" y="2"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   724
              </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   725
              <condition>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   726
                <inline name="">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   727
                  <ST>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   728
                    <xhtml:p><![CDATA[Reset]]></xhtml:p>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   729
                  </ST>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   730
                </inline>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   731
              </condition>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   732
            </transition>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   733
            <transition localId="4" height="2" width="20" executionOrderId="0">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   734
              <position x="60" y="135"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   735
              <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   736
                <relPosition x="10" y="0"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   737
                <connection refLocalId="2">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   738
                  <position x="70" y="135"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   739
                  <position x="70" y="87"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   740
                </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   741
              </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   742
              <connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   743
                <relPosition x="10" y="2"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   744
              </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   745
              <condition>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   746
                <inline name="">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   747
                  <ST>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   748
                    <xhtml:p><![CDATA[NOT Reset]]></xhtml:p>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   749
                  </ST>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   750
                </inline>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   751
              </condition>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   752
            </transition>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   753
            <step localId="5" name="ResetCounter" initialStep="false" height="30" width="134">
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   754
              <position x="434" y="190"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   755
              <connectionPointIn>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   756
                <relPosition x="67" y="0"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   757
                <connection refLocalId="3">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   758
                  <position x="501" y="190"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   759
                  <position x="501" y="134"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   760
                </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   761
              </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   762
              <connectionPointOut formalParameter="">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   763
                <relPosition x="67" y="30"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   764
              </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   765
              <connectionPointOutAction formalParameter="">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   766
                <relPosition x="134" y="15"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   767
              </connectionPointOutAction>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   768
            </step>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   769
            <actionBlock localId="6" height="63" width="254">
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   770
              <position x="641" y="190"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   771
              <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   772
                <relPosition x="0" y="15"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   773
                <connection refLocalId="5">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   774
                  <position x="641" y="205"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   775
                  <position x="568" y="205"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   776
                </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   777
              </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   778
              <action localId="0">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   779
                <relPosition x="0" y="0"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   780
                <inline>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   781
                  <ST>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   782
                    <xhtml:p><![CDATA[Cnt := ResetCounterValue;]]></xhtml:p>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   783
                  </ST>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   784
                </inline>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   785
              </action>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   786
              <action localId="0">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   787
                <relPosition x="0" y="0"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   788
                <inline>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   789
                  <ST>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   790
                    <xhtml:p><![CDATA[OUT := Cnt;]]></xhtml:p>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   791
                  </ST>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   792
                </inline>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   793
              </action>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   794
            </actionBlock>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   795
            <step localId="7" name="Count" initialStep="false" height="30" width="85" executionOrderId="0">
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   796
              <position x="28" y="191"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   797
              <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   798
                <relPosition x="42" y="0"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   799
                <connection refLocalId="4">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   800
                  <position x="70" y="191"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   801
                  <position x="70" y="137"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   802
                </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   803
              </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   804
              <connectionPointOut formalParameter="">
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   805
                <relPosition x="42" y="30"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   806
              </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   807
              <connectionPointOutAction formalParameter="">
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   808
                <relPosition x="85" y="15"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   809
              </connectionPointOutAction>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   810
            </step>
2534
47ca468ebcbe revert occasionally committed changed first_steps project.
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2514
diff changeset
   811
            <actionBlock localId="8" height="52" width="164" executionOrderId="0">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   812
              <position x="154" y="191"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   813
              <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   814
                <relPosition x="0" y="15"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   815
                <connection refLocalId="7">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   816
                  <position x="154" y="206"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   817
                  <position x="113" y="206"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   818
                </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   819
              </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   820
              <action localId="0">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   821
                <relPosition x="0" y="0"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   822
                <inline>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   823
                  <ST>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   824
                    <xhtml:p><![CDATA[Cnt := Cnt + 1;]]></xhtml:p>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   825
                  </ST>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   826
                </inline>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   827
              </action>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   828
              <action localId="0">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   829
                <relPosition x="0" y="0"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   830
                <inline>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   831
                  <ST>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   832
                    <xhtml:p><![CDATA[OUT := Cnt;]]></xhtml:p>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   833
                  </ST>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   834
                </inline>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   835
              </action>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   836
            </actionBlock>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   837
            <selectionConvergence localId="10" height="1" width="431">
2534
47ca468ebcbe revert occasionally committed changed first_steps project.
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2514
diff changeset
   838
              <position x="70" y="273"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   839
              <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   840
                <relPosition x="0" y="0"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   841
                <connection refLocalId="13">
2534
47ca468ebcbe revert occasionally committed changed first_steps project.
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2514
diff changeset
   842
                  <position x="70" y="273"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   843
                  <position x="70" y="244"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   844
                </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   845
              </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   846
              <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   847
                <relPosition x="431" y="0"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   848
                <connection refLocalId="14">
2534
47ca468ebcbe revert occasionally committed changed first_steps project.
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2514
diff changeset
   849
                  <position x="501" y="273"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   850
                  <position x="501" y="250"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   851
                </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   852
              </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   853
              <connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   854
                <relPosition x="216" y="1"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   855
              </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   856
            </selectionConvergence>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   857
            <jumpStep localId="12" targetName="Start" height="13" width="12">
2534
47ca468ebcbe revert occasionally committed changed first_steps project.
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2514
diff changeset
   858
              <position x="280" y="317"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   859
              <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   860
                <relPosition x="6" y="0"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   861
                <connection refLocalId="10">
2534
47ca468ebcbe revert occasionally committed changed first_steps project.
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2514
diff changeset
   862
                  <position x="286" y="317"/>
47ca468ebcbe revert occasionally committed changed first_steps project.
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2514
diff changeset
   863
                  <position x="286" y="274"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   864
                </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   865
              </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   866
            </jumpStep>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   867
            <transition localId="13" height="2" width="20" executionOrderId="0">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   868
              <position x="60" y="242"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   869
              <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   870
                <relPosition x="10" y="0"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   871
                <connection refLocalId="7">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   872
                  <position x="70" y="242"/>
2534
47ca468ebcbe revert occasionally committed changed first_steps project.
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2514
diff changeset
   873
                  <position x="70" y="215"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   874
                </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   875
              </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   876
              <connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   877
                <relPosition x="10" y="2"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   878
              </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   879
              <condition>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   880
                <inline name="">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   881
                  <ST>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   882
                    <xhtml:p><![CDATA[Reset]]></xhtml:p>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   883
                  </ST>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   884
                </inline>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   885
              </condition>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   886
            </transition>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   887
            <transition localId="14" height="2" width="20" executionOrderId="0">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   888
              <position x="491" y="248"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   889
              <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   890
                <relPosition x="10" y="0"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   891
                <connection refLocalId="5">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   892
                  <position x="501" y="248"/>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   893
                  <position x="501" y="220"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   894
                </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   895
              </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   896
              <connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   897
                <relPosition x="10" y="2"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   898
              </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   899
              <condition>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   900
                <inline name="">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   901
                  <ST>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   902
                    <xhtml:p><![CDATA[NOT Reset]]></xhtml:p>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   903
                  </ST>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   904
                </inline>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   905
              </condition>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   906
            </transition>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   907
          </SFC>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   908
        </body>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   909
      </pou>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   910
      <pou name="CounterIL" pouType="functionBlock">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   911
        <interface>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   912
          <localVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   913
            <variable name="Cnt">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   914
              <type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   915
                <INT/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   916
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   917
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   918
          </localVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   919
          <inputVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   920
            <variable name="Reset">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   921
              <type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   922
                <BOOL/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   923
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   924
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   925
          </inputVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   926
          <outputVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   927
            <variable name="OUT">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   928
              <type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   929
                <INT/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   930
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   931
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   932
          </outputVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   933
          <externalVars constant="true">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   934
            <variable name="ResetCounterValue">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   935
              <type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   936
                <INT/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   937
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   938
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   939
          </externalVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   940
        </interface>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   941
        <body>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   942
          <IL>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   943
            <xhtml:p><![CDATA[LD Reset
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   944
JMPC ResetCnt
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   945
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   946
(* increment counter *)
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   947
LD Cnt
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   948
ADD 1
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   949
JMP QuitFb
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   950
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   951
ResetCnt:
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   952
(* reset counter *)
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   953
LD ResetCounterValue
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   954
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   955
QuitFb:
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   956
(* save results *)
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   957
ST Cnt
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   958
ST Out
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   959
]]></xhtml:p>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   960
          </IL>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   961
        </body>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   962
      </pou>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   963
      <pou name="CounterLD" pouType="functionBlock">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   964
        <interface>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   965
          <inputVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   966
            <variable name="Reset">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   967
              <type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   968
                <BOOL/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   969
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   970
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   971
          </inputVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   972
          <outputVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   973
            <variable name="Out">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   974
              <type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   975
                <INT/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   976
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   977
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   978
          </outputVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   979
          <localVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   980
            <variable name="Cnt">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   981
              <type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   982
                <INT/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   983
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   984
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   985
          </localVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   986
          <externalVars constant="true">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   987
            <variable name="ResetCounterValue">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   988
              <type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   989
                <INT/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   990
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   991
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   992
          </externalVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   993
        </interface>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   994
        <body>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   995
          <LD>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   996
            <outVariable localId="2" executionOrderId="0" height="30" width="34" negated="false">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   997
              <position x="527" y="87"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   998
              <connectionPointIn>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   999
                <relPosition x="0" y="15"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1000
                <connection refLocalId="3">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1001
                  <position x="527" y="102"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1002
                  <position x="443" y="102"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1003
                </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1004
              </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1005
              <expression>Out</expression>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1006
            </outVariable>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1007
            <inOutVariable localId="3" executionOrderId="0" height="30" width="34" negatedOut="false" negatedIn="false">
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1008
              <position x="409" y="87"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1009
              <connectionPointIn>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
  1010
                <relPosition x="0" y="15"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1011
                <connection refLocalId="7" formalParameter="OUT">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1012
                  <position x="409" y="102"/>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
  1013
                  <position x="367" y="102"/>
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
  1014
                </connection>
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
  1015
              </connectionPointIn>
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
  1016
              <connectionPointOut>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1017
                <relPosition x="34" y="15"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1018
              </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1019
              <expression>Cnt</expression>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1020
            </inOutVariable>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
  1021
            <block localId="4" typeName="ADD" executionOrderId="0" height="80" width="67">
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1022
              <position x="180" y="87"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1023
              <inputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1024
                <variable formalParameter="IN1">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1025
                  <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1026
                    <relPosition x="0" y="35"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1027
                    <connection refLocalId="6">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1028
                      <position x="180" y="122"/>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1029
                      <position x="127" y="122"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1030
                    </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1031
                  </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1032
                </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1033
                <variable formalParameter="IN2">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1034
                  <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1035
                    <relPosition x="0" y="65"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1036
                    <connection refLocalId="3">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1037
                      <position x="180" y="152"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1038
                      <position x="169" y="152"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1039
                      <position x="169" y="185"/>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1040
                      <position x="453" y="185"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1041
                      <position x="453" y="102"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1042
                      <position x="443" y="102"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1043
                    </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1044
                  </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1045
                </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1046
              </inputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1047
              <inOutVariables/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1048
              <outputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1049
                <variable formalParameter="OUT">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1050
                  <connectionPointOut>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
  1051
                    <relPosition x="67" y="35"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1052
                  </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1053
                </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1054
              </outputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1055
            </block>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
  1056
            <inVariable localId="5" executionOrderId="0" height="30" width="158" negated="false">
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1057
              <position x="74" y="228"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1058
              <connectionPointOut>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
  1059
                <relPosition x="158" y="15"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1060
              </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1061
              <expression>ResetCounterValue</expression>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1062
            </inVariable>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
  1063
            <inVariable localId="6" executionOrderId="0" height="30" width="21" negated="false">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1064
              <position x="106" y="107"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1065
              <connectionPointOut>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
  1066
                <relPosition x="21" y="15"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1067
              </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1068
              <expression>1</expression>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1069
            </inVariable>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
  1070
            <block localId="7" typeName="SEL" executionOrderId="0" height="80" width="67">
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1071
              <position x="300" y="72"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1072
              <inputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1073
                <variable formalParameter="G">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1074
                  <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1075
                    <relPosition x="0" y="30"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1076
                    <connection refLocalId="9">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1077
                      <position x="300" y="102"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1078
                      <position x="266" y="102"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1079
                      <position x="266" y="62"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1080
                      <position x="134" y="62"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1081
                    </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1082
                  </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1083
                </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1084
                <variable formalParameter="IN0">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1085
                  <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1086
                    <relPosition x="0" y="50"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1087
                    <connection refLocalId="4" formalParameter="OUT">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1088
                      <position x="300" y="122"/>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
  1089
                      <position x="247" y="122"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1090
                    </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1091
                  </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1092
                </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1093
                <variable formalParameter="IN1">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1094
                  <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1095
                    <relPosition x="0" y="70"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1096
                    <connection refLocalId="5">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1097
                      <position x="300" y="142"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1098
                      <position x="266" y="142"/>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
  1099
                      <position x="266" y="243"/>
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
  1100
                      <position x="232" y="243"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1101
                    </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1102
                  </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1103
                </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1104
              </inputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1105
              <inOutVariables/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1106
              <outputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1107
                <variable formalParameter="OUT">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1108
                  <connectionPointOut>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
  1109
                    <relPosition x="67" y="30"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1110
                  </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1111
                </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1112
              </outputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1113
            </block>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1114
            <leftPowerRail localId="8" height="40" width="3">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1115
              <position x="46" y="42"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1116
              <connectionPointOut formalParameter="">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1117
                <relPosition x="3" y="20"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1118
              </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1119
            </leftPowerRail>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1120
            <contact localId="9" height="15" width="21" negated="false">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1121
              <position x="113" y="54"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1122
              <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1123
                <relPosition x="0" y="8"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1124
                <connection refLocalId="8">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1125
                  <position x="113" y="62"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1126
                  <position x="49" y="62"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1127
                </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1128
              </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1129
              <connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1130
                <relPosition x="21" y="8"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1131
              </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1132
              <variable>Reset</variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1133
            </contact>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1134
          </LD>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1135
        </body>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1136
      </pou>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1137
    </pous>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1138
  </types>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1139
  <instances>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1140
    <configurations>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1141
      <configuration name="config">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1142
        <resource name="resource1">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1143
          <task name="plc_task" priority="1" interval="T#100ms">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1144
            <pouInstance name="plc_task_instance" typeName="plc_prg"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1145
          </task>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1146
        </resource>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1147
        <globalVars constant="true">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1148
          <variable name="ResetCounterValue">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1149
            <type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1150
              <INT/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1151
            </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1152
            <initialValue>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1153
              <simpleValue value="17"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1154
            </initialValue>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1155
          </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1156
        </globalVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1157
      </configuration>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1158
    </configurations>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1159
  </instances>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1160
</project>