tests/traffic_lights/plc.xml
author Edouard Tisserant <edouard.tisserant@gmail.com>
Wed, 13 May 2020 22:25:22 +0200
branchsvghmi
changeset 2963 113e2f2e324d
parent 2346 ac16bad593cf
permissions -rw-r--r--
SVGHMI: more Widget properties declared ES6 style.
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
     1
<?xml version='1.0' encoding='utf-8'?>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
     2
<project xmlns="http://www.plcopen.org/xml/tc6_0201" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xhtml="http://www.w3.org/1999/xhtml" xsi:schemaLocation="http://www.plcopen.org/xml/tc6_0201">
1546
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
     3
  <fileHeader companyName="Beremiz" productName="Unnamed" productVersion="1" creationDateTime="2012-09-04T16:16:33"/>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
     4
  <contentHeader name="traffic_lights" modificationDateTime="2018-09-26T17:49:02">
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
     5
    <coordinateInfo>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
     6
      <fbd>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
     7
        <scaling x="0" y="0"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
     8
      </fbd>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
     9
      <ld>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    10
        <scaling x="0" y="0"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    11
      </ld>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    12
      <sfc>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    13
        <scaling x="0" y="0"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    14
      </sfc>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    15
    </coordinateInfo>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    16
  </contentHeader>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    17
  <types>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    18
    <dataTypes/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    19
    <pous>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    20
      <pou name="traffic_light_sequence" pouType="functionBlock">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    21
        <interface>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    22
          <inputVars>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    23
            <variable name="SWITCH_BUTTON">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    24
              <type>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    25
                <BOOL/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    26
              </type>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    27
            </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    28
            <variable name="PEDESTRIAN_BUTTON">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    29
              <type>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    30
                <BOOL/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    31
              </type>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    32
            </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    33
          </inputVars>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    34
          <outputVars>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    35
            <variable name="RED_LIGHT">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    36
              <type>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    37
                <BOOL/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    38
              </type>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    39
            </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    40
            <variable name="ORANGE_LIGHT">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    41
              <type>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    42
                <BOOL/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    43
              </type>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    44
            </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    45
            <variable name="GREEN_LIGHT">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    46
              <type>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    47
                <BOOL/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    48
              </type>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    49
            </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    50
            <variable name="PEDESTRIAN_RED_LIGHT">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    51
              <type>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    52
                <BOOL/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    53
              </type>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    54
            </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    55
            <variable name="PEDESTRIAN_GREEN_LIGHT">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    56
              <type>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    57
                <BOOL/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    58
              </type>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    59
            </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    60
          </outputVars>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    61
          <localVars>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    62
            <variable name="TON1">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    63
              <type>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    64
                <derived name="TON"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    65
              </type>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    66
            </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    67
            <variable name="TON2">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    68
              <type>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    69
                <derived name="TON"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    70
              </type>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    71
            </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    72
            <variable name="ALLOW_CARS">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    73
              <type>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    74
                <BOOL/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    75
              </type>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    76
            </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    77
            <variable name="WARN_CARS">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    78
              <type>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    79
                <BOOL/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    80
              </type>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    81
            </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    82
            <variable name="STOP_CARS">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    83
              <type>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    84
                <BOOL/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    85
              </type>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    86
            </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    87
            <variable name="ALLOW_PEDESTRIANS">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    88
              <type>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    89
                <BOOL/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    90
              </type>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    91
            </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    92
            <variable name="STOP_PEDESTRIANS">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    93
              <type>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    94
                <BOOL/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    95
              </type>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    96
            </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    97
            <variable name="TON3">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    98
              <type>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
    99
                <derived name="TON"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   100
              </type>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   101
            </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   102
            <variable name="R_TRIG0">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   103
              <type>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   104
                <derived name="R_TRIG"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   105
              </type>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   106
            </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   107
            <variable name="R_TRIG1">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   108
              <type>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   109
                <derived name="R_TRIG"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   110
              </type>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   111
            </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   112
            <variable name="SR0">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   113
              <type>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   114
                <derived name="SR"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   115
              </type>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   116
            </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   117
          </localVars>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   118
        </interface>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   119
        <actions>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   120
          <action name="BLINK_ORANGE_LIGHT">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   121
            <body>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   122
              <LD>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1546
diff changeset
   123
                <leftPowerRail localId="1" height="40" width="3">
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   124
                  <position x="54" y="123"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   125
                  <connectionPointOut formalParameter="">
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1546
diff changeset
   126
                    <relPosition x="3" y="20"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   127
                  </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   128
                </leftPowerRail>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   129
                <contact localId="2" height="15" width="21" negated="true">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   130
                  <position x="121" y="135"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   131
                  <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   132
                    <relPosition x="0" y="8"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   133
                    <connection refLocalId="1">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   134
                      <position x="121" y="143"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   135
                      <position x="56" y="143"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   136
                    </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   137
                  </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   138
                  <connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   139
                    <relPosition x="21" y="8"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   140
                  </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   141
                  <variable>ORANGE_LIGHT</variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   142
                </contact>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   143
                <block localId="3" width="97" height="102" typeName="TON" instanceName="TON1">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   144
                  <position x="216" y="103"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   145
                  <inputVariables>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   146
                    <variable formalParameter="IN">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   147
                      <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   148
                        <relPosition x="0" y="40"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   149
                        <connection refLocalId="2">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   150
                          <position x="216" y="143"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   151
                          <position x="142" y="143"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   152
                        </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   153
                      </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   154
                    </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   155
                    <variable formalParameter="PT">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   156
                      <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   157
                        <relPosition x="0" y="81"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   158
                        <connection refLocalId="4">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   159
                          <position x="216" y="184"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   160
                          <position x="151" y="184"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   161
                        </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   162
                      </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   163
                    </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   164
                  </inputVariables>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   165
                  <inOutVariables/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   166
                  <outputVariables>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   167
                    <variable formalParameter="Q">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   168
                      <connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   169
                        <relPosition x="97" y="40"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   170
                      </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   171
                    </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   172
                    <variable formalParameter="ET">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   173
                      <connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   174
                        <relPosition x="97" y="81"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   175
                      </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   176
                    </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   177
                  </outputVariables>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   178
                </block>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   179
                <inVariable localId="4" height="37" width="76" negated="false">
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   180
                  <position x="75" y="166"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   181
                  <connectionPointOut>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   182
                    <relPosition x="76" y="18"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   183
                  </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   184
                  <expression>T#500ms</expression>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   185
                </inVariable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   186
                <block localId="5" width="97" height="106" typeName="TON" instanceName="TON2">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   187
                  <position x="216" y="251"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   188
                  <inputVariables>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   189
                    <variable formalParameter="IN">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   190
                      <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   191
                        <relPosition x="0" y="41"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   192
                        <connection refLocalId="14">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   193
                          <position x="216" y="292"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   194
                          <position x="155" y="292"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   195
                        </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   196
                      </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   197
                    </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   198
                    <variable formalParameter="PT">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   199
                      <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   200
                        <relPosition x="0" y="84"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   201
                        <connection refLocalId="15">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   202
                          <position x="216" y="335"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   203
                          <position x="162" y="335"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   204
                        </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   205
                      </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   206
                    </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   207
                  </inputVariables>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   208
                  <inOutVariables/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   209
                  <outputVariables>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   210
                    <variable formalParameter="Q">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   211
                      <connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   212
                        <relPosition x="97" y="41"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   213
                      </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   214
                    </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   215
                    <variable formalParameter="ET">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   216
                      <connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   217
                        <relPosition x="97" y="84"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   218
                      </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   219
                    </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   220
                  </outputVariables>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   221
                </block>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   222
                <coil localId="6" height="15" width="21" storage="reset">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   223
                  <position x="517" y="284"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   224
                  <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   225
                    <relPosition x="0" y="8"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   226
                    <connection refLocalId="10" formalParameter="Q">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   227
                      <position x="517" y="292"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   228
                      <position x="427" y="292"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   229
                    </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   230
                  </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   231
                  <connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   232
                    <relPosition x="21" y="8"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   233
                  </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   234
                  <variable>ORANGE_LIGHT</variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   235
                </coil>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1546
diff changeset
   236
                <rightPowerRail localId="7" height="40" width="3">
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   237
                  <position x="598" y="123"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   238
                  <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   239
                    <relPosition x="0" y="20"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   240
                    <connection refLocalId="8">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   241
                      <position x="598" y="143"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   242
                      <position x="530" y="143"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   243
                    </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   244
                  </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   245
                </rightPowerRail>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   246
                <coil localId="8" height="15" width="21" storage="set">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   247
                  <position x="509" y="135"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   248
                  <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   249
                    <relPosition x="0" y="8"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   250
                    <connection refLocalId="11" formalParameter="Q">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   251
                      <position x="509" y="143"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   252
                      <position x="428" y="143"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   253
                    </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   254
                  </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   255
                  <connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   256
                    <relPosition x="21" y="8"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   257
                  </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   258
                  <variable>ORANGE_LIGHT</variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   259
                </coil>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1546
diff changeset
   260
                <comment localId="9" height="52" width="318">
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1546
diff changeset
   261
                  <position x="51" y="11"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   262
                  <content>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   263
                    <xhtml:p><![CDATA[This action makes the orange light blink]]></xhtml:p>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   264
                  </content>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   265
                </comment>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1546
diff changeset
   266
                <block localId="10" width="58" height="40" typeName="R_TRIG" instanceName="R_TRIG0">
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   267
                  <position x="370" y="262"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   268
                  <inputVariables>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   269
                    <variable formalParameter="CLK">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   270
                      <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   271
                        <relPosition x="0" y="30"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   272
                        <connection refLocalId="5" formalParameter="Q">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   273
                          <position x="370" y="292"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   274
                          <position x="313" y="292"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   275
                        </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   276
                      </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   277
                    </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   278
                  </inputVariables>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   279
                  <inOutVariables/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   280
                  <outputVariables>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   281
                    <variable formalParameter="Q">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   282
                      <connectionPointOut>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1546
diff changeset
   283
                        <relPosition x="58" y="30"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   284
                      </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   285
                    </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   286
                  </outputVariables>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   287
                </block>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1546
diff changeset
   288
                <block localId="11" width="58" height="40" typeName="R_TRIG" instanceName="R_TRIG1">
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   289
                  <position x="371" y="113"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   290
                  <inputVariables>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   291
                    <variable formalParameter="CLK">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   292
                      <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   293
                        <relPosition x="0" y="30"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   294
                        <connection refLocalId="3" formalParameter="Q">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   295
                          <position x="371" y="143"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   296
                          <position x="313" y="143"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   297
                        </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   298
                      </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   299
                    </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   300
                  </inputVariables>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   301
                  <inOutVariables/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   302
                  <outputVariables>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   303
                    <variable formalParameter="Q">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   304
                      <connectionPointOut>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1546
diff changeset
   305
                        <relPosition x="58" y="30"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   306
                      </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   307
                    </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   308
                  </outputVariables>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   309
                </block>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1546
diff changeset
   310
                <rightPowerRail localId="12" height="40" width="3">
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   311
                  <position x="597" y="272"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   312
                  <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   313
                    <relPosition x="0" y="20"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   314
                    <connection refLocalId="6">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   315
                      <position x="597" y="292"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   316
                      <position x="538" y="292"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   317
                    </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   318
                  </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   319
                </rightPowerRail>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1546
diff changeset
   320
                <leftPowerRail localId="13" height="40" width="3">
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   321
                  <position x="67" y="272"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   322
                  <connectionPointOut formalParameter="">
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1546
diff changeset
   323
                    <relPosition x="3" y="20"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   324
                  </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   325
                </leftPowerRail>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   326
                <contact localId="14" height="15" width="21">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   327
                  <position x="134" y="284"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   328
                  <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   329
                    <relPosition x="0" y="8"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   330
                    <connection refLocalId="13">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   331
                      <position x="134" y="292"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   332
                      <position x="69" y="292"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   333
                    </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   334
                  </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   335
                  <connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   336
                    <relPosition x="21" y="8"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   337
                  </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   338
                  <variable>ORANGE_LIGHT</variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   339
                </contact>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   340
                <inVariable localId="15" height="36" width="77" negated="false">
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   341
                  <position x="85" y="317"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   342
                  <connectionPointOut>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   343
                    <relPosition x="77" y="18"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   344
                  </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   345
                  <expression>T#500ms</expression>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   346
                </inVariable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   347
              </LD>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   348
            </body>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   349
          </action>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   350
        </actions>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   351
        <transitions>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   352
          <transition name="STOP">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   353
            <body>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   354
              <FBD>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   355
                <block localId="42" width="59" height="53" typeName="NOT" executionOrderId="0">
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   356
                  <position x="237" y="31"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   357
                  <inputVariables>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   358
                    <variable formalParameter="IN">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   359
                      <connectionPointIn>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   360
                        <relPosition x="0" y="36"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   361
                        <connection refLocalId="43">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   362
                          <position x="237" y="67"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   363
                          <position x="202" y="67"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   364
                        </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   365
                      </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   366
                    </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   367
                  </inputVariables>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   368
                  <inOutVariables/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   369
                  <outputVariables>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   370
                    <variable formalParameter="OUT">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   371
                      <connectionPointOut>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   372
                        <relPosition x="59" y="36"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   373
                      </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   374
                    </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   375
                  </outputVariables>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   376
                </block>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   377
                <inVariable localId="43" height="39" width="164" executionOrderId="0" negated="false">
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   378
                  <position x="38" y="48"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   379
                  <connectionPointOut>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   380
                    <relPosition x="164" y="19"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   381
                  </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   382
                  <expression>SWITCH_BUTTON</expression>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   383
                </inVariable>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   384
                <outVariable localId="44" height="40" width="46" executionOrderId="0" negated="false">
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   385
                  <position x="351" y="47"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   386
                  <connectionPointIn>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   387
                    <relPosition x="0" y="20"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   388
                    <connection refLocalId="42" formalParameter="OUT">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   389
                      <position x="351" y="67"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   390
                      <position x="296" y="67"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   391
                    </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   392
                  </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   393
                  <expression>STOP</expression>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   394
                </outVariable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   395
              </FBD>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   396
            </body>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   397
          </transition>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   398
        </transitions>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   399
        <body>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   400
          <SFC>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   401
            <step localId="1" height="37" width="121" name="Standstill" initialStep="true">
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   402
              <position x="509" y="31"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   403
              <connectionPointIn>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   404
                <relPosition x="60" y="0"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   405
                <connection refLocalId="39">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   406
                  <position x="569" y="31"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   407
                  <position x="569" y="11"/>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   408
                  <position x="963" y="11"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   409
                  <position x="963" y="1151"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   410
                  <position x="776" y="1151"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   411
                  <position x="776" y="1097"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   412
                </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   413
              </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   414
              <connectionPointOut formalParameter="">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   415
                <relPosition x="60" y="37"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   416
              </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   417
              <connectionPointOutAction formalParameter="">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   418
                <relPosition x="121" y="18"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   419
              </connectionPointOutAction>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   420
            </step>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   421
            <transition localId="2" height="2" width="20">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   422
              <position x="559" y="222"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   423
              <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   424
                <relPosition x="10" y="0"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   425
                <connection refLocalId="1">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   426
                  <position x="569" y="222"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   427
                  <position x="569" y="68"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   428
                </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   429
              </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   430
              <connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   431
                <relPosition x="10" y="2"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   432
              </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   433
              <condition>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   434
                <inline name="">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   435
                  <ST>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   436
                    <xhtml:p><![CDATA[SWITCH_BUTTON]]></xhtml:p>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   437
                  </ST>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   438
                </inline>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   439
              </condition>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   440
            </transition>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   441
            <step localId="3" height="30" width="118" name="ORANGE">
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   442
              <position x="510" y="250"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   443
              <connectionPointIn>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   444
                <relPosition x="59" y="0"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   445
                <connection refLocalId="2">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   446
                  <position x="569" y="250"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   447
                  <position x="569" y="224"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   448
                </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   449
              </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   450
              <connectionPointOut formalParameter="">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   451
                <relPosition x="59" y="30"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   452
              </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   453
              <connectionPointOutAction formalParameter="">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   454
                <relPosition x="118" y="15"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   455
              </connectionPointOutAction>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   456
            </step>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   457
            <transition localId="6" height="2" width="20">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   458
              <position x="559" y="376"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   459
              <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   460
                <relPosition x="10" y="0"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   461
                <connection refLocalId="15">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   462
                  <position x="569" y="376"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   463
                  <position x="569" y="336"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   464
                </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   465
              </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   466
              <connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   467
                <relPosition x="10" y="2"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   468
              </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   469
              <condition>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   470
                <inline name="">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   471
                  <ST>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   472
                    <xhtml:p><![CDATA[STOP_CARS]]></xhtml:p>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   473
                  </ST>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   474
                </inline>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   475
              </condition>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   476
            </transition>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   477
            <actionBlock localId="8" width="231" height="162">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   478
              <position x="711" y="34"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   479
              <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   480
                <relPosition x="0" y="15"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   481
                <connection refLocalId="1">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   482
                  <position x="711" y="49"/>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   483
                  <position x="630" y="49"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   484
                </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   485
              </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   486
              <action localId="0" qualifier="P">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   487
                <relPosition x="0" y="0"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   488
                <inline>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   489
                  <ST>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   490
                    <xhtml:p><![CDATA[ORANGE_LIGHT := 1;]]></xhtml:p>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   491
                  </ST>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   492
                </inline>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   493
              </action>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   494
              <action localId="0">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   495
                <relPosition x="0" y="0"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   496
                <reference name="BLINK_ORANGE_LIGHT"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   497
              </action>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   498
              <action localId="0" qualifier="R">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   499
                <relPosition x="0" y="0"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   500
                <reference name="PEDESTRIAN_RED_LIGHT"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   501
              </action>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   502
              <action localId="0" qualifier="R">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   503
                <relPosition x="0" y="0"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   504
                <reference name="PEDESTRIAN_GREEN_LIGHT"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   505
              </action>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   506
              <action localId="0" qualifier="R">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   507
                <relPosition x="0" y="0"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   508
                <reference name="RED_LIGHT"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   509
              </action>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   510
              <action localId="0" qualifier="R">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   511
                <relPosition x="0" y="0"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   512
                <reference name="GREEN_LIGHT"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   513
              </action>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   514
            </actionBlock>
