New in the Community? Get started here

Schneider Electric Exchange Community

Discuss and solve problems in energy management and automation. Join conversations and share insights on products and solutions. Co-innovate and collaborate with a global network of peers.

Register Now
Industry Automation and Control Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Cadet

Reading data from energy meter using modbus protocol

Hello All,

 

We have installed EM6400NG meter. We are trying to read holding register data values from the same using Arduino Mega and RS485 to TTL converter but no success.

 

RS485 to TTL converter board link:

 

https://www.banggood.in/2Pcs-5V-MAX485-TTL-To-RS485-Converter-Module-Board-For-Arduino-p-948302.html...

 

Please help me out in this regard

1 REPLY 1
Crewman

Re: Reading data from energy meter using modbus protocol

I'd recommend that you start with something you have control over (in both directions).

 

So:

1) Test using an RS232 to RS485 converter, and ModScan or something similar on your PC.  Ensure that you can read the appropriate registers from the Power Meter using the baud rate, parity etc that you expect.

2) Testing using the same RS232 to RS485 converter and ModSim or something similar on your PC.  Ensure that you can read the appropriate registers from your Computer (into the Arduino) using the baud rate, parity etc that you have configured on your Computer to match what the Power Meter was tested in 1) using.

 

Then it should be trivial... you know how to read the values from the Power Meter, and you know how to read values using the Arduino board.  Therefore you know how to read the values from the Power Meter with the Arduino board.

 

I assume you already understand that Modbus Protocol <> RS485... if you're confused at what I'm suggesting here, then you probably need to read up more on what RS485 actually is, and why that is not the same as ModbusRTU.