tests/first_steps/plc.xml
author Edouard Tisserant
Mon, 15 Oct 2018 16:26:59 +0200
changeset 2312 84b3cc18893b
parent 2296 a2ab363f9e90
child 2346 ac16bad593cf
permissions -rw-r--r--
Replaced PYROSSL with PYROPSK.
Secrets are files named $ID.secret in project's /psk directory.
Connect with URI formated PYROPSK://host[:port]#ID
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"/>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
     4
  <contentHeader name="First Steps" modificationDateTime="2018-08-24T13:11:30">
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>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   194
            <comment localId="6" height="344" width="434">
2170
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   195
              <position x="620" y="130"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   196
              <content>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   197
                <xhtml:p><![CDATA[In this example function block with the same functionality 
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   198
is created using all five IEC 61131-3 programing languages:
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   199
- IL;
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   200
- FBD;
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   201
- LD;
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   202
- ST;
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   203
- SFC.
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   204
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   205
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   206
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   207
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   208
Function block is a counter with reset control input.
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   209
If reset is True counter value is reset to the value defined by
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   210
global configuration constant ResetCounterValue. 
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   211
If reset is False, counter is incremented every cycle.
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   212
]]></xhtml:p>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   213
              </content>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   214
            </comment>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   215
            <block localId="7" typeName="CounterSFC" instanceName="CounterSFC0" executionOrderId="0" height="52" width="121">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   216
              <position x="211" y="237"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   217
              <inputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   218
                <variable formalParameter="Reset">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   219
                  <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   220
                    <relPosition x="0" y="36"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   221
                    <connection refLocalId="12">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   222
                      <position x="211" y="273"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   223
                      <position x="103" y="273"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   224
                    </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   225
                  </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   226
                </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   227
              </inputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   228
              <inOutVariables/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   229
              <outputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   230
                <variable formalParameter="OUT">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   231
                  <connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   232
                    <relPosition x="121" y="36"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   233
                  </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   234
                </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   235
              </outputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   236
            </block>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   237
            <block localId="9" typeName="CounterIL" instanceName="CounterIL0" executionOrderId="0" height="62" width="121">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   238
              <position x="211" y="322"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   239
              <inputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   240
                <variable formalParameter="Reset">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   241
                  <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   242
                    <relPosition x="0" y="41"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   243
                    <connection refLocalId="10">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   244
                      <position x="211" y="363"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   245
                      <position x="101" y="363"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   246
                    </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   247
                  </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   248
                </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   249
              </inputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   250
              <inOutVariables/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   251
              <outputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   252
                <variable formalParameter="OUT">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   253
                  <connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   254
                    <relPosition x="121" y="41"/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   255
                  </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   256
                </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   257
              </outputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   258
            </block>
