CODESYS Talk
Third update. I figured that even knowing the level of the license, it will not tell me if its level is enough for the current application. There must be some other way to find this out? I see a component CM write in the Log if starting without license-dongle. "License lost - time left.. " Can I access this CM to check status from inside the application? This function is essential, why is it so hard to find info about implementation?
I think google has fooled me here, the only thing I can conclude so far is what i now from reading the licenseManager, which tells me that my valid license have the following product-code CONTROL - 16#3000 VISU - 16#3003, feature map: 1000 COM - 16#3004, feature map: 0200 Will different level of license give different product codes or will I see the active license level by other means? What I am trying to achieve is block Starting a machine with time limited operation should the application be larger...
I think google has fooled me here, the only thing I can conclude so far is what i now from reading the licenseManager, which tells me that my valid license have the following product-code CONTROL - 16#3000 VISU - 16#3003, feature map: 1000 COM - 16#3004, feature map: 0200 Will different level of license give different product codes or will I see the active license level by other means? What I am trying to achieve is block Starting a machine with time limited operation should the application be larger...
Im trying to read out active license by CmpCodeMeter but am not sure of the combination of ProductCode and FeatureMap that each of CONTROL, VISU and COM / SMALL, MEDIUM, LARGE equals. Started by trying CodeMGetContentByFirmcode (and productCode) expecting error 18 / Not Available if asking for a higher level of license compared to what I know is active, but function just returned the requested productcode and a featuremap Is this the way or is it better to use CodeMOpen? Which seems to also require...
Im trying to read out active license by CmpCodeMeter but am not sure of the combination of ProductCode and FeatureMap that each of CONTROL, VISU and COM / SMALL, MEDIUM, LARGE equals. Started by trying CodeMGetContentByFirmcode expecting error 18 / Not Available if asking for a higher level of license compared to what I know is active, but function just returned the requested productcode and a featuremap Is this the way or is it better to use CodeMOpen? Which seems to also require a featureCode....