1546
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
   515
            <actionBlock localId="9" width="232" height="125">
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   516
              <position x="711" y="250"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   517
              <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   518
                <relPosition x="0" y="15"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   519
                <connection refLocalId="3">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   520
                  <position x="711" y="265"/>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   521
                  <position x="628" y="265"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   522
                </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   523
              </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   524
              <action localId="0" qualifier="R">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   525
                <relPosition x="0" y="0"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   526
                <reference name="GREEN_LIGHT"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   527
              </action>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   528
              <action localId="0" qualifier="S">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   529
                <relPosition x="0" y="0"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   530
                <reference name="ORANGE_LIGHT"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   531
              </action>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   532
              <action localId="0" qualifier="S">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   533
                <relPosition x="0" y="0"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   534
                <reference name="PEDESTRIAN_RED_LIGHT"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   535
              </action>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   536
              <action localId="0" qualifier="D" duration="T#2s">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   537
                <relPosition x="0" y="0"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   538
                <reference name="STOP_CARS"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   539
              </action>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   540
            </actionBlock>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   541
            <step localId="10" height="34" width="92" name="RED">
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   542
              <position x="523" y="411"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   543
              <connectionPointIn>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   544
                <relPosition x="46" y="0"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   545
                <connection refLocalId="6">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   546
                  <position x="569" y="411"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   547
                  <position x="569" y="378"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   548
                </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   549
              </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   550
              <connectionPointOut formalParameter="">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   551
                <relPosition x="46" y="34"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   552
              </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   553
              <connectionPointOutAction formalParameter="">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   554
                <relPosition x="92" y="17"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   555
              </connectionPointOutAction>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   556
            </step>
1546
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
   557
            <actionBlock localId="11" width="235" height="103">
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   558
              <position x="710" y="413"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   559
              <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   560
                <relPosition x="0" y="15"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   561
                <connection refLocalId="10">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   562
                  <position x="710" y="428"/>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   563
                  <position x="615" y="428"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   564
                </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   565
              </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   566
              <action localId="0" qualifier="R">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   567
                <relPosition x="0" y="0"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   568
                <reference name="ORANGE_LIGHT"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   569
              </action>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   570
              <action localId="0" qualifier="S">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   571
                <relPosition x="0" y="0"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   572
                <reference name="RED_LIGHT"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   573
              </action>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   574
              <action localId="0" qualifier="D" duration="T#2s">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   575
                <relPosition x="0" y="0"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   576
                <reference name="ALLOW_PEDESTRIANS"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   577
              </action>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   578
            </actionBlock>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   579
            <transition localId="12" height="2" width="20">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   580
              <position x="559" y="533"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   581
              <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   582
                <relPosition x="10" y="0"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   583
                <connection refLocalId="7">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   584
                  <position x="569" y="533"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   585
                  <position x="569" y="487"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   586
                </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   587
              </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   588
              <connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   589
                <relPosition x="10" y="2"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   590
              </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   591
              <condition>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   592
                <inline name="">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   593
                  <ST>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   594
                    <xhtml:p><![CDATA[ALLOW_PEDESTRIANS]]></xhtml:p>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   595
                  </ST>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   596
                </inline>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   597
              </condition>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   598
            </transition>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   599
            <selectionDivergence localId="15" height="1" width="154">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   600
              <position x="415" y="335"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   601
              <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   602
                <relPosition x="154" y="0"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   603
                <connection refLocalId="3">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   604
                  <position x="569" y="335"/>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   605
                  <position x="569" y="280"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   606
                </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   607
              </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   608
              <connectionPointOut formalParameter="">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   609
                <relPosition x="0" y="1"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   610
              </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   611
              <connectionPointOut formalParameter="">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   612
                <relPosition x="154" y="1"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   613
              </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   614
            </selectionDivergence>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   615
            <transition localId="16" height="2" width="20">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   616
              <position x="405" y="377"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   617
              <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   618
                <relPosition x="10" y="0"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   619
                <connection refLocalId="15">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   620
                  <position x="415" y="377"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   621
                  <position x="415" y="336"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   622
                </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   623
              </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   624
              <connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   625
                <relPosition x="10" y="2"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   626
              </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   627
              <condition>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   628
                <reference name="STOP"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   629
              </condition>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   630
            </transition>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   631
            <jumpStep localId="17" height="13" width="12" targetName="Standstill">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   632
              <position x="409" y="418"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   633
              <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   634
                <relPosition x="6" y="0"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   635
                <connection refLocalId="16">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   636
                  <position x="415" y="418"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   637
                  <position x="415" y="379"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   638
                </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   639
              </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   640
            </jumpStep>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   641
            <transition localId="4" height="2" width="20">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   642
              <position x="400" y="528"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   643
              <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   644
                <relPosition x="10" y="0"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   645
                <connection refLocalId="7">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   646
                  <position x="410" y="528"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   647
                  <position x="410" y="487"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   648
                </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   649
              </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   650
              <connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   651
                <relPosition x="10" y="2"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   652
              </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   653
              <condition>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   654
                <reference name="STOP"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   655
              </condition>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   656
            </transition>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   657
            <jumpStep localId="5" height="13" width="12" targetName="Standstill">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   658
              <position x="404" y="553"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   659
              <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   660
                <relPosition x="6" y="0"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   661
                <connection refLocalId="4">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   662
                  <position x="410" y="553"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   663
                  <position x="410" y="530"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   664
                </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   665
              </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   666
            </jumpStep>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   667
            <selectionDivergence localId="7" height="1" width="159">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   668
              <position x="410" y="486"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   669
              <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   670
                <relPosition x="159" y="0"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   671
                <connection refLocalId="10">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   672
                  <position x="569" y="486"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   673
                  <position x="569" y="445"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   674
                </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   675
              </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   676
              <connectionPointOut formalParameter="">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   677
                <relPosition x="0" y="1"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   678
              </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   679
              <connectionPointOut formalParameter="">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   680
                <relPosition x="159" y="1"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   681
              </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   682
            </selectionDivergence>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   683
            <step localId="18" height="32" width="177" name="PEDESTRIAN_GREEN">
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   684
              <position x="481" y="572"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   685
              <connectionPointIn>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   686
                <relPosition x="88" y="0"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   687
                <connection refLocalId="12">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   688
                  <position x="569" y="572"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   689
                  <position x="569" y="535"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   690
                </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   691
              </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   692
              <connectionPointOut formalParameter="">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   693
                <relPosition x="88" y="32"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   694
              </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   695
              <connectionPointOutAction formalParameter="">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   696
                <relPosition x="177" y="16"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   697
              </connectionPointOutAction>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   698
            </step>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1546