2170
ce5bd74ed552 Add function example to first_steps example
Surkov Sergey <surkovsv93@gmail.com>
parents: 1552
diff changeset
   259
            <inVariable localId="10" executionOrderId="0" height="30" width="67" negated="false">
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>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   531
            <inVariable localId="1" executionOrderId="0" height="30" width="61" negated="false">
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   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>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   534
                <relPosition x="61" y="15"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   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>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   538
            <outVariable localId="2" executionOrderId="0" height="30" width="39" negated="false">
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   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>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   541
                <relPosition x="0" y="15"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   542
                <connection refLocalId="3">
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   543
                  <position x="675" y="152"/>
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   544
                  <position x="589" y="152"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   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>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   549
            <inOutVariable localId="3" executionOrderId="0" height="30" width="32" negatedOut="false" negatedIn="false">
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   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>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   552
                <relPosition x="0" y="15"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   553
                <connection refLocalId="7" formalParameter="OUT">
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   554
                  <position x="557" y="152"/>
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   555
                  <position x="525" y="152"/>
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   556
                  <position x="525" y="130"/>
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   557
                  <position x="515" y="130"/>
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   558
                </connection>
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   559
              </connectionPointIn>
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   560
              <connectionPointOut>
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   561
                <relPosition x="32" 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
   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>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   565
            <block localId="4" typeName="ADD" executionOrderId="0" height="80" width="67">
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   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"/>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   573
                      <position x="301" y="150"/>
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   574
                      <position x="301" y="153"/>
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   575
                      <position x="275" y="153"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   576
                    </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   577
                  </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   578
                </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   579
                <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
   580
                  <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   581
                    <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
   582
                    <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
   583
                      <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
   584
                      <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
   585
                      <position x="317" y="213"/>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   586
                      <position x="599" y="213"/>
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   587
                      <position x="599" y="152"/>
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   588
                      <position x="589" y="152"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   589
                    </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   590
                  </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   591
                </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   592
              </inputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   593
              <inOutVariables/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   594
              <outputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   595
                <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
   596
                  <connectionPointOut>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   597
                    <relPosition x="67" y="35"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   598
                  </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   599
                </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   600
              </outputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   601
            </block>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   602
            <inVariable localId="5" executionOrderId="0" height="30" width="158" negated="false">
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   603
              <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
   604
              <connectionPointOut>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   605
                <relPosition x="158" y="15"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   606
              </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   607
              <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
   608
            </inVariable>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   609
            <inVariable localId="6" executionOrderId="0" height="30" width="21" 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
   610
              <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
   611
              <connectionPointOut>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   612
                <relPosition x="21" y="15"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   613
              </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   614
              <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
   615
            </inVariable>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   616
            <block localId="7" typeName="SEL" executionOrderId="0" height="80" width="67">
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   617
              <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
   618
              <inputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   619
                <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
   620
                  <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   621
                    <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
   622
                    <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
   623
                      <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
   624
                      <position x="415" y="130"/>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   625
                      <position x="415" y="73"/>
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   626
                      <position x="382" y="73"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   627
                    </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   628
                  </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   629
                </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   630
                <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
   631
                  <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   632
                    <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
   633
                    <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
   634
                      <position x="448" y="150"/>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   635
                      <position x="395" y="150"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   636
                    </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   637
                  </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   638
                </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   639
                <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
   640
                  <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   641
                    <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
   642
                    <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
   643
                      <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
   644
                      <position x="414" y="170"/>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   645
                      <position x="414" y="271"/>
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   646
                      <position x="380" y="271"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   647
                    </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   648
                  </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   649
                </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   650
              </inputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   651
              <inOutVariables/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   652
              <outputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   653
                <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
   654
                  <connectionPointOut>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   655
                    <relPosition x="67" y="30"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   656
                  </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   657
                </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   658
              </outputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   659
            </block>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   660
          </FBD>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   661
        </body>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   662
      </pou>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   663
      <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
   664
        <interface>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   665
          <inputVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   666
            <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
   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
                <BOOL/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   669
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   670
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   671
          </inputVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   672
          <outputVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   673
            <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
   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
                <INT/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   676
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   677
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   678
          </outputVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   679
          <localVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   680
            <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
   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
                <INT/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   683
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   684
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   685
          </localVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   686
          <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
   687
            <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
   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
                <INT/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   690
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   691
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   692
          </externalVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   693
        </interface>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   694
        <actions/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   695
        <body>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   696
          <SFC>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   697
            <step localId="1" name="Start" initialStep="true" height="34" width="90">
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   698
              <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
   699
              <connectionPointOut formalParameter="">
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   700
                <relPosition x="45" y="34"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   701
              </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   702
            </step>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   703
            <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
   704
              <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
   705
              <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   706
                <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
   707
                <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
   708
                  <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
   709
                  <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
   710
                </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   711
              </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   712
              <connectionPointOut formalParameter="">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   713
                <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
   714
              </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   715
              <connectionPointOut formalParameter="">
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   716
                <relPosition x="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
   717
              </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   718
            </selectionDivergence>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   719
            <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
   720
              <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
   721
              <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   722
                <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
   723
                <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
   724
                  <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
   725
                  <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
   726
                </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   727
              </connectionPointIn>
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
                <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
   730
              </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   731
              <condition>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   732
                <inline name="">
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
                    <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
   735
                  </ST>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   736
                </inline>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   737
              </condition>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   738
            </transition>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   739
            <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
   740
              <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
   741
              <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   742
                <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
   743
                <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
   744
                  <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
   745
                  <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
   746
                </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   747
              </connectionPointIn>
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
                <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
   750
              </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   751
              <condition>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   752
                <inline name="">
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
                    <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
   755
                  </ST>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   756
                </inline>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   757
              </condition>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   758
            </transition>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   759
            <step localId="5" name="ResetCounter" initialStep="false" height="30" width="104">
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   760
              <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
   761
              <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   762
                <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
   763
                <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
   764
                  <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
   765
                  <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
   766
                </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   767
              </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   768
              <connectionPointOut formalParameter="">
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   769
                <relPosition x="52" y="30"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   770
              </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   771
              <connectionPointOutAction formalParameter="">
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   772
                <relPosition x="104" 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
   773
              </connectionPointOutAction>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   774
            </step>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   775
            <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
   776
              <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
   777
              <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   778
                <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
   779
                <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
   780
                  <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
   781
                  <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
   782
                </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   783
              </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   784
              <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
   785
                <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
   786
                <inline>
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
                    <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
   789
                  </ST>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   790
                </inline>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   791
              </action>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   792
              <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
   793
                <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
   794
                <inline>
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
                    <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
   797
                  </ST>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   798
                </inline>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   799
              </action>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   800
            </actionBlock>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   801
            <step localId="7" name="Count" initialStep="false" height="30" width="85" executionOrderId="0">
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   802
              <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
   803
              <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   804
                <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
   805
                <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
   806
                  <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
   807
                  <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
   808
                </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   809
              </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   810
              <connectionPointOut formalParameter="">
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   811
                <relPosition x="42" y="30"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   812
              </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   813
              <connectionPointOutAction formalParameter="">
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
   814
                <relPosition x="85" y="15"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   815
              </connectionPointOutAction>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   816
            </step>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   817
            <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
   818
              <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
   819
              <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   820
                <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
   821
                <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
   822
                  <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
   823
                  <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
   824
                </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   825
              </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   826
              <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
   827
                <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
   828
                <inline>
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
                    <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
   831
                  </ST>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   832
                </inline>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   833
              </action>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   834
              <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
   835
                <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
   836
                <inline>
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
                    <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
   839
                  </ST>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   840
                </inline>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   841
              </action>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   842
            </actionBlock>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   843
            <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
   844
              <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
   845
              <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   846
                <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
   847
                <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
   848
                  <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
   849
                  <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
   850
                </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   851
              </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   852
              <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   853
                <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
   854
                <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
   855
                  <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
   856
                  <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
   857
                </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   858
              </connectionPointIn>
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
                <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
   861
              </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   862
            </selectionConvergence>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   863
            <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
   864
              <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
   865
              <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   866
                <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
   867
                <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
   868
                  <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
   869
                  <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
   870
                </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   871
              </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   872
            </jumpStep>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   873
            <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
   874
              <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
   875
              <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   876
                <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
   877
                <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
   878
                  <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
   879
                  <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
   880
                </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   881
              </connectionPointIn>
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
                <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
   884
              </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   885
              <condition>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   886
                <inline name="">
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
                    <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
   889
                  </ST>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   890
                </inline>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   891
              </condition>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   892
            </transition>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   893
            <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
   894
              <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
   895
              <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   896
                <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
   897
                <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
   898
                  <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
   899
                  <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
   900
                </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   901
              </connectionPointIn>
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
                <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
   904
              </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   905
              <condition>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   906
                <inline name="">
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
                    <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
   909
                  </ST>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   910
                </inline>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   911
              </condition>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   912
            </transition>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   913
          </SFC>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   914
        </body>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   915
      </pou>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   916
      <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
   917
        <interface>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   918
          <localVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   919
            <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
   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
                <INT/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   922
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   923
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   924
          </localVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   925
          <inputVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   926
            <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
   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
                <BOOL/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   929
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   930
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   931
          </inputVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   932
          <outputVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   933
            <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
   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
                <INT/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   936
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   937
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   938
          </outputVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   939
          <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
   940
            <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
   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
                <INT/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   943
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   944
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   945
          </externalVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   946
        </interface>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   947
        <body>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   948
          <IL>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   949
            <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
   950
