Help with ModBus RTU Master-Slave: SimpleModbus [SOLVED]

Hi jeremy,

This is strange indeed, although if the code is so short and depending on the response of the slave than the led flash rate should theoretically be very quick not 1 second intervals as you have described. If I connect an led (with 220ohm resistor)on the TxRxEnable output the led will flash according to the polling rate of 200ms which is editable in the code. So rather leave the 10k in place as the 1 second interval you are perceiving is most likely the timeout of 1000ms expiring due to false reception.

Your statement: "I read it via rs485 usb converter also it didn't send anything." Are you referring that you have used another modbus implementation via an USB-RS485 converter?

Maybe the ElMeasure meter LG119 is dead?

Anyway...

Mail me the code for the Fineco (China) meter and the complete data sheet so I can have a look at the address space.