<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Add SparkplugB to existing CODESYS project</title><link>https://forge.codesys.com/lib/cobolt/home/Add%2520SparkplugB%2520to%2520existing%2520CODESYS%2520project/</link><description>Recent changes to Add SparkplugB to existing CODESYS project</description><language>en</language><lastBuildDate>Sat, 12 Feb 2022 19:46:50 -0000</lastBuildDate><atom:link href="https://forge.codesys.com/lib/cobolt/home/Add%20SparkplugB%20to%20existing%20CODESYS%20project/feed" rel="self" type="application/rss+xml"></atom:link><item><title>Add SparkplugB to existing CODESYS project modified by h-hermsen</title><link>https://forge.codesys.com/lib/cobolt/home/Add%2520SparkplugB%2520to%2520existing%2520CODESYS%2520project/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">h-hermsen</dc:creator><pubDate>Sat, 12 Feb 2022 19:46:50 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com2aee3a0d9965c3b93933b51da1dbed8e51c7f55d</guid></item><item><title>Add SparkplugB to existing CODESYS project modified by h-hermsen</title><link>https://forge.codesys.com/lib/cobolt/home/Add%2520SparkplugB%2520to%2520existing%2520CODESYS%2520project/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">h-hermsen</dc:creator><pubDate>Sat, 12 Feb 2022 19:46:31 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.comf96d22c842456fdef063d188f79f58df0710ce46</guid></item><item><title>Add SparkplugB to existing CODESYS project modified by h-hermsen</title><link>https://forge.codesys.com/lib/cobolt/home/Add%2520SparkplugB%2520to%2520existing%2520CODESYS%2520project/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v8
+++ v9
@@ -1,8 +1,7 @@
 [[startpage]]
+[[members]]
 [[section bgcolor=darkgrey color=white align=right]]
