tests/svgui/plc.xml
author Andrey Skvortsov <andrej.skvortzov@gmail.com>
Sun, 06 Jan 2019 03:11:39 +0300
changeset 2501 eba2bbb2dd9a
parent 2346 ac16bad593cf
permissions -rw-r--r--
Make online debug optional

It could be useful for very small targets like Atmega (Arduino) and
for target bring-up there developer want to have running PLC program,
but has not implemented runtime communication yet.


TARGET_DEBUG_AND_RETAIN_DISABLE - completely disable debug and retain
functionality. Previously named TARGET_DEBUG_DISABLE.

TARGET_ONLINE_DEBUG_DISABLE - can be used to enable retain
functionality (no define TARGET_DEBUG_AND_RETAIN_DISABLE is used), but disable
online debug with corresponding RAM/FLASH overhead.

TARGET_LOGGING_DISABLE - disables logging functionality from runtime and PLC program

TARGET_EXT_SYNC_DISABLE - disables PLC program synchronization with
external events. For example, it could be used to synchronize several
PLCs that control motors for different axes.

By default all these options are off.

To test generate program for Generic target, put following files in
project files directory and run build.sh after generating PLC program.
This is very easy to integrate into makefile (Generic target).

[------------- build.sh --------------------------]
files=$(find $PWD/../build -iname '*.c' | grep -v POUS.c)
arm-none-eabi-gcc \
-DTARGET_DEBUG_AND_RETAIN_DISABLE \
-DTARGET_ONLINE_DEBUG_DISABLE \
-DTARGET_LOGGING_DISABLE \
-DTARGET_EXT_SYNC_DISABLE \
-flto -ffunction-sections -fdata-sections -I../../../../matiec/lib/C \
$files \
main.c \
-Wl,--Map=./program.map,--cref \
-nodefaultlibs --specs=nano.specs -Wl,--static -Wl,--gc-section -Wl,--start-group -lc -lm -lnosys -lgcc -Wl,--end-group
[------------------------------------------------]

[------------- main.c --------------------------]
#ifndef TARGET_DEBUG_AND_RETAIN_DISABLE
void Retain(void){}
void InValidateRetainBuffer(void){}
void ValidateRetainBuffer(void){}
#endif

extern void __run(void);
int main(void)
{
for(;;) {
__run();
// sleep common_ticktime__ ns
// add common_ticktime__ ns to __CURRENT_TIME
}
return 0;
}
[------------------------------------------------]
1545
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
     1
<?xml version='1.0' encoding='utf-8'?>
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
     2
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.plcopen.org/xml/tc6_0201" xmlns:xhtml="http://www.w3.org/1999/xhtml" xsi:schemaLocation="http://www.plcopen.org/xml/tc6_0201">
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
     3
  <fileHeader companyName="beremiz" productName="Beremiz" productVersion="0.0" creationDateTime="2008-12-14T16:21: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
     4
  <contentHeader name="Beremiz SVGUI Test" modificationDateTime="2018-09-26T13:18:53">
411
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
     5
    <coordinateInfo>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
     6
      <pageSize x="1024" y="1024"/>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
     7
      <fbd>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
     8
        <scaling x="0" y="0"/>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
     9
      </fbd>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    10
      <ld>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    11
        <scaling x="5" y="5"/>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    12
      </ld>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    13
      <sfc>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    14
        <scaling x="5" y="5"/>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    15
      </sfc>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    16
    </coordinateInfo>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    17
  </contentHeader>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    18
  <types>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    19
    <dataTypes/>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    20
    <pous>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    21
      <pou name="main_pytest" pouType="program">
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    22
        <interface>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    23
          <localVars>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    24
            <variable name="counter">
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    25
              <type>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    26
                <INT/>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    27
              </type>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    28
            </variable>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    29
            <variable name="Start_Stop">
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    30
              <type>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    31
                <derived name="Button"/>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    32
              </type>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    33
            </variable>
