Why is this needed?Because in case of an corrupt SD card image you need the possibility to restore the license (after new install if Raspberry Pi)Different processes (e.g. loss of power) can lead to a corruption of the file system of the Raspberry Pi. To back up the license the following proceeding is recommended:

Backup of the license

1. Activation of the license (as described above)2. Reboot of the Raspberry Pi3. Backup of the license file on an external storage deviceTo safe the license file: 3SLicenseInfo.tar which you will find in the 'backup' directory on the Raspberry Pi (accessible in CODESYS File Browser via double-click on the device under the tab “Files”).

Store the content of the folder („3SLicenseInfo.tar“) to your computers harddiskAttention: this backupfile should have a file size of around 130kb-140kb in case of a valid backup!!

To reactivate the license the license file archive has to be copied to the folder “restore”. Subsequently the system has to be rebooted.Note: On activation the license is bound to a single Raspberry Pi and can only be reactivated on the same device!A license transfer is not supported to another Pi than the original licensed.

Attention New:Restore by license update file: CMLicenseNew.WibuCmRaU If you have missed to save this file, this could be requested (send the origin ticket number via CODESYS Store - 'my question' - Login to your store account)

Why do you get on some projects examples from store after open them the message 'missing libraries'?The examples are uploaded to a specific version and are usually not updated to every new release of CODESYS,So it might be that your CODESYS Version is newer then the plc device version which is used in the project example. (the placeholders for the libraries are in the devicedescription of the plc)

How to solve this?Which steps are needed to have a full updated project in current CODESYS version?

1. after project open 'Project Environment Dialog' should be answered with 'set all to newest' (compiler and visualization profile will ne updated)2. rightclick on device tree to the plc and select 'update device' to the current version3. rightclick on fieldbus master (if there are on used in the example project) and after that to the slaves and select 'update device' to the current versionafter finishing this all placeholders and library dependencies are updated and you project is in current version state.

2. an other option is: copy it to the sd card image:if you plug the sd card Image to the windows pc you could access the boot partition of the picopy the codesyscontrol_arm_raspberry_V3.5.x.x.deb to this Partition.Boot the pi then connect via ssh (putty) to the pi.Execute:sudo -scd /boot/dpkg -i codesyscontrol_arm_raspberry_V3.5.x.x.debrm codesyscontrol_arm_raspberry_V3.5.x.x.deb

You do not have the required permissions to view the files attached to this post.

Why is this needed?Because in case of an reinstalling the Firmware you need the possibility to restore the license

To back up the license the following proceeding is recommended:

Backup of the license

1. Activation of the license (as described above)2. Reboot of the PFC2003. Backup of the license file on an external storage deviceTo safe the license file: 3SLicenseInfo.tar which you will find in the 'backup' directory on the PFC (accessible in CODESYS File Browser via double-click on the device under the tab “Files”).

Store the content of the folder („3SLicenseInfo.tar“) to your computers harddiskAttention: this backupfile should have a file size of around 130kb-140kb in case of a valid backup!!Attention new:2. option to backup the license my license update file

save the File CMLiecenseNew.WibuCmRaU, which you find here in the plc file browser to your pc.

You do not have the required permissions to view the files attached to this post.

To reactivate the license the license file archive has to be copied to the folder “restore”. Subsequently the system has to be rebooted.Note: On activation the license is bound to a single PFC200 and can only be reactivated on the same device/hardware!A license transfer is not supported to another PFC than the original licensed.

Attention New:Restore by license update file: CMLicenseNew.WibuCmRaU If you have missed to save this file, this could be requested (send the origin ticket number via CODESYS Store - 'my question' - Login to your store account)

If this does not work:delete the directory: /var/opt/codesys/cmact_licenses/this could be done by the CODESYS file borwserand retry to apply the license by the backup file.

You do not have the required permissions to view the files attached to this post.

Requirement: you need to buy a license in the CODESYS store then you will get a ticketnumber via email

The Licensing procedure is the following:

Licensing via the CODESYS Development SystemRequirements:PC with CODESYS Development System, internet access and connected PFC200.Licensing is done via PC / notebook with the CODESYS Development System and the connected PFC. 1. Scan your PFC200 in the network and connect to it.2. The license entries are edited via double-click on the device under “PLC settings” / “Edit licenses…”. The license activation is done under “Install licenses” / “Activate license” by entering the ticket number and transfer of the license to the CODESYS Software Key (Softcontainer).

Attention: A license backup for each activated PFC Controller is highly recommended/mandatoryFor changing the firmware in the PFC Controller you need the backup file to restore the license.Tickets could only activated once!Prefered method: Backup CMLicenseNew.WibuCmRaU file to your pc or use the tar file. (both is possible)The backupfile should have a file size of around 130kb-140kb in case of a valid backup!

You do not have the required permissions to view the files attached to this post.

If you work with an own created SD Images including all your Installation and CODESYS runtime so the procedure is:

1. Master Image from original PI – is lincensed or unlicensed no matter2. Generate an SD Image of it3. on 2. Pi – after 1. Bootup delete the content of /root/cmactlicense/ or since 3.5SP12 /var/opt/codesys/cmact_licenses/4. restart plc by reboot a. or better sudo /et/init.d/codesyscontrol stop b. or better sudo /et/init.d/codesyscontrol startNow an empty SoftContainer for the new device (you new Pi has a different Serial number) is available 5. now license the this PI

Recommendation:Backup now the file CMLicenseNew.WibuCMRaU this is your update file for the PI – could use this to restore the license at any time to this PI where you pull out this file.(Use CODESYS File browser for doing this)

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum