E_LicenseHResult

TYPE E_LicenseHResult :
(
    //success
    E_LHR_LicenseOK                := 0,
    E_LHR_LicenseOK_Pending        := 16#203,
    E_LHR_LicenseOK_Demo           := 16#254,
    E_LHR_LicenseOK_OEM            := 16#255,
    //error
    E_LHR_LicenseNoFound           := TO_DINT(16#98110700+16#24),
    E_LHR_LicenseExpired           := TO_DINT(16#98110700+16#25),
    E_LHR_LicenseExceeded          := TO_DINT(16#98110700+16#26),
    E_LHR_LicenseInvalid           := TO_DINT(16#98110700+16#27),
    E_LHR_LicenseSystemIdInvalid   := TO_DINT(16#98110700+16#28),
    E_LHR_LicenseNoTimeLimit       := TO_DINT(16#98110700+16#29),
    E_LHR_LicenseTimeInFuture      := TO_DINT(16#98110700+16#2A),
    E_LHR_LicenseTimePeriodToLong  := TO_DINT(16#98110700+16#2B),
    E_LHR_DeviceException          := TO_DINT(16#98110700+16#2C),
    E_LHR_LicenseDuplicated        := TO_DINT(16#98110700+16#2D),
    E_LHR_SignatureInvalid         := TO_DINT(16#98110700+16#2E),
    E_LHR_CertificateInvalid       := TO_DINT(16#98110700+16#2F),
    E_LHR_LicenseOemNotFound       := TO_DINT(16#98110700+16#30),
    E_LHR_LicenseRestricted        := TO_DINT(16#98110700+16#31),
    E_LHR_LicenseDemoDenied        := TO_DINT(16#98110700+16#32),
    E_LHR_LicensePlatformLevelInv  := TO_DINT(16#98110700+16#33)
) DINT;
END_TYPE

Value

Meaning

E_LHR_LicenseOK

License is valid

E_LHR_LicenseOK_Pending

Validation of the licensing device (e.g. License Key Terminal) required

E_LHR_LicenseOK_Demo

Trial license is valid

E_LHR_LicenseOK_OEM

OEM license is valid

E_LHR_LicenseNoFound

Missing license

E_LHR_LicenseExpired

License expired

E_LHR_LicenseExceeded

License has too few instances

E_LHR_LicenseInvalid

License is invalid

E_LHR_LicenseSystemIdInvalid

Incorrect system ID for the license

E_LHR_LicenseNoTimeLimit

License not limited in time

E_LHR_LicenseTimeInFuture

License problem: Time of issue is in the future

E_LHR_LicenseTimePeriodToLong

License period too long

E_LHR_DeviceException

Exception at system startup

E_LHR_LicenseDuplicated

License data read multiple times

E_LHR_SignatureInvalid

Invalid signature

E_LHR_CertificateInvalid

Invalid certificate

E_LHR_LicenseOemNotFound

OEM license for unknown OEM

E_LHR_LicenseRestricted

License invalid for the system

E_LHR_LicenseDemoDenied

Trial license not allowed

E_LHR_LicensePlatformLevelInv

Invalid platform level for the license