SAJ · Solar inverter
R5 series single- and three-phase on-grid string inverters (R5-3K/5K/6K-S2, R6, C6) Modbus register map
Serial device: in Modbus Connect, choose “Add to existing device” and pick the serial (RTU) device you created on your COM port.
Default configuration
- Protocol
- Modbus RTU over RS-485
- Unit ID
- 1
- Addressing
- 0-based
- Byte order
- Big endian
- Word order
- High word first
- Baud rate
- 9600
- Parity
- None
- Data bits
- 8
- Stop bits
- 1
To read this device over Modbus RTU in Modbus Connect:
- In Modbus Connect, add a serial (RTU) device on your COM port with the serial settings and unit ID shown above.
- Click Add to Modbus Connect (or open the downloaded JSON), choose “Add to existing device” and pick that serial device. Its registers, byte order and word order are added; the serial device keeps its own line settings.
The “Add device” tab creates a Modbus TCP device (IP address and port), so use it only when you reach this device through a Modbus RTU-to-TCP gateway set to the serial settings above.
Register map
| Address | Count | Name | Type | Unit | Scale | Access |
|---|---|---|---|---|---|---|
| 256 | 1 | Inverter working mode | UInt16 | - | 1 | R |
| 257 | 2 | Inverter fault message, ErrorData0 Bits 31..0 of the fault message: section d decodes them as Err33...Err81 (master-side faults) and Err01...Err32. The document reads 0101H as one six-register FaultMSG row; section d splits it into ErrorData0/1/2 and its worked example returns 00 08 00 00 for ErrorData0 = 0x00080000, i.e. the high register first. | UInt32 | - | 1 | R |
| 259 | 2 | Inverter fault message, ErrorData1 Bits 63..32 of the fault message: section d decodes them as Err25...Err32 and Err01...Err27. The document reads 0101H as one six-register FaultMSG row; section d splits it into ErrorData0/1/2 and its worked example returns 00 08 00 00 for ErrorData0 = 0x00080000, i.e. the high register first. | UInt32 | - | 1 | R |
| 261 | 2 | Inverter fault message, ErrorData2 Bits 95..64 of the fault message: section d decodes them as Err50...Err81 (slave-side faults). The document reads 0101H as one six-register FaultMSG row; section d splits it into ErrorData0/1/2 and its worked example returns 00 08 00 00 for ErrorData0 = 0x00080000, i.e. the high register first. | UInt32 | - | 1 | R |
| 263 | 1 | PV1 voltage | UInt16 | V | 0.1 | R |
| 264 | 1 | PV1 total current | UInt16 | A | 0.01 | R |
| 265 | 1 | PV1 power | UInt16 | W | 1 | R |
| 266 | 1 | PV2 voltage | UInt16 | V | 0.1 | R |
| 267 | 1 | PV2 total current | UInt16 | A | 0.01 | R |
| 268 | 1 | PV2 power | UInt16 | W | 1 | R |
| 269 | 1 | PV3 voltage | UInt16 | V | 0.1 | R |
| 270 | 1 | PV3 total current | UInt16 | A | 0.01 | R |
| 271 | 1 | PV3 power | UInt16 | W | 1 | R |
| 272 | 1 | BUS voltage | UInt16 | V | 0.1 | R |
| 273 | 1 | Inverter temperature | Int16 | °C | 0.1 | R |
| 274 | 1 | GFCI | Int16 | mA | 1 | R |
| 275 | 1 | Active power of inverter total output | UInt16 | W | 1 | R |
| 276 | 1 | Reactive power of inverter total output | Int16 | Var | 1 | R |
| 277 | 1 | Total power factor of inverter | Int16 | - | 0.001 | R |
| 278 | 1 | L1 voltage | UInt16 | V | 0.1 | R |
| 279 | 1 | L1 current | UInt16 | A | 0.01 | R |
| 280 | 1 | L1 frequency | UInt16 | Hz | 0.01 | R |
| 281 | 1 | L1 DC component L1 direct current component | Int16 | mA | 1 | R |
| 282 | 1 | L1 power L1power | UInt16 | W | 1 | R |
| 283 | 1 | L1 power factor | Int16 | - | 0.001 | R |
| 284 | 1 | L2 voltage | UInt16 | V | 0.1 | R |
| 285 | 1 | L2 current | UInt16 | A | 0.01 | R |
| 286 | 1 | L2 frequency | UInt16 | Hz | 0.01 | R |
| 287 | 1 | L2 DC component | Int16 | mA | 1 | R |
| 288 | 1 | L2 power | UInt16 | W | 1 | R |
| 289 | 1 | L2 power factor | Int16 | - | 0.001 | R |
| 290 | 1 | L3 voltage | UInt16 | V | 0.1 | R |
| 291 | 1 | L3 current | UInt16 | A | 0.01 | R |
| 292 | 1 | L3 frequency | UInt16 | Hz | 0.01 | R |
| 293 | 1 | L3 DC component | Int16 | mA | 1 | R |
| 294 | 1 | L3 power | UInt16 | W | 1 | R |
| 295 | 1 | L3 power factor | Int16 | - | 0.001 | R |
| 296 | 1 | PV1+_ISO | UInt16 | kΩ | 1 | R |
| 297 | 1 | PV2+_ISO | UInt16 | kΩ | 1 | R |
| 298 | 1 | PV3+_ISO | UInt16 | kΩ | 1 | R |
| 299 | 1 | PV ISO | UInt16 | kΩ | 1 | R |
| 300 | 1 | Energy generated today power generation on current day | UInt16 | kWh | 0.01 | R |
| 301 | 2 | Energy generated in the current month power generation in the current month | UInt32 | kWh | 0.01 | R |
| 303 | 2 | Energy generated in the current year power generation in current year | UInt32 | kWh | 0.01 | R |
| 305 | 2 | Total energy generated Total power generation | UInt32 | kWh | 0.01 | R |
| 307 | 1 | Daily working hours | UInt16 | h | 0.1 | R |
| 308 | 2 | Total working hours | UInt32 | h | 0.1 | R |
| 310 | 1 | Error count | UInt16 | - | 1 | R |
| 315 | 1 | PV1 string 1 current | UInt16 | A | 0.01 | R |
| 316 | 1 | PV1 string 2 current | UInt16 | A | 0.01 | R |
| 317 | 1 | PV1 string 3 current | UInt16 | A | 0.01 | R |
| 318 | 1 | PV1 string 4 current | UInt16 | A | 0.01 | R |
| 319 | 1 | PV2 string 1 current | UInt16 | A | 0.01 | R |
| 320 | 1 | PV2 string 2 current | UInt16 | A | 0.01 | R |
| 321 | 1 | PV2 string 3 current | UInt16 | A | 0.01 | R |
| 322 | 1 | PV2 string 4 current | UInt16 | A | 0.01 | R |
| 323 | 1 | PV3 string 1 current | UInt16 | A | 0.01 | R |
| 324 | 1 | PV3 string 2 current | UInt16 | A | 0.01 | R |
| 325 | 1 | PV3 string 3 current | UInt16 | A | 0.01 | R |
| 326 | 1 | PV3 string 4 current | UInt16 | A | 0.01 | R |
| 327 | 1 | PV4 string 1 current | UInt16 | A | 0.01 | R |
| 328 | 1 | PV4 string 2 current | UInt16 | A | 0.01 | R |
| 329 | 1 | PV4 string 3 current | UInt16 | A | 0.01 | R |
| 330 | 1 | PV4 string 4 current PV4 String Current 4 | UInt16 | A | 0.01 | R |
| 36608 | 1 | Device type code 0x0013 = R5 series inverter, single phase, one MPPT (per the document's notes) | UInt16 | - | 1 | R |
| 36609 | 1 | Device sub-type code Sub-type code of the model series | UInt16 | - | 1 | R |
| 36610 | 1 | Communication protocol version Comms Protocol Version | UInt16 | - | 0.001 | R |
| 36611 | 10 | Serial number (20 ASCII characters) Serial Number | Ascii | - | 1 | R |
| 36621 | 10 | Product code (20 ASCII characters) Product Code | Ascii | - | 1 | R |
| 36631 | 1 | Display software version Display Software Version | UInt16 | - | 0.001 | R |
| 36632 | 1 | Master controller software version Master Ctrl Software Version | UInt16 | - | 0.001 | R |
| 36633 | 1 | Slave controller software version Slave Ctrl Software Version | UInt16 | - | 0.001 | R |
| 36634 | 1 | Display board hardware version Display Board Hardware Version | UInt16 | - | 0.001 | R |
| 36635 | 1 | Control board hardware version Cntrl Board Hardware Version | UInt16 | - | 0.001 | R |
| 36636 | 1 | Power board hardware version Power BoardHardware Vesion | UInt16 | - | 0.001 | R |
| 36637 | 1 | RS485 baud rate and slave address setting Low byte = RS485 baud rate code (4 = 9600, 5 = 4800, 6 = 2400, 7 = 1200), high byte = slave number 1-32 | UInt16 | - | 1 | R |
Read this device live with Modbus Connect, free for Windows, macOS and Linux
Related guides
Notes
Source: SAJ "SAJ Modbus Communication Protocol", doc. J-RD-SW-G-1503002, Version A, Edition 2.0, 2019-03-15, covering the R5 series single- and three-phase on-grid inverters (section 1). Copy read: the mirrored vendor PDF at https://raw.githubusercontent.com/wimb0/home-assistant-saj-r5-modbus/main/SAJ%20Modbus%20Protocol_EN_R5.pdf (SHA-256 4e62f339f0cd6fdc90c2330d794492b809dfa04726b9c3147634186ddacb2d47); the newer revision (Version A, Edition 7.1, 2022-11-18, PLUS R5/R6/C6) was cross-checked and agrees on the block. Section 2 gives the frame: Modbus RTU, 8 data bits, 1 stop bit, no parity, RS485 default 9600 bps (RS232 115200). Section 3 gives the slave address range 0-247 (0 = broadcast) and function codes 0x03/0x10, so every row is a holding register. Registers are printed in hex with the scale as a decimal exponent, converted here to the factor 10^exponent. 32-bit rows are high word first: section d FaultMSG example returns 00 08 for ErrorData0 = 0x00080000. 0101H FaultMSG is printed as one six-register row and is seeded as its three documented 32-bit error words (ErrorData0/1/2 at 0101H/0103H/0105H). Unit id 1 is a placeholder: the document prints only the 0-247 range and keeps the slave number in 8F1DH (low byte baud code, high byte slave number 1-32), so the address comes from the inverter menu. Not seeded: 014BH (Reserved), 0137H Time (four packed-HEX registers, no matching schema type), the 0A00H-0ABDH historical energy block, the 0B00H-0EE2H error-history block (100 records of 4-register BCD timestamps plus 6-register messages) and the writable special registers 8014H/8020H. This seed carries every row of the 0100H-014AH real-time block and the 8F00H-8F1DH device-information block.