OPC Publisher not giving full message

Jackson John 0 Reputation points
2025-03-05T14:35:58.1966667+00:00

Checking in UaExpert, we are receiving the complete message.

UaExpert

OPC Publisher Settings

We are using the following OPC Publisher image:


"settings": {

  "image": "mcr.microsoft.com/iotedge/opc-publisher:latest",

  "createOptions": "{\"Hostname\":\"publisher\",\"Cmd\":[\"--ll=trace\",\"--an=publisher\",\"--sn=CN=publisher\",\"--pf=/appdata/pn.json\",\"--tp=/appdata/pki/trusted\",\"--ap=/appdata/pki/own\",\"--di=60\",\"--BypassCertVerification=true\",\"--to\",\"--aa\",\"--si=1\",\"--bs=100\",\"--ms=32768\",\"--ih=AmqpOverTcp\",\"--me=Json\",\"--mm=PubSub\",\"--ctb\"],\"ExposedPorts\":{\"5300/tcp\":{}},\"HostConfig\":{\"PortBindings\":{\"9080/tcp\":[{\"HostPort\":\"9080\"}],\"9072/tcp\":[{\"HostPort\":\"9072\"}],\"9071/tcp\":[{\"HostPort\":\"9071\"}],\"5300/tcp\":[{\"HostPort\":\"5300\"}],\"80/tcp\":[{\"HostPort\":\"6000\"}],\"8080/tcp\":[{\"HostPort\":\"6001\"}]},\"Binds\":[\"C:\\\\iotedge:/appdata\"]}}"

}

pn.json Configuration


[

  {

    "EndpointUrl": "opc.tcp://opc:50000",

    "OpcNodes": [

      {

        "Id": "ns=9;s=ii05_ServerTEST.Model.ISA95.ISA95EventDispatcher",

        "EventFilter": {

          "typeDefinitionId": "http://opcfoundation.org/UA/ISA95-JOBCONTROL_V2/#i=1006"

        },

        "OpcPublishingInterval": 0

      }

    ]

  }

]

Output


[

  {

    "MessageId": "ee1ef756-00f3-4003-aad9-0a0f45bf1c37",

    "MessageType": "ua-data",

    "PublisherId": "ukbvlfsedge02",

    "DataSetWriterGroup": "<<UnknownWriterGroup>>",

    "Messages": [

      {

        "DataSetWriterId": "<<UnknownDataSet>>|ns=9;s=GB05_ServerTEST.Model.ISA95.ISA95EventDispatcher",

        "SequenceNumber": 1,

        "MetaDataVersion": {

          "MajorVersion": 1

        },

        "Timestamp": "2025-03-05T08:40:54.5845722Z",

        "MessageType": "ua-event",

        "Payload": {

          "http://opcfoundation.org/UA/ISA95-JOBCONTROL_V2/#JobResponse": {

            "Value": {

              "JobResponseID": "12333",

              "JobOrderID": "1weeqq1",

              "StartTime": "2025-03-03T02:29:58.3080779Z",

              "EndTime": "2025-03-03T07:29:58.3084671Z"

            }

          }

        }

      }

    ]

  }

]

Issue: Missing Array Types

We are receiving some parts of the response, but array types are missing in:


http://opcfoundation.org/UA/ISA95-JOBCONTROL_V2/#JobResponse

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.
594 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Jackson John 0 Reputation points
    2025-03-13T16:08:47.0533333+00:00

    We have raised a ticket with microsoft team and working with them. They are planning to give us a mcr.microsoft.com/iotedge/opc-publisher:2.9.12-preview5 image which have more logs.

    Thanks for the help

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.