Temperature reading with Modbus RTU

Topics about the Software of Revolution Pi
Post Reply
kodyaz
Posts: 16
Joined: 13 Oct 2018, 06:57

Temperature reading with Modbus RTU

Post by kodyaz »

Hi,
WhatsApp Image 2019-03-07 at 23.29.53.jpeg
WhatsApp Image 2019-03-07 at 23.29.53.jpeg (165.02 KiB) Viewed 3016 times
Screenshot_4.png
Screenshot_4.png (192.21 KiB) Viewed 3016 times
My project pictures as above. A temperature sensor is connected to the ModBus RTU. I want to read this temperature with python. Could you help?
Thank you.
User avatar
dirk
KUNBUS
Posts: 2174
Joined: 15 Dec 2016, 13:19

Re: Temperature reading with Modbus RTU

Post by dirk »

Hi I think unfortunately this will just be possible with some modifications to your hardware setup. The RevPi Gate Modbus RTU Slave cannot request information from the sensor. You need a Modbus RTU Master. It is possible that you just add the virtual device Modbus RTU Master to PiCtory and a USB-Serial adapter like this from our shop. Have a look at the video tutorial #21 to see how easy you may enable this. Or you switch to the RevPi Connect which has a RS485 interface already included.
Post Reply