K
Hi everybody!!!
I'm developing a KWh datalogger running on RS485 MODBUS RTU protocol based on microcontroller. This logger is connected to up to 64 Kwh meters also running on MODBUS RTU. So far I can talk to the slaves (KWh meter) but i want to write an autodetect routine for this project. The problem I could find is that when I send a Loop back funtion (Function Code 08) to a slave address not connected to the bus, my program will get stuck waiting for the reply of the selected slave. what can I do???
Thanks
Kevin
I'm developing a KWh datalogger running on RS485 MODBUS RTU protocol based on microcontroller. This logger is connected to up to 64 Kwh meters also running on MODBUS RTU. So far I can talk to the slaves (KWh meter) but i want to write an autodetect routine for this project. The problem I could find is that when I send a Loop back funtion (Function Code 08) to a slave address not connected to the bus, my program will get stuck waiting for the reply of the selected slave. what can I do???
Thanks
Kevin