lpcmanager

Fixed Buzzer POU - was missing inhibit on TRIG when ACK was just rising, in case input value was changing too fast.
--- a/Pous/pousGOT.xml Thu Mar 14 09:33:05 2019 +0100
+++ b/Pous/pousGOT.xml Wed Mar 27 11:32:32 2019 +0100
@@ -174,12 +174,12 @@
<ST>
<xhtml:p><![CDATA[(* Turn buzzer on or off *)
(* test if not already waiting for ack, and there is change to apply *)
-IF NOT(TRIG & NOT(ACK)) & (APPLIED_VAL <> INPUT_VALUE) THEN
+IF NOT(TRIG) & NOT(RACK) & (APPLIED_VAL <> INPUT_VALUE) THEN
TRIG := TRUE;
ORDERED_VAL := INPUT_VALUE;
CODE:=CONCAT(
'SetBuzzerValue(',
- INT_TO_STRING(BOOL_TO_INT(INPUT_VALUE)),
+ INT_TO_STRING(BOOL_TO_INT(ORDERED_VAL)),
')'
);
END_IF;