diff changeset
   699
            <actionBlock localId="19" width="247" height="110">
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   700
              <position x="708" y="573"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   701
              <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   702
                <relPosition x="0" y="15"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   703
                <connection refLocalId="18">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   704
                  <position x="708" y="588"/>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   705
                  <position x="658" y="588"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   706
                </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   707
              </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   708
              <action localId="0" qualifier="S">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   709
                <relPosition x="0" y="0"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   710
                <reference name="PEDESTRIAN_GREEN_LIGHT"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   711
              </action>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   712
              <action localId="0" qualifier="R">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   713
                <relPosition x="0" y="0"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   714
                <reference name="PEDESTRIAN_RED_LIGHT"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   715
              </action>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   716
              <action localId="0" qualifier="D" duration="T#10s">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   717
                <relPosition x="0" y="0"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   718
                <reference name="STOP_PEDESTRIANS"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   719
              </action>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   720
            </actionBlock>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   721
            <transition localId="20" height="2" width="20">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   722
              <position x="400" y="653"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   723
              <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   724
                <relPosition x="10" y="0"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   725
                <connection refLocalId="22">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   726
                  <position x="410" y="653"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   727
                  <position x="410" y="626"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   728
                </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   729
              </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   730
              <connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   731
                <relPosition x="10" y="2"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   732
              </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   733
              <condition>
1546
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
   734
                <inline name="">
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
   735
                  <ST>
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
   736
                    <xhtml:p><![CDATA[NOT SWITCH_BUTTON]]></xhtml:p>
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
   737
                  </ST>
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
   738
                </inline>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   739
              </condition>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   740
            </transition>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   741
            <jumpStep localId="21" height="13" width="12" targetName="Standstill">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   742
              <position x="404" y="694"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   743
              <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   744
                <relPosition x="6" y="0"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   745
                <connection refLocalId="20">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   746
                  <position x="410" y="694"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   747
                  <position x="410" y="655"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   748
                </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   749
              </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   750
            </jumpStep>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   751
            <selectionDivergence localId="22" height="1" width="159">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   752
              <position x="410" y="625"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   753
              <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   754
                <relPosition x="159" y="0"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   755
                <connection refLocalId="18">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   756
                  <position x="569" y="625"/>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   757
                  <position x="569" y="615"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   758
                  <position x="569" y="615"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   759
                  <position x="569" y="604"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   760
                </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   761
              </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   762
              <connectionPointOut formalParameter="">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   763
                <relPosition x="0" y="1"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   764
              </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   765
              <connectionPointOut formalParameter="">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   766
                <relPosition x="159" y="1"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   767
              </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   768
            </selectionDivergence>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   769
            <transition localId="23" height="2" width="20">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   770
              <position x="559" y="709"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   771
              <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   772
                <relPosition x="10" y="0"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   773
                <connection refLocalId="22">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   774
                  <position x="569" y="709"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   775
                  <position x="569" y="626"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   776
                </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   777
              </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   778
              <connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   779
                <relPosition x="10" y="2"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   780
              </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   781
              <condition>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   782
                <inline name="">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   783
                  <ST>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   784
                    <xhtml:p><![CDATA[STOP_PEDESTRIANS]]></xhtml:p>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   785
                  </ST>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   786
                </inline>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   787
              </condition>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   788
            </transition>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1546
diff changeset
   789
            <step localId="24" height="30" width="148" name="PEDESTRIAN_RED">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   790
              <position x="495" y="748"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   791
              <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   792
                <relPosition x="74" y="0"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   793
                <connection refLocalId="23">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   794
                  <position x="569" y="748"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   795
                  <position x="569" y="711"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   796
                </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   797
              </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   798
              <connectionPointOut formalParameter="">
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1546
diff changeset
   799
                <relPosition x="74" y="30"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   800
              </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   801
              <connectionPointOutAction formalParameter="">
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1546
diff changeset
   802
                <relPosition x="148" y="15"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   803
              </connectionPointOutAction>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   804
            </step>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1546
diff changeset
   805
            <actionBlock localId="25" width="239" height="110">
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   806
              <position x="708" y="748"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   807
              <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   808
                <relPosition x="0" y="15"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   809
                <connection refLocalId="24">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   810
                  <position x="708" y="763"/>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   811
                  <position x="643" y="763"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   812
                </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   813
              </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   814
              <action localId="0" qualifier="S">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   815
                <relPosition x="0" y="0"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   816
                <reference name="PEDESTRIAN_RED_LIGHT"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   817
              </action>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   818
              <action localId="0" qualifier="R">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   819
                <relPosition x="0" y="0"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   820
                <reference name="PEDESTRIAN_GREEN_LIGHT"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   821
              </action>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   822
              <action localId="0" qualifier="D" duration="T#2s">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   823
                <relPosition x="0" y="0"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   824
                <reference name="ALLOW_CARS"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   825
              </action>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   826
            </actionBlock>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   827
            <transition localId="26" height="2" width="20">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   828
              <position x="400" y="857"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   829
              <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   830
                <relPosition x="10" y="0"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   831
                <connection refLocalId="28">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   832
                  <position x="410" y="857"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   833
                  <position x="410" y="816"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   834
                </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   835
              </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   836
              <connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   837
                <relPosition x="10" y="2"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   838
              </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   839
              <condition>
1546
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
   840
                <connectionPointIn>
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
   841
                  <connection refLocalId="48">
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
   842
                    <position x="400" y="858"/>
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
   843
                    <position x="290" y="858"/>
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
   844
                  </connection>
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
   845
                </connectionPointIn>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   846
              </condition>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   847
            </transition>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   848
            <jumpStep localId="27" height="13" width="12" targetName="Standstill">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   849
              <position x="404" y="898"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   850
              <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   851
                <relPosition x="6" y="0"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   852
                <connection refLocalId="26">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   853
                  <position x="410" y="898"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   854
                  <position x="410" y="859"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   855
                </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   856
              </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   857
            </jumpStep>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   858
            <selectionDivergence localId="28" height="1" width="159">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   859
              <position x="410" y="815"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   860
              <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   861
                <relPosition x="159" y="0"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   862
                <connection refLocalId="24">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   863
                  <position x="569" y="815"/>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   864
                  <position x="569" y="778"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   865
                </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   866
              </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   867
              <connectionPointOut formalParameter="">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   868
                <relPosition x="0" y="1"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   869
              </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   870
              <connectionPointOut formalParameter="">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   871
                <relPosition x="159" y="1"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   872
              </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   873
            </selectionDivergence>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   874
            <transition localId="29" height="2" width="20">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   875
              <position x="559" y="879"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   876
              <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   877
                <relPosition x="10" y="0"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   878
                <connection refLocalId="28">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   879
                  <position x="569" y="879"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   880
                  <position x="569" y="816"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   881
                </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   882
              </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   883
              <connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   884
                <relPosition x="10" y="2"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   885
              </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   886
              <condition>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   887
                <inline name="">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   888
                  <ST>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   889
                    <xhtml:p><![CDATA[ALLOW_CARS]]></xhtml:p>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   890
                  </ST>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   891
                </inline>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   892
              </condition>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   893
            </transition>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   894
            <step localId="30" height="33" width="92" name="GREEN">
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   895
              <position x="523" y="930"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   896
              <connectionPointIn>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   897
                <relPosition x="46" y="0"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   898
                <connection refLocalId="29">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   899
                  <position x="569" y="930"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   900
                  <position x="569" y="881"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   901
                </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   902
              </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   903
              <connectionPointOut formalParameter="">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   904
                <relPosition x="46" y="33"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   905
              </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   906
              <connectionPointOutAction formalParameter="">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   907
                <relPosition x="92" y="16"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   908
              </connectionPointOutAction>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   909
            </step>
