Code to interface over Modbus RTU RS485 to the LandStar LS1024B PWM Solar Charge Controller
The EPSolar LandStar LS1024B PWM Solar Charge Controller uses a Modbus RTU over RS485 protocol for a communication interface.
This C code uses the libmodbus V3.1.4 (http://libmodbus.org) library to communicate with the controller.