Hi mates! I need your help.
Using an Arduino Mega to build an Electrical Submersible Pump Fuzzy Controller.
The application implements a modbus master to query peripherals in one serial port, and a modbus slave to answer scada system in the other port.
No problems so far, but whenever any of the peripherals becomes unresponsive, the synchronicity of the master modbus makes the system hang waiting for response, thus delaying the control program and missing scada requests.
What do i need? An asynchronous modbus master implementation, so that i could query peripherals and move on, and treat the results later on data arrival or timeout, but without hanging waiting for response.
Thanks in advance. Best regards.