When running the OPC server V3 on Windows Server 2003/ 2008/ 2012 /2016 multiple sessions need to be supported. Therefore the installation of the OPC server as service running with a dedicated user account is recommended.
Configuration steps
-
Create specific user, no administrator account is required
-
Register V3 OPC server as service
-
Configure V3 OPC server as service
Create specific user

Registration

Register the OPC Server executable as service from the command line.
With command “WinCoDeSysOPC /Service” WinCoDeSysOPC.exe gets installed as system service.
Started once, the service will stay “started” until the system gets terminated.
The communication to the configured PLCs survives.
Also here the service gets installed in the current position of WinCoDeSysOPC.exe.
Configuration

At “Computer Management Services and Applications Services” open the “Properties” of the “CoDeSysOPCDAService”.

Complete the Service Configuration

Testing
Check Users and Session during Test Cases

Check the “Session ID” and “User Name” of
-
Gateway.exe,
-
WinCoDeSysOPC.exe and
-
OPC Client
on different test cases like multi session with terminal service sessions.