Cannot read input register from rs485

Probably a good time to learn about using the forum and how to post code.

There are helper posts at the top of each category.
How to,post good