1545
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
    34
            <variable name="Counter_TextCtrl">
411
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    35
              <type>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    36
                <derived name="TextCtrl"/>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    37
              </type>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    38
            </variable>
1545
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
    39
            <variable name="State_LedCtrl">
411
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    40
              <type>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    41
                <derived name="Led"/>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    42
              </type>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    43
            </variable>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    44
          </localVars>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    45
        </interface>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    46
        <body>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    47
          <FBD>
1545
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
    48
            <block localId="32" width="80" height="110" typeName="ADD" 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
    49
              <position x="649" y="285"/>
411
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    50
              <inputVariables>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    51
                <variable formalParameter="EN">
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    52
                  <connectionPointIn>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    53
                    <relPosition x="0" y="35"/>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    54
                    <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
    55
                      <position x="649" y="320"/>
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
    56
                      <position x="594" y="320"/>
411
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    57
                    </connection>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    58
                  </connectionPointIn>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    59
                </variable>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    60
                <variable formalParameter="IN1">
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    61
                  <connectionPointIn>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    62
                    <relPosition x="0" y="65"/>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    63
                    <connection refLocalId="100" 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
    64
                      <position x="649" y="350"/>
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
    65
                      <position x="474" y="350"/>
411
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    66
                    </connection>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    67
                  </connectionPointIn>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    68
                </variable>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    69
                <variable formalParameter="IN2">
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    70
                  <connectionPointIn>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    71
                    <relPosition x="0" y="95"/>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    72
                    <connection refLocalId="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
    73
                      <position x="649" y="380"/>
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
    74
                      <position x="629" y="380"/>
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
    75
                      <position x="629" y="418"/>
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
    76
                      <position x="854" y="418"/>
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
    77
                      <position x="854" y="350"/>
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
    78
                      <position x="839" y="350"/>
411
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    79
                    </connection>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    80
                  </connectionPointIn>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    81
                </variable>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    82
              </inputVariables>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    83
              <inOutVariables/>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    84
              <outputVariables>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    85
                <variable formalParameter="ENO">
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    86
                  <connectionPointOut>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    87
                    <relPosition x="80" y="35"/>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    88
                  </connectionPointOut>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    89
                </variable>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    90
                <variable formalParameter="OUT">
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    91
                  <connectionPointOut>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    92
                    <relPosition x="80" y="65"/>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    93
                  </connectionPointOut>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    94
                </variable>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    95
              </outputVariables>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    96
            </block>
1545
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
    97
            <inOutVariable localId="33" height="35" width="85" executionOrderId="0" negatedOut="false" negatedIn="false">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
    98
              <position x="754" y="333"/>
411
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
    99
              <connectionPointIn>
1545
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   100
                <relPosition x="0" y="17"/>
411
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   101
                <connection refLocalId="32" 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
   102
                  <position x="754" y="350"/>
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
   103
                  <position x="729" y="350"/>
411
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   104
                </connection>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   105
              </connectionPointIn>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   106
              <connectionPointOut>
1545
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   107
                <relPosition x="85" y="17"/>
411
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   108
              </connectionPointOut>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   109
              <expression>counter</expression>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   110
            </inOutVariable>
1545
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   111
            <inVariable localId="39" height="35" width="89" 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
   112
              <position x="55" y="333"/>
1545
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   113
              <connectionPointOut>
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   114
                <relPosition x="89" y="17"/>
411
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   115
              </connectionPointOut>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   116
              <expression>BOOL#1</expression>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   117
            </inVariable>
1545
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   118
            <inVariable localId="41" height="30" width="120" 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
   119
              <position x="21" y="619"/>
411
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   120
              <connectionPointOut>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   121
                <relPosition x="120" y="15"/>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   122
              </connectionPointOut>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   123
              <expression>'stop_back'</expression>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   124
            </inVariable>
1545
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   125
            <inVariable localId="42" height="30" width="120" 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
   126
              <position x="21" y="661"/>
