Siemens S7-1200 OPC-UA
Posted: 18 Mar 2023, 20:48
Hello,
Me and some fellow colleagues have been trying to get an OPC UA server running on a Siemens S7-1200 PLC.
Connection works just fine while we connect as anonymous users and with no security policy.
We have tried every combination of policies with no luck.
We have tried configuring the server with the certificates locally on and with the global certificate manager in TIA.
We have tried trusted and untrusted client and server meaning presharing certs or not.
There are really not that many choices when setting up the service in TIA/PLC.
We need fresh eyes on what could cause this issue.
CPU outputs these fault explanations:
An OPC UA client tried to invoke a service. One or more nodes could not be found in the address space of the CPU or any of the used parameters is not correct. This can lead to high communication load.
Remedy:
- Remove missing items from client configuration
- Add missing items in server or generic interface
- Correct service call of the clients that sent services with invalid parameters
An OPC UA client invoked a service with invalid parameters or in a wrong sequence. The OPC UA Server sent a service fault to the client.
Remedy:
- Correct service call of the clients that sent services with invalid parameters or in a wrong sequence.
We are currently using UA Expert 1.6.2
Me and some fellow colleagues have been trying to get an OPC UA server running on a Siemens S7-1200 PLC.
Connection works just fine while we connect as anonymous users and with no security policy.
We have tried every combination of policies with no luck.
We have tried configuring the server with the certificates locally on and with the global certificate manager in TIA.
We have tried trusted and untrusted client and server meaning presharing certs or not.
There are really not that many choices when setting up the service in TIA/PLC.
We need fresh eyes on what could cause this issue.
CPU outputs these fault explanations:
An OPC UA client tried to invoke a service. One or more nodes could not be found in the address space of the CPU or any of the used parameters is not correct. This can lead to high communication load.
Remedy:
- Remove missing items from client configuration
- Add missing items in server or generic interface
- Correct service call of the clients that sent services with invalid parameters
An OPC UA client invoked a service with invalid parameters or in a wrong sequence. The OPC UA Server sent a service fault to the client.
Remedy:
- Correct service call of the clients that sent services with invalid parameters or in a wrong sequence.
We are currently using UA Expert 1.6.2