Cancel
Showing results for 
Search instead for 
Did you mean: 

OPCUAInterface: able to read from but not write to OPC Server

Valued Contributor
Valued Contributor

Hi,

 

We are currently trying to set up an OPC connection from Plant Simulation 13.1 to a Siemens S7-300 plc using a 32-bit Siemens OPC server on another pc.

 

We managed to setup the connection through the OPCUAInterface and were able to read data from the OPC server. However, when trying to write to the OPC server using the setItemValue method, the following error appears:

 

OpcError.pngError message when trying to write to the OPC server using the setItemValue method

The Items and Group1 look like this:

OpcItems.pngOPCUAInterface : ItemsOPCGroup1.pngOPCUAInterface : Group1

Additionally, we noticed a likely bug when opening the 'Show Item Values' window:

OpcBug.pngBug in Show Item Values

As can be seen, some of the parameters defined in the 'items' table were not written to the 'Show Item Values' table correctly.

 

We are certain write access is enabled on the variabe we were able to read since we were able to write to it from a test client on the machine on which Plant Simulation 13.1 is installed.

 

Does anyone have a clue as to where this error might come from?

 

Many thanks in advance.

 

Kind regards,

 

Kaspar Chabot

 

1 REPLY

Re: OPCUAInterface: able to read from but not write to OPC Server

Valued Contributor
Valued Contributor
Update: noticed that the update interval was in ms and not in s, changed both values to 100 but still no change.