<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Ticket search results</title><link>https://forge.codesys.com/lib/cobolt/questions/</link><description>You searched for labels:"sparkplug"</description><language>en</language><lastBuildDate>Sat, 05 Feb 2022 23:20:27 -0000</lastBuildDate><item><title>Running Sparkplug at home</title><link>https://forge.codesys.com/lib/cobolt/questions/9/</link><description># So what does a CODESYS Based Sparkplug B Node cost?
This FAQ acts as a guideline for costs per node usage for **home use**. Costs are indications based on maker and home grade hardware and industrial software license components. 

If you wish to use our Sparkplug for CODESYS library in a real **industrial environment**, no problem! You only need an industrial PLC/PC hardware platform as the base software is allready industrial grade and has a runtime license (presumably). The software only needs an IIot libaries bundle license.

Though our library is for the **larger part** open source, we still make use of the Single License (SL) industrial IoT bundle component to guarantee MQTT stability. Luckily this library offers excellent value for money! It has an amazing assortment of filehandling and communication protocol suites. Especially if you take into consideration that you can use all provided software components from the IIoT Bundle library SL and the Runtime SL for your individual use.

## Actual costs in a maker/home scenario
* [x] Every Node needs a hardware platform of choice. Here we chose a Raspberry Pi 3B (any model could do) as it is very popular and powerful, starting at 12 Euro. Search the web for a starter kit. Maybe you can pick up a good deal. We obtained a 3B for 35 euro.
* [x] Every Raspberry Pi needs a CODESYS Runtime License at 60 euro (inc VAT)  https://store.codesys.com/codesys-control-for-raspberry-pi-sl.html
* [x] Every Node needs a CODESYS IIoT bundle license at 60 euro (inc VAT) https://store.codesys.com/iiot-libraries-sl.html
* [ ] Optional USB license storage key (dongle) at 40 (inc VAT) https://store.codesys.com/codesys-key.html


## Optional USB license storage key (dongle) is recommended
It is recommended to spend a little extra on the optional usb license storage key and activate your runtime and library licenses on it. Wait for your key to arrive, and activate the license on them, plug it in your hardware -&gt; READY!

Benefits of the USB license storage key

* Protects your license against loss, 
* Enables you to *migrate your licenses* as the licenses are bound to this USB key and not to the Raspberry Pi 

If you choose the soft-container please take in account the following

* Migration of your license is *not possible* after activation as soft containers are hardware bound! So if your raspberry pi breaks or you want to migrate, you have to buy a new license. 
* If your SD Card gets corrupted you have a bigger chance of losing the license on which the soft container resides.

There is a [procedure](https://help.codesys.com/webapp/_rbp_license;product=CODESYS_Control_for_Raspberry_Pi_SL;version=3.5.16.0) for this, but a dongle just makes life easier. The choice is yours.

## Conclusion
In the end it all depends on the chosen hardware, but for around 160 Euro you have a very powerful and highly scalable PLC based on Raspberry Pi 3B hardware for home educational and lab purpose. It can act as a programmable gateway for all your (wireless) home automation and is more then capable of running CODESYS Sparkplug Primary Host node or a Edge Node (or both at once). It can even run an MQTT broker at the same time!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">hermsen</dc:creator><pubDate>Sat, 05 Feb 2022 23:20:27 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com/lib/cobolt/questions/9/</guid></item><item><title>MQTT Sparkplug CODESYS Controller Prerequisites</title><link>https://forge.codesys.com/lib/cobolt/questions/6/</link><description>If your CODESYS controller meets the following requirements, you can use Sparkplug without any issue's

* [x] At least runtime version 3.5.14.0.
* [x] At least Compiler version 3.5.16.0.
* [x] At least IDE version 3.5.16.0.
* [x] Per PLC or PC you need an IIoT Library SL.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">hermsen</dc:creator><pubDate>Fri, 14 May 2021 11:28:12 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com/lib/cobolt/questions/6/</guid></item><item><title>What is Sparkplug in a nutshell?</title><link>https://forge.codesys.com/lib/cobolt/questions/1/</link><description>Sparkplug is a set of definitions on top of MQTT to serve the following purposes;

* Defines a set of topics to ensure state/quality of data be ensured in a backend MQTT client application
* Defines a standard payload format that allows an edge node/device client to communicated with a backend application
* Defines a flow of messages to ensure the state/quality of data.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">aliazzz</dc:creator><pubDate>Sat, 06 Feb 2021 13:07:43 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com/lib/cobolt/questions/1/</guid></item></channel></rss>