Page 1 of 1

RevolutionPi communication with Webserver

Posted: 28 Feb 2021, 13:03
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

Re: RevolutionPi communication with Webserver

Posted: 02 Mar 2021, 10:54
by sajidaap
Dear Kunbus Tech. Support team,

Looking forward for your reply..

Regards, Sajid.

Re: RevolutionPi communication with Webserver

Posted: 04 Mar 2021, 12:09
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

Re: RevolutionPi communication with Webserver

Posted: 05 Mar 2021, 20:46
by sajidaap
Dear Dirk, Thanks for your Reply.

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

Regards, Sajid.

Re: RevolutionPi communication with Webserver

Posted: 10 Mar 2021, 11:19
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