Good day,
first I have to apologize for my bad English (google translator). I have this problem. I run 1 x Midnite Solar Classic 150 and 1 x Midnite Solar Classic Lite 150 in one place.
Both controllers only in SOLAR mode
I try to read data from the operation of the controllers from these two controllers via the Mudbus - RS232 protocol. I have controller number 1 set to Modbus ID 10, I have controller number 2 set to Modbus ID 11. The controllers are connected by an RS 232 cable to the Arduino Mega 2560 device. The Arduino Mega 2560 with the appropriate software reads data from the controller. If I connect the Arduino Mega to controller number 1, I set the Modbus 10 ID in the arduino software, I read the data from this controller correctly. If I connect the Arduino Mega to controller number 2, I set the Modbus 11 ID in the arduina software, it reads the data from the other controller correctly.
Next, I will connect the RS232 bus to the TX data of controller number 1, I will connect the data of TX controller number 2 and the RX data of controller number 1 will be connected to the data of RX controller number 2. After connecting, the communication will stop working. In the Midnite Solar Classic 150 controller I use the middle RJ11 port, in the Midnite Solar Classic LITE 150 controller I use the lower RJ11 port. I assume that my consideration of RS232 bus interconnection is correct. However, I am not sure if I need to make any other settings in the Midnite Solar Classic 150 controller or the Midnite Solar Classic LITE150 controller.
I've been worried about this problem for about a week now and I can't find a solution to the problem.
Please ask for your information whether my assumptions are correct, or for a proposed solution on how to read data from both controllers via the RS-232 bus using the Modbus protocol. Thank you for your feedback.