...
See the screenshot - you could get the serial number of you Pi by the “Pi Update Tool”:
Restoring the license on a reinstalled device
If you use an Image where another (incorrect) license was already active, please you must first delete the cmact_licenses directory by CODESYS file browser, then restart the plc, and then activate the license with the license file ...
...