lpcmanager

Parents 72a1a99452c1
Children c7c10aa57504
Block Buzzer and Dimmer changed. Removed unused inputs, outputs.
--- a/Pous/pousGOT.xml Thu May 18 10:56:38 2017 +0200
+++ b/Pous/pousGOT.xml Fri May 19 08:37:53 2017 +0200
@@ -16,8 +16,8 @@
</contentHeader>
<types>
<dataTypes/>
- <pous>
- <pou name="Backlight_dimmer" pouType="functionBlock">
+ <pous>
+ <pou name="Backlight_dimmer" pouType="functionBlock">
<interface>
<inputVars>
<variable name="TRIG">
@@ -36,13 +36,7 @@
</type>
</variable>
</inputVars>
- <outputVars>
- <variable name="RESULT">
- <type>
- <string/>
- </type>
- </variable>
- </outputVars>
+ <outputVars/>
<localVars>
<variable name="pooll0">
<type>
@@ -95,19 +89,8 @@
<BOOL/>
</type>
</variable>
- <variable name="BUZZ_VALUE">
- <type>
- <INT/>
- </type>
- </variable>
</inputVars>
- <outputVars>
- <variable name="RESULT">
- <type>
- <string/>
- </type>
- </variable>
- </outputVars>
+ <outputVars/>
<localVars>
<variable name="pooll0">
<type>
@@ -119,11 +102,6 @@
<BOOL/>
</type>
</variable>
- <variable name="INPUT_ARGS">
- <type>
- <string/>
- </type>
- </variable>
<variable name="INPUT_VALUE">
<type>
<string/>
@@ -143,11 +121,10 @@
</interface>
<body>
<ST>
- <xhtml:p><![CDATA[INPUT_VALUE:=INT_TO_STRING(BUZZ_VALUE); INPUT_ARGS:=INPUT_VALUE; INPUT_VALUE_CODE:=CONCAT('PLCObject.MWProvider.SetBuzzerValue(', INPUT_ARGS, ')'); pooll0(TRIG := TRIG, CODE := INPUT_VALUE_CODE, ACK => ACK, RESULT => RESULT);]]></xhtml:p>
+ <xhtml:p><![CDATA[INPUT_VALUE:=BOOL_TO_STRING(TRIG); INPUT_VALUE_CODE:=CONCAT('PLCObject.MWProvider.SetBuzzerValue(', INPUT_VALUE, ')'); pooll0(TRIG := TRIG, CODE := INPUT_VALUE_CODE, ACK => ACK, RESULT => RESULT);]]></xhtml:p>
</ST>
</body>
</pou>
-
</pous>
</types>
<instances>