pous.xml
author lbessard
Tue, 09 Jun 2009 10:10:34 +0200
changeset 356 e9698d0ee5f3
parent 347 2ba1aea5c70d
permissions -rw-r--r--
Adding support for printing lines where matiec failed in Log console (thanks to Brendan)
Bug that prevent to see errors in editor with double click fixed.
280
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
     1
<?xml version="1.0" encoding="UTF-8"?>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
     2
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
     3
         xmlns="http://www.plcopen.org/xml/tc6.xsd"
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
     4
         xmlns:xhtml="http://www.w3.org/1999/xhtml"
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
     5
         xsi:schemaLocation="http://www.plcopen.org/xml/tc6.xsd">
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
     6
  <fileHeader companyName="LOLITECH"
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
     7
              productName="Beremiz"
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
     8
              productVersion="0.0"
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
     9
              creationDateTime="2008-12-14T16:53:26"/>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    10
  <contentHeader name="Beremiz non-standard POUs library"
282
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
    11
                 modificationDateTime="2008-12-23T22:35:46">
280
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    12
    <coordinateInfo>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    13
      <fbd>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    14
        <scaling x="0" y="0"/>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    15
      </fbd>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    16
      <ld>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    17
        <scaling x="0" y="0"/>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    18
      </ld>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    19
      <sfc>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    20
        <scaling x="0" y="0"/>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    21
      </sfc>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    22
    </coordinateInfo>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    23
  </contentHeader>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    24
  <types>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    25
    <dataTypes/>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    26
    <pous>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    27
      <pou name="python_eval" pouType="functionBlock">
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    28
        <interface>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    29
          <inputVars>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    30
            <variable name="TRIG">
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    31
              <type>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    32
                <BOOL/>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    33
              </type>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    34
            </variable>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    35
            <variable name="CODE">
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    36
              <type>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    37
                <string/>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    38
              </type>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    39
            </variable>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    40
          </inputVars>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    41
          <outputVars>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    42
            <variable name="ACK">
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    43
              <type>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    44
                <BOOL/>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    45
              </type>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    46
            </variable>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    47
            <variable name="RESULT">
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    48
              <type>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    49
                <string/>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    50
              </type>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    51
            </variable>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    52
          </outputVars>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    53
          <localVars>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    54
            <variable name="STATE">
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    55
              <type>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    56
                <DWORD/>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    57
              </type>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    58
            </variable>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    59
            <variable name="BUFFER">
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    60
              <type>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    61
                <string/>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    62
              </type>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    63
            </variable>
282
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
    64
            <variable name="PREBUFFER">
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
    65
              <type>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
    66
                <string/>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
    67
              </type>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
    68
            </variable>
280
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    69
            <variable name="TRIGM1">
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    70
              <type>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    71
                <BOOL/>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    72
              </type>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    73
            </variable>
282
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
    74
            <variable name="TRIGGED">
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
    75
              <type>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
    76
                <BOOL/>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
    77
              </type>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
    78
            </variable>
280
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    79
          </localVars>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    80
        </interface>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    81
        <body>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    82
          <ST>
300
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
    83
<![CDATA[{extern void __PythonEvalFB(int, PYTHON_EVAL*);__PythonEvalFB(0, data__);}]]>
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
    84
          </ST>
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
    85
        </body>
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
    86
      </pou>
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
    87
      <pou name="python_poll" pouType="functionBlock">
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
    88
        <interface>
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
    89
          <inputVars>
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
    90
            <variable name="TRIG">
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
    91
              <type>
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
    92
                <BOOL/>
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
    93
              </type>
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
    94
            </variable>
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
    95
            <variable name="CODE">
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
    96
              <type>
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
    97
                <string/>
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
    98
              </type>
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
    99
            </variable>
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
   100
          </inputVars>
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
   101
          <outputVars>
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
   102
            <variable name="ACK">
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
   103
              <type>
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
   104
                <BOOL/>
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
   105
              </type>
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
   106
            </variable>
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
   107
            <variable name="RESULT">
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
   108
              <type>
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
   109
                <string/>
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
   110
              </type>
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
   111
            </variable>
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
   112
          </outputVars>
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
   113
          <localVars>
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
   114
            <variable name="STATE">
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
   115
              <type>
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
   116
                <DWORD/>
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
   117
              </type>
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
   118
            </variable>
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
   119
            <variable name="BUFFER">
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
   120
              <type>
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
   121
                <string/>
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
   122
              </type>
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
   123
            </variable>
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
   124
            <variable name="PREBUFFER">
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
   125
              <type>
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
   126
                <string/>
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
   127
              </type>
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
   128
            </variable>
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
   129
            <variable name="TRIGM1">
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
   130
              <type>
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
   131
                <BOOL/>
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
   132
              </type>
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
   133
            </variable>
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
   134
            <variable name="TRIGGED">
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
   135
              <type>
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
   136
                <BOOL/>
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
   137
              </type>
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
   138
            </variable>
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
   139
          </localVars>
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
   140
        </interface>
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
   141
        <body>
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
   142
          <ST>
7f7912ae5ee8 Added python_poll FB, to poll python variable without waiting ack
etisserant
parents: 282
diff changeset
   143
<![CDATA[{extern void __PythonEvalFB(int, PYTHON_EVAL*);__PythonEvalFB(1,(PYTHON_EVAL*)(void*)data__);}]]>
280
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   144
          </ST>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   145
        </body>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   146
      </pou>
346
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   147
    <pou name="python_gear" pouType="functionBlock">
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   148
        <interface>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   149
          <inputVars>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   150
            <variable name="N">
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   151
              <type>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   152
                <USINT/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   153
              </type>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   154
            </variable>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   155
            <variable name="TRIG">
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   156
              <type>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   157
                <BOOL/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   158
              </type>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   159
            </variable>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   160
            <variable name="CODE">
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   161
              <type>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   162
                <string/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   163
              </type>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   164
            </variable>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   165
          </inputVars>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   166
          <outputVars>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   167
            <variable name="ACK">
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   168
              <type>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   169
                <BOOL/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   170
              </type>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   171
            </variable>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   172
            <variable name="RESULT">
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   173
              <type>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   174
                <string/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   175
              </type>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   176
            </variable>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   177
          </outputVars>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   178
          <localVars>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   179
            <variable name="py_eval">
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   180
              <type>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   181
                <derived name="python_eval"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   182
              </type>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   183
            </variable>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   184
            <variable name="COUNTER">
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   185
              <type>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   186
                <USINT/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   187
              </type>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   188
            </variable>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   189
          </localVars>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   190
        </interface>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   191
        <body>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   192
          <FBD>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   193
            <block localId="1" width="125" height="110" typeName="python_eval" instanceName="py_eval">
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   194
              <position x="525" y="580"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   195
              <inputVariables>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   196
                <variable formalParameter="TRIG">
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   197
                  <connectionPointIn>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   198
                    <relPosition x="0" y="40"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   199
                    <connection refLocalId="7" formalParameter="OUT">
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   200
                      <position x="525" y="620"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   201
                      <position x="495" y="620"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   202
                      <position x="495" y="575"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   203
                      <position x="465" y="575"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   204
                    </connection>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   205
                  </connectionPointIn>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   206
                </variable>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   207
                <variable formalParameter="CODE">
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   208
                  <connectionPointIn>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   209
                    <relPosition x="0" y="85"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   210
                    <connection refLocalId="4">
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   211
                      <position x="525" y="665"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   212
                      <position x="370" y="665"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   213
                    </connection>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   214
                  </connectionPointIn>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   215
                </variable>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   216
              </inputVariables>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   217
              <inOutVariables/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   218
              <outputVariables>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   219
                <variable formalParameter="ACK">
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   220
                  <connectionPointOut>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   221
                    <relPosition x="125" y="40"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   222
                  </connectionPointOut>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   223
                </variable>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   224
                <variable formalParameter="RESULT">
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   225
                  <connectionPointOut>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   226
                    <relPosition x="125" y="85"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   227
                  </connectionPointOut>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   228
                </variable>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   229
              </outputVariables>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   230
            </block>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   231
            <inVariable localId="2" height="35" width="25">
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   232
              <position x="435" y="270"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   233
              <connectionPointOut>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   234
                <relPosition x="25" y="15"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   235
              </connectionPointOut>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   236
              <expression>N</expression>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   237
            </inVariable>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   238
            <inVariable localId="3" height="35" width="55">
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   239
              <position x="275" y="585"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   240
              <connectionPointOut>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   241
                <relPosition x="55" y="15"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   242
              </connectionPointOut>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   243
              <expression>TRIG</expression>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   244
            </inVariable>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   245
            <inVariable localId="4" height="35" width="55">
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   246
              <position x="315" y="650"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   247
              <connectionPointOut>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   248
                <relPosition x="55" y="15"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   249
              </connectionPointOut>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   250
              <expression>CODE</expression>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   251
            </inVariable>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   252
            <outVariable localId="5" height="35" width="45">
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   253
              <position x="740" y="605"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   254
              <connectionPointIn>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   255
                <relPosition x="0" y="15"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   256
                <connection refLocalId="1" formalParameter="ACK">
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   257
                  <position x="740" y="620"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   258
                  <position x="650" y="620"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   259
                </connection>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   260
              </connectionPointIn>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   261
              <expression>ACK</expression>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   262
            </outVariable>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   263
            <outVariable localId="6" height="35" width="75">
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   264
              <position x="740" y="650"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   265
              <connectionPointIn>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   266
                <relPosition x="0" y="15"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   267
                <connection refLocalId="1" formalParameter="RESULT">
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   268
                  <position x="740" y="665"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   269
                  <position x="650" y="665"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   270
                </connection>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   271
              </connectionPointIn>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   272
              <expression>RESULT</expression>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   273
            </outVariable>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   274
            <block localId="7" width="80" height="65" typeName="AND">
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   275
              <position x="385" y="545"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   276
              <inputVariables>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   277
                <variable formalParameter="IN1">
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   278
                  <connectionPointIn>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   279
                    <relPosition x="0" y="30"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   280
                    <connection refLocalId="13" formalParameter="OUT">
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   281
                      <position x="385" y="575"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   282
                      <position x="335" y="575"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   283
                      <position x="335" y="455"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   284
                      <position x="625" y="455"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   285
                      <position x="625" y="285"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   286
                      <position x="615" y="285"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   287
                    </connection>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   288
                  </connectionPointIn>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   289
                </variable>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   290
                <variable formalParameter="IN2">
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   291
                  <connectionPointIn>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   292
                    <relPosition x="0" y="55"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   293
                    <connection refLocalId="3">
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   294
                      <position x="385" y="600"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   295
                      <position x="330" y="600"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   296
                    </connection>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   297
                  </connectionPointIn>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   298
                </variable>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   299
              </inputVariables>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   300
              <inOutVariables/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   301
              <outputVariables>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   302
                <variable formalParameter="OUT">
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   303
                  <connectionPointOut>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   304
                    <relPosition x="80" y="30"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   305
                  </connectionPointOut>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   306
                </variable>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   307
              </outputVariables>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   308
            </block>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   309
            <inVariable localId="9" height="35" width="85">
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   310
              <position x="240" y="330"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   311
              <connectionPointOut>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   312
                <relPosition x="85" y="15"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   313
              </connectionPointOut>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   314
              <expression>COUNTER</expression>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   315
            </inVariable>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   316
            <block localId="10" width="80" height="65" typeName="ADD">
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   317
              <position x="380" y="330"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   318
              <inputVariables>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   319
                <variable formalParameter="IN1">
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   320
                  <connectionPointIn>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   321
                    <relPosition x="0" y="30"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   322
                    <connection refLocalId="9">
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   323
                      <position x="380" y="360"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   324
                      <position x="352" y="360"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   325
                      <position x="352" y="345"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   326
                      <position x="325" y="345"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   327
                    </connection>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   328
                  </connectionPointIn>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   329
                </variable>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   330
                <variable formalParameter="IN2">
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   331
                  <connectionPointIn>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   332
                    <relPosition x="0" y="55"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   333
                    <connection refLocalId="11">
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   334
                      <position x="380" y="385"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   335
                      <position x="325" y="385"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   336
                    </connection>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   337
                  </connectionPointIn>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   338
                </variable>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   339
              </inputVariables>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   340
              <inOutVariables/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   341
              <outputVariables>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   342
                <variable formalParameter="OUT">
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   343
                  <connectionPointOut>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   344
                    <relPosition x="80" y="30"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   345
                  </connectionPointOut>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   346
                </variable>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   347
              </outputVariables>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   348
            </block>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   349
            <inVariable localId="11" height="35" width="85">
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   350
              <position x="240" y="370"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   351
              <connectionPointOut>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   352
                <relPosition x="85" y="15"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   353
              </connectionPointOut>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   354
              <expression>USINT#1</expression>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   355
            </inVariable>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   356
            <block localId="13" width="80" height="65" typeName="EQ">
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   357
              <position x="535" y="255"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   358
              <inputVariables>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   359
                <variable formalParameter="IN1">
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   360
                  <connectionPointIn>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   361
                    <relPosition x="0" y="30"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   362
                    <connection refLocalId="2">
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   363
                      <position x="535" y="285"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   364
                      <position x="460" y="285"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   365
                    </connection>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   366
                  </connectionPointIn>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   367
                </variable>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   368
                <variable formalParameter="IN2">
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   369
                  <connectionPointIn>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   370
                    <relPosition x="0" y="55"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   371
                    <connection refLocalId="10" formalParameter="OUT">
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   372
                      <position x="535" y="310"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   373
                      <position x="497" y="310"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   374
                      <position x="497" y="360"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   375
                      <position x="460" y="360"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   376
                    </connection>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   377
                  </connectionPointIn>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   378
                </variable>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   379
              </inputVariables>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   380
              <inOutVariables/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   381
              <outputVariables>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   382
                <variable formalParameter="OUT">
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   383
                  <connectionPointOut>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   384
                    <relPosition x="80" y="30"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   385
                  </connectionPointOut>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   386
                </variable>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   387
              </outputVariables>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   388
            </block>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   389
            <block localId="15" width="80" height="135" typeName="SEL">
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   390
              <position x="785" y="245"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   391
              <inputVariables>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   392
                <variable formalParameter="G">
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   393
                  <connectionPointIn>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   394
                    <relPosition x="0" y="40"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   395
                    <connection refLocalId="13" formalParameter="OUT">
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   396
                      <position x="785" y="285"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   397
                      <position x="615" y="285"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   398
                    </connection>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   399
                  </connectionPointIn>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   400
                </variable>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   401
                <variable formalParameter="IN0">
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   402
                  <connectionPointIn>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   403
                    <relPosition x="0" y="75"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   404
                    <connection refLocalId="10" formalParameter="OUT">
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   405
                      <position x="785" y="320"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   406
                      <position x="650" y="320"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   407
                      <position x="650" y="360"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   408
                      <position x="460" y="360"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   409
                    </connection>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   410
                  </connectionPointIn>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   411
                </variable>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   412
                <variable formalParameter="IN1">
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   413
                  <connectionPointIn>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   414
                    <relPosition x="0" y="115"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   415
                    <connection refLocalId="16">
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   416
                      <position x="785" y="360"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   417
                      <position x="760" y="360"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   418
                    </connection>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   419
                  </connectionPointIn>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   420
                </variable>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   421
              </inputVariables>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   422
              <inOutVariables/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   423
              <outputVariables>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   424
                <variable formalParameter="OUT">
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   425
                  <connectionPointOut>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   426
                    <relPosition x="80" y="40"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   427
                  </connectionPointOut>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   428
                </variable>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   429
              </outputVariables>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   430
            </block>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   431
            <inVariable localId="16" height="35" width="85">
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   432
              <position x="675" y="345"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   433
              <connectionPointOut>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   434
                <relPosition x="85" y="15"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   435
              </connectionPointOut>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   436
              <expression>USINT#0</expression>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   437
            </inVariable>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   438
            <outVariable localId="17" height="35" width="85">
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   439
              <position x="905" y="270"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   440
              <connectionPointIn>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   441
                <relPosition x="0" y="15"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   442
                <connection refLocalId="15" formalParameter="OUT">
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   443
                  <position x="905" y="285"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   444
                  <position x="865" y="285"/>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   445
                </connection>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   446
              </connectionPointIn>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   447
              <expression>COUNTER</expression>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   448
            </outVariable>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   449
          </FBD>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   450
        </body>
abc5abffbc61 add python_gear block (to execute python command each given cycle interval)
greg
parents: 300
diff changeset
   451
      </pou>
280
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   452
    </pous>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   453
  </types>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   454
  <instances>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   455
    <configurations/>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   456
  </instances>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   457
</project>