MODBUS RTU (RS485)

Gert-Jan_Snik:
I figured out an way of making the correct data visible. Through an lcd screen.

You do realize that if you have not separated the RS-485 from the USB interface pins (ie., pins 0 and 1) then every time you program the UNO a whole bunch of stuff will then be sent out on the RS-485 and upsetting the connected slaves? (been there, done that, won't do it again)

adwsystems:
You do realize that if you have not separated the RS-485 from the USB interface pins (ie., pins 0 and 1) then every time you program the UNO a whole bunch of stuff will then be sent out on the RS-485 and upsetting the connected slaves? (been there, done that, won't do it again)

I received error when the shield was connected to the uno. So everytime i had to upload a new code, i unplugged the shield. So this wouldn't be a problem.

Hopefully this helps you understand what I have been writing, and about the shield with the switch back in post 15.

Good luck.