Service Installation

The following step descripes how to install the TwinCAT ADS WCF Service, which can be connected by a ADS WCF client. 

1. Install libraries

Install the listed libraries into the "Global Assembly Cache" by copying them to "C:\WINDOWS\assembly" as Administrator: 

2. Create Windows Service

Open the command prompt as Administrator and use the InstallUtil.exe (part of the .NET Framework) to create the Windows service:

Service Installation 1:

You will be informed, if the service is installed ordinary:

Service Installation 2:

Switch to "Control Panel\Administrative Tools\Services" and start the "TcAdsWcfHost" Service:

Service Installation 3:

Open a browser and go to http://localhost:8003/TwinCAT/Ads/Wcf/TcAdsService to test the service. You will receive following webpages:

Service Installation 4:

Sample Overview

Service Installation 5:

If you want to uninstall the TwinCAT ADS WCF Service use the parameter -u of the InstallUtil.exe-Tool (https://docs.microsoft.com/en-us/dotnet/framework/tools/installutil-exe-installer-tool).