tests/python/plc.xml
changeset 734 5c42cafaee15
parent 729 25054c592dc4
child 763 c1104099c151
equal deleted inserted replaced
733:915be999f3f0 734:5c42cafaee15
     1 <?xml version="1.0" encoding="UTF-8"?>
     1 <?xml version="1.0" encoding="UTF-8"?>
     2 <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     2 <project xmlns="http://www.plcopen.org/xml/tc6.xsd"
     3          xmlns="http://www.plcopen.org/xml/tc6.xsd"
     3          xsi:schemaLocation="http://www.plcopen.org/xml/tc6.xsd"
     4          xmlns:xhtml="http://www.w3.org/1999/xhtml"
     4          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     5          xsi:schemaLocation="http://www.plcopen.org/xml/tc6.xsd">
     5          xmlns:xhtml="http://www.w3.org/1999/xhtml">
     6   <fileHeader companyName="beremiz"
     6   <fileHeader companyName="beremiz"
     7               productName="Beremiz"
     7               productName="Beremiz"
     8               productVersion="0.0"
     8               productVersion="0.0"
     9               creationDateTime="2008-12-14T16:21:19"/>
     9               creationDateTime="2008-12-14T16:21:19"/>
    10   <contentHeader name="Beremiz Python Support Tests"
    10   <contentHeader name="Beremiz Python Support Tests"
    11                  modificationDateTime="2012-05-12T11:55:53">
    11                  modificationDateTime="2012-05-20T18:14:50">
    12     <coordinateInfo>
    12     <coordinateInfo>
    13       <pageSize x="1024" y="1024"/>
    13       <pageSize x="1024" y="1024"/>
    14       <fbd>
    14       <fbd>
    15         <scaling x="5" y="5"/>
    15         <scaling x="5" y="5"/>
    16       </fbd>
    16       </fbd>
   200             <inVariable localId="11" height="30" width="290">
   200             <inVariable localId="11" height="30" width="290">
   201               <position x="290" y="465"/>
   201               <position x="290" y="465"/>
   202               <connectionPointOut>
   202               <connectionPointOut>
   203                 <relPosition x="290" y="15"/>
   203                 <relPosition x="290" y="15"/>
   204               </connectionPointOut>
   204               </connectionPointOut>
   205               <expression>'sys.stdout.write("5678\n")'</expression>
   205               <expression>'PLCBinary.Python_to_C_Call(5678)'</expression>
   206             </inVariable>
   206             </inVariable>
   207             <block localId="12" width="125" height="80" typeName="python_eval" instanceName="Block2">
   207             <block localId="12" width="125" height="80" typeName="python_eval" instanceName="Block2">
   208               <position x="650" y="417"/>
   208               <position x="650" y="417"/>
   209               <inputVariables>
   209               <inputVariables>
   210                 <variable formalParameter="TRIG">
   210                 <variable formalParameter="TRIG">
   245             <inVariable localId="14" height="30" width="290">
   245             <inVariable localId="14" height="30" width="290">
   246               <position x="290" y="590"/>
   246               <position x="290" y="590"/>
   247               <connectionPointOut>
   247               <connectionPointOut>
   248                 <relPosition x="290" y="15"/>
   248                 <relPosition x="290" y="15"/>
   249               </connectionPointOut>
   249               </connectionPointOut>
   250               <expression>'myprintfunc("90AB\n")'</expression>
   250               <expression>'MyPythonFunc(42)'</expression>
   251             </inVariable>
   251             </inVariable>
   252             <block localId="15" width="125" height="80" typeName="python_eval" instanceName="Block3">
   252             <block localId="15" width="125" height="80" typeName="python_eval" instanceName="Block3">
   253               <position x="650" y="542"/>
   253               <position x="650" y="542"/>
   254               <inputVariables>
   254               <inputVariables>
   255                 <variable formalParameter="TRIG">
   255                 <variable formalParameter="TRIG">