RevolutionPi communication with Webserver

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

RevolutionPi communication with Webserver

Post by sajidaap »

Dear Kunbus Tech. Support team,

Our Compressor PLC is serving the machine data via Web-server.

Could you please recommend your device to read from this machine data via HTTP & Serve this data via Modbus TCP server to external Modbus TCP Client ?

( Attached Web-client pic for your reference ).


Regards,
Muhammed Sajid
Attachments
Compressor Webserver Data.png
Compressor Webserver Data.png (146.49 KiB) Viewed 6415 times
sajidaap
Posts: 6
Joined: 22 Apr 2020, 19:15

Re: RevolutionPi communication with Webserver

Post by sajidaap »

Dear Kunbus Tech. Support team,

Looking forward for your reply..

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

Re: RevolutionPi communication with Webserver

Post by dirk »

Hi Sajid, this whole task can be split into these parts:

A) Data exchange betweeen Modbus TCP Server and Modbus TCP Slave
Have a look at Tutorial Modbus TCP Server
https://revolution.kunbus.com/tutorials ... en_US#VT20
You can write data into the Ouput_1, Output_2, ... Registers and read data from the Input_1, Input_2, ... Read data from the Input_1, Input_2, ... registers.

B) Parsing the HTTPS frontend
This is where the open source advantages come into play - you can simply use a tool of your choice here:
Python "Requests" Library, curl, wget, etc.

C) Apply the parsed data
Write your parsed data into the output registers of the Modbus master. Here an example how it works on the shell:

Code: Select all

VALUE_1 = "123"
piTest -w Output_1,$VALUE_1
i.e. with python you find much examples like bitmirror etc.
viewtopic.php?f=6&t=2535&p=9196&hilit=bitmirror#p9196
sajidaap
Posts: 6
Joined: 22 Apr 2020, 19:15

Re: RevolutionPi communication with Webserver

Post by sajidaap »

Dear Dirk, Thanks for your Reply.

Could you please suggest me your cost-effective device for this task ?

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

Re: RevolutionPi communication with Webserver

Post by dirk »

Hi Sajid, the cheapest model is called RevPi Core:
https://revolution.kunbus.de/shop/de/revpi-core
But I would recommend you to have a look at the RevPi Core 3 regarding the prices v.s. the performance
https://revolution.kunbus.de/shop/de/revpi-core-3
Post Reply