HWID licensing

 

 

Check licensing
  1. Open the IEC Editor and establish a communication link between the engineering PC and the visualization device.
  2. Open the Properties tab of the visualization device by double-clicking the visualization device in the device tree and opening the "PLC Shell" tab which it contains.
  3. Run the following command via the edit box:
    • sewlicmgr info
    • The output shows that no HW binding is available.
Create a HW binding request file and copy it to the engineering PC
  1. Run one of the following commands to create a HW binding request file. (You can optionally specify the file name for the HW binding request file during creation. If the required file name is to include spaces, these must be enclosed in quotes.)
    • sewlicmgr create HwBinding or
    • sewlicmgr create HwBinding My_HWID request file.xml
    • The HW binding request file has been created.
  2. Switch to the "Files" tab.
  3. Copy the created HW binding request file from the "data" directory on the visualization device to your engineering PC. (This step is not necessary if the visualization device and the engineering PC are the same device)
Create hardware binding file and copy to visualization device
  1. Open the "Software licenses" page on the engineering PC in SEW‑EURODRIVE Online Support (https://www.sew‑eurodrive.de/os/licensing).
  2. Switch to the "Manage HWIDs" tab and upload the created HW binding request file via the "BindingRequest file" field.
  3. Click [Create HardwareBinding file].
    • The HWID and the hardware binding file are displayed as the result.
  4. Note down the HWID and download the hardware binding file to your engineering PC via the relevant button.
    • Keep the hardware binding file for your system in a safe place, since it may be required later (e.g. for a version update).
  5. Switch to the IEC Editor and copy the downloaded HW binding file to the "data" directory on the visualization device via the "Files" tab.
Install the hardware binding file on your visualization system
  1. Switch to the "PLC Shell" tab and run the following command to install the HW binding file. INFORMATION: Replace *.xml with the file name of the downloaded HW binding file.
    • sewlicmgr install HwBinding *.xml
    • The HW binding file has been installed.
  2. Run the following command to check the HW binding:
    • sewlicmgr info
    • The output now shows that an HW binding is available.
  3. Run the following command to display a detailed list of the existing HW bindings (SMID/HWID).
    • sewlicmgr list HwBindings
    • The HW binding that has been created is listed. The corresponding hardware ID is specified in the "Binding ID" column.
    • The status of the license file ("LicenseFileState" column) indicates that the license file is missing.
  4. Copy the specified hardware ID ("Binding ID" column).
Activating a license
  1. Open the "Software licenses" page on the engineering PC in SEW‑EURODRIVE Online Support (https://www.sew‑eurodrive.de/os/licensing).
  2. Enter your HWID and your license key in the "Hardware ID" box in the "Activate" tab and click [Activate license].
    • The activation of the license on the HWID is displayed as the result.
  3. Click [Create license file].
    • The "License files" tab is displayed.
Create license request file and copy to engineering PC
  1. Switch to the IEC Editor and run one of the following commands in the "PLC Shell" tab to create a license request file for your HWID. INFORMATION: Replace "HWID" with the HWID you have noted. (You can optionally specify the file name for the license request file during creation. If the required file name is to include spaces, these must be enclosed in quotes.)
    • sewlicmgr create LicenseFile HWID or
    • sewlicmgr create LicenseFile HWID My_license request file.xml
    • The license request file has been created.
  2. Switch to the "Files" tab.
  3. Copy the created license request file from the "data" directory on the visualization device to your engineering PC. (This step is not necessary if the visualization device and the engineering PC are the same device)
Create license file and load onto controller
  1. Switch to the "Software licenses" page again in SEW‑EURODRIVE Online Support (https://www.sew‑eurodrive.de/os/licensing) on the engineering PC.
  2. Upload the created license request file in the "License files" tab via the "LicenceFileRequest file" field.
  3. Click [Create license file].
    • The license file and an overview of the licenses which it contains is displayed as the result.
  4. Download the license file onto your engineering PC using the [Download license file] button.
  5. Switch to the IEC Editor and copy the downloaded license file to the "data" directory on the visualization device via the "Files" tab.
Install the license file
  1. Switch to the "PLC Shell" tab and run the following command to install the license file. INFORMATION: Replace *.sewlicensefile with the file name of the downloaded license file.
    • sewlicmgr install LicenseFile *.sewlicensefile
    • The license file has been installed.
Check licensing
  1. Run the following command to check the available HW bindings:
    • sewlicmgr list HwBindings
    • The created HW binding is listed, and the existence of a valid license file is indicated via the license file status ("LicenceFileState" column).
  2. To check whether the activated license is present, run the following command:
    • sewlicmgr list Licenses
    • The activated license is listed.
  3. Switch to the "Log" tab and check the status of the licensing (filter in accordance with "SewVisuLicensee"). See also Checking the license.
    • The activated license is listed.
Completing licensing
  1. If an application has already been loaded, restart the visualization or download the Visu application again to exit trial mode.