Facing issue in Publishing data using UACpp as publisher in UAExpert

Questions regarding the use of the UaExpert.

Moderator: uaexpert

Post Reply
savita_mujumdar
Jr. Member
Jr. Member
Posts: 1
Joined: 15 Mar 2022, 12:50

Facing issue in Publishing data using UACpp as publisher in UAExpert

Post by savita_mujumdar »

I am trying to create PubSub setup in UAExpert, using UACpp server as Publisher. Below are the steps I performed:
1. In UaExpert, added WriterGroup and Writer to publish data for /Objects/2:Demo/2:Static/2:Scalar/2:Int16.
2. Exported the configuration file from UaExpert and copied it to 'pubsubconfig.bin' in UACpp server bin folder and restarted the server.
3. Subscribed to the Publisher topics using MQTT client.

However, I did not receive any messages on MQTT client. Please let me know if I am missing something in the Publisher setup.
I am using UaCpp version -
Unified Automation UA SDK C++ Server Professional 1.7.0 (Binary Edition)
UAExpert version ->UAExpert 1.6.1.424

User avatar
Support Team
Hero Member
Hero Member
Posts: 3064
Joined: 18 Mar 2011, 15:09

Re: Facing issue in Publishing data using UACpp as publisher in UAExpert

Post by Support Team »

Hi,

we have tested the publishing in CppDemoServer, it works like a charm.

Please contact the provider of your MQTT Client/Subscriber software, there seems to be some implementation bug or missing functionality when subscribing to the OPC data. Most probably the MQTT Client is not capable of understanding the highly compact UA-Binary encoded data (must implement in MQTT Client).
Best regards
Unified Automation Support Team

Post Reply