S
Hi all
I am trying to implement a Modbus poll command to query the registers of the Energy meter which communicates using RS485 using Modbus RTU protoco.
I am able to successfully generate the command to query the function holding registers of an energy meter.
The command consists of (Slave id,function,address,Databytes and CRC checksum).
I am sending the data to the energy meter through a RS232-RS485 interface.
I am sending the data 8bytes in one message without any delay between the bytes.
But I am not getting any response from the device.
My serial port settings and the Energy meter settings are matching.
Kindly give me your inputs to achieve this.
The whole code is written in c and using Evc++ serial port handler functions for sending the data to the meter.
I am trying to implement a Modbus poll command to query the registers of the Energy meter which communicates using RS485 using Modbus RTU protoco.
I am able to successfully generate the command to query the function holding registers of an energy meter.
The command consists of (Slave id,function,address,Databytes and CRC checksum).
I am sending the data to the energy meter through a RS232-RS485 interface.
I am sending the data 8bytes in one message without any delay between the bytes.
But I am not getting any response from the device.
My serial port settings and the Energy meter settings are matching.
Kindly give me your inputs to achieve this.
The whole code is written in c and using Evc++ serial port handler functions for sending the data to the meter.