Cancel
Showing results for 
Search instead for 
Did you mean: 

OPCUA connection, can't set "string" data type in PS

Experimenter
Experimenter

Hello Community,

 

I created a connection between Plant Simulation and localhost OPCUA Server.

I can read all of the values, and I can write it too in PS, except "string" data type.

The "setItemValue" order overwrites the value in the OPCUA Interface(ShowItemValues), but the Interface can't send it to the OPC Server.

I get this error message:

"The supplied value is not of the same type as the attribute."

 

I use this method:

OPCUA.setItemValue("message", "hello")

 

Version of softwares:

- Plant Simulation V14.0 Professional with Interface Packages

- OPCUA Server: I tried with Kepware 5.21, Kepware 6, Kepware 6.4, UA Ansi C Server

 

I would really appreciate any suggestions for this problem.

 

Attila

 

1 REPLY 1

Re: OPCUA connection, can't set "string" data type in PS

Experimenter
Experimenter

The problem solved with Plant Simulation V14.0.2 patch.