411
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   127
              <connectionPointOut>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   128
                <relPosition x="120" y="15"/>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   129
              </connectionPointOut>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   130
              <expression>'stop_sele'</expression>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   131
            </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
   132
            <inVariable localId="46" height="30" width="122" 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
   133
              <position x="694" y="799"/>
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
   134
              <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
   135
                <relPosition x="122" y="15"/>
1545
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   136
              </connectionPointOut>
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   137
              <expression>'text_counter'</expression>
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   138
            </inVariable>
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   139
            <inVariable localId="51" height="30" width="119" 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
   140
              <position x="692" y="612"/>
1545
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   141
              <connectionPointOut>
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   142
                <relPosition x="119" y="15"/>
411
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   143
              </connectionPointOut>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   144
              <expression>'led_stop'</expression>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   145
            </inVariable>
1545
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   146
            <inVariable localId="52" height="30" width="120" 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
   147
              <position x="691" y="648"/>
411
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   148
              <connectionPointOut>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   149
                <relPosition x="120" y="15"/>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   150
              </connectionPointOut>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   151
              <expression>'led_start'</expression>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   152
            </inVariable>
1545
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   153
            <block localId="83" width="145" height="60" typeName="INT_TO_STRING" 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
   154
              <position x="537" y="856"/>
411
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   155
              <inputVariables>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   156
                <variable formalParameter="IN">
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   157
                  <connectionPointIn>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   158
                    <relPosition x="0" y="40"/>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   159
                    <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
   160
                      <position x="537" y="896"/>
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
   161
                      <position x="504" y="896"/>
411
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   162
                    </connection>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   163
                  </connectionPointIn>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   164
                </variable>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   165
              </inputVariables>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   166
              <inOutVariables/>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   167
              <outputVariables>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   168
                <variable formalParameter="OUT">
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   169
                  <connectionPointOut>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   170
                    <relPosition x="145" y="40"/>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   171
                  </connectionPointOut>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   172
                </variable>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   173
              </outputVariables>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   174
            </block>
1545
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   175
            <block localId="92" width="187" height="230" typeName="Button" instanceName="Start_Stop" 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
   176
              <position x="201" y="593"/>
411
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   177
              <inputVariables>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   178
                <variable formalParameter="back_id">
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   179
                  <connectionPointIn>
1545
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   180
                    <relPosition x="0" y="41"/>
411
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   181
                    <connection refLocalId="41">
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
                      <position x="201" y="634"/>
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
   183
                      <position x="141" y="634"/>
411
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   184
                    </connection>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   185
                  </connectionPointIn>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   186
                </variable>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   187
                <variable formalParameter="sele_id">
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   188
                  <connectionPointIn>
1545
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   189
                    <relPosition x="0" y="83"/>
411
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   190
                    <connection refLocalId="42">
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
   191
                      <position x="201" y="676"/>
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
   192
                      <position x="141" y="676"/>
411
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   193
                    </connection>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   194
                  </connectionPointIn>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   195
                </variable>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   196
                <variable formalParameter="toggle">
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   197
                  <connectionPointIn>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   198
                    <relPosition x="0" y="125"/>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   199
                    <connection refLocalId="93">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   200
                      <position x="201" y="718"/>
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
   201
                      <position x="141" y="718"/>
411
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   202
                    </connection>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   203
                  </connectionPointIn>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   204
                </variable>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   205
                <variable formalParameter="set_state">
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   206
                  <connectionPointIn>
1545
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   207
                    <relPosition x="0" y="167"/>
411
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   208
                  </connectionPointIn>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   209
                </variable>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   210
                <variable formalParameter="state_in">
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   211
                  <connectionPointIn>
1545
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   212
                    <relPosition x="0" y="209"/>
411
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   213
                  </connectionPointIn>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   214
                </variable>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   215
              </inputVariables>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   216
              <inOutVariables/>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   217
              <outputVariables>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   218
                <variable formalParameter="state_out">
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   219
                  <connectionPointOut>
