please specify your products: what exactly is the sensor and where can I find the datasheet? Please attach any links to the seller / manufacturer.
In the forum you will find a lot of results for the term "Modbus".
There should even be a library for it.