I'd like to monitor CODESYS licences used in my automation solution, in particular the runtime licence and the soft motion licence.
My need is to rise two alarms on the HMI system in case such licences are missing.
Is that possible ? Could someone suggest a way in order to get that working?
Best regards
Rossano
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'd like to monitor CODESYS licences used in my automation solution, in particular the runtime licence and the soft motion licence.
My need is to rise two alarms on the HMI system in case such licences are missing.
Is that possible ? Could someone suggest a way in order to get that working?
Best regards
Rossano
You can read the status of the license from your application through the CmpCodeMeter library.
See https://forge.codesys.com/forge/talk/Runtime/thread/1c1b00cfc7/
So the code could be something like (change the numbers according to the licenses you are searching for):
Maybe also interesting:
https://faq.codesys.com/display/CDSFAQ/Licensing%3A+Querying+the+Container+Information
Thank you @TimvH, it was very kind of you