JMPC ResetCnt
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   951
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   952
(* increment counter *)
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   953
LD Cnt
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   954
ADD 1
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   955
JMP QuitFb
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   956
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   957
ResetCnt:
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   958
(* reset counter *)
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   959
LD ResetCounterValue
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   960
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   961
QuitFb:
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   962
(* save results *)
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   963
ST Cnt
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   964
ST Out
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   965
]]></xhtml:p>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   966
          </IL>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   967
        </body>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   968
      </pou>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   969
      <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
   970
        <interface>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   971
          <inputVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   972
            <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
   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
                <BOOL/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   975
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   976
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   977
          </inputVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   978
          <outputVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   979
            <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
   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
                <INT/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   982
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   983
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   984
          </outputVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   985
          <localVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   986
            <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
   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
                <INT/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   989
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   990
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   991
          </localVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   992
          <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
   993
            <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
   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
                <INT/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   996
              </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   997
            </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   998
          </externalVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
   999
        </interface>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1000
        <body>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1001
          <LD>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
  1002
            <outVariable localId="2" executionOrderId="0" height="30" width="34" 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
  1003
              <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
  1004
              <connectionPointIn>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
  1005
                <relPosition x="0" y="15"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1006
                <connection refLocalId="3">
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
  1007
                  <position x="527" y="105"/>
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
  1008
                  <position x="441" y="105"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1009
                </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1010
              </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1011
              <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
  1012
            </outVariable>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
  1013
            <inOutVariable localId="3" executionOrderId="0" height="30" width="32" negatedOut="false" negatedIn="false">
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1014
              <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
  1015
              <connectionPointIn>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
  1016
                <relPosition x="0" y="15"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1017
                <connection refLocalId="7" formalParameter="OUT">
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
  1018
                  <position x="409" y="105"/>
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
  1019
                  <position x="388" y="105"/>
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
  1020
                  <position x="388" y="102"/>
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
  1021
                  <position x="367" y="102"/>
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
  1022
                </connection>
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
  1023
              </connectionPointIn>
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
  1024
              <connectionPointOut>
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
  1025
                <relPosition x="32" 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
  1026
              </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1027
              <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
  1028
            </inOutVariable>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
  1029
            <block localId="4" typeName="ADD" executionOrderId="0" height="80" width="67">
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1030
              <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
  1031
              <inputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1032
                <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
  1033
                  <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1034
                    <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
  1035
                    <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
  1036
                      <position x="180" y="122"/>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
  1037
                      <position x="153" y="122"/>
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
  1038
                      <position x="153" y="125"/>
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
  1039
                      <position x="127" y="125"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1040
                    </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1041
                  </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1042
                </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1043
                <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
  1044
                  <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1045
                    <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
  1046
                    <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
  1047
                      <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
  1048
                      <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
  1049
                      <position x="169" y="185"/>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
  1050
                      <position x="451" y="185"/>
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
  1051
                      <position x="451" y="105"/>
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
  1052
                      <position x="441" y="105"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1053
                    </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1054
                  </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1055
                </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1056
              </inputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1057
              <inOutVariables/>
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
                <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
  1060
                  <connectionPointOut>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
  1061
                    <relPosition x="67" y="35"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  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
                </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1064
              </outputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1065
            </block>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
  1066
            <inVariable localId="5" executionOrderId="0" height="30" width="158" negated="false">
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1067
              <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
  1068
              <connectionPointOut>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
  1069
                <relPosition x="158" y="15"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1070
              </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1071
              <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
  1072
            </inVariable>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
  1073
            <inVariable localId="6" executionOrderId="0" height="30" width="21" 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
  1074
              <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
  1075
              <connectionPointOut>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
  1076
                <relPosition x="21" y="15"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1077
              </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1078
              <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
  1079
            </inVariable>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
  1080
            <block localId="7" typeName="SEL" executionOrderId="0" height="80" width="67">
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1081
              <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
  1082
              <inputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1083
                <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
  1084
                  <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1085
                    <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
  1086
                    <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
  1087
                      <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
  1088
                      <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
  1089
                      <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
  1090
                      <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
  1091
                    </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1092
                  </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1093
                </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1094
                <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
  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
                    <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
  1097
                    <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
  1098
                      <position x="300" y="122"/>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
  1099
                      <position x="247" y="122"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1100
                    </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1101
                  </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1102
                </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1103
                <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
  1104
                  <connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1105
                    <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
  1106
                    <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
  1107
                      <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
  1108
                      <position x="266" y="142"/>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
  1109
                      <position x="266" y="243"/>
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
  1110
                      <position x="232" y="243"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1111
                    </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1112
                  </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1113
                </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1114
              </inputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1115
              <inOutVariables/>
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
                <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
  1118
                  <connectionPointOut>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2170
diff changeset
  1119
                    <relPosition x="67" y="30"/>
1552
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1120
                  </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1121
                </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1122
              </outputVariables>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1123
            </block>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1124
            <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
  1125
              <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
  1126
              <connectionPointOut formalParameter="">
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="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
  1128
              </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1129
            </leftPowerRail>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1130
            <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
  1131
              <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
  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
                <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
  1134
                <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
  1135
                  <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
  1136
                  <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
  1137
                </connection>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1138
              </connectionPointIn>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1139
              <connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1140
                <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
  1141
              </connectionPointOut>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1142
              <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
  1143
            </contact>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1144
          </LD>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1145
        </body>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1146
      </pou>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1147
    </pous>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1148
  </types>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1149
  <instances>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1150
    <configurations>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1151
      <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
  1152
        <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
  1153
          <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
  1154
            <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
  1155
          </task>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1156
        </resource>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1157
        <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
  1158
          <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
  1159
            <type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1160
              <INT/>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1161
            </type>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1162
            <initialValue>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1163
              <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
  1164
            </initialValue>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1165
          </variable>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1166
        </globalVars>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1167
      </configuration>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1168
    </configurations>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1169
  </instances>
9a59d1de198a add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
  1170
</project>