Industrial PLCs connectivity to Cloud

Topics about the Hardware of Revolution Pi
Post Reply
sajidaap
Posts: 6
Joined: 22 Apr 2020, 19:15

Industrial PLCs connectivity to Cloud

Post by sajidaap »

Dear Kunbus Tech. Support team,

We have a requirement of Edge device (RevPi), which shall collect the data from machine PLCs via Industrial Fieldbus (Modbus TCP, Profinet, EtherCAT etc.) and send the data to the Cloud (Via MQTT).

The requirement architecture is attached for your reference.

Please let us know which are the RevPi modules we should select for this requirement.

I need to finalize the hardwares for this project, looking for your fast support.

With kind regards,
Muhammed Sajid
Attachments
IIOT Cloud Connectivity architecture
IIOT Cloud Connectivity architecture
IIOT Cloud Connectivity.PNG (75.98 KiB) Viewed 6423 times
User avatar
dirk
KUNBUS
Posts: 2174
Joined: 15 Dec 2016, 13:19

Re: Industrial PLCs connectivity to Cloud

Post by dirk »

Hi Muhammed Sajid and a warm welcome to the RevolutionPi community. So you're looking for some hardware. Ok letz see what we need here.
A RevPi Core 3 Module or if you need more eMMC space a RevPi Core 3+ Module
A Gateway Module Profinet IRT Slave
A Gateway Module EtherCAT Slave
And don't forget to order two PiBridge plugs as they are not included with the Gateway Modules.
sample configuration
sample configuration
2020-04-28 08_04_14-Shopping Cart - Online Shop.jpg (88.4 KiB) Viewed 6409 times
For Modbus TCP is you can use a virtual module so this comes for free with your RevPi Module.
Have a look at the Video tutorials:
Tutorial 20 – Modbus TCP Master
Tutorial 22 – Modbus TCP Slave
For MQTT you have to search for a solution that fits for you.
There are many opensource applications available.
I.e. via Node-Red, here MQTT Recipes
sajidaap
Posts: 6
Joined: 22 Apr 2020, 19:15

Re: Industrial PLCs connectivity to Cloud

Post by sajidaap »

Dear dirk, Thanks for your quick feedback.

As i understand, the Profinet module (RevPi Gate PROFINET IRT Slave) is on slave functionality. So we should make some configuration change inside the Siemens PLCs (S7-300, S7-1200) in order to communicate with this salve module ? What about Profinet Master module (or Client module) where i can simply enter the PLCs DB address inside the RevPi master device to access the PLC variable data ?

Also, do you have any module to communicate to Cloud directly ?

Could you please, recommend some modules / codes compatible to RevPi CPU to communicate with Cloud ?

Regards,
Muhammed Sajid
User avatar
dirk
KUNBUS
Posts: 2174
Joined: 15 Dec 2016, 13:19

Re: Industrial PLCs connectivity to Cloud

Post by dirk »

Hi Muhammed, ok the slave modules communicate with your Siemens PLCs. You have to import the GSDML file for the Profinet IRT Slave Module in the TIA Portal.
Have a look at the user manual in the Kunbus downloads secion here: https://www.kunbus.com/downloads.html
In order to communicate with the Cloud you have to search here in the RevPi forum for your cloud service you are interested in. Some people have built their onwn image for AWS Greengrass, here:
viewtopic.php?f=6&t=1759&p=6641&hilit=greengrass#p6641
sajidaap
Posts: 6
Joined: 22 Apr 2020, 19:15

Re: Industrial PLCs connectivity to Cloud

Post by sajidaap »

Thanks Dirk,

What is the maximum number of PLCs (Siemens, Allen Bradley, Modbus TCP) shall be connected to this hardware set (CPU + Profinet + EtherCAT) at a time ?

Regards, Sajid
Post Reply