Skip to main content

How To: Use a license on a license server

All licensing targets (for example, CODESYS Development System and CODESYS Control for <device> SL) support licenses which are stored on a network license server.

For more information about network licenses, see the following: Network Licenses (License Server)

You need to perform the following configuration, depending on the Licensing Target. It does not make any difference whether the license server is installed on a Windows computer or a Linux device.

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.

  1. Open the CodeMeter WebAdmin in the browser.

  2. Click ConfigurationBasicServer Search List.

  3. Click the _license_icon_webadmin_plus.png plus symbol and enter the IP address of the license server.

    _license_img_howto_codemeter_webadmin_serverlist.png
  4. Click the Add button and then click on Apply.

    The license server has now been 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:

  1. Open the configuration file in a text editor (for example, on Linux: /etc/codesyscontrol/CODESYSControl_User.cfg)).

  2. 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.

  1. Use the ToolsDeploy Control SL command to open the Deploy Tool.

  2. On the Communication Settings tab, specify the IP address and credentials and click Connect.

  3. Switch to the Operation tab.

  4. Under VPLCs, select the controller you want to license.

    The settings are displayed on the right side of the dialog.

  5. Under License server, specify the IP address of the license server.

    Multiple license servers can be entered, separated by commas.

    _license_img_howto_licenseserver_use_license.png
  6. Click Save.