1545
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   220
                    <relPosition x="187" y="41"/>
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   221
                  </connectionPointOut>
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   222
                </variable>
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   223
              </outputVariables>
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   224
            </block>
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   225
            <inVariable localId="93" height="30" width="120" 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
   226
              <position x="21" y="703"/>
1545
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   227
              <connectionPointOut>
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   228
                <relPosition x="120" y="15"/>
411
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   229
              </connectionPointOut>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   230
              <expression>BOOL#1</expression>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   231
            </inVariable>
1545
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   232
            <block localId="94" width="100" height="145" typeName="TextCtrl" instanceName="Counter_TextCtrl" 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
   233
              <position x="876" y="774"/>
411
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   234
              <inputVariables>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   235
                <variable formalParameter="back_id">
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   236
                  <connectionPointIn>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   237
                    <relPosition x="0" y="40"/>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   238
                    <connection refLocalId="46">
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
   239
                      <position x="876" y="814"/>
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
   240
                      <position x="816" y="814"/>
411
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   241
                    </connection>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   242
                  </connectionPointIn>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   243
                </variable>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   244
                <variable formalParameter="set_text">
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   245
                  <connectionPointIn>
1545
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   246
                    <relPosition x="0" y="81"/>
411
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   247
                    <connection refLocalId="3">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   248
                      <position x="876" y="855"/>
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
   249
                      <position x="815" y="855"/>
411
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   250
                    </connection>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   251
                  </connectionPointIn>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   252
                </variable>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   253
                <variable formalParameter="text">
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   254
                  <connectionPointIn>
1545
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   255
                    <relPosition x="0" y="122"/>
411
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   256
                    <connection refLocalId="83" 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
   257
                      <position x="876" y="896"/>
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
   258
                      <position x="682" y="896"/>
411
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   259
                    </connection>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   260
                  </connectionPointIn>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   261
                </variable>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   262
              </inputVariables>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   263
              <inOutVariables/>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   264
              <outputVariables/>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   265
            </block>
1545
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   266
            <inVariable localId="1" height="30" width="88" 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
   267
              <position x="59" y="272"/>
1545
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   268
              <connectionPointOut>
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   269
                <relPosition x="88" y="15"/>
411
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   270
              </connectionPointOut>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   271
              <expression>BOOL#1</expression>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   272
            </inVariable>
1545
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   273
            <block localId="95" width="100" height="130" typeName="Led" instanceName="State_LedCtrl" 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
   274
              <position x="876" y="589"/>
411
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   275
              <inputVariables>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   276
                <variable formalParameter="back_id">
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   277
                  <connectionPointIn>
1545
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   278
                    <relPosition x="0" y="38"/>
411
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   279
                    <connection refLocalId="51">
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
   280
                      <position x="876" 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
   281
                      <position x="811" y="627"/>
411
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   282
                    </connection>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   283
                  </connectionPointIn>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   284
                </variable>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   285
                <variable formalParameter="sele_id">
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   286
                  <connectionPointIn>
1545
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   287
                    <relPosition x="0" y="74"/>
411
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   288
                    <connection refLocalId="52">
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
   289
                      <position x="876" y="663"/>
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
   290
                      <position x="811" y="663"/>
411
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   291
                    </connection>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   292
                  </connectionPointIn>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   293
                </variable>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   294
                <variable formalParameter="state_in">
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   295
                  <connectionPointIn>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   296
                    <relPosition x="0" y="110"/>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   297
                    <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
   298
                      <position x="876" y="699"/>
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
   299
                      <position x="811" y="699"/>
411
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   300
                    </connection>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   301
                  </connectionPointIn>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   302
                </variable>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   303
              </inputVariables>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   304
              <inOutVariables/>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   305
              <outputVariables/>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   306
            </block>
1545
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   307
            <block localId="96" width="80" height="65" typeName="AND" 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
   308
              <position x="200" y="234"/>
