--- a/Pous/pousCommon.xml Tue Apr 08 15:27:53 2025 +0200
+++ b/Pous/pousCommon.xml Wed Apr 09 11:10:17 2025 +0200
@@ -1,7 +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_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="2025-04-08T14:47:31">
+ <contentHeader name="Beremiz non-standard POUs library" modificationDateTime="2025-04-09T10:26:24"> @@ -17,6 +17,224 @@
+ <pou name="get_wifi_settings" pouType="functionBlock"> + <variable name="RESULT"> + <variable name="py_eval"> + <derived name="python_eval"/> + <variable name="INTERFACE_NAME"> + <variable name="FIELD_NAME"> + <inVariable localId="3" height="35" width="56" executionOrderId="0" negated="false"> + <position x="256" y="352"/> + <relPosition x="56" y="16"/> + <expression>TRIG</expression> + <block localId="1" width="125" height="110" typeName="python_eval" instanceName="py_eval" executionOrderId="0"> + <position x="456" y="328"/> + <variable formalParameter="TRIG"> + <relPosition x="0" y="40"/> + <connection refLocalId="3"> + <position x="456" y="368"/> + <position x="312" y="368"/> + <variable formalParameter="CODE"> + <relPosition x="0" y="88"/> + <connection refLocalId="2"> + <position x="456" y="416"/> + <position x="384" y="416"/> + <variable formalParameter="ACK"> + <relPosition x="125" y="40"/> + <variable formalParameter="RESULT"> + <relPosition x="125" y="88"/> + <outVariable localId="5" height="35" width="45" executionOrderId="0" negated="false"> + <position x="681" y="353"/> + <relPosition x="0" y="15"/> + <connection refLocalId="1" formalParameter="ACK"> + <position x="681" y="368"/> + <position x="581" y="368"/> + <expression>ACK</expression> + <outVariable localId="6" height="35" width="75" executionOrderId="0" negated="false"> + <position x="681" y="398"/> + <relPosition x="0" y="18"/> + <connection refLocalId="1" formalParameter="RESULT"> + <position x="681" y="416"/> + <position x="581" y="416"/> + <expression>RESULT</expression> + <block localId="7" typeName="CONCAT" executionOrderId="0" height="192" width="64"> + <position x="512" y="80"/> + <variable formalParameter="IN1"> + <relPosition x="0" y="40"/> + <connection refLocalId="8"> + <position x="512" y="120"/> + <position x="464" y="120"/> + <variable formalParameter="IN2"> + <relPosition x="0" y="72"/> + <connection refLocalId="9"> + <position x="512" y="152"/> + <position x="248" y="152"/> + <variable formalParameter="IN3"> + <relPosition x="0" y="104"/> + <connection refLocalId="10"> + <position x="512" y="184"/> + <position x="464" y="184"/> + <variable formalParameter="IN4"> + <relPosition x="0" y="136"/> + <connection refLocalId="11"> + <position x="512" y="216"/> + <position x="248" y="216"/> + <variable formalParameter="IN5"> + <relPosition x="0" y="176"/> + <connection refLocalId="14"> + <position x="512" y="256"/> + <position x="464" y="256"/> + <variable formalParameter="OUT"> + <relPosition x="64" y="40"/> + <inVariable localId="8" executionOrderId="0" height="35" width="195" negated="false"> + <position x="272" y="104"/> + <relPosition x="195" y="16"/> + <expression>'GetWiFiSettings("'</expression> + <inVariable localId="9" executionOrderId="0" height="32" width="128" negated="false"> + <position x="120" y="136"/> + <relPosition x="128" y="16"/> + <expression>INTERFACE_NAME</expression> + <inVariable localId="10" executionOrderId="0" height="32" width="112" negated="false"> + <position x="352" y="168"/> + <relPosition x="112" y="16"/> + <expression>'", "'</expression> + <inVariable localId="11" executionOrderId="0" height="32" width="112" negated="false"> + <position x="136" y="200"/> + <relPosition x="112" y="16"/> + <expression>FIELD_NAME</expression> + <inVariable localId="14" executionOrderId="0" height="32" width="112" negated="false"> + <position x="352" y="240"/> + <relPosition x="112" y="16"/> + <expression>'")'</expression> + <connector name="Code" localId="30" height="28" width="128"> + <position x="632" y="104"/> + <relPosition x="0" y="16"/> + <connection refLocalId="7" formalParameter="OUT"> + <position x="632" y="120"/> + <position x="576" y="120"/> + <continuation name="Code" localId="2" width="128" height="32"> + <position x="256" y="400"/> + <relPosition x="128" y="16"/> <pou name="connect_to_wifi" pouType="functionBlock">