How To: Use a license from a license server
Most licensing targets – such as CODESYS Development System, CODESYS Control for Linux SL, and CODESYS Virtual Control SL – support licenses which are located on a network license server. All device-specific runtime systems based on CodeMeter Embedded – such as CODESYS Control for Raspberry Pi SL, CODESYS Control for PFC200 SL, and CODESYS Control for emPC-A/iMX6 SL – do not support network licensing.
For more information about network licenses, see the following: Network Licenses (License Server)
Depending on the Licensing Target, you need to perform one of the following configuration. It does not make any difference whether the license server is installed on a Windows computer or a Linux device.
Programming system: CODESYS Development System
If you want to use a license of the CODESYS Professional Developer Edition from a license server, then you need to enter the IP address of the license server in the CodeMeter WebAdmin.
Open the CodeMeter WebAdmin in the browser.
Click Configuration → Basic Configuration → Server Search List.
Click the
plus symbol and enter the IP address of the license server.
Click the Add button and then click Apply.
The license server will now be added to the server search list.
Runtime system: CODESYS Control
There are two ways to configure the license server, depending on the runtime system product:
All runtime systems
For all runtime systems, you can enter the IP address of the license server in the configuration file:
In a text editor, open the configuration file (for example, on Linux:
/etc/codesyscontrol/CODESYSControl_User.cfg).Add the following entry to the end of the file:
Tip
One or more license servers can be entered.
[CmpCodeMeter] EnableNetLicenses=1 LicenseServer.1=<IP adress license server 1> LicenseServer.2=<IP adress license server 2>
CODESYS Virtual Control for Linux SL
The license server is configured via the Deploy Tool.
Use the Tools → Deploy Control SL command to open the Deploy Tool.
On the Communication sidebar tab, provide the IP address and credentials and click Connect.
Switch to the Operation sidebar tab.
Under VPLCs, select the controller you want to license.
The settings will be displayed on the right side of the dialog.
For License Server, specify the IP address of the license server.
Multiple license servers can be entered, all separated by commas.

Click Save.