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
RevolutionPi communication with Webserver
RevolutionPi communication with Webserver
- Attachments
-
- Compressor Webserver Data.png (146.49 KiB) Viewed 6415 times
Re: RevolutionPi communication with Webserver
Dear Kunbus Tech. Support team,
Looking forward for your reply..
Regards, Sajid.
Looking forward for your reply..
Regards, Sajid.
Re: RevolutionPi communication with Webserver
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:
i.e. with python you find much examples like bitmirror etc.
viewtopic.php?f=6&t=2535&p=9196&hilit=bitmirror#p9196
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
viewtopic.php?f=6&t=2535&p=9196&hilit=bitmirror#p9196
Re: RevolutionPi communication with Webserver
Dear Dirk, Thanks for your Reply.
Could you please suggest me your cost-effective device for this task ?
Regards, Sajid.
Could you please suggest me your cost-effective device for this task ?
Regards, Sajid.
Re: RevolutionPi communication with Webserver
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
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