9 years ago.

May I get code for communiction between pc and meter using modbus?

I am using digital meter.It is showing voltage,current,power,etc. I am communicating it with pc using modbus. I want to extract the data from the frame and display it on lcd. I am designing data logging system. Can any one help me?

Question relating to:

Modbus RTU class for slave devices. It shares data with other software components via a Message queue object, and can exist more than one Modbus Slave RTU instances in a … modbus rtu, real time, rtos, serial protocol

1 Answer

-deleted-
9 years ago.

You could look at the following example: http://developer.mbed.org/users/cam/code/Modbus/file/0453a0a7e500/main.cpp

This might help as well: http://developer.mbed.org/forum/mbed/topic/2390/

The following code example might help you with the LCD: http://developer.mbed.org/components/HD44780-Text-LCD/