<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to CODESYS</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/87a1f0269d/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/87a1f0269d/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Deutsch/thread/87a1f0269d/</id><updated>2020-02-28T01:21:07.371000Z</updated><subtitle>Recent posts to CODESYS</subtitle><entry><title>CODESYS</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/87a1f0269d/?limit=25&amp;page=1#96b2" rel="alternate"/><published>2020-02-28T01:21:07.371000Z</published><updated>2020-02-28T01:21:07.371000Z</updated><author><name>Moderator3S</name><uri>https://forge.codesys.com/u/moderator3s/</uri></author><id>https://forge.codesys.comf8f646c720e357325fd0260be644c5ef2ce4a7d4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;If you work with an own created SD Images including all your Installation and CODESYS runtime so the procedure is:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Master Image from original PI – is lincensed or unlicensed no matter&lt;/li&gt;
&lt;li&gt;Generate an SD Image of it&lt;/li&gt;
&lt;li&gt;on 2. Pi  – after 1. Bootup delete the content of &lt;strong&gt;/root/cmactlicense/ or since 3.5SP12  /var/opt/codesys/cmact_licenses/&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;restart plc by reboot &lt;br/&gt;
    a.  or better sudo /et/init.d/codesyscontrol stop&lt;br/&gt;
    b.  or better sudo /et/init.d/codesyscontrol start&lt;br/&gt;
Now an empty SoftContainer for the new device (you new Pi has a different Serial number) is available &lt;/li&gt;
&lt;li&gt;now license the this PI&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span style="color: #BF0000;"&gt;Recommendation:&lt;/span&gt;&lt;br/&gt;
Backup now the file &lt;strong&gt;CMLicenseNew.WibuCMRaU&lt;/strong&gt; 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.&lt;br/&gt;
(Use CODESYS File browser for doing this)&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CODESYS</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/87a1f0269d/?limit=25&amp;page=1#8cdf" rel="alternate"/><published>2020-02-28T01:21:02.349000Z</published><updated>2020-02-28T01:21:02.349000Z</updated><author><name>Moderator3S</name><uri>https://forge.codesys.com/u/moderator3s/</uri></author><id>https://forge.codesys.come3045d859eaa751e1533787503df0844e9688972</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;you need to change the CODESYS Control Win under Windows Services to Startup type: Automatic&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: AutostartControlWin.jpg" rel="nofollow" src="https://forum-de.codesys.com//download/file.php?id=2393"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CODESYS</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/87a1f0269d/?limit=25&amp;page=1#3221" rel="alternate"/><published>2020-02-28T01:21:00.396000Z</published><updated>2020-02-28T01:21:00.396000Z</updated><author><name>Moderator3S</name><uri>https://forge.codesys.com/u/moderator3s/</uri></author><id>https://forge.codesys.com0eb5faf292b2da76c9e7b82f4942043ffa12d7eb</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;How to check if the PFC is licensed or not from IEC Code.&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: CHECKLiz.jpg" rel="nofollow" src="https://forum-de.codesys.com//download/file.php?id=2216"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://forum-de.codesys.com//download/file.php?id=2215" rel="nofollow"&gt;CheckLicensePFC200.project &lt;span&gt;&lt;span&gt;[79.32 KiB]&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CODESYS</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/87a1f0269d/?limit=25&amp;page=1#32c7" rel="alternate"/><published>2020-02-28T01:20:58.603000Z</published><updated>2020-02-28T01:20:58.603000Z</updated><author><name>Moderator3S</name><uri>https://forge.codesys.com/u/moderator3s/</uri></author><id>https://forge.codesys.com532f1a913c3c9e6d87d5783f5625c9ce6e471b27</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Example for writing to the plc logger.&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://forum-de.codesys.com//download/file.php?id=1731" rel="nofollow"&gt;CmpLog_Example.project &lt;span&gt;&lt;span&gt;[74.34 KiB]&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CODESYS</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/87a1f0269d/?limit=25#ce8d" rel="alternate"/><published>2020-02-28T01:20:53.561000Z</published><updated>2020-02-28T01:20:53.561000Z</updated><author><name>Moderator3S</name><uri>https://forge.codesys.com/u/moderator3s/</uri></author><id>https://forge.codesys.com4f8e123efc884dffbf935aee35017a7f636e7f17</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Requirement: you need to buy a license in the CODESYS store then you will get a ticketnumber via email&lt;/p&gt;
&lt;p&gt;The Licensing procedure is the following:&lt;/p&gt;
&lt;p&gt;Licensing via the CODESYS Development System&lt;br/&gt;
Requirements:&lt;br/&gt;
PC with CODESYS Development System, internet access and connected PFC200.&lt;br/&gt;
Licensing is done via PC / notebook with the CODESYS Development System and the connected PFC. &lt;br/&gt;
1. Scan your PFC200 in the network and connect to it.&lt;br/&gt;
2. The license entries are edited via double-click on the device under “PLC settings” / “Edit licenses…”. &lt;br/&gt;
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).&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Attention: &lt;/strong&gt;&lt;br/&gt;
&lt;span style="color: #FF0000;"&gt;A license backup for each activated PFC Controller is highly recommended/mandatory&lt;br/&gt;
For changing the firmware in the PFC Controller you need the backup file to restore the license.&lt;br/&gt;
Tickets could only activated once!&lt;/span&gt;&lt;br/&gt;
&lt;span style="color: #FF0000;"&gt;Prefered method: Backup CMLicenseNew.WibuCmRaU  file to your pc or use the tar file. (both is possible)&lt;br/&gt;
The backupfile should have a file size of around 130kb-140kb in case of a valid backup!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: ActivatePFC200License.jpg" rel="nofollow" src="https://forum-de.codesys.com//download/file.php?id=1719"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: Activate2.jpg" rel="nofollow" src="https://forum-de.codesys.com//download/file.php?id=1718"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CODESYS</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/87a1f0269d/?limit=25#7869" rel="alternate"/><published>2020-02-28T01:20:51.753000Z</published><updated>2020-02-28T01:20:51.753000Z</updated><author><name>Moderator3S</name><uri>https://forge.codesys.com/u/moderator3s/</uri></author><id>https://forge.codesys.comf3780516842478fbd36eb163c5b10c25ebda4e03</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;To reactivate the license the license file archive has to be copied to the folder “restore”. &lt;br/&gt;
Subsequently the system has to be rebooted.&lt;br/&gt;
Note: On activation the license is bound to a single PFC200 and can only be reactivated on the same device/hardware!&lt;br/&gt;
A license transfer is not supported to another PFC than the original licensed.&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #BF0000;"&gt;Attention New:&lt;/span&gt;&lt;br/&gt;
Restore by license update file: CMLicenseNew.WibuCmRaU &lt;br/&gt;
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)&lt;/p&gt;
&lt;p&gt;If this does not work:&lt;br/&gt;
delete the directory:&lt;br/&gt;
 /var/opt/codesys/&lt;strong&gt;cmact_licenses&lt;/strong&gt;/&lt;br/&gt;
