In this guide we detail the integration of the Siemens SIMATIC IOT 2000 with Ubidots, using an external device serial communicated through RS-485 interface with the SIMATIC IOT 2000 and configuring a flow in Node-RED to transmit the data obtained to Ubidots over MQTT.
The reliability is a Siemens standard but now they have simplicity with the SIMATIC IOT2000 series. The industrial gateway of choice in factories and institutions exploring the SIMATIC IOT2000 series harmonizes, analyzes, and forwards data efficiently with common protocols like MQTT and Modbus. Based on a Yocto Linux, the SIMATIC IOT2000 series includes the IoT2020 and IoT2040 models which can manage its own automation systems. This incredible gateway harmonizes the communication between various data sources effectively over long distances and in electrically noisy environments, analyses it, and forwards it to the corresponding recipients, offering a solution that can be easily implemented and perfect for retrofitting.
Available in two versions, the IoT 2020 designed for educational institutions and public spaces while the IoT 2040 is optimized for Industrial environments. If you'd like to learn more check out the SIMATIC IOT 2000 support and forums.
In this guide we detail the integration of the Siemens SIMATIC IOT 2000 with Ubidots, using an external device serial communicated through RS-485 interface with the SIMATIC IOT 2000 and configuring a flow in Node-RED to transmit the data obtained to Ubidots over MQTT.
First, you must register with or have access to Siemens Support Portal to download all initial configurations. This Portal will also provide troubleshooting and support from Siemens on any hardware related inquires. The entire IOT2000 series is setup the same way, please follow this tutorial for any devices in the series.
3
Burn and Install the SD-Card
1. Begin by burning the SD-Card with the image provided by the Siemens Industry Online Support page. Please, download and save Example_Image_V2.1.3 for later.
2. Insert the microSD-Card into the SD-Card slot of your computer (an adaptor may be needed).
3.Unzip the downloaded image and burn it to the SD-Card. Microsoft users click here for how to burn images to your SD-Card. Linux users please continue reading.
IMPORTANT NOTE: Make sure the SD-Card is formatted before burn the image into it.
Linux:
1. Open your computer terminal and go to the folder where the zip file was. downloaded using the cd command. e.i: I downloaded the file into the "Downloads" directory:
cd Downloads
2. Unzip the downloaded file running the command below:
sudo unzip 109741799_Example_Image_V2.1.3.zip
Once the zip file was properly unzipped you will see a file named example-V2.1.3.wic as is shown above.
NOTE: If you get an error running the command above verify if the name of the file downloaded is the same one, if not replace it with the correct one.
3. Verify the location of the SD-card to unmount it and burn the image. Run the command below to verify the location:
df -h
The SD-card should be located it the directory /dev/...; in my case the sd card is located in the following directory /dev/mmcblk0
4. Umount the SD-Card running the command below:
umount /dev/mmcblk0
5. To burn the image, replace the name of the file unzipped and the location of the SD-Card; the structure of the command is as follows: