tests/python/py_ext_0@py_ext/pyfile.xml
author Edouard Tisserant
Mon, 02 Feb 2015 23:45:30 +0100
changeset 1437 04177743b066
parent 1436 e15ca67197b9
child 1452 7a2b344de8cf
permissions -rw-r--r--
Added Beremiz_service.py command line switch to load python extention for runtime independently from PLC program
<?xml version='1.0' encoding='utf-8'?>
<PyFile xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <variables>
    <variable name="SomeVarName" type="DINT"/>
    <variable name="Grumpf" type="STRING"/>
  </variables>
  <globals>
    <xhtml:p><![CDATA[
]]></xhtml:p>
  </globals>
  <init>
    <xhtml:p><![CDATA[
print "Exposed variables :", _PySafePLCGlobals
print "PyExtName :", _PyExtName
]]></xhtml:p>
  </init>
  <cleanup>
    <xhtml:p><![CDATA[
]]></xhtml:p>
  </cleanup>
  <start>
    <xhtml:p><![CDATA[
]]></xhtml:p>
  </start>
  <stop>
    <xhtml:p><![CDATA[
]]></xhtml:p>
  </stop>
</PyFile>