How to list license capabilities

Find and share HowTos to various installations / configurations!
Search

Post Reply
3 posts • Page 1 of 1
winthrop.polk
Posts: 15
Joined: Thu May 06, 2021 1:34 pm

How to list license capabilities

Post by winthrop.polk »

Hello,

I need a test, "how to list license information, capabilities and expiration date at the command line". i.e. once the vastly differing methods of license setup are completed, how can we check that it is properly activated for all managers and capabilities? How can I check when a license is set to expire, we might want a data point on this.

/opt/WinCC_OA/3.16/bin/WCCOAascii -proj SSEN_APP -get _Event.ReadLicense -log +stderr
- This appears to retrun [""] on a licensed (dongle over virtualized USB) and a demo machine... not much help here.

User avatar
kilianvp
Posts: 443
Joined: Fri Jan 16, 2015 10:29 am

Re: How to list license capabilities

Post by kilianvp »

You have to check /opt/WinCC_OA/3.16/shield.txt .
If expire has the value "0000.00.00;00:00:00,000" your shield will never expire. Otherwise it will expire after that given date.

If _Event.License.RemainingTime <= 10080 your Licence is invalid and the project runs in demo mode.

User avatar
leoknipp
Posts: 2926
Joined: Tue Aug 24, 2010 7:28 pm

Re: How to list license capabilities

Post by leoknipp »

The DP element _Event.ReadLicense can only be set to trigger reading the license.
When using WinCC OA 3.16 or an older version you can simply read the shield file to see which license options are set.

Best Regards
Leopold Knipp
Senior Support Specialist

Post Reply
3 posts • Page 1 of 1