How to read data through RS485/Modbus

Hi,

In my project I am getting DHT11 sensor data in Display as well as in Wifi ( used NODEMCU ESP8266),
I want the same data through RS485/Modbus.
can any one help me how to write the code for the same?

Do not cross-post!