Read data from energy meter (ISKRE ME172) using RS485 and arduino uno

Which RS485 module are you using? Which Arduino are you using?

Is it an auto switching RS485 module?

You should use different pins on your UNO as Rx & Tx are used to communicate with the IDE serial monitor.

With an UNO, you need a software serial port setup to use a couple of pins (NOT 0 & 1) to communicate with the energy meter.