1546
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
   910
            <actionBlock localId="31" width="227" height="110">
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   911
              <position x="709" y="931"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   912
              <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   913
                <relPosition x="0" y="15"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   914
                <connection refLocalId="30">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   915
                  <position x="709" y="946"/>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   916
                  <position x="615" y="946"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   917
                </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   918
              </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   919
              <action localId="0" qualifier="S">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   920
                <relPosition x="0" y="0"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   921
                <reference name="GREEN_LIGHT"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   922
              </action>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   923
              <action localId="0" qualifier="R">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   924
                <relPosition x="0" y="0"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   925
                <reference name="RED_LIGHT"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   926
              </action>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   927
              <action localId="0" qualifier="D" duration="T#20s">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   928
                <relPosition x="0" y="0"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   929
                <reference name="WARN_CARS"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   930
              </action>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   931
            </actionBlock>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   932
            <block localId="32" width="89" height="94" typeName="TON" instanceName="TON3">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   933
              <position x="308" y="1053"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   934
              <inputVariables>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   935
                <variable formalParameter="IN">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   936
                  <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   937
                    <relPosition x="0" y="38"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   938
                    <connection refLocalId="44" formalParameter="Q1">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   939
                      <position x="308" y="1091"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   940
                      <position x="291" y="1091"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   941
                      <position x="291" y="1065"/>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   942
                      <position x="275" y="1065"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   943
                    </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   944
                  </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   945
                </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   946
                <variable formalParameter="PT">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   947
                  <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   948
                    <relPosition x="0" y="75"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   949
                    <connection refLocalId="34">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   950
                      <position x="308" y="1128"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   951
                      <position x="270" y="1128"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   952
                    </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   953
                  </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   954
                </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   955
              </inputVariables>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   956
              <inOutVariables/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   957
              <outputVariables>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   958
                <variable formalParameter="Q">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   959
                  <connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   960
                    <relPosition x="89" y="38"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   961
                  </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   962
                </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   963
                <variable formalParameter="ET">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   964
                  <connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   965
                    <relPosition x="89" y="75"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   966
                  </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   967
                </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   968
              </outputVariables>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   969
            </block>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   970
            <inVariable localId="33" height="36" width="168" negated="false">
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   971
              <position x="15" y="1047"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   972
              <connectionPointOut>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   973
                <relPosition x="168" y="18"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   974
              </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   975
              <expression>PEDESTRIAN_BUTTON</expression>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   976
            </inVariable>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   977
            <inVariable localId="34" height="33" width="53" negated="false">
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   978
              <position x="217" y="1112"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   979
              <connectionPointOut>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   980
                <relPosition x="53" y="16"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   981
              </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   982
              <expression>T#2s</expression>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   983
            </inVariable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   984
            <block localId="35" width="67" height="60" typeName="OR">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   985
              <position x="459" y="1061"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   986
              <inputVariables>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   987
                <variable formalParameter="IN1">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   988
                  <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   989
                    <relPosition x="0" y="30"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   990
                    <connection refLocalId="32" formalParameter="Q">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   991
                      <position x="459" y="1091"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   992
                      <position x="397" y="1091"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   993
                    </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   994
                  </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   995
                </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   996
                <variable formalParameter="IN2">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   997
                  <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   998
                    <relPosition x="0" y="50"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
   999
                    <connection refLocalId="36">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1000
                      <position x="459" y="1111"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1001
                      <position x="427" y="1111"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1002
                      <position x="427" y="1195"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1003
                      <position x="260" y="1195"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1004
                    </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1005
                  </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1006
                </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1007
              </inputVariables>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1008
              <inOutVariables/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1009
              <outputVariables>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1010
                <variable formalParameter="OUT">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1011
                  <connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1012
                    <relPosition x="67" y="30"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1013
                  </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1014
                </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1015
              </outputVariables>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1016
            </block>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1546
diff changeset
  1017
            <inVariable localId="36" height="30" width="97" negated="false">
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1018
              <position x="163" y="1182"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1019
              <connectionPointOut>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1546
diff changeset
  1020
                <relPosition x="97" y="15"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1021
              </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1022
              <expression>WARN_CARS</expression>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1023
            </inVariable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1024
            <transition localId="37" height="2" width="20">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1025
              <position x="559" y="1090"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1026
              <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1027
                <relPosition x="10" y="0"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1028
                <connection refLocalId="38">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1029
                  <position x="569" y="1090"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1030
                  <position x="569" y="1060"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1031
                </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1032
              </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1033
              <connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1034
                <relPosition x="10" y="2"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1035
              </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1036
              <condition>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1037
                <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1038
                  <connection refLocalId="35" formalParameter="OUT">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1039
                    <position x="559" y="1091"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1040
                    <position x="526" y="1091"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1041
                  </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1042
                </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1043
              </condition>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1044
            </transition>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1045
            <selectionDivergence localId="38" height="1" width="207">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1046
              <position x="569" y="1059"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1047
              <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1048
                <relPosition x="0" y="0"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1049
                <connection refLocalId="30">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1050
                  <position x="569" y="1059"/>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1051
                  <position x="569" y="963"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1052
                </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1053
              </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1054
              <connectionPointOut formalParameter="">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1055
                <relPosition x="0" y="1"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1056
              </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1057
              <connectionPointOut formalParameter="">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1058
                <relPosition x="207" y="1"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1059
              </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1060
            </selectionDivergence>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1061
            <transition localId="39" height="2" width="20">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1062
              <position x="766" y="1095"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1063
              <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1064
                <relPosition x="10" y="0"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1065
                <connection refLocalId="38">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1066
                  <position x="776" y="1095"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1067
                  <position x="776" y="1060"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1068
                </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1069
              </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1070
              <connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1071
                <relPosition x="10" y="2"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1072
              </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1073
              <condition>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1074
                <inline name="">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1075
                  <ST>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1076
                    <xhtml:p><![CDATA[NOT SWITCH_BUTTON]]></xhtml:p>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1077
                  </ST>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1078
                </inline>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1079
              </condition>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1080
            </transition>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1081
            <jumpStep localId="41" height="13" width="12" targetName="ORANGE">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1082
              <position x="563" y="1137"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1083
              <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1084
                <relPosition x="6" y="0"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1085
                <connection refLocalId="37">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1086
                  <position x="569" y="1137"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1087
                  <position x="569" y="1092"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1088
                </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1089
              </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1090
            </jumpStep>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1546
diff changeset
  1091
            <block localId="44" width="51" height="60" typeName="SR" instanceName="SR0">
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1092
              <position x="224" y="1035"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1093
              <inputVariables>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1094
                <variable formalParameter="S1">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1095
                  <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1096
                    <relPosition x="0" y="30"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1097
                    <connection refLocalId="33">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1098
                      <position x="224" y="1065"/>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1099
                      <position x="183" y="1065"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1100
                    </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1101
                  </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1102
                </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1103
                <variable formalParameter="R">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1104
                  <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1105
                    <relPosition x="0" y="50"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1106
                    <connection refLocalId="32" formalParameter="Q">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1107
                      <position x="224" y="1085"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1108
                      <position x="203" y="1085"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1109
                      <position x="203" y="1167"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1110
                      <position x="416" y="1167"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1111
                      <position x="416" y="1091"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1112
                      <position x="397" y="1091"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1113
                    </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1114
                  </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1115
                </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1116
              </inputVariables>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1117
              <inOutVariables/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1118
              <outputVariables>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1119
                <variable formalParameter="Q1">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1120
                  <connectionPointOut>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1546
diff changeset
  1121
                    <relPosition x="51" y="30"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1122
                  </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1123
                </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1124
              </outputVariables>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1125
            </block>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1126
            <comment localId="45" height="767" width="753">
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1127
              <position x="973" y="21"/>
