tests/python/py_ext_0@py_ext/pyfile.xml
changeset 1452 7a2b344de8cf
parent 1436 e15ca67197b9
child 2680 6bfed6757495
equal deleted inserted replaced
1451:94e620cbd9de 1452:7a2b344de8cf
     4     <variable name="SomeVarName" type="DINT"/>
     4     <variable name="SomeVarName" type="DINT"/>
     5     <variable name="Grumpf" type="STRING"/>
     5     <variable name="Grumpf" type="STRING"/>
     6   </variables>
     6   </variables>
     7   <globals>
     7   <globals>
     8     <xhtml:p><![CDATA[
     8     <xhtml:p><![CDATA[
       
     9 print "All python PLC globals variables :", PLCGlobalsDesc
       
    10 print "Current extention name :", __ext_name__
     9 ]]></xhtml:p>
    11 ]]></xhtml:p>
    10   </globals>
    12   </globals>
    11   <init>
    13   <init>
    12     <xhtml:p><![CDATA[
    14     <xhtml:p><![CDATA[
    13 print "Exposed variables :", _PySafePLCGlobals
       
    14 print "PyExtName :", _PyExtName
       
    15 ]]></xhtml:p>
    15 ]]></xhtml:p>
    16   </init>
    16   </init>
    17   <cleanup>
    17   <cleanup>
    18     <xhtml:p><![CDATA[
    18     <xhtml:p><![CDATA[
    19 ]]></xhtml:p>
    19 ]]></xhtml:p>