OPC Publisher gives 10 seconds delay to send telemetry from OPC UA python based server, with --si=0 and --ms=0 configuration

Vivek Sagar Pandey 386 Reputation points
2021-01-19T05:15:52.78+00:00

Hi There,

I am trying to simulate a 6 axis robot. I configured OPC Server using python freeopcua module, I exposed the nodes with the Robot's axis values. node id are ns=2,i=2 to ns=2,i=7.

I put --si=0 and --ms = 0 in container create option of the OPC publisher. But the OPCPublisher holds the data for about 10 seconds and then sends the value, although the values are changing in every 0.1 sec.

I read the OPCPublisher source code, I saw that the default time given there is 10 seconds.

Azure IoT
Azure IoT
A category of Azure services for internet of things devices.
383 questions
Azure IoT Edge
Azure IoT Edge
An Azure service that is used to deploy cloud workloads to run on internet of things (IoT) edge devices via standard containers.
543 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,128 questions
0 comments No comments
{count} votes

Accepted answer
  1. Vivek Sagar Pandey 386 Reputation points
    2021-02-01T09:22:32.833+00:00

    I tried with the microsoft's Marketplace OPCPublisher module but it was not responding for the performance control options. So, I downloaded it's source code from Git-Hub (https://github.com/Azure/iot-edge-opc-publisher ). Published the code in Azure Container Registry using Visual Studio and then deploy it as a module on my Azure Edge runtime.

    It's working now with all the memory and performance control options.iot-edge-opc-publisher

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Sander van de Velde 29,196 Reputation points MVP
    2021-01-19T20:41:59.097+00:00

    Can you check out which version of the OPC Publisher you are using? 2.7 or higher?

    I presume you check this and this documentation already?