1546
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1128
              <content>
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1129
                <xhtml:p><![CDATA[*** Description of SFC action qualifiers ***
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1130
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1131
N : non-stored - The action code body is executed or the Boolean variable is set as
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1132
long as the step is active.
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1133
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1134
R : overriding reset &#8211; When the step has previously been executed with the S
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1135
(including DS, DS, and SL) qualifier, the R qualifier will stop the execution of the
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1136
code or reset the Boolean variable.
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1137
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1138
S : set (stored) - The action code body is executed or the Boolean variable is set.
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1139
This state is stored as soon as the step becomes active. It can only be reset
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1140
explicitly by associating the same action to a different step using the qualifier 'R'.
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1141
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1142
L : time limited - The action code body is executed or the Boolean variable is set as
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1143
long as the step is active but maximal for the fixed time interval.
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1144
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1145
D : time delayed - The action code body is executed or the Boolean variable is set
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1146
after the fixed delay time has elapsed. The action remains active as long as the step
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1147
is active. If the step is active shorter than the fixed delay time the action does not
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1148
become active.
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1149
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1150
P : pulse - As soon as the step is active the action code body is executed or the
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1151
Boolean variable is set for one operating cycle. (Note: The code body will then
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1152
execute for one additional operating cycle with the Step.X variable FALSE.)
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1153
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1154
SD : stored and time delayed - the action code body is executed or the Boolean
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1155
variable is stored and set when the fixed delay time has elapsed after the step
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1156
activation, even if the step becomes inactive. The action remains active until it is
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1157
reset. If the step is active shorter than the fixed delay time the action becomes active
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1158
anyway.
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1159
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1160
DS : delayed and stored - The action code body is executed or the Boolean variable
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1161
is set when the fixed delay time has elapsed after the step activation. The action
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1162
remains active until it is reset. If the step is active shorter than the fixed delay time
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1163
the action does not become active.
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1164
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1165
SL : stored and time limited - The action code body is executed or the Boolean
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1166
variable is set and stored for a fixed time interval as soon as the step is active. If the
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1167
step is active shorter than the time interval the action is active for the whole time
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1168
interval anyway. If the action is reset during the time interval the action becomes
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1169
inactive as soon as the action is reset.
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1170
]]></xhtml:p>
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1171
              </content>
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1172
            </comment>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1546
diff changeset
  1173
            <comment localId="46" height="224" width="375">
1546
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1174
              <position x="8" y="326"/>
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1175
              <content>
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1176
                <xhtml:p><![CDATA[Conditions can be written in any IEC 61131-3 language.
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1177
They can be implemented in defferent ways:
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1178
- reference to external implementation;
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1179
- inline implementation;
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1180
- written in FBD or LD on SFC diagram and connected to the condition.
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1181
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1182
See below examples of all these types.]]></xhtml:p>
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1183
              </content>
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1184
            </comment>
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1185
            <leftPowerRail localId="47" height="40" width="3">
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1186
              <position x="189" y="838"/>
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1187
              <connectionPointOut formalParameter="">
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1188
                <relPosition x="3" y="20"/>
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1189
              </connectionPointOut>
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1190
            </leftPowerRail>
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1191
            <contact localId="48" height="15" width="21" negated="true">
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1192
              <position x="269" y="850"/>
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1193
              <connectionPointIn>
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1194
                <relPosition x="0" y="8"/>
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1195
                <connection refLocalId="47">
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1196
                  <position x="269" y="858"/>
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1197
                  <position x="192" y="858"/>
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1198
                </connection>
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1199
              </connectionPointIn>
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1200
              <connectionPointOut>
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1201
                <relPosition x="21" y="8"/>
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1202
              </connectionPointOut>
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1203
              <variable>SWITCH_BUTTON</variable>
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1204
            </contact>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1546
diff changeset
  1205
            <comment localId="13" height="86" width="379">
1546
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1206
              <position x="9" y="28"/>
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1207
              <content>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1208
                <xhtml:p><![CDATA[Sequential function chart (SFC) is commonly used to describe state machines.]]></xhtml:p>
1546
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1209
              </content>
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1210
            </comment>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1211
          </SFC>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1212
        </body>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1213
      </pou>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1214
      <pou name="main_program" pouType="program">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1215
        <interface>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1216
          <localVars>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1217
            <variable name="trafic_light_sequence0">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1218
              <type>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1219
                <derived name="traffic_light_sequence"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1220
              </type>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1221
            </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1222
            <variable name="SwitchButton">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1223
              <type>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1224
                <derived name="Button"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1225
              </type>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1226
            </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1227
            <variable name="PedestrianButton">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1228
              <type>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1229
                <derived name="Button"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1230
              </type>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1231
            </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1232
            <variable name="RedLight">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1233
              <type>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1234
                <derived name="Led"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1235
              </type>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1236
            </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1237
            <variable name="OrangeLight">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1238
              <type>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1239
                <derived name="Led"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1240
              </type>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1241
            </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1242
            <variable name="GreenLight">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1243
              <type>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1244
                <derived name="Led"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1245
              </type>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1246
            </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1247
            <variable name="PedestrianRedLight">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1248
              <type>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1249
                <derived name="Led"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1250
              </type>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1251
            </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1252
            <variable name="PedestrianGreenLight">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1253
              <type>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1254
                <derived name="Led"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1255
              </type>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1256
            </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1257
          </localVars>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1258
        </interface>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1259
        <body>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1260
          <FBD>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1546
diff changeset
  1261
            <block localId="1" width="350" height="836" typeName="traffic_light_sequence" instanceName="trafic_light_sequence0" executionOrderId="0">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1262
              <position x="494" y="462"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1263
              <inputVariables>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1264
                <variable formalParameter="SWITCH_BUTTON">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1265
                  <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1266
                    <relPosition x="0" y="101"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1267
                    <connection refLocalId="2" formalParameter="state_out">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1268
                      <position x="494" y="563"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1269
                      <position x="349" y="563"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1270
                    </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1271
                  </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1272
                </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1273
                <variable formalParameter="PEDESTRIAN_BUTTON">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1274
                  <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1275
                    <relPosition x="0" y="264"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1276
                    <connection refLocalId="3" formalParameter="state_out">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1277
                      <position x="494" y="726"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1278
                      <position x="402" y="726"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1279
                      <position x="402" y="777"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1280
                      <position x="351" y="777"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1281
                    </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1282
                  </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1283
                </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1284
              </inputVariables>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1285
              <inOutVariables/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1286
              <outputVariables>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1287
                <variable formalParameter="RED_LIGHT">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1288
                  <connectionPointOut>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1546
diff changeset
  1289
                    <relPosition x="350" y="101"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1290
                  </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1291
                </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1292
                <variable formalParameter="ORANGE_LIGHT">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1293
                  <connectionPointOut>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1546
diff changeset
  1294
                    <relPosition x="350" y="264"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1295
                  </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1296
                </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1297
                <variable formalParameter="GREEN_LIGHT">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1298
                  <connectionPointOut>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1546
diff changeset
  1299
                    <relPosition x="350" y="427"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1300
                  </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1301
                </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1302
                <variable formalParameter="PEDESTRIAN_RED_LIGHT">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1303
                  <connectionPointOut>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1546
diff changeset
  1304
                    <relPosition x="350" y="590"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1305
                  </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1306
                </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1307
                <variable formalParameter="PEDESTRIAN_GREEN_LIGHT">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1308
                  <connectionPointOut>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1546
