tests/python/py_ext_0@py_ext/pyfile.xml
changeset 1436 e15ca67197b9
child 1452 7a2b344de8cf
equal deleted inserted replaced
1435:291a17b755d1 1436:e15ca67197b9
       
     1 <?xml version='1.0' encoding='utf-8'?>
       
     2 <PyFile xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
       
     3   <variables>
       
     4     <variable name="SomeVarName" type="DINT"/>
       
     5     <variable name="Grumpf" type="STRING"/>
       
     6   </variables>
       
     7   <globals>
       
     8     <xhtml:p><![CDATA[
       
     9 ]]></xhtml:p>
       
    10   </globals>
       
    11   <init>
       
    12     <xhtml:p><![CDATA[
       
    13 print "Exposed variables :", _PySafePLCGlobals
       
    14 print "PyExtName :", _PyExtName
       
    15 ]]></xhtml:p>
       
    16   </init>
       
    17   <cleanup>
       
    18     <xhtml:p><![CDATA[
       
    19 ]]></xhtml:p>
       
    20   </cleanup>
       
    21   <start>
       
    22     <xhtml:p><![CDATA[
       
    23 ]]></xhtml:p>
       
    24   </start>
       
    25   <stop>
       
    26     <xhtml:p><![CDATA[
       
    27 ]]></xhtml:p>
       
    28   </stop>
       
    29 </PyFile>