cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

How to config the tags to receive XML parameters in the OPC UA server?

TT_10622061
3-Visitor

How to config the tags to receive XML parameters in the OPC UA server?

the data to receive like:

<?xml version="1.0"?>
<MsiMessageContainer xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<messageInstanceId>8edad249-6f54-48b1-0e1k-38999clf08a3</messageInstanceId>
<direction>MES_TO_SF</direction>
<systemId>55</systemId>
<messageType>MsiOrder</messageType>
<messageContext>502</messageContext>
<message>
<MsiOrderParameterMessage>
<messageInstanceId>878af3de-m6e4-447a-a363-cd62b5ccf0ed</messageInstanceId>
<direction>MES_TO_SF</direction>
<messageId>DOWNLOAD</messageId>
<supplierId>1</supplierId>
<creationTime>2023-02-21 09:21:05,115</creationTime>
<parameter>
<name>Line_2</name>
<dataType>String</dataType>
<value>11/2021</value>
<isQualifier>false</isQualifier>
<acquisitionTime>2023-02-21 09:20:10,668</acquisitionTime>
</parameter>
<parameter>
<name>Batch_Size</name>
<dataType>Long</dataType>
<value>100000</value>
<isQualifier>false</isQualifier>
<acquisitionTime>2023-02-21 09:20:10,668</acquisitionTime>
</parameter>
<parameter>
<name>Line_1</name>
<dataType>String</dataType>
<value>06/2020</value>
<isQualifier>false</isQualifier>
<acquisitionTime>2023-02-21 09:20:10,638</acquisitionTime>
</parameter>
<parameter>
<name>EquipmentId</name>
<dataType>String</dataType>
<value>11</value>
<isQualifier>true</isQualifier>
<acquisitionTime>2023-02-21 09:20:10,638</acquisitionTime>
</parameter>

</MsiOrderParameterMessage>
</message>
</MsiMessageContainer>

1 ACCEPTED SOLUTION

Accepted Solutions

Greetings!

You can use the XML Client Driver to pull in XML data into KEPServerEX then have an OPC UA Client read those tags. You can refer the below manual :

https://www.ptc.com/store/-/media/Kepware-Store/EN/2021/2021-opc-xml-da-client-manual-en.pdf


Regards,

Mohit 

View solution in original post

1 REPLY 1

Greetings!

You can use the XML Client Driver to pull in XML data into KEPServerEX then have an OPC UA Client read those tags. You can refer the below manual :

https://www.ptc.com/store/-/media/Kepware-Store/EN/2021/2021-opc-xml-da-client-manual-en.pdf


Regards,

Mohit 

Top Tags