Temperature reading with Modbus RTU

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

Temperature reading with Modbus RTU

Post by kodyaz »

Hi,
WhatsApp Image 2019-03-07 at 23.29.53.jpeg
Screenshot_4.png
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.
You do not have the required permissions to view the files attached to this post.
User avatar
dirk
Posts: 2271
Joined: 15 Dec 2016, 12: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.