OPC Server V3 on Windows Server 2003 / 2008 / 2012

When running the OPC Server V3 on Windows Server 2003 / 2008 / 2012 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

../_images/9930e0624d249f400a317f343ea94dc8

Register OPC Server as Service

../_images/cabb8f534d26d4340a317f3436008fb9

Register the OPC Server executable as service from the command line.

Note

With command WinCoDeSysOPC /ServiceWinCoDeSysOPC.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.

Configure the OPC Server Service

../_images/4aac2f944d2a16310a317f345919197f

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

../_images/70c56c304d33562c0a317f346577e841

Complete the Service Configuration

../_images/68df282d4d3585840a317f342171ebf9

Check Users and Session during Test Cases

../_images/553b652e4d3766020a317f347727d086

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.