411
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   309
              <inputVariables>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   310
                <variable formalParameter="IN1" negated="true">
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   311
                  <connectionPointIn>
1545
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   312
                    <relPosition x="0" y="31"/>
411
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   313
                    <connection refLocalId="96" 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
   314
                      <position x="200" y="265"/>
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
   315
                      <position x="175" y="265"/>
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
   316
                      <position x="175" y="219"/>
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
   317
                      <position x="305" y="219"/>
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
   318
                      <position x="305" y="265"/>
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
   319
                      <position x="280" y="265"/>
411
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   320
                    </connection>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   321
                  </connectionPointIn>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   322
                </variable>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   323
                <variable formalParameter="IN2">
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   324
                  <connectionPointIn>
1545
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   325
                    <relPosition x="0" y="53"/>
411
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   326
                    <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
   327
                      <position x="200" y="287"/>
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
   328
                      <position x="147" y="287"/>
411
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   329
                    </connection>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   330
                  </connectionPointIn>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   331
                </variable>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   332
              </inputVariables>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   333
              <inOutVariables/>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   334
              <outputVariables>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   335
                <variable formalParameter="OUT">
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   336
                  <connectionPointOut>
1545
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   337
                    <relPosition x="80" y="31"/>
411
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   338
                  </connectionPointOut>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   339
                </variable>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   340
              </outputVariables>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   341
            </block>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   342
            <connector name="CLOCK" localId="97" height="30" width="90">
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
              <position x="345" y="250"/>
411
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   344
              <connectionPointIn>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   345
                <relPosition x="0" y="15"/>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   346
                <connection refLocalId="96" 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
   347
                  <position x="345" y="265"/>
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
   348
                  <position x="280" y="265"/>
411
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   349
                </connection>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   350
              </connectionPointIn>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   351
            </connector>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   352
            <connector name="COUNT" localId="98" height="30" width="90">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   353
              <position x="461" y="619"/>
411
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   354
              <connectionPointIn>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   355
                <relPosition x="0" y="15"/>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   356
                <connection refLocalId="92" 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
   357
                  <position x="461" y="634"/>
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
   358
                  <position x="388" y="634"/>
411
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   359
                </connection>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   360
              </connectionPointIn>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   361
            </connector>
1545
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   362
            <continuation name="COUNT" localId="2" height="30" width="120">
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
   363
              <position x="691" y="684"/>
1545
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   364
              <connectionPointOut>
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   365
                <relPosition x="120" y="15"/>
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   366
              </connectionPointOut>
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   367
            </continuation>
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   368
            <inVariable localId="4" height="35" width="85" 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
   369
              <position x="419" y="879"/>
1545
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   370
              <connectionPointOut>
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   371
                <relPosition x="85" y="17"/>
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   372
              </connectionPointOut>
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   373
              <expression>counter</expression>
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   374
            </inVariable>
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   375
            <continuation name="COUNT" localId="5" height="30" width="90">
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
   376
              <position x="504" y="305"/>
411
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   377
              <connectionPointOut>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   378
                <relPosition x="90" y="15"/>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   379
              </connectionPointOut>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   380
            </continuation>
1545
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   381
            <block localId="99" width="80" height="110" typeName="AND" 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
   382
              <position x="199" y="308"/>
1545
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   383
              <inputVariables>
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   384
                <variable formalParameter="IN1">
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   385
                  <connectionPointIn>
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   386
                    <relPosition x="0" y="42"/>
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   387
                    <connection refLocalId="39">
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
   388
                      <position x="199" y="350"/>
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="144" y="350"/>
1545
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   390
                    </connection>
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   391
                  </connectionPointIn>
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   392
                </variable>
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   393
                <variable formalParameter="IN2">
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   394
                  <connectionPointIn>
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   395
                    <relPosition x="0" y="87"/>
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   396
                    <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
   397
                      <position x="199" y="395"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   398
                      <position x="144" y="395"/>
