Interfacing RS485 (Modbus RTU) energy meter with arduino uno error

Thanks for all the help, Jim.

I'm still getting an error- Error Code E0 (or E2 if I switch the tx and rx).
This is what my circuit roughly looks like -

**Correction, +5V to Vcc, not VIn

I had a look through someone else's forum with a pretty similar error - Error in Modbus RTU communication using Arduino Uno - Using Arduino / Networking, Protocols, and Devices - Arduino Forum

But it was of no avail. I'm at lost at what might be causing this error. I tried putting a resistor between a and b as well. Still error.