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.
MQTT_Client.PNG
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.
