ray Posted September 23, 2021 Report Share Posted September 23, 2021 Hi there. Let's see if someone can help me. I have a unistream PLC connected to a mosquitto broker. The PLC is subscribed to various topics. Everything seems to be working fine, but sometimes when I restart the PLC, it doesn't subscribe to topics. However, the connection with the broker is correct. If I see the status of the configuration tags, the following appears: Broker1.Connected = 1 Subscription1.Subscribed = 0 Subscription1.Status = -11 (this means UniStream is not connected to the broker however it is connected.) To solve this problem I have to restart the PLC again. Quote Link to comment Share on other sites More sharing options...
NoamM Posted September 26, 2021 Report Share Posted September 26, 2021 Dear ray, What are the values of the next properties: Subscription properties -> Quality of service Broker lined to the Subscription -> Clean session ? Quote Link to comment Share on other sites More sharing options...
ray Posted September 27, 2021 Author Report Share Posted September 27, 2021 Thank for your reply. Subscription properties -> Quality of service -> 0 Broker lined to the Subscription -> Clean session -> not activated I have tried to subscribe from another client installed on a raspberry pi and the subscription is correct. However, from unistream I do not have a subscription, but I do have a connection with the broker: Broker1.Connected = 1 Subscription1.Subscribed = 0 Subscription1.Status = -11 (this means UniStream is not connected to the broker however it is connected.) Quote Link to comment Share on other sites More sharing options...
NoamM Posted October 12, 2021 Report Share Posted October 12, 2021 Dear ray, Open a ticket on Unitronics "Help center" at https://support.unitronics.com/index.php the Support team will assist. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.