Community Forum Share your projects and post your questions

Register or Sign In

RS485 PI with an energy meter

294 Views - Created 33 days ago

33 days ago

Posted by:
BurtDS

Users Avatar

Hi, 

 

I bought the RS485 PI and I'm trying to read out the data of my energy meter (a circutor cvm 1-d).

I'm using Python and I'm always receiving an empty value on the serial.readline().

Is there a command that I need to write to the meter first for it to respond? 

I'm totally new to this subject, my apologies in advance.

 

Thanks!

33 days ago

Posted by:
andrew

Users Avatar

Location:
United Kingdom

Users Twitter  Users Website  

Hi

According to the datasheet for your energy meter it uses the Modbus/RTU protocol for communication so you will need to use a modbus library to communicate with the meter.

There is a modbus python library called MinimalModbus which should take care of the communication protocols but you will need to find out what commands the energy meter understands.

I could not find any command lists on the manufacturers website so you may need to contact them to find out how to talk to their devices.

AB Electronics UK Tech Support

Note: documents in Portable Document Format (PDF) require Adobe Acrobat Reader 5.0 or higher to view, download Adobe Acrobat Reader or other PDF reading software for your computer or mobile device.