Changed python_gear ratio type from USINT to UINT, less restrictive regarding range
--- a/py_ext/pous.xml Sun Mar 16 18:39:16 2014 +0100
+++ b/py_ext/pous.xml Mon Mar 17 16:16:06 2014 +0100
@@ -1,14 +1,7 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns="http://www.plcopen.org/xml/tc6.xsd"
- xmlns:xhtml="http://www.w3.org/1999/xhtml"
- xsi:schemaLocation="http://www.plcopen.org/xml/tc6.xsd">
- <fileHeader companyName="Beremiz"
- productName="Beremiz"
- productVersion="0.0"
- creationDateTime="2008-12-14T16:53:26"/>
- <contentHeader name="Beremiz non-standard POUs library"
- modificationDateTime="2008-12-23T22:35:46">
+<?xml version='1.0' encoding='utf-8'?>
+<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.plcopen.org/xml/tc6_0201" xmlns:xhtml="http://www.w3.org/1999/xhtml" xsi:schemaLocation="http://www.plcopen.org/xml/tc6_0201">
+ <fileHeader companyName="Beremiz" productName="Beremiz" productVersion="0.0" creationDateTime="2008-12-14T16:53:26"/>
+ <contentHeader name="Beremiz non-standard POUs library" modificationDateTime="2014-03-17T08:07:24">
<coordinateInfo>
<fbd>
<scaling x="0" y="0"/>
@@ -80,7 +73,7 @@
</interface>
<body>
<ST>
-<![CDATA[{extern void __PythonEvalFB(int, PYTHON_EVAL*);__PythonEvalFB(0, data__);}]]>
+ <xhtml:p><![CDATA[{extern void __PythonEvalFB(int, PYTHON_EVAL*);__PythonEvalFB(0, data__);}]]></xhtml:p>
</ST>
</body>
</pou>
@@ -140,16 +133,16 @@
</interface>
<body>
<ST>
-<![CDATA[{extern void __PythonEvalFB(int, PYTHON_EVAL*);__PythonEvalFB(1,(PYTHON_EVAL*)(void*)data__);}]]>
+ <xhtml:p><![CDATA[{extern void __PythonEvalFB(int, PYTHON_EVAL*);__PythonEvalFB(1,(PYTHON_EVAL*)(void*)data__);}]]></xhtml:p>
</ST>
</body>
</pou>
- <pou name="python_gear" pouType="functionBlock">
+ <pou name="python_gear" pouType="functionBlock">
<interface>
<inputVars>
<variable name="N">
<type>
- <USINT/>
+ <UINT/>
</type>
</variable>
<variable name="TRIG">
@@ -183,7 +176,7 @@
</variable>
<variable name="COUNTER">
<type>
- <USINT/>
+ <UINT/>
</type>
</variable>
</localVars>
@@ -346,12 +339,12 @@
</variable>
</outputVariables>
</block>
- <inVariable localId="11" height="35" width="85">
+ <inVariable localId="11" height="35" width="85" executionOrderId="0" negated="false">
<position x="240" y="370"/>
<connectionPointOut>
- <relPosition x="85" y="15"/>
- </connectionPointOut>
- <expression>USINT#1</expression>
+ <relPosition x="85" y="17"/>
+ </connectionPointOut>
+ <expression>1</expression>
</inVariable>
<block localId="13" width="80" height="65" typeName="EQ">
<position x="535" y="255"/>
@@ -428,12 +421,12 @@
</variable>
</outputVariables>
</block>
- <inVariable localId="16" height="35" width="85">
+ <inVariable localId="16" height="35" width="85" executionOrderId="0" negated="false">
<position x="675" y="345"/>
<connectionPointOut>
- <relPosition x="85" y="15"/>
- </connectionPointOut>
- <expression>USINT#0</expression>
+ <relPosition x="85" y="17"/>
+ </connectionPointOut>
+ <expression>0</expression>
</inVariable>
<outVariable localId="17" height="35" width="85">
<position x="905" y="270"/>