diff changeset
  1309
                    <relPosition x="350" y="753"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1310
                  </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1311
                </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1312
              </outputVariables>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1313
            </block>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1314
            <block localId="2" width="159" height="183" typeName="Button" instanceName="SwitchButton" executionOrderId="0">
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1315
              <position x="190" y="527"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1316
              <inputVariables>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1317
                <variable formalParameter="back_id">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1318
                  <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1319
                    <relPosition x="0" y="36"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1320
                    <connection refLocalId="5">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1321
                      <position x="190" y="563"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1322
                      <position x="137" y="563"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1323
                    </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1324
                  </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1325
                </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1326
                <variable formalParameter="sele_id">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1327
                  <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1328
                    <relPosition x="0" y="68"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1329
                    <connection refLocalId="6">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1330
                      <position x="190" y="595"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1331
                      <position x="136" y="595"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1332
                    </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1333
                  </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1334
                </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1335
                <variable formalParameter="toggle">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1336
                  <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1337
                    <relPosition x="0" y="100"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1338
                    <connection refLocalId="4">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1339
                      <position x="190" y="627"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1340
                      <position x="136" y="627"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1341
                    </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1342
                  </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1343
                </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1344
                <variable formalParameter="set_state">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1345
                  <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1346
                    <relPosition x="0" y="132"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1347
                  </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1348
                </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1349
                <variable formalParameter="state_in">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1350
                  <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1351
                    <relPosition x="0" y="164"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1352
                  </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1353
                </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1354
              </inputVariables>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1355
              <inOutVariables/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1356
              <outputVariables>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1357
                <variable formalParameter="state_out">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1358
                  <connectionPointOut>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1359
                    <relPosition x="159" y="36"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1360
                  </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1361
                </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1362
              </outputVariables>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1363
            </block>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1364
            <block localId="3" width="159" height="198" typeName="Button" instanceName="PedestrianButton" executionOrderId="0">
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1365
              <position x="192" y="740"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1366
              <inputVariables>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1367
                <variable formalParameter="back_id">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1368
                  <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1369
                    <relPosition x="0" y="37"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1370
                    <connection refLocalId="7">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1371
                      <position x="192" y="777"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1372
                      <position x="160" y="777"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1373
                    </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1374
                  </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1375
                </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1376
                <variable formalParameter="sele_id">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1377
                  <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1378
                    <relPosition x="0" y="72"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1379
                    <connection refLocalId="8">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1380
                      <position x="192" y="812"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1381
                      <position x="159" y="812"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1382
                    </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1383
                  </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1384
                </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1385
                <variable formalParameter="toggle">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1386
                  <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1387
                    <relPosition x="0" y="107"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1388
                  </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1389
                </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1390
                <variable formalParameter="set_state">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1391
                  <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1392
                    <relPosition x="0" y="142"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1393
                  </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1394
                </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1395
                <variable formalParameter="state_in">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1396
                  <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1397
                    <relPosition x="0" y="177"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1398
                  </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1399
                </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1400
              </inputVariables>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1401
              <inOutVariables/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1402
              <outputVariables>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1403
                <variable formalParameter="state_out">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1404
                  <connectionPointOut>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1405
                    <relPosition x="159" y="37"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1406
                  </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1407
                </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1408
              </outputVariables>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1409
            </block>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1546
diff changeset
  1410
            <inVariable localId="4" height="30" width="18" executionOrderId="0" negated="false">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1411
              <position x="118" y="612"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1412
              <connectionPointOut>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1546
diff changeset
  1413
                <relPosition x="18" y="15"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1414
              </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1415
              <expression>1</expression>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1416
            </inVariable>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1417
            <inVariable localId="5" height="30" width="106" executionOrderId="0" negated="false">
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1418
              <position x="31" y="548"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1419
              <connectionPointOut>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1420
                <relPosition x="106" y="15"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1421
              </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1422
              <expression>'SWITCH_OFF'</expression>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1423
            </inVariable>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1546
diff changeset
  1424
            <inVariable localId="6" height="30" width="105" executionOrderId="0" negated="false">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1425
              <position x="31" y="580"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1426
              <connectionPointOut>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1546
diff changeset
  1427
                <relPosition x="105" y="15"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1428
              </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1429
              <expression>'SWITCH_ON'</expression>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1430
            </inVariable>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1431
            <inVariable localId="7" height="30" width="138" executionOrderId="0" negated="false">
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1432
              <position x="22" y="762"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1433
              <connectionPointOut>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1434
                <relPosition x="138" y="15"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1435
              </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1436
              <expression>'PEDESTRIAN_OFF'</expression>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1437
            </inVariable>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1546
diff changeset
  1438
            <inVariable localId="8" height="30" width="137" executionOrderId="0" negated="false">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1439
              <position x="22" y="797"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1440
              <connectionPointOut>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1546
diff changeset
  1441
                <relPosition x="137" y="15"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1442
              </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1443
              <expression>'PEDESTRIAN_ON'</expression>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1444
            </inVariable>
1546
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1445
            <block localId="9" width="115" height="133" typeName="Led" instanceName="RedLight" executionOrderId="0">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1446
              <position x="1057" y="451"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1447
              <inputVariables>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1448
                <variable formalParameter="back_id">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1449
                  <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1450
                    <relPosition x="0" y="38"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1451
                    <connection refLocalId="10">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1452
                      <position x="1057" y="489"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1453
                      <position x="1013" y="489"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1454
                    </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1455
                  </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1456
                </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1457
                <variable formalParameter="sele_id">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1458
                  <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1459
                    <relPosition x="0" y="75"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1460
                    <connection refLocalId="11">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1461
                      <position x="1057" y="526"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1462
                      <position x="1010" y="526"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1463
                    </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1464
                  </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1465
                </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1466
                <variable formalParameter="state_in">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1467
                  <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1468
                    <relPosition x="0" y="112"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1469
                    <connection refLocalId="1" formalParameter="RED_LIGHT">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1470
                      <position x="1057" y="563"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1471
                      <position x="844" y="563"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1472
                    </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1473
                  </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1474
                </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1475
              </inputVariables>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1476
              <inOutVariables/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1477
              <outputVariables/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1478
            </block>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1479
            <inVariable localId="10" height="30" width="82" executionOrderId="0" negated="false">
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1480
              <position x="931" y="474"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1481
              <connectionPointOut>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1482
                <relPosition x="82" y="15"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1483
              </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1484
              <expression>'RED_OFF'</expression>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1485
            </inVariable>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1546
diff changeset
  1486
            <inVariable localId="11" height="30" width="79" executionOrderId="0" negated="false">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1487
              <position x="931" y="511"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1488
              <connectionPointOut>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1546
diff changeset
  1489
                <relPosition x="79" y="15"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1490
              </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1491
              <expression>'RED_ON'</expression>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1492
            </inVariable>
1546
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1493
            <block localId="12" width="115" height="133" typeName="Led" instanceName="OrangeLight" executionOrderId="0">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1494
              <position x="1058" y="614"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1495
              <inputVariables>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1496
                <variable formalParameter="back_id">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1497
                  <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1498
                    <relPosition x="0" y="38"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1499
                    <connection refLocalId="13">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1500
                      <position x="1058" y="652"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1501
                      <position x="1010" y="652"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1502
                    </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1503
                  </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1504
                </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1505
                <variable formalParameter="sele_id">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1506
                  <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1507
                    <relPosition x="0" y="75"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1508
                    <connection refLocalId="14">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1509
                      <position x="1058" y="689"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1510
                      <position x="1010" y="689"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1511
                    </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1512
                  </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1513
                </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1514
                <variable formalParameter="state_in">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1515
                  <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1516
                    <relPosition x="0" y="112"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1517
                    <connection refLocalId="1" formalParameter="ORANGE_LIGHT">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1518
                      <position x="1058" y="726"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1519
                      <position x="844" y="726"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1520
                    </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1521
                  </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1522
                </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1523
              </inputVariables>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1524
              <inOutVariables/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1525
              <outputVariables/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1526
            </block>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1546
diff changeset
  1527
            <inVariable localId="13" height="30" width="111" executionOrderId="0" negated="false">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1528
              <position x="899" y="637"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1529
              <connectionPointOut>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1546
diff changeset
  1530
                <relPosition x="111" y="15"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1531
              </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1532
              <expression>'ORANGE_OFF'</expression>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1533
            </inVariable>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1546
diff changeset
  1534
            <inVariable localId="14" height="30" width="106" executionOrderId="0" negated="false">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1535
              <position x="904" y="674"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1536
              <connectionPointOut>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1546
diff changeset
  1537
                <relPosition x="106" y="15"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1538
              </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1539
              <expression>'ORANGE_ON'</expression>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1540
            </inVariable>
1546
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1541
            <block localId="15" width="115" height="133" typeName="Led" instanceName="GreenLight" executionOrderId="0">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1542
              <position x="1058" y="777"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1543
              <inputVariables>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1544
                <variable formalParameter="back_id">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1545
                  <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1546
                    <relPosition x="0" y="38"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1547
                    <connection refLocalId="16">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1548
                      <position x="1058" y="815"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1549
                      <position x="1010" y="815"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1550
                    </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1551
                  </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1552
                </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1553
                <variable formalParameter="sele_id">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1554
                  <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1555
                    <relPosition x="0" y="75"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1556
                    <connection refLocalId="17">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1557
                      <position x="1058" y="852"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1558
                      <position x="1010" y="852"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1559
                    </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1560
                  </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1561
                </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1562
                <variable formalParameter="state_in">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1563
                  <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1564
                    <relPosition x="0" y="112"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1565
                    <connection refLocalId="1" formalParameter="GREEN_LIGHT">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1566
                      <position x="1058" y="889"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1567
                      <position x="844" y="889"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1568
                    </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1569
                  </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1570
                </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1571
              </inputVariables>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1572
              <inOutVariables/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1573
              <outputVariables/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1574
            </block>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1546
diff changeset
  1575
            <inVariable localId="16" height="30" width="111" executionOrderId="0" negated="false">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1576
              <position x="899" y="800"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1577
              <connectionPointOut>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1546
diff changeset
  1578
                <relPosition x="111" y="15"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1579
              </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1580
              <expression>'GREEN_OFF'</expression>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1581
            </inVariable>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1546
diff changeset
  1582
            <inVariable localId="17" height="30" width="106" executionOrderId="0" negated="false">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1583
              <position x="904" y="837"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1584
              <connectionPointOut>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1546
diff changeset
  1585
                <relPosition x="106" y="15"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1586
              </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1587
              <expression>'GREEN_ON'</expression>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1588
            </inVariable>
1546
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1589
            <block localId="18" width="115" height="133" typeName="Led" instanceName="PedestrianRedLight" executionOrderId="0">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1590
              <position x="1059" y="940"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1591
              <inputVariables>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1592
                <variable formalParameter="back_id">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1593
                  <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1594
                    <relPosition x="0" y="38"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1595
                    <connection refLocalId="19">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1596
                      <position x="1059" y="978"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1597
                      <position x="1020" y="978"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1598
                    </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1599
                  </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1600
                </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1601
                <variable formalParameter="sele_id">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1602
                  <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1603
                    <relPosition x="0" y="75"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1604
                    <connection refLocalId="20">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1605
                      <position x="1059" y="1015"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1606
                      <position x="1020" y="1015"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1607
                    </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1608
                  </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1609
                </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1610
                <variable formalParameter="state_in">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1611
                  <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1612
                    <relPosition x="0" y="112"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1613
                    <connection refLocalId="1" formalParameter="PEDESTRIAN_RED_LIGHT">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1614
                      <position x="1059" y="1052"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1615
                      <position x="844" y="1052"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1616
                    </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1617
                  </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1618
                </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1619
              </inputVariables>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1620
              <inOutVariables/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1621
              <outputVariables/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1622
            </block>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1546
diff changeset
  1623
            <inVariable localId="19" height="30" width="171" executionOrderId="0" negated="false">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1624
              <position x="849" y="963"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1625
              <connectionPointOut>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1546
diff changeset
  1626
                <relPosition x="171" y="15"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1627
              </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1628
              <expression>'PEDESTRIAN_RED_OFF'</expression>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1629
            </inVariable>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1546
diff changeset
  1630
            <inVariable localId="20" height="30" width="166" executionOrderId="0" negated="false">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1631
              <position x="854" y="1000"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1632
              <connectionPointOut>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1546
diff changeset
  1633
                <relPosition x="166" y="15"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1634
              </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1635
              <expression>'PEDESTRIAN_RED_ON'</expression>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1636
            </inVariable>
1546
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1637
            <block localId="21" width="115" height="133" typeName="Led" instanceName="PedestrianGreenLight" executionOrderId="0">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1638
              <position x="1059" y="1103"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1639
              <inputVariables>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1640
                <variable formalParameter="back_id">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1641
                  <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1642
                    <relPosition x="0" y="38"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1643
                    <connection refLocalId="22">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1644
                      <position x="1059" y="1141"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1645
                      <position x="1035" y="1141"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1646
                    </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1647
                  </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1648
                </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1649
                <variable formalParameter="sele_id">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1650
                  <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1651
                    <relPosition x="0" y="75"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1652
                    <connection refLocalId="23">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1653
                      <position x="1059" y="1178"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1654
                      <position x="1035" y="1178"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1655
                    </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1656
                  </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1657
                </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1658
                <variable formalParameter="state_in">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1659
                  <connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1660
                    <relPosition x="0" y="112"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1661
                    <connection refLocalId="1" formalParameter="PEDESTRIAN_GREEN_LIGHT">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1662
                      <position x="1059" y="1215"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1663
                      <position x="844" y="1215"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1664
                    </connection>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1665
                  </connectionPointIn>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1666
                </variable>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1667
              </inputVariables>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1668
              <inOutVariables/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1669
              <outputVariables/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1670
            </block>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1546
diff changeset
  1671
            <inVariable localId="22" height="30" width="190" executionOrderId="0" negated="false">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1672
              <position x="845" y="1126"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1673
              <connectionPointOut>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1546
diff changeset
  1674
                <relPosition x="190" y="15"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1675
              </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1676
              <expression>'PEDESTRIAN_GREEN_OFF'</expression>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1677
            </inVariable>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1546
diff changeset
  1678
            <inVariable localId="23" height="30" width="185" executionOrderId="0" negated="false">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1679
              <position x="850" y="1163"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1680
              <connectionPointOut>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1546
diff changeset
  1681
                <relPosition x="185" y="15"/>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1682
              </connectionPointOut>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1683
              <expression>'PEDESTRIAN_GREEN_ON'</expression>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1684
            </inVariable>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1546
diff changeset
  1685
            <comment localId="24" height="287" width="1008">
1546
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1686
              <position x="22" y="13"/>
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1687
              <content>
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1688
                <xhtml:p><![CDATA[This example implements control of traffic lights.
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1689
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1690
Basically it shows following features of Beremiz:
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1691
- web interface (SCADA) using integrated web server in svgui extension;
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1692
- interaction with web UI;
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1693
- functional blocks in SFC language.
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1694
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1695
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1696
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1697
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1698
SVGUI is extensions to build web interface to PLC. It has *integrated* web-server. So it's NOT necessary to install Apache, lighttpd or nginx for that!!!
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1699
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1700
As the program is running in PLC, web UI will be available at http://localhost:8009/.
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1701
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1702
Web interface is build as SVG file in Inkscape. To edit SVG file click 'Inkscape' button in 0x: svgui extension. 
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1703
Inkscape is a free and open-source vector graphics editor. It's not part of Beremiz and needs to be installed separately.
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1704
]]></xhtml:p>
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1705
              </content>
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1706
            </comment>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1707
            <comment localId="102" height="134" width="734">
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1708
              <position x="21" y="303"/>
1546
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1709
              <content>
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1710
                <xhtml:p><![CDATA[In this example FB like 'Button', 'Led' and 'Text' are used. 
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1711
Back_id and sele_id inputs of these blocks are IDs  of graphic primitives in SVG file.
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1712
This is the way how elements in SVG are bound to elements in PLC program.
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1713
You can find out or edit these IDs in Inkscape.]]></xhtml:p>
1546
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1714
              </content>
f1840d27823d cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1383
diff changeset
  1715
            </comment>
1383
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1716
          </FBD>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1717
        </body>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1718
      </pou>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1719
    </pous>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1720
  </types>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1721
  <instances>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1722
    <configurations>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1723
      <configuration name="config">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1724
        <resource name="resource1">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1725
          <task name="test_task" interval="T#100ms" priority="0">
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1726
            <pouInstance name="main_instance" typeName="main_program"/>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1727
          </task>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1728
        </resource>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1729
      </configuration>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1730
    </configurations>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1731
  </instances>
45935812f930 Added example of SFC simulating traffic lights
Laurent Bessard
parents:
diff changeset
  1732
</project>