CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum
Deutsche Version English version russian version 
It is currently Mon May 29, 2017 6:55 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 29 posts ]  Go to page Previous 1 2
Author Message
PostPosted: Thu Jul 31, 2014 7:49 pm 
Offline

Joined: Mon Jan 14, 2013 3:47 pm
Posts: 73
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 Pi
3. Backup of the license file on an external storage device
To 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 harddisk
Attention: this backupfile should have a file size of around 130kb-140kb in case of a valid backup!!

Back to FAQ overview


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


Top
   
PostPosted: Thu Jul 31, 2014 7:51 pm 
Offline

Joined: Mon Jan 14, 2013 3:47 pm
Posts: 73
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.

Back to FAQ overview


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


Top
   
PostPosted: Fri Aug 08, 2014 9:27 am 
Offline

Joined: Mon Jan 14, 2013 3:47 pm
Posts: 73
In case of being behind a proxy-server, the activation of the license could fail, if the proxy-server is not properly configured.
But where should we configure the proxy.

This is in CODESYS (3.5SP5 is needed) under Tools - Options - Proxy Settings.

Back to FAQ overview


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


Top
   
PostPosted: Sat Nov 15, 2014 7:41 am 
Offline

Joined: Mon Jan 14, 2013 3:47 pm
Posts: 73
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 version
3. 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 version
after finishing this all placeholders and library dependencies are updated and you project is in current version state.


Top
   
PostPosted: Sun May 03, 2015 6:22 am 
Offline

Joined: Mon Jan 14, 2013 3:47 pm
Posts: 73
there are several ways to do that:
prefered method:
1. Update by Update Raspberry Pi Command see screenshot
a) scan the pi
b) select the Pi by IPAdress
c) update the pi

more advanced usually not needed:
2. manually by Debian Package - Update by CODESYS Developmentsystem(see screenshot):
copy the Debian package from the store download (codesyscontrol_arm_raspberry_V3.5.x.x.deb ) to the pi
via CODESYS file bowser.
Then connect via ssh (putty) to the pi.
Execute:
sudo -s
cd /root/
dpkg -i codesyscontrol_arm_raspberry_V3.5.x.x.deb


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 pi
copy 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 -s
cd /boot/
dpkg -i codesyscontrol_arm_raspberry_V3.5.x.x.deb

rm codesyscontrol_arm_raspberry_V3.5.x.x.deb


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


Top
   
PostPosted: Fri Feb 05, 2016 7:38 pm 
Offline

Joined: Wed Jan 16, 2013 8:35 am
Posts: 88
Execute a "reset" of the plc triggered by your IEC application.


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


Top
   
PostPosted: Mon Feb 29, 2016 1:36 pm 
Offline

Joined: Mon Jan 14, 2013 3:47 pm
Posts: 73
%t['xyz' ddd dddd MMM MMMM MM/dd/yy HH:mm:ss MM % abc HH hh MM mm tt ss MM/dd/yy HH:mm:ss yy yyyy]


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


Top
   
PostPosted: Fri Mar 11, 2016 8:17 am 
Offline

Joined: Mon Jan 14, 2013 3:47 pm
Posts: 73
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 PFC200
3. Backup of the license file on an external storage device
To 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 harddisk
Attention: this backupfile should have a file size of around 130kb-140kb in case of a valid backup!!

2. option to backup the license

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.


Top
   
PostPosted: Fri Mar 11, 2016 8:20 am 
Offline

Joined: Mon Jan 14, 2013 3:47 pm
Posts: 73
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.


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


Top
   
PostPosted: Sun Mar 13, 2016 7:02 pm 
Offline

Joined: Wed Jan 16, 2013 8:35 am
Posts: 88
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 System
Requirements:
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/mandatory
For changing the firmware in the PFC Controller you need the backup file to restore the license.
Tickets could only activated once!

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.


Top
   
PostPosted: Fri Apr 01, 2016 7:25 am 
Offline

Joined: Wed Jan 16, 2013 8:35 am
Posts: 88
Example for writing to the plc logger.


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


Top
   
PostPosted: Sat Oct 29, 2016 4:53 pm 
Offline

Joined: Mon Jan 14, 2013 3:47 pm
Posts: 73
How to check if the PFC is licensed or not from IEC Code.


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


Top
   
PostPosted: Mon Dec 19, 2016 7:44 am 
Offline

Joined: Mon Jan 14, 2013 3:47 pm
Posts: 73
you need to change the CODESYS Control Win under Windows Services to Startup type: Automatic


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


Top
   
PostPosted: Tue Mar 07, 2017 10:53 am 
Offline

Joined: Wed Jan 16, 2013 8:35 am
Posts: 88
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 matter
2. Generate an SD Image of it
3. on 2. Pi – after 1. Bootup delete the content of /root/cmactlicense/
4. restart plc by reboot
a. or better sudo /et/init.d/codesyscontrol stop
b. or better sudo /et/init.d/codesyscontrol start
Now 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)


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 29 posts ]  Go to page Previous 1 2

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 2 guests


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

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited