Licensing

This program module constantly checks the license. If you have not yet purchased a license, you can do so by e-mail to license@selmo.at or online via Selmo Studio. For licensing you need a request ID named "GVL_Global.strRequestID", which is automatically read by the program module. The purchased license key must then be entered under "GVL_Global.strLicenseKey". If no licensing has been performed, the entire PLC program is in demo mode. In this mode the 'automatic operation release' is reset after 30 minutes. Please note that this program block is called only once per PLC! The checksum is used for consistency checking and, in case of inconsistency, resets the 'automatic operation release' after 30 minutes, even if a license key is present. If necessary, this can be checked with the two boolean variables "GVL_Global.xLicenseValid" and "GVL_Global.xChecksumValid".

// ###################### LICENSING ###########################################
   {region "Description Licensing"}
   (*
   This program module is used to constantly check the license. If a license has not yet been purchased,
   this can be done by sending an e-mail to support@selmo.at or online via SelmoStudio.
   A request ID "GVL_Global.strRequestID" is required for licensing.
   This ID is read automatically by the program block.
   The purchased license key must then be entered at "GVL_Global.strLicenseKey".
   If no licensing has been carried out, the entire PLC program is in demo mode.
   In this mode the 'Automatic operation release' is reset after 30 minutes.
   Please note that this program block is only called once per PLC!
   *)
   {endregion}
         
      SelmoLicenseInfo(
         strLicenseKey := GVL_Global.strLicenseKey,
         dwChecksum := 16#DEBB20E3,
         strRequestID => GVL_Global.strRequestID,
         xLicenseValid => GVL_Global.xLicenseValid,
         xChecksumValid => GVL_Global.xChecksumValid);

<***>Variable name, comment and data type are automatically taken from the Studio

Last updated

Was this helpful?