MQTT Client EPC1502
Hello all,
I am trying to connect an EPC 1502 to a MQTT server (test.mosquitto.org). For that purpose I am using the IIoT_Library_4 from the PLCnext Store.
I have called the MQTT Client function block as well as the connect FB, and at the same time I am using the IsConnected FB to see if the connection works. But as you can see in the following image, the client does not connect to the server.
The diagnose message I get is that "Client is not Ready"
I have tried to send and receive MQTT messages with the EPC using Node-Red and with the same server and it works perfectly.
Do you have any hint or advice to make it work?
Thanks in advance,
Best regards.
Comments
It is also possible to get help from the library developers, using the Contact Developer button on the app page in the PLCnext Store.
Hi Martin,
Thanks for the fast answer. I called the FB and both methods with the same instance and triggered the isConnected method separately and works perfectly now.
Thanks again for your help.
Best regards.