pous.xml
changeset 300 7f7912ae5ee8
parent 282 2221e99d2f8f
child 346 abc5abffbc61
equal deleted inserted replaced
299:d7f8ffe18017 300:7f7912ae5ee8
    78             </variable>
    78             </variable>
    79           </localVars>
    79           </localVars>
    80         </interface>
    80         </interface>
    81         <body>
    81         <body>
    82           <ST>
    82           <ST>
    83 <![CDATA[{extern void __PythonEvalFB(PYTHON_EVAL*);__PythonEvalFB(data__);}]]>
    83 <![CDATA[{extern void __PythonEvalFB(int, PYTHON_EVAL*);__PythonEvalFB(0, data__);}]]>
       
    84           </ST>
       
    85         </body>
       
    86       </pou>
       
    87       <pou name="python_poll" pouType="functionBlock">
       
    88         <interface>
       
    89           <inputVars>
       
    90             <variable name="TRIG">
       
    91               <type>
       
    92                 <BOOL/>
       
    93               </type>
       
    94             </variable>
       
    95             <variable name="CODE">
       
    96               <type>
       
    97                 <string/>
       
    98               </type>
       
    99             </variable>
       
   100           </inputVars>
       
   101           <outputVars>
       
   102             <variable name="ACK">
       
   103               <type>
       
   104                 <BOOL/>
       
   105               </type>
       
   106             </variable>
       
   107             <variable name="RESULT">
       
   108               <type>
       
   109                 <string/>
       
   110               </type>
       
   111             </variable>
       
   112           </outputVars>
       
   113           <localVars>
       
   114             <variable name="STATE">
       
   115               <type>
       
   116                 <DWORD/>
       
   117               </type>
       
   118             </variable>
       
   119             <variable name="BUFFER">
       
   120               <type>
       
   121                 <string/>
       
   122               </type>
       
   123             </variable>
       
   124             <variable name="PREBUFFER">
       
   125               <type>
       
   126                 <string/>
       
   127               </type>
       
   128             </variable>
       
   129             <variable name="TRIGM1">
       
   130               <type>
       
   131                 <BOOL/>
       
   132               </type>
       
   133             </variable>
       
   134             <variable name="TRIGGED">
       
   135               <type>
       
   136                 <BOOL/>
       
   137               </type>
       
   138             </variable>
       
   139           </localVars>
       
   140         </interface>
       
   141         <body>
       
   142           <ST>
       
   143 <![CDATA[{extern void __PythonEvalFB(int, PYTHON_EVAL*);__PythonEvalFB(1,(PYTHON_EVAL*)(void*)data__);}]]>
    84           </ST>
   144           </ST>
    85         </body>
   145         </body>
    86       </pou>
   146       </pou>
    87     </pous>
   147     </pous>
    88   </types>
   148   </types>