Requirement
The "Change of session states" option (OPC UA > Server > Diagnostics) is selected in the
OPC UA properties of the CPU.
Example
A client transmits incorrect authentication data (for example, incorrect password) when a
connection is established. The new state of the "ActivationFailed" session is entered with the
corresponding session ID in the diagnostic buffer.
Subscription states and state transitions
①
②
③
④
Figure 9-49
9.3.6.4
Check for security events
If the CPU diagnostics detects a security event during the OPC UA communication, it can
enter it in the diagnostic buffer.
Requirements
● S7-1500 CPUs as of firmware version 2.8
● The "Check for security events" option is activated (properties of the CPU > OPC UA >
Server > Diagnostics).
Communication
Function Manual, 11/2019, A5E03735815-AH
Client connects to server, login with correct authentication data (correct credentials).
Client closes connection correctly.
Client no longer sends messages; session ends with timeout.
Client connects to server, login with incorrect authentication data.
Session states and state transitions
OPC UA communication
9.3 Using the S7-1500 as an OPC UA server
237