Warning: no runtime license - running in demo mode (~120 minutes)

The Codesys 3.5 license is reconciled against some internal HW serial numbers. This is done by Codesys to prevent users from building a licensed system, cloning it, and skirting the cost. This means when you clone a manually licensed PFC to a new piece of HW it will kill the license. So when you try to add an additional license via Codesys License Manager you’ll get a second empty softcontainer. This leads to an unlicensed PFC (it can only handle one container).

The best way to avoid this is to remove the Codesys license from the PFC before creating the SD card image.

However, if this is not an option the solution is:

  1. Immediately after auto-installing the project image onto the new PFC, delete (rm -r) the /var/opt/codesys/cmact_licenses directory and content of it.

  2. Then, reboot the PFC and this directory will be auto recreated. The info.lic will no longer be there, the directory should only contain the .wbb file.

  3. Add a new license via the Codesys License Manager, power cycle and the log will display runtime licensed as expected.

2 Likes