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. 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 ? 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.) 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. Link to comment Share on other sites More sharing options...
vanbijnen Posted May 9 Report Share Posted May 9 where can I find the answer to the above NOT subscribing to topics? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now