this could be done by the CODESYS file borwser&lt;br/&gt;
and retry to apply the license by the backup file.&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: reinstallLicense.jpg" rel="nofollow" src="https://forum-de.codesys.com//download/file.php?id=3136"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CODESYS</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/87a1f0269d/?limit=25#4aea" rel="alternate"/><published>2020-02-28T01:20:46.678000Z</published><updated>2020-02-28T01:20:46.678000Z</updated><author><name>Moderator3S</name><uri>https://forge.codesys.com/u/moderator3s/</uri></author><id>https://forge.codesys.comaa37286371c95bc5aed5c96b709c83bc1a7a0c63</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Why is this needed?&lt;br/&gt;
Because in case of an reinstalling the Firmware you need the possibility to restore the license&lt;/p&gt;
&lt;p&gt;To back up the license the following proceeding is recommended:&lt;/p&gt;
&lt;p&gt;Backup of the license&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Activation of the license (as described above)&lt;/li&gt;
&lt;li&gt;Reboot of the PFC200&lt;/li&gt;
&lt;li&gt;Backup of the license file on an external storage device&lt;br/&gt;
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”).&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Store the content of the folder („3SLicenseInfo.tar“) to your computers harddisk&lt;br/&gt;
&lt;span style="color: #FF0000;"&gt;&lt;strong&gt;Attention: this backupfile should have a file size of around 130kb-140kb in case of a valid backup!!&lt;/strong&gt;&lt;/span&gt;&lt;br/&gt;
&lt;span style="color: #FF0000;"&gt;&lt;br/&gt;
Attention new:&lt;/span&gt;&lt;br/&gt;
2. option to backup the license my license update file&lt;/p&gt;
&lt;p&gt;save the File CMLiecenseNew.WibuCmRaU, which you find here in the plc file browser to your pc.&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: Licensebackup_afterActivation.jpg" rel="nofollow" src="https://forum-de.codesys.com//download/file.php?id=3135"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CODESYS</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/87a1f0269d/?limit=25#bebc" rel="alternate"/><published>2020-02-28T01:20:44.868000Z</published><updated>2020-02-28T01:20:44.868000Z</updated><author><name>Moderator3S</name><uri>https://forge.codesys.com/u/moderator3s/</uri></author><id>https://forge.codesys.com8de6a41dfed56bf529f1ac0f430037baa2fd2d34</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;%t&lt;span&gt;['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]&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: DateTimeFormat.jpg" rel="nofollow" src="https://forum-de.codesys.com//download/file.php?id=1665"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://forum-de.codesys.com//download/file.php?id=1995" rel="nofollow"&gt;DateandTimePickerVisuSP9.project &lt;span&gt;&lt;span&gt;[64.07 KiB]&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://forum-de.codesys.com//download/file.php?id=1666" rel="nofollow"&gt;DateTimeFormat.project &lt;span&gt;&lt;span&gt;[70.47 KiB]&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CODESYS</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/87a1f0269d/?limit=25#c5a7" rel="alternate"/><published>2020-02-28T01:20:39.793000Z</published><updated>2020-02-28T01:20:39.793000Z</updated><author><name>Moderator3S</name><uri>https://forge.codesys.com/u/moderator3s/</uri></author><id>https://forge.codesys.com0f3adc7ccc46dcc12487ff38cb095b3544cd7fcf</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Execute a "reset" of the plc triggered by your IEC application.&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://forum-de.codesys.com//download/file.php?id=1600" rel="nofollow"&gt;ResetFromIEC.project &lt;span&gt;&lt;span&gt;[54.89 KiB]&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CODESYS</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/87a1f0269d/?limit=25#4ed0" rel="alternate"/><published>2020-02-28T01:20:37.981000Z</published><updated>2020-02-28T01:20:37.981000Z</updated><author><name>Moderator3S</name><uri>https://forge.codesys.com/u/moderator3s/</uri></author><id>https://forge.codesys.com9225edddb6fd049e5b8054205e5636b5d96b6f13</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;there are several ways to do that:&lt;br/&gt;
&lt;strong&gt;prefered method:&lt;/strong&gt;&lt;br/&gt;
1. Update by Update Raspberry Pi Command see screenshot&lt;br/&gt;
 a) scan the pi&lt;br/&gt;
 b) select the Pi by IPAdress&lt;br/&gt;
 c) update the pi&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;more advanced usually not needed:&lt;/strong&gt;&lt;br/&gt;
