tests/first_steps/plc.xml
author Andrey Skvortsov <andrej.skvortzov@gmail.com>
Thu, 16 Aug 2018 13:42:18 +0300
changeset 2289 cf0934b42d66
parent 2170 ce5bd74ed552
child 2296 a2ab363f9e90
permissions -rw-r--r--
Update README for WAMP example to use crossbar with python3

crossbar python2 support is broken in v18.7.2.
I've submitted with fixes for that.
https://github.com/crossbario/crossbar/pull/1376

But they don't test crossbar with python2 in CI, so it's going to be
broken again in the future.
And there is no much reason to use crossbar with python2.
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"/>
2170
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
     4
  <contentHeader name="First Steps" modificationDateTime="2018-05-31T12:59:20">
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">
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   166
              <position x="35" y="81"/>
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">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   173
              <position x="211" y="145"/>
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">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   179
                      <position x="211" y="182"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   180
                      <position x="115" y="182"/>
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>
2170
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   194
            <comment localId="6" height="306" width="434">
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">
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   260
              <position x="34" y="351"/>
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">
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   267
              <position x="36" y="261"/>
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">
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   274
              <position x="36" y="170"/>
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">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   281
              <position x="210" y="411"/>
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">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   287
                      <position x="210" y="452"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   288
                      <position x="100" y="452"/>
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">
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   303
              <position x="36" y="440"/>
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>
2170
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   309
            <block localId="17" typeName="AverageVal" executionOrderId="0" height="470" width="90">
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"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   326
                      <position x="497" y="183"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   327
                      <position x="497" y="182"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   328
                      <position x="473" y="182"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   329
                    </connection>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   330
                  </connectionPointIn>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   331
                </variable>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   332
                <variable formalParameter="Cnt3">
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   333
                  <connectionPointIn>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   334
                    <relPosition x="0" y="245"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   335
                    <connection refLocalId="8">
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   336
                      <position x="514" y="273"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   337
                      <position x="472" y="273"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   338
                    </connection>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   339
                  </connectionPointIn>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   340
                </variable>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   341
                <variable formalParameter="Cnt4">
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   342
                  <connectionPointIn>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   343
                    <relPosition x="0" y="335"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   344
                    <connection refLocalId="11">
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   345
                      <position x="514" y="363"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   346
                      <position x="469" y="363"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   347
                    </connection>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   348
                  </connectionPointIn>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   349
                </variable>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   350
                <variable formalParameter="Cnt5">
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   351
                  <connectionPointIn>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   352
                    <relPosition x="0" y="425"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   353
                    <connection refLocalId="15">
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   354
                      <position x="514" y="453"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   355
                      <position x="495" y="453"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   356
                      <position x="495" y="452"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   357
                      <position x="469" y="452"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   358
                    </connection>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   359
                  </connectionPointIn>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   360
                </variable>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   361
              </inputVariables>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   362
              <inOutVariables/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   363
              <outputVariables>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   364
                <variable formalParameter="OUT">
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   365
                  <connectionPointOut>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   366
                    <relPosition x="90" y="65"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   367
                  </connectionPointOut>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   368
                </variable>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   369
              </outputVariables>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   370
            </block>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   371
            <outVariable localId="18" executionOrderId="0" height="30" width="50" negated="false">
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   372
              <position x="649" y="78"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   373
              <connectionPointIn>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   374
                <relPosition x="0" y="15"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   375
                <connection refLocalId="17" formalParameter="OUT">
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   376
                  <position x="649" y="93"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   377
                  <position x="604" y="93"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   378
                </connection>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   379
              </connectionPointIn>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   380
              <expression>AVCnt</expression>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   381
            </outVariable>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   382
            <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
   383
              <position x="368" y="78"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   384
              <connectionPointIn>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   385
                <relPosition x="0" y="15"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   386
                <connection refLocalId="1" formalParameter="OUT">
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   387
                  <position x="368" y="93"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   388
                  <position x="332" y="93"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   389
                </connection>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   390
              </connectionPointIn>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   391
              <connectionPointOut>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   392
                <relPosition x="106" y="15"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   393
              </connectionPointOut>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   394
              <expression>Cnt1</expression>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   395
            </inOutVariable>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   396
            <inOutVariable localId="5" executionOrderId="0" height="30" width="103" negatedOut="false" negatedIn="false">
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   397
              <position x="370" y="167"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   398
              <connectionPointIn>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   399
                <relPosition x="0" y="15"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   400
                <connection refLocalId="4" formalParameter="OUT">
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   401
                  <position x="370" y="182"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   402
                  <position x="332" y="182"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   403
                </connection>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   404
              </connectionPointIn>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   405
              <connectionPointOut>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   406
                <relPosition x="103" y="15"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   407
              </connectionPointOut>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   408
              <expression>Cnt2</expression>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   409
            </inOutVariable>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   410
            <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
   411
              <position x="375" y="258"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   412
              <connectionPointIn>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   413
                <relPosition x="0" y="15"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   414
                <connection refLocalId="7" formalParameter="OUT">
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   415
                  <position x="375" y="273"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   416
                  <position x="332" y="273"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   417
                </connection>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   418
              </connectionPointIn>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   419
              <connectionPointOut>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   420
                <relPosition x="97" y="15"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   421
              </connectionPointOut>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   422
              <expression>Cnt3</expression>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   423
            </inOutVariable>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   424
            <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
   425
              <position x="378" y="348"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   426
              <connectionPointIn>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   427
                <relPosition x="0" y="15"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   428
                <connection refLocalId="9" formalParameter="OUT">
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   429
                  <position x="378" y="363"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   430
                  <position x="332" y="363"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   431
                </connection>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   432
              </connectionPointIn>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   433
              <connectionPointOut>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   434
                <relPosition x="91" y="15"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   435
              </connectionPointOut>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   436
              <expression>Cnt4</expression>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   437
            </inOutVariable>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   438
            <inOutVariable localId="15" executionOrderId="0" height="30" width="88" negatedOut="false" negatedIn="false">
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   439
              <position x="381" y="437"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   440
              <connectionPointIn>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   441
                <relPosition x="0" y="15"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   442
                <connection refLocalId="14" formalParameter="Out">
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   443
                  <position x="381" y="452"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   444
                  <position x="334" y="452"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   445
                </connection>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   446
              </connectionPointIn>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   447
              <connectionPointOut>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   448
                <relPosition x="88" y="15"/>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   449
              </connectionPointOut>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   450
              <expression>Cnt5</expression>
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   451
            </inOutVariable>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   452
          </FBD>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   453
        </body>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   454
      </pou>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   455
      <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
   456
        <interface>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   457
          <inputVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   458
            <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
   459
              <type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   460
                <BOOL/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   461
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   462
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   463
          </inputVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   464
          <localVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   465
            <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
   466
              <type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   467
                <INT/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   468
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   469
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   470
          </localVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   471
          <outputVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   472
            <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
   473
              <type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   474
                <INT/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   475
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   476
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   477
          </outputVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   478
          <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
   479
            <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
   480
              <type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   481
                <INT/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   482
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   483
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   484
          </externalVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   485
        </interface>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   486
        <body>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   487
          <ST>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   488
            <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
   489
  Cnt := ResetCounterValue;
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   490
ELSE
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   491
  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
   492
END_IF;
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   493
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   494
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
   495
          </ST>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   496
        </body>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   497
      </pou>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   498
      <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
   499
        <interface>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   500
          <inputVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   501
            <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
   502
              <type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   503
                <BOOL/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   504
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   505
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   506
          </inputVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   507
          <outputVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   508
            <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
   509
              <type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   510
                <INT/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   511
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   512
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   513
          </outputVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   514
          <localVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   515
            <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
   516
              <type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   517
                <INT/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   518
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   519
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   520
          </localVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   521
          <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
   522
            <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
   523
              <type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   524
                <INT/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   525
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   526
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   527
          </externalVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   528
        </interface>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   529
        <body>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   530
          <FBD>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   531
            <inVariable localId="1" executionOrderId="0" height="24" width="61" negated="false">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   532
              <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
   533
              <connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   534
                <relPosition x="61" y="12"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   535
              </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   536
              <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
   537
            </inVariable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   538
            <outVariable localId="2" executionOrderId="0" height="24" width="34" negated="false">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   539
              <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
   540
              <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   541
                <relPosition x="0" y="12"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   542
                <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
   543
                  <position x="675" y="149"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   544
                  <position x="586" y="149"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   545
                </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   546
              </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   547
              <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
   548
            </outVariable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   549
            <inOutVariable localId="3" executionOrderId="0" height="24" width="29" negatedOut="false" negatedIn="false">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   550
              <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
   551
              <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   552
                <relPosition x="0" y="12"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   553
                <connection refLocalId="7" formalParameter="OUT">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   554
                  <position x="557" y="149"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   555
                  <position x="524" y="149"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   556
                  <position x="524" y="130"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   557
                  <position x="505" y="130"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   558
                </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   559
              </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   560
              <connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   561
                <relPosition x="29" y="12"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   562
              </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   563
              <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
   564
            </inOutVariable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   565
            <block localId="4" typeName="ADD" executionOrderId="0" height="80" width="57">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   566
              <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
   567
              <inputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   568
                <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
   569
                  <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   570
                    <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
   571
                    <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
   572
                      <position x="328" y="150"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   573
                      <position x="275" y="150"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   574
                    </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   575
                  </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   576
                </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   577
                <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
   578
                  <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   579
                    <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
   580
                    <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
   581
                      <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
   582
                      <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
   583
                      <position x="317" y="213"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   584
                      <position x="596" y="213"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   585
                      <position x="596" y="149"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   586
                      <position x="586" y="149"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   587
                    </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   588
                  </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   589
                </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   590
              </inputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   591
              <inOutVariables/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   592
              <outputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   593
                <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
   594
                  <connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   595
                    <relPosition x="57" y="35"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   596
                  </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   597
                </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   598
              </outputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   599
            </block>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   600
            <inVariable localId="5" executionOrderId="0" height="24" width="158" negated="false">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   601
              <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
   602
              <connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   603
                <relPosition x="158" y="12"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   604
              </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   605
              <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
   606
            </inVariable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   607
            <inVariable localId="6" executionOrderId="0" height="24" 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
   608
              <position x="254" y="138"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   609
              <connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   610
                <relPosition x="21" y="12"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   611
              </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   612
              <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
   613
            </inVariable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   614
            <block localId="7" typeName="SEL" executionOrderId="0" height="80" width="57">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   615
              <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
   616
              <inputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   617
                <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
   618
                  <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   619
                    <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
   620
                    <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
   621
                      <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
   622
                      <position x="415" y="130"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   623
                      <position x="415" y="70"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   624
                      <position x="382" y="70"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   625
                    </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   626
                  </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   627
                </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   628
                <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
   629
                  <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   630
                    <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
   631
                    <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
   632
                      <position x="448" y="150"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   633
                      <position x="385" y="150"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   634
                    </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   635
                  </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   636
                </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   637
                <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
   638
                  <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   639
                    <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
   640
                    <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
   641
                      <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
   642
                      <position x="414" y="170"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   643
                      <position x="414" y="268"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   644
                      <position x="380" y="268"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   645
                    </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   646
                  </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   647
                </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   648
              </inputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   649
              <inOutVariables/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   650
              <outputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   651
                <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
   652
                  <connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   653
                    <relPosition x="57" y="30"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   654
                  </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   655
                </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   656
              </outputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   657
            </block>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   658
          </FBD>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   659
        </body>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   660
      </pou>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   661
      <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
   662
        <interface>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   663
          <inputVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   664
            <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
   665
              <type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   666
                <BOOL/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   667
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   668
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   669
          </inputVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   670
          <outputVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   671
            <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
   672
              <type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   673
                <INT/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   674
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   675
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   676
          </outputVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   677
          <localVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   678
            <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
   679
              <type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   680
                <INT/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   681
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   682
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   683
          </localVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   684
          <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
   685
            <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
   686
              <type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   687
                <INT/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   688
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   689
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   690
          </externalVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   691
        </interface>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   692
        <actions/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   693
        <body>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   694
          <SFC>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   695
            <step localId="1" name="Start" initialStep="true" height="28" width="90">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   696
              <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
   697
              <connectionPointOut formalParameter="">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   698
                <relPosition x="45" y="28"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   699
              </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   700
            </step>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   701
            <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
   702
              <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
   703
              <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   704
                <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
   705
                <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
   706
                  <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
   707
                  <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
   708
                </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   709
              </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   710
              <connectionPointOut formalParameter="">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   711
                <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
   712
              </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   713
              <connectionPointOut formalParameter="">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   714
                <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
   715
              </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   716
            </selectionDivergence>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   717
            <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
   718
              <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
   719
              <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   720
                <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
   721
                <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
   722
                  <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
   723
                  <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
   724
                </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   725
              </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   726
              <connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   727
                <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
   728
              </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   729
              <condition>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   730
                <inline name="">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   731
                  <ST>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   732
                    <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
   733
                  </ST>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   734
                </inline>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   735
              </condition>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   736
            </transition>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   737
            <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
   738
              <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
   739
              <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   740
                <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
   741
                <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
   742
                  <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
   743
                  <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
   744
                </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   745
              </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   746
              <connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   747
                <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
   748
              </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   749
              <condition>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   750
                <inline name="">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   751
                  <ST>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   752
                    <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
   753
                  </ST>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   754
                </inline>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   755
              </condition>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   756
            </transition>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   757
            <step localId="5" name="ResetCounter" initialStep="false" height="24" width="104">
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="449" 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
              <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   760
                <relPosition x="52" y="0"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   761
                <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
   762
                  <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
   763
                  <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
   764
                </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   765
              </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   766
              <connectionPointOut formalParameter="">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   767
                <relPosition x="52" y="24"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   768
              </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   769
              <connectionPointOutAction formalParameter="">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   770
                <relPosition x="104" y="12"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   771
              </connectionPointOutAction>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   772
            </step>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   773
            <actionBlock localId="6" height="63" width="222">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   774
              <position x="600" y="187"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   775
              <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   776
                <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
   777
                <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
   778
                  <position x="600" y="202"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   779
                  <position x="553" y="202"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   780
                </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   781
              </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   782
              <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
   783
                <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
   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
                  <ST>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   786
                    <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
   787
                  </ST>
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
              </action>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   790
              <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
   791
                <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
   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
                  <ST>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   794
                    <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
   795
                  </ST>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   796
                </inline>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   797
              </action>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   798
            </actionBlock>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   799
            <step localId="7" name="Count" initialStep="false" height="24" width="85" executionOrderId="0">
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="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
   801
              <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   802
                <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
   803
                <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
   804
                  <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
   805
                  <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
   806
                </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   807
              </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   808
              <connectionPointOut formalParameter="">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   809
                <relPosition x="42" y="24"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   810
              </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   811
              <connectionPointOutAction formalParameter="">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   812
                <relPosition x="85" y="12"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   813
              </connectionPointOutAction>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   814
            </step>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   815
            <actionBlock localId="8" height="52" width="148" executionOrderId="0">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   816
              <position x="135" y="188"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   817
              <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   818
                <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
   819
                <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
   820
                  <position x="135" y="203"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   821
                  <position x="113" y="203"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   822
                </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   823
              </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   824
              <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
   825
                <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
   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
                  <ST>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   828
                    <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
   829
                  </ST>
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
              </action>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   832
              <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
   833
                <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
   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
                  <ST>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   836
                    <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
   837
                  </ST>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   838
                </inline>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   839
              </action>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   840
            </actionBlock>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   841
            <selectionConvergence localId="10" 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
   842
              <position x="70" y="273"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   843
              <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   844
                <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
   845
                <connection refLocalId="13">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   846
                  <position x="70" y="273"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   847
                  <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
   848
                </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   849
              </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   850
              <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   851
                <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
   852
                <connection refLocalId="14">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   853
                  <position x="501" y="273"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   854
                  <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
   855
                </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   856
              </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   857
              <connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   858
                <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
   859
              </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   860
            </selectionConvergence>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   861
            <jumpStep localId="12" targetName="Start" height="13" width="12">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   862
              <position x="280" y="317"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   863
              <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   864
                <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
   865
                <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
   866
                  <position x="286" y="317"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   867
                  <position x="286" y="274"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   868
                </connection>
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
            </jumpStep>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   871
            <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
   872
              <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
   873
              <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   874
                <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
   875
                <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
   876
                  <position x="70" y="242"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   877
                  <position x="70" y="215"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   878
                </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   879
              </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   880
              <connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   881
                <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
   882
              </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   883
              <condition>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   884
                <inline name="">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   885
                  <ST>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   886
                    <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
   887
                  </ST>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   888
                </inline>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   889
              </condition>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   890
            </transition>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   891
            <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
   892
              <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
   893
              <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   894
                <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
   895
                <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
   896
                  <position x="501" y="248"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   897
                  <position x="501" y="214"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   898
                </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   899
              </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   900
              <connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   901
                <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
   902
              </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   903
              <condition>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   904
                <inline name="">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   905
                  <ST>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   906
                    <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
   907
                  </ST>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   908
                </inline>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   909
              </condition>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   910
            </transition>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   911
          </SFC>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   912
        </body>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   913
      </pou>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   914
      <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
   915
        <interface>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   916
          <localVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   917
            <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
   918
              <type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   919
                <INT/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   920
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   921
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   922
          </localVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   923
          <inputVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   924
            <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
   925
              <type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   926
                <BOOL/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   927
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   928
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   929
          </inputVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   930
          <outputVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   931
            <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
   932
              <type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   933
                <INT/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   934
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   935
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   936
          </outputVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   937
          <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
   938
            <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
   939
              <type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   940
                <INT/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   941
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   942
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   943
          </externalVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   944
        </interface>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   945
        <body>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   946
          <IL>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   947
            <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
   948
JMPC ResetCnt
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   949
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   950
(* increment counter *)
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   951
LD Cnt
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   952
ADD 1
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   953
JMP QuitFb
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
ResetCnt:
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   956
(* reset counter *)
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   957
LD ResetCounterValue
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   958
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   959
QuitFb:
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   960
(* save results *)
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   961
ST Cnt
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   962
ST Out
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   963
]]></xhtml:p>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   964
          </IL>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   965
        </body>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   966
      </pou>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   967
      <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
   968
        <interface>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   969
          <inputVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   970
            <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
   971
              <type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   972
                <BOOL/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   973
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   974
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   975
          </inputVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   976
          <outputVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   977
            <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
   978
              <type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   979
                <INT/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   980
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   981
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   982
          </outputVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   983
          <localVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   984
            <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
   985
              <type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   986
                <INT/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   987
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   988
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   989
          </localVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   990
          <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
   991
            <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
   992
              <type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   993
                <INT/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   994
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   995
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   996
          </externalVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   997
        </interface>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   998
        <body>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   999
          <LD>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1000
            <outVariable localId="2" executionOrderId="0" height="24" width="34" negated="false">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1001
              <position x="527" y="90"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1002
              <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1003
                <relPosition x="0" y="12"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1004
                <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
  1005
                  <position x="527" y="102"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1006
                  <position x="438" y="102"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1007
                </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1008
              </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1009
              <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
  1010
            </outVariable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1011
            <inOutVariable localId="3" executionOrderId="0" height="24" width="29" negatedOut="false" negatedIn="false">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1012
              <position x="409" y="90"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1013
              <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1014
                <relPosition x="0" y="12"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1015
                <connection refLocalId="7" formalParameter="OUT">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1016
                  <position x="409" y="102"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1017
                  <position x="357" y="102"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1018
                </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1019
              </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1020
              <connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1021
                <relPosition x="29" y="12"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1022
              </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1023
              <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
  1024
            </inOutVariable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1025
            <block localId="4" typeName="ADD" executionOrderId="0" height="80" width="57">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1026
              <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
  1027
              <inputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1028
                <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
  1029
                  <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1030
                    <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
  1031
                    <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
  1032
                      <position x="180" y="122"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1033
                      <position x="127" y="122"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1034
                    </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1035
                  </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1036
                </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1037
                <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
  1038
                  <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1039
                    <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
  1040
                    <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
  1041
                      <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
  1042
                      <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
  1043
                      <position x="169" y="185"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1044
                      <position x="448" y="185"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1045
                      <position x="448" y="102"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1046
                      <position x="438" y="102"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1047
                    </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1048
                  </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1049
                </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1050
              </inputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1051
              <inOutVariables/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1052
              <outputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1053
                <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
  1054
                  <connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1055
                    <relPosition x="57" y="35"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1056
                  </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1057
                </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1058
              </outputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1059
            </block>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1060
            <inVariable localId="5" executionOrderId="0" height="24" width="158" negated="false">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1061
              <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
  1062
              <connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1063
                <relPosition x="158" y="12"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1064
              </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1065
              <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
  1066
            </inVariable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1067
            <inVariable localId="6" executionOrderId="0" height="24" 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
  1068
              <position x="106" y="110"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1069
              <connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1070
                <relPosition x="21" y="12"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1071
              </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1072
              <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
  1073
            </inVariable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1074
            <block localId="7" typeName="SEL" executionOrderId="0" height="80" width="57">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1075
              <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
  1076
              <inputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1077
                <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
  1078
                  <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1079
                    <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
  1080
                    <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
  1081
                      <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
  1082
                      <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
  1083
                      <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
  1084
                      <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
  1085
                    </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1086
                  </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1087
                </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1088
                <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
  1089
                  <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1090
                    <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
  1091
                    <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
  1092
                      <position x="300" y="122"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1093
                      <position x="237" y="122"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1094
                    </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1095
                  </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1096
                </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1097
                <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
  1098
                  <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1099
                    <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
  1100
                    <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
  1101
                      <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
  1102
                      <position x="266" y="142"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1103
                      <position x="266" y="240"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1104
                      <position x="232" y="240"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1105
                    </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1106
                  </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1107
                </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1108
              </inputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1109
              <inOutVariables/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1110
              <outputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1111
                <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
  1112
                  <connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1113
                    <relPosition x="57" y="30"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1114
                  </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1115
                </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1116
              </outputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1117
            </block>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1118
            <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
  1119
              <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
  1120
              <connectionPointOut formalParameter="">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1121
                <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
  1122
              </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1123
            </leftPowerRail>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1124
            <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
  1125
              <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
  1126
              <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1127
                <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
  1128
                <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
  1129
                  <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
  1130
                  <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
  1131
                </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1132
              </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1133
              <connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1134
                <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
  1135
              </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1136
              <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
  1137
            </contact>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1138
          </LD>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1139
        </body>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1140
      </pou>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1141
    </pous>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1142
  </types>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1143
  <instances>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1144
    <configurations>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1145
      <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
  1146
        <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
  1147
          <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
  1148
            <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
  1149
          </task>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1150
        </resource>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1151
        <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
  1152
          <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
  1153
            <type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1154
              <INT/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1155
            </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1156
            <initialValue>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1157
              <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
  1158
            </initialValue>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1159
          </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1160
        </globalVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1161
      </configuration>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1162
    </configurations>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1163
  </instances>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1164
</project>