--- a/project/sparkplug™_mqtt_edge_b9741afd/function_blocks_d9bd2ff1/fb_edge_df8b6e33/fb_edgemqtt_c54cbb14/client_bcaccbe4/setbroker_739c78ee/739c78ee51394ef58d58bb90e97fd918.object
+++ b/project/sparkplug™_mqtt_edge_b9741afd/function_blocks_d9bd2ff1/fb_edge_df8b6e33/fb_edgemqtt_c54cbb14/client_bcaccbe4/setbroker_739c78ee/739c78ee51394ef58d58bb90e97fd918.object
@@ -1 +1 @@
-{"payload":{"meta":{"Graph":{"@Type":"81297157","@Value":{"Guid":"(Guid)739c78ee-5139-4ef5-8d58-bb90e97fd918","ParentGuid":"(Guid)c54cbb14-4e89-4ed1-b691-af7ed3b182ba","Name":"(string)SetBroker","Properties":{"@Type":"2c41fa04:IDictionary","@Value":[{"@Key":"(Guid)829a18f2-c514-4f6e-9634-1df173429203","@Value":{"@Type":"829a18f2","@Value":{"ParentObjects":{"@Type":"fa2ee218:IDictionary","@Value":[{"@Key":"(Guid)21af5390-2942-461a-bf89-951aaf6999f1","@Value":"(Guid)bcaccbe4-f127-454d-ad2e-d86831808a97"}]}}}}]},"TypeGuid":"(Guid)f8a58466-d7f6-439f-bbb8-d4600e41d099","EmbeddedTypeGuids":{"@Type":"[Guid]","@Value":["(Guid)a9ed5b7e-75c5-4651-af16-d2c27e98cb94","(Guid)3b83b776-fb25-43b8-99f2-3c507c9143fc"]}}},"TypeInfos":{"2c41fa04":"{2c41fa04-1834-41c1-816e-303c7aa2c05b}","81297157":"{81297157-7ec9-45ce-845e-84cab2b88ade}","829a18f2":"{829a18f2-c514-4f6e-9634-1df173429203}","fa2ee218":"{fa2ee218-a39b-4b6d-b249-49dbddbd168a}","Guid":"System.Guid","string":"System.String"}},"object":{"Graph":{"@Type":"f8a58466","@Value":{"Implementation":{"@Type":"3b83b776","@Value":{"TextDocument":{"@Type":"f3878285","@Value":{"TextLines":{"@Type":"[a5de0b0b]","@Value":[{"@Type":"a5de0b0b","@Value":{"Id":"(long)394","Tag":null,"Text":"(string)_serverUrl := sUrl;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)395","Tag":null,"Text":"(string)_serverPort := uiPort;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)396","Tag":null,"Text":"(string)_keepAlive := uiKeepAlive;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)397","Tag":null,"Text":"(string)_ClientPingInterval := UINT_TO_TIME(uiKeepAlive * 1000); // seconds to milliseconds"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)398","Tag":null,"Text":"(string)WriteEdgeLog("}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)399","Tag":null,"Text":"(string)    CmpLog.LogClass.LOG_INFO,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)400","Tag":null,"Text":"(string)    'MQTT Client SetBroker Adress: %s',"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)401","Tag":null,"Text":"(string)    _serverUrl);"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)402","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)403","Tag":null,"Text":"(string)WriteEdgeLog("}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)404","Tag":null,"Text":"(string)    CmpLog.LogClass.LOG_INFO,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)405","Tag":null,"Text":"(string)    'MQTT Client SetBroker Port: %s',"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)406","Tag":null,"Text":"(string)    TO_STRING(_serverPort));"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)407","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)408","Tag":null,"Text":"(string)WriteEdgeLog("}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)409","Tag":null,"Text":"(string)    CmpLog.LogClass.LOG_INFO,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)410","Tag":null,"Text":"(string)    'MQTT Client SetBroker KeepAlive: %s (sec)',"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)411","Tag":null,"Text":"(string)    TO_STRING(_keepAlive));"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)412","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)45","Tag":null,"Text":"(string)SetBroker := TRUE;"}}]}}}}},"Interface":{"@Type":"a9ed5b7e","@Value":{"TextDocument":{"@Type":"f3878285","@Value":{"TextLines":{"@Type":"[a5de0b0b]","@Value":[{"@Type":"a5de0b0b","@Value":{"Id":"(long)375","Tag":null,"Text":"(string)/// "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)376","Tag":null,"Text":"(string)/// Set Broker Adress, port and keepalive time"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)377","Tag":null,"Text":"(string)/// Returns TRUE when finished"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)378","Tag":null,"Text":"(string)/// "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)379","Tag":null,"Text":"(string)/// The keepalive timeout value is set by the client when it connects. A typical value might be 60 (seconds). "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)380","Tag":null,"Text":"(string)/// This means that the MQTT client is expected to send an MQTT packet at least once every 60 seconds."}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)381","Tag":null,"Text":"(string)/// If no other packet is sent, then a PINGREQ can be used, to which a response is expected (PINGRESP). "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)382","Tag":null,"Text":"(string)/// The intention is to discover \"dead\" TCP connections, which can, under certain circumstances, accept writes for some time after the connection has been broken."}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)383","Tag":null,"Text":"(string)/// "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)384","Tag":null,"Text":"(string)/// example ::"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)385","Tag":null,"Text":"(string)/// SetBroker(sUrl := 'broker.hivemq.com', "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)386","Tag":null,"Text":"(string)/// \t\tuiPort := 1833, "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)387","Tag":null,"Text":"(string)/// \t\tuiKeepAlive := 60);"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)388","Tag":null,"Text":"(string)/// "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)389","Tag":null,"Text":"(string)METHOD SetBroker : BOOL"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)390","Tag":null,"Text":"(string)VAR_INPUT"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)391","Tag":null,"Text":"(string)    sUrl : SPStack.T_MaxString; // The URL of the broker we want to connect to, e.g.: 'test.mosquitto.org'. The URL cannot be longer then 255 characters."}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)392","Tag":null,"Text":"(string)    uiPort : UINT; // The broker Port e.g: 1883"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)393","Tag":null,"Text":"(string)    uiKeepAlive : UINT; // The KeepAlive time default 60 sec. ATTENTION: The ClientPingInterval == KeepAliveTime"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1","Tag":null,"Text":"(string)END_VAR"}}]}}}}}}},"TypeInfos":{"3b83b776":"{3b83b776-fb25-43b8-99f2-3c507c9143fc}","a5de0b0b":"{a5de0b0b-1cb5-4913-ac21-9d70293ec00d}","a9ed5b7e":"{a9ed5b7e-75c5-4651-af16-d2c27e98cb94}","f3878285":"{f3878285-8e4f-490b-bb1b-9acbb7eb04db}","f8a58466":"{f8a58466-d7f6-439f-bbb8-d4600e41d099}","long":"System.Int64","string":"System.String"}}},"FormatVersion":"1.0"}
\ No newline at end of file
+{"payload":{"meta":{"Graph":{"@Type":"81297157","@Value":{"Guid":"(Guid)739c78ee-5139-4ef5-8d58-bb90e97fd918","ParentGuid":"(Guid)c54cbb14-4e89-4ed1-b691-af7ed3b182ba","Name":"(string)SetBroker","Properties":{"@Type":"2c41fa04:IDictionary","@Value":[{"@Key":"(Guid)829a18f2-c514-4f6e-9634-1df173429203","@Value":{"@Type":"829a18f2","@Value":{"ParentObjects":{"@Type":"fa2ee218:IDictionary","@Value":[{"@Key":"(Guid)21af5390-2942-461a-bf89-951aaf6999f1","@Value":"(Guid)bcaccbe4-f127-454d-ad2e-d86831808a97"}]}}}}]},"TypeGuid":"(Guid)f8a58466-d7f6-439f-bbb8-d4600e41d099","EmbeddedTypeGuids":{"@Type":"[Guid]","@Value":["(Guid)a9ed5b7e-75c5-4651-af16-d2c27e98cb94","(Guid)3b83b776-fb25-43b8-99f2-3c507c9143fc"]}}},"TypeInfos":{"2c41fa04":"{2c41fa04-1834-41c1-816e-303c7aa2c05b}","81297157":"{81297157-7ec9-45ce-845e-84cab2b88ade}","829a18f2":"{829a18f2-c514-4f6e-9634-1df173429203}","fa2ee218":"{fa2ee218-a39b-4b6d-b249-49dbddbd168a}","Guid":"System.Guid","string":"System.String"}},"object":{"Graph":{"@Type":"f8a58466","@Value":{"Implementation":{"@Type":"3b83b776","@Value":{"TextDocument":{"@Type":"f3878285","@Value":{"TextLines":{"@Type":"[a5de0b0b]","@Value":[{"@Type":"a5de0b0b","@Value":{"Id":"(long)394","Tag":null,"Text":"(string)_serverUrl := sUrl;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)395","Tag":null,"Text":"(string)_serverPort := uiPort;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)396","Tag":null,"Text":"(string)_keepAlive := uiKeepAlive;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)425","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)397","Tag":null,"Text":"(string)//_ClientPingInterval := UINT_TO_TIME(uiKeepAlive * 1000); // seconds to milliseconds"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)413","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)414","Tag":null,"Text":"(string)WriteEdgeLog( CmpLog.LogClass.LOG_INFO,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)415","Tag":null,"Text":"(string)                'Edge Connecting to: %s',"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)416","Tag":null,"Text":"(string)                sUrl);"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)417","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)418","Tag":null,"Text":"(string)WriteEdgeLog( CmpLog.LogClass.LOG_INFO,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)419","Tag":null,"Text":"(string)                'Edge Connecting on port: %s',"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)420","Tag":null,"Text":"(string)                UINT_TO_STRING(uiport));"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)421","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)422","Tag":null,"Text":"(string)WriteEdgeLog( CmpLog.LogClass.LOG_INFO,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)423","Tag":null,"Text":"(string)                'Edge Session KeepAlive: %s sec',"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)411","Tag":null,"Text":"(string)                UINT_TO_STRING(uiKeepAlive));"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)412","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)45","Tag":null,"Text":"(string)SetBroker := TRUE;"}}]}}}}},"Interface":{"@Type":"a9ed5b7e","@Value":{"TextDocument":{"@Type":"f3878285","@Value":{"TextLines":{"@Type":"[a5de0b0b]","@Value":[{"@Type":"a5de0b0b","@Value":{"Id":"(long)376","Tag":null,"Text":"(string)/// Set Broker Adress, port and keepalive time"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)377","Tag":null,"Text":"(string)/// Returns TRUE when finished"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)378","Tag":null,"Text":"(string)/// "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)379","Tag":null,"Text":"(string)/// The keepalive timeout value is set by the client when it connects. A typical value might be 60 (seconds). "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)380","Tag":null,"Text":"(string)/// This means that the MQTT client is expected to send an MQTT packet at least once every 60 seconds."}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)381","Tag":null,"Text":"(string)/// If no other packet is sent, then a PINGREQ can be used, to which a response is expected (PINGRESP). "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)382","Tag":null,"Text":"(string)/// The intention is to discover \"dead\" TCP connections, which can, under certain circumstances, accept writes for some time after the connection has been broken."}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)383","Tag":null,"Text":"(string)/// "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)384","Tag":null,"Text":"(string)/// example ::"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)385","Tag":null,"Text":"(string)/// SetBroker(sUrl := 'broker.hivemq.com', "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)386","Tag":null,"Text":"(string)/// \t\tuiPort := 1833, "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)387","Tag":null,"Text":"(string)/// \t\tuiKeepAlive := 60);"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)388","Tag":null,"Text":"(string)/// "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)389","Tag":null,"Text":"(string)METHOD SetBroker : BOOL"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)390","Tag":null,"Text":"(string)VAR_INPUT"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)391","Tag":null,"Text":"(string)    sUrl : SPStack.T_MaxString; // The URL of the broker we want to connect to, e.g.: 'test.mosquitto.org'. The URL cannot be longer then 255 characters."}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)392","Tag":null,"Text":"(string)    uiPort : UINT; // The broker Port e.g: 1883"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)393","Tag":null,"Text":"(string)    uiKeepAlive : UINT; // The KeepAlive time default 60 sec. ATTENTION: The ClientPingInterval == KeepAliveTime"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1","Tag":null,"Text":"(string)END_VAR"}}]}}}}}}},"TypeInfos":{"3b83b776":"{3b83b776-fb25-43b8-99f2-3c507c9143fc}","a5de0b0b":"{a5de0b0b-1cb5-4913-ac21-9d70293ec00d}","a9ed5b7e":"{a9ed5b7e-75c5-4651-af16-d2c27e98cb94}","f3878285":"{f3878285-8e4f-490b-bb1b-9acbb7eb04db}","f8a58466":"{f8a58466-d7f6-439f-bbb8-d4600e41d099}","long":"System.Int64","string":"System.String"}}},"FormatVersion":"1.0"}
\ No newline at end of file