Gateway settings on windows serverPermalink

Gateway as a service

To allow multiple concurrent users from different user sessions on the server to connect to PLCs, the CODESYS gateway mjust be run as a system service. This is managed by a service called “CoDeSys V2.3 Gateway Service Wrapper”. The service starts at system startup and launches the gateway.

To restart the gateway, use the “Services management console” to restart “CoDeSys V2.3 Gateway Service Wrapper.”

This executable is installed only on Windows Server systems.

The V3 gateway always runs as a service on Windows Server systems and on other Windows operating systems (e.g. Windows 10).

Gateway settings

The communication settings can be configured in the Automation Builder project for each PLC. Otherwise, an error message is displayed when attempting to open CODESYS.

See the description for gateway configuration and select “TCP/IP” under “Connection”.

⮫ “Gateway configuration”

Using Automation Builder on Windows Server requires modifications of the system environment and the Automation Builder settings, e.g. permissions, licensing, session handling etc. The setup of the system and software for Windows Server is described in the application note ‎⮫ Windows Server 2016 - RDM access.