2. manually by Debian Package - Update by CODESYS Developmentsystem(see screenshot):&lt;br/&gt;
copy the Debian package from the store download (codesyscontrol_arm_raspberry_V3.5.x.x.deb ) to the pi&lt;br/&gt;
via CODESYS file bowser.&lt;br/&gt;
Then connect via ssh (putty) to the pi.&lt;br/&gt;
Execute: &lt;br/&gt;
&lt;strong&gt;sudo -scd /root/dpkg -i codesyscontrol_arm_raspberry_V3.5.x.x.deb&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;an other option is: copy it to the sd card image:&lt;br/&gt;
if you plug the sd card Image to the windows pc you could access the boot partition of the pi&lt;br/&gt;
copy the codesyscontrol_arm_raspberry_V3.5.x.x.deb to this Partition.&lt;br/&gt;
Boot the pi then connect via ssh (putty) to the pi.&lt;br/&gt;
Execute:&lt;br/&gt;
&lt;strong&gt;sudo -scd /boot/dpkg -i codesyscontrol_arm_raspberry_V3.5.x.x.deb&lt;/strong&gt;&lt;br/&gt;
rm codesyscontrol_arm_raspberry_V3.5.x.x.deb&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;img alt="IMG: Update2.jpg" rel="nofollow" src="https://forum-de.codesys.com//download/file.php?id=1543"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: updateRaspi.jpg" rel="nofollow" src="https://forum-de.codesys.com//download/file.php?id=1542"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: UpdateByFileBrowser.jpg" rel="nofollow" src="https://forum-de.codesys.com//download/file.php?id=1074"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>