-[[img src=https://forge.codesys.com/svn/prj,cfunit,code/trunk/www/logo_codesys_forge.png height=96p align=left]][[img src=https://forge.codesys.com/lib/cobolt/screenshot/co5e%20sparkplug%20bolt%20logo%20round%20blue%20without%20borders%2096x96.png height=96p align=left]]
-
-[[members]]
+[[img src=https://forge.codesys.com/svn/lib,counit,code/trunk/www/logo_codesys_forge.png height=96p align=left]][[img src=https://forge.codesys.com/lib/cobolt/screenshot/co5e%20sparkplug%20bolt%20logo%20round%20blue%20without%20borders%2096x96.png height=96p align=left]]
 Sparkplug™ and the Sparkplug™ logo are trademarks of the Eclipse Foundation
 Copyright © 10/11/19 Eclipse Foundation, Inc. https://www.eclipse.org/legal/efsl.php

@@ -21,39 +20,38 @@
 1. This guide takes the open source project, [meatforge](https://forge.codesys.com/prj/meatforge/) and makes its variables available to a SparkplugB SCADA/IIoT Host Node.
 2. If you don’t have a SparkplugB test system up and running, you can use our lightweight Primary Host Node which is demonstrated in our [Preview how-to] or  
 3. You can follow the guide at [Setup a test system with Ignition Primary Host].
-4. This guide uses an outdated version of the code, the latest version has been significantly updated and is more user friendly. We urge you to use the latest version.


 ## Update
 1. Download and open the [meatforge project](https://forge.codesys.com/prj/meatforge/)
 2. Update the project to your actual system
 3. Double click Device &amp;gt; Application &amp;gt; Library Manager
-4. Press the Add Library button and add the [SparkplugB library]( https://forge.codesys.com/lib/cobolt/)
-[[img src=https://forge.codesys.com/lib/cobolt/code/HEAD/tree/trunk/www/adding-to-existing-project/image001.png?format=raw]] 
+4. Press the Add Library button and add the [SparkplugB library]( https://forge.codesys.com/prj/mqttsparkplugb/)
+[[img src=https://forge.codesys.com/prj/mqttsparkplugb/code/HEAD/tree/trunk/www/adding-to-existing-project/image001.png?format=raw]] 
 5. Right click application and Add Object &amp;gt; POU.  Call it Sparkplug, Type: Program, Language: ST.
-[[img src=https://forge.codesys.com/lib/cobolt/code/HEAD/tree/trunk/www/adding-to-existing-project/image003.png?format=raw]] 
+[[img src=https://forge.codesys.com/prj/mqttsparkplugb/code/HEAD/tree/trunk/www/adding-to-existing-project/image003.png?format=raw]] 
 6. Open the new POU and add an EoN : SparkplugB.FB_Edge_Of_Network_Node;
-[[img src=https://forge.codesys.com/lib/cobolt/code/HEAD/tree/trunk/www/adding-to-existing-project/image004.png?format=raw]]  
+[[img src=https://forge.codesys.com/prj/mqttsparkplugb/code/HEAD/tree/trunk/www/adding-to-existing-project/image004.png?format=raw]]  
 7. Click the first line of the implementation part of this POU and press F2 to bring up the Input Assistant.  Categories &amp;gt; Instance Calls &amp;gt; EoN &amp;gt; Tick “Insert with arguments” &amp;gt; OK
-[[img src=https://forge.codesys.com/lib/cobolt/code/HEAD/tree/trunk/www/adding-to-existing-project/image005.png?format=raw]] 
+[[img src=https://forge.codesys.com/prj/mqttsparkplugb/code/HEAD/tree/trunk/www/adding-to-existing-project/image005.png?format=raw]] 
 8. You should now have this view:
-[[img src=https://forge.codesys.com/lib/cobolt/code/HEAD/tree/trunk/www/adding-to-existing-project/image007.png?format=raw]] 
+[[img src=https://forge.codesys.com/prj/mqttsparkplugb/code/HEAD/tree/trunk/www/adding-to-existing-project/image007.png?format=raw]] 
 9. Fill in your server connection settings, eg:
-[[img src=https://forge.codesys.com/lib/cobolt/code/HEAD/tree/trunk/www/adding-to-existing-project/image008.png?format=raw]] 
+[[img src=https://forge.codesys.com/prj/mqttsparkplugb/code/HEAD/tree/trunk/www/adding-to-existing-project/image008.png?format=raw]] 
 10.    Now there are only a few variables in this project.  We need to create a SparkplugB.FB_SimpleValue for each of them, but in an array.  Note that each datatype has its own array, and the nature of VAR_IN_OUT means that each array is required.
 PRG_PWM.rDuty: REAL; 
 PRG_REGULATOR.rTempSet: REAL;
 SPI_Temperature.rValue : REAL;
 xOut: BOOL;
 a. Declare the necessary arrays.  Unused array can be declared with 0 elements =p
-[[img src=https://forge.codesys.com/lib/cobolt/code/HEAD/tree/trunk/www/adding-to-existing-project/image009.png?format=raw]] 
+[[img src=https://forge.codesys.com/prj/mqttsparkplugb/code/HEAD/tree/trunk/www/adding-to-existing-project/image009.png?format=raw]] 
 b. Add the new arrays to the EoN call.
-[[img src=https://forge.codesys.com/lib/cobolt/code/HEAD/tree/trunk/www/adding-to-existing-project/image011.png?format=raw]] 
+[[img src=https://forge.codesys.com/prj/mqttsparkplugb/code/HEAD/tree/trunk/www/adding-to-existing-project/image011.png?format=raw]] 
 c. Write the names and copy the values in code:
-[[img src=https://forge.codesys.com/lib/cobolt/code/HEAD/tree/trunk/www/adding-to-existing-project/image012.png?format=raw]] 
+[[img src=https://forge.codesys.com/prj/mqttsparkplugb/code/HEAD/tree/trunk/www/adding-to-existing-project/image012.png?format=raw]] 
 d. Add a new task for this new POU, or use an existing one.
-[[img src=https://forge.codesys.com/lib/cobolt/code/HEAD/tree/trunk/www/adding-to-existing-project/image014.png?format=raw]]
+[[img src=https://forge.codesys.com/prj/mqttsparkplugb/code/HEAD/tree/trunk/www/adding-to-existing-project/image014.png?format=raw]]

 ## Testing
 1. Now run it and see if you get the values into your Sparkplug B SCADA / IIoT Host Node
-[[img src=https://forge.codesys.com/lib/cobolt/code/HEAD/tree/trunk/www/adding-to-existing-project/image015.png?format=raw]] 
+[[img src=https://forge.codesys.com/prj/mqttsparkplugb/code/HEAD/tree/trunk/www/adding-to-existing-project/image015.png?format=raw]] 
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">h-hermsen</dc:creator><pubDate>Sat, 12 Feb 2022 19:46:23 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com9d643815af329ed8a90d82cfc08461410d4678ea</guid></item><item><title>Add SparkplugB to existing CODESYS project modified by i-campbell</title><link>https://forge.codesys.com/lib/cobolt/home/Add%2520SparkplugB%2520to%2520existing%2520CODESYS%2520project/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v7
+++ v8
@@ -1,6 +1,6 @@
 [[startpage]]
 [[section bgcolor=darkgrey color=white align=right]]
-[[img src=https://forge.codesys.com/svn/prj,cfunit,code/trunk/www/logo_codesys_forge.png height=96p align=left]][[img src=https://forge.codesys.com/lib/cobolt/screenshot/co5e%20sparkplug%20bolt%20logo%20round%20blue.png height=96p align=left]]
+[[img src=https://forge.codesys.com/svn/prj,cfunit,code/trunk/www/logo_codesys_forge.png height=96p align=left]][[img src=https://forge.codesys.com/lib/cobolt/screenshot/co5e%20sparkplug%20bolt%20logo%20round%20blue%20without%20borders%2096x96.png height=96p align=left]]

 [[members]]
 Sparkplug™ and the Sparkplug™ logo are trademarks of the Eclipse Foundation
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">i-campbell</dc:creator><pubDate>Mon, 07 Feb 2022 22:15:53 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.comcf0ddc7996c45f904d87afd3e7a1ca97c93c37c6</guid></item><item><title>Add SparkplugB to existing CODESYS project modified by i-campbell</title><link>https://forge.codesys.com/lib/cobolt/home/Add%2520SparkplugB%2520to%2520existing%2520CODESYS%2520project/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v6
+++ v7
@@ -1,6 +1,6 @@
 [[startpage]]
 [[section bgcolor=darkgrey color=white align=right]]
-[[img src=https://forge.codesys.com/svn/prj,cfunit,code/trunk/www/logo_codesys_forge.png height=96p align=left]][[img src=https://forge.codesys.com/prj/mqttsparkplugb/screenshot/co5e%20sparkplug%20bolt%20logo%20round%20blue.png height=96p align=left]]
+[[img src=https://forge.codesys.com/svn/prj,cfunit,code/trunk/www/logo_codesys_forge.png height=96p align=left]][[img src=https://forge.codesys.com/lib/cobolt/screenshot/co5e%20sparkplug%20bolt%20logo%20round%20blue.png height=96p align=left]]

 [[members]]
 Sparkplug™ and the Sparkplug™ logo are trademarks of the Eclipse Foundation
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">i-campbell</dc:creator><pubDate>Mon, 07 Feb 2022 22:13:33 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com58d3250fc9e50ce6bd5fe3d27970523005720649</guid></item><item><title>Add SparkplugB to existing CODESYS project modified by h-hermsen</title><link>https://forge.codesys.com/lib/cobolt/home/Add%2520SparkplugB%2520to%2520existing%2520CODESYS%2520project/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v5
+++ v6
@@ -21,7 +21,7 @@
 1. This guide takes the open source project, [meatforge](https://forge.codesys.com/prj/meatforge/) and makes its variables available to a SparkplugB SCADA/IIoT Host Node.
 2. If you don’t have a SparkplugB test system up and running, you can use our lightweight Primary Host Node which is demonstrated in our [Preview how-to] or  
 3. You can follow the guide at [Setup a test system with Ignition Primary Host].
-4. This guide uses an outdated version of the code, the latest version has been significantly updated and is more user friendly.
+4. This guide uses an outdated version of the code, the latest version has been significantly updated and is more user friendly. We urge you to use the latest version.

 ## Update
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">h-hermsen</dc:creator><pubDate>Sat, 05 Feb 2022 22:57:37 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com574b51609c4900f762f72b40a2a736f739316566</guid></item><item><title>Add SparkplugB to existing CODESYS project modified by h-hermsen</title><link>https://forge.codesys.com/lib/cobolt/home/Add%2520SparkplugB%2520to%2520existing%2520CODESYS%2520project/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v4
+++ v5
@@ -21,6 +21,7 @@
 1. This guide takes the open source project, [meatforge](https://forge.codesys.com/prj/meatforge/) and makes its variables available to a SparkplugB SCADA/IIoT Host Node.
 2. If you don’t have a SparkplugB test system up and running, you can use our lightweight Primary Host Node which is demonstrated in our [Preview how-to] or  
 3. You can follow the guide at [Setup a test system with Ignition Primary Host].
+4. This guide uses an outdated version of the code, the latest version has been significantly updated and is more user friendly.

 ## Update
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">h-hermsen</dc:creator><pubDate>Sat, 05 Feb 2022 22:56:00 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com70361e37e0a4517d1ed983cbba6af2adf52e467e</guid></item><item><title>Add SparkplugB to existing CODESYS project modified by h-hermsen</title><link>https://forge.codesys.com/lib/cobolt/home/Add%2520SparkplugB%2520to%2520existing%2520CODESYS%2520project/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -27,32 +27,32 @@
 1. Download and open the [meatforge project](https://forge.codesys.com/prj/meatforge/)
 2. Update the project to your actual system
 3. Double click Device &amp;gt; Application &amp;gt; Library Manager
-4. Press the Add Library button and add the [SparkplugB library]( https://forge.codesys.com/prj/mqttsparkplugb/)
-[[img src=https://forge.codesys.com/prj/mqttsparkplugb/code/HEAD/tree/trunk/www/adding-to-existing-project/image001.png?format=raw]] 
+4. Press the Add Library button and add the [SparkplugB library]( https://forge.codesys.com/lib/cobolt/)
+[[img src=https://forge.codesys.com/lib/cobolt/code/HEAD/tree/trunk/www/adding-to-existing-project/image001.png?format=raw]] 
 5. Right click application and Add Object &amp;gt; POU.  Call it Sparkplug, Type: Program, Language: ST.
-[[img src=https://forge.codesys.com/prj/mqttsparkplugb/code/HEAD/tree/trunk/www/adding-to-existing-project/image003.png?format=raw]] 
+[[img src=https://forge.codesys.com/lib/cobolt/code/HEAD/tree/trunk/www/adding-to-existing-project/image003.png?format=raw]] 
 6. Open the new POU and add an EoN : SparkplugB.FB_Edge_Of_Network_Node;
-[[img src=https://forge.codesys.com/prj/mqttsparkplugb/code/HEAD/tree/trunk/www/adding-to-existing-project/image004.png?format=raw]]  
+[[img src=https://forge.codesys.com/lib/cobolt/code/HEAD/tree/trunk/www/adding-to-existing-project/image004.png?format=raw]]  
 7. Click the first line of the implementation part of this POU and press F2 to bring up the Input Assistant.  Categories &amp;gt; Instance Calls &amp;gt; EoN &amp;gt; Tick “Insert with arguments” &amp;gt; OK
-[[img src=https://forge.codesys.com/prj/mqttsparkplugb/code/HEAD/tree/trunk/www/adding-to-existing-project/image005.png?format=raw]] 
+[[img src=https://forge.codesys.com/lib/cobolt/code/HEAD/tree/trunk/www/adding-to-existing-project/image005.png?format=raw]] 
 8. You should now have this view:
-[[img src=https://forge.codesys.com/prj/mqttsparkplugb/code/HEAD/tree/trunk/www/adding-to-existing-project/image007.png?format=raw]] 
+[[img src=https://forge.codesys.com/lib/cobolt/code/HEAD/tree/trunk/www/adding-to-existing-project/image007.png?format=raw]] 
 9. Fill in your server connection settings, eg:
-[[img src=https://forge.codesys.com/prj/mqttsparkplugb/code/HEAD/tree/trunk/www/adding-to-existing-project/image008.png?format=raw]] 
+[[img src=https://forge.codesys.com/lib/cobolt/code/HEAD/tree/trunk/www/adding-to-existing-project/image008.png?format=raw]] 
 10.    Now there are only a few variables in this project.  We need to create a SparkplugB.FB_SimpleValue for each of them, but in an array.  Note that each datatype has its own array, and the nature of VAR_IN_OUT means that each array is required.
 PRG_PWM.rDuty: REAL; 
 PRG_REGULATOR.rTempSet: REAL;
 SPI_Temperature.rValue : REAL;
 xOut: BOOL;
 a. Declare the necessary arrays.  Unused array can be declared with 0 elements =p
-[[img src=https://forge.codesys.com/prj/mqttsparkplugb/code/HEAD/tree/trunk/www/adding-to-existing-project/image009.png?format=raw]] 
+[[img src=https://forge.codesys.com/lib/cobolt/code/HEAD/tree/trunk/www/adding-to-existing-project/image009.png?format=raw]] 
 b. Add the new arrays to the EoN call.
-[[img src=https://forge.codesys.com/prj/mqttsparkplugb/code/HEAD/tree/trunk/www/adding-to-existing-project/image011.png?format=raw]] 
+[[img src=https://forge.codesys.com/lib/cobolt/code/HEAD/tree/trunk/www/adding-to-existing-project/image011.png?format=raw]] 
 c. Write the names and copy the values in code:
-[[img src=https://forge.codesys.com/prj/mqttsparkplugb/code/HEAD/tree/trunk/www/adding-to-existing-project/image012.png?format=raw]] 
+[[img src=https://forge.codesys.com/lib/cobolt/code/HEAD/tree/trunk/www/adding-to-existing-project/image012.png?format=raw]] 
 d. Add a new task for this new POU, or use an existing one.
-[[img src=https://forge.codesys.com/prj/mqttsparkplugb/code/HEAD/tree/trunk/www/adding-to-existing-project/image014.png?format=raw]]
+[[img src=https://forge.codesys.com/lib/cobolt/code/HEAD/tree/trunk/www/adding-to-existing-project/image014.png?format=raw]]

 ## Testing
 1. Now run it and see if you get the values into your Sparkplug B SCADA / IIoT Host Node
-[[img src=https://forge.codesys.com/prj/mqttsparkplugb/code/HEAD/tree/trunk/www/adding-to-existing-project/image015.png?format=raw]] 
+[[img src=https://forge.codesys.com/lib/cobolt/code/HEAD/tree/trunk/www/adding-to-existing-project/image015.png?format=raw]] 
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">h-hermsen</dc:creator><pubDate>Sat, 05 Feb 2022 22:52:33 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com38578cd7f5e18e93221fd493d079ef388e0b1804</guid></item><item><title>Add SparkplugB to existing CODESYS project modified by h-hermsen</title><link>https://forge.codesys.com/lib/cobolt/home/Add%2520SparkplugB%2520to%2520existing%2520CODESYS%2520project/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">h-hermsen</dc:creator><pubDate>Sat, 05 Feb 2022 22:46:56 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com6fc47a0d2ab48a82b51f91f0f1309a5e1f3bf3c7</guid></item><item><title>Add SparkplugB to existing CODESYS project modified by h-hermsen</title><link>https://forge.codesys.com/lib/cobolt/home/Add%2520SparkplugB%2520to%2520existing%2520CODESYS%2520project/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -1,12 +1,12 @@
 [[startpage]]
-[[section align=right]]
-
-@hermsen
-@i-campbell
-
+[[section bgcolor=darkgrey color=white align=right]]
 [[img src=https://forge.codesys.com/svn/prj,cfunit,code/trunk/www/logo_codesys_forge.png height=96p align=left]][[img src=https://forge.codesys.com/prj/mqttsparkplugb/screenshot/co5e%20sparkplug%20bolt%20logo%20round%20blue.png height=96p align=left]]

-[[section bgcolor=white color=black align=center]]
+[[members]]
+Sparkplug™ and the Sparkplug™ logo are trademarks of the Eclipse Foundation
+Copyright © 10/11/19 Eclipse Foundation, Inc. https://www.eclipse.org/legal/efsl.php
+
+[[section bgcolor=darkgrey color=white align=center]]
 # Add SparkplugB to an existing CODESYS project
 **Information and guides**
 [Sparkplug™ information](General Sparkplug info) | [Preview how-to](Preview how-to) | [Setup a test system with Ignition Primary Host](Setup a test system with Ignition Primary Host) | *Add SparkplugB to existing CODESYS project*
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">h-hermsen</dc:creator><pubDate>Mon, 20 Sep 2021 19:04:41 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.combacd353f63800a4b5bfd5583b3cc2069d9f03882</guid></item></channel></rss>