1545
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   399
                    </connection>
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   400
                  </connectionPointIn>
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   401
                </variable>
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   402
              </inputVariables>
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   403
              <inOutVariables/>
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   404
              <outputVariables>
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   405
                <variable formalParameter="OUT">
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   406
                  <connectionPointOut>
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   407
                    <relPosition x="80" y="42"/>
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   408
                  </connectionPointOut>
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   409
                </variable>
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   410
              </outputVariables>
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   411
            </block>
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   412
            <continuation name="CLOCK" localId="6" height="30" width="90">
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
   413
              <position x="54" y="380"/>
411
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   414
              <connectionPointOut>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   415
                <relPosition x="90" y="15"/>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   416
              </connectionPointOut>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   417
            </continuation>
1545
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   418
            <block localId="100" width="125" height="45" typeName="BOOL_TO_INT" 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
   419
              <position x="349" y="318"/>
1545
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   420
              <inputVariables>
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   421
                <variable formalParameter="IN">
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   422
                  <connectionPointIn>
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   423
                    <relPosition x="0" y="32"/>
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   424
                    <connection refLocalId="99" 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
   425
                      <position x="349" y="350"/>
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="279" y="350"/>
411
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   427
                    </connection>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   428
                  </connectionPointIn>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   429
                </variable>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   430
              </inputVariables>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   431
              <inOutVariables/>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   432
              <outputVariables>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   433
                <variable formalParameter="OUT">
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   434
                  <connectionPointOut>
1545
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   435
                    <relPosition x="125" y="32"/>
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   436
                  </connectionPointOut>
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   437
                </variable>
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   438
              </outputVariables>
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   439
            </block>
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   440
            <continuation name="CLOCK" localId="3" height="30" width="122">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   441
              <position x="693" y="840"/>
1545
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   442
              <connectionPointOut>
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   443
                <relPosition x="122" y="15"/>
411
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   444
              </connectionPointOut>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   445
            </continuation>
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
            <comment localId="101" height="197" width="1001">
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="11" y="12"/>
1545
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   448
              <content>
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   449
                <xhtml:p><![CDATA[This example shows how IEC program in PLC can interact with web interface. 
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   450
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   451
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!!!
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   452
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   453
As the program is running in PLC, web UI will be available at http://localhost:8009/.
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   454
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   455
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   456
Web interface is build as SVG file in Inkscape. To edit SVG file click 'Inkscape' button in 0x: svgui extension. 
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   457
Inkscape is a free and open-source vector graphics editor. It's not part of Beremiz and needs to be installed separately.
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   458
]]></xhtml:p>
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   459
              </content>
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   460
            </comment>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1547
diff changeset
   461
            <comment localId="102" height="126" width="641">
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
   462
              <position x="17" y="441"/>
1545
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   463
              <content>
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   464
                <xhtml:p><![CDATA[In this example basic elements like 'Button', 'Led' and 'Text' are used. 
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   465
Back_id and sele_id inputs of these blocks are IDs  of graphic primitives in SVG file. 
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   466
This is the way how elements in SVG are bound to elements in PLC program. 
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   467
You can find out or edit these IDs in Inkscape.]]></xhtml:p>
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   468
              </content>
d329cc88d307 cleanup svgui example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1454
diff changeset
   469
            </comment>
411
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   470
          </FBD>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   471
        </body>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   472
      </pou>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   473
    </pous>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   474
  </types>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   475
  <instances>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   476
    <configurations>
1454
29b02164e65d fixed build of some tests
Edouard Tisserant
parents: 436
diff changeset
   477
      <configuration name="config">
411
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   478
        <resource name="res_pytest">
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   479
          <task name="pytest_task" interval="t#100ms" priority="0"/>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   480
          <pouInstance name="pytest_instance" typeName="main_pytest"/>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   481
        </resource>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   482
      </configuration>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   483
    </configurations>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   484
  </instances>
8261c8f1e365 Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff changeset
   485
</project>