All devices

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:

  1. In Modbus Connect, add a serial (RTU) device on your COM port with the serial settings and unit ID shown above.
  2. 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

AddressCountNameTypeUnitScaleAccess
2561
Inverter working mode
UInt16-1R
2572
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-1R
2592
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-1R
2612
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-1R
2631
PV1 voltage
UInt16V0.1R
2641
PV1 total current
UInt16A0.01R
2651
PV1 power
UInt16W1R
2661
PV2 voltage
UInt16V0.1R
2671
PV2 total current
UInt16A0.01R
2681
PV2 power
UInt16W1R
2691
PV3 voltage
UInt16V0.1R
2701
PV3 total current
UInt16A0.01R
2711
PV3 power
UInt16W1R
2721
BUS voltage
UInt16V0.1R
2731
Inverter temperature
Int16°C0.1R
2741
GFCI
Int16mA1R
2751
Active power of inverter total output
UInt16W1R
2761
Reactive power of inverter total output
Int16Var1R
2771
Total power factor of inverter
Int16-0.001R
2781
L1 voltage
UInt16V0.1R
2791
L1 current
UInt16A0.01R
2801
L1 frequency
UInt16Hz0.01R
2811
L1 DC component
L1 direct current component
Int16mA1R
2821
L1 power
L1power
UInt16W1R
2831
L1 power factor
Int16-0.001R
2841
L2 voltage
UInt16V0.1R
2851
L2 current
UInt16A0.01R
2861
L2 frequency
UInt16Hz0.01R
2871
L2 DC component
Int16mA1R
2881
L2 power
UInt16W1R
2891
L2 power factor
Int16-0.001R
2901
L3 voltage
UInt16V0.1R
2911
L3 current
UInt16A0.01R
2921
L3 frequency
UInt16Hz0.01R
2931
L3 DC component
Int16mA1R
2941
L3 power
UInt16W1R
2951
L3 power factor
Int16-0.001R
2961
PV1+_ISO
UInt16kΩ1R
2971
PV2+_ISO
UInt16kΩ1R
2981
PV3+_ISO
UInt16kΩ1R
2991
PV ISO
UInt16kΩ1R
3001
Energy generated today
power generation on current day
UInt16kWh0.01R
3012
Energy generated in the current month
power generation in the current month
UInt32kWh0.01R
3032
Energy generated in the current year
power generation in current year
UInt32kWh0.01R
3052
Total energy generated
Total power generation
UInt32kWh0.01R
3071
Daily working hours
UInt16h0.1R
3082
Total working hours
UInt32h0.1R
3101
Error count
UInt16-1R
3151
PV1 string 1 current
UInt16A0.01R
3161
PV1 string 2 current
UInt16A0.01R
3171
PV1 string 3 current
UInt16A0.01R
3181
PV1 string 4 current
UInt16A0.01R
3191
PV2 string 1 current
UInt16A0.01R
3201
PV2 string 2 current
UInt16A0.01R
3211
PV2 string 3 current
UInt16A0.01R
3221
PV2 string 4 current
UInt16A0.01R
3231
PV3 string 1 current
UInt16A0.01R
3241
PV3 string 2 current
UInt16A0.01R
3251
PV3 string 3 current
UInt16A0.01R
3261
PV3 string 4 current
UInt16A0.01R
3271
PV4 string 1 current
UInt16A0.01R
3281
PV4 string 2 current
UInt16A0.01R
3291
PV4 string 3 current
UInt16A0.01R
3301
PV4 string 4 current
PV4 String Current 4
UInt16A0.01R
366081
Device type code
0x0013 = R5 series inverter, single phase, one MPPT (per the document's notes)
UInt16-1R
366091
Device sub-type code
Sub-type code of the model series
UInt16-1R
366101
Communication protocol version
Comms Protocol Version
UInt16-0.001R
3661110
Serial number (20 ASCII characters)
Serial Number
Ascii-1R
3662110
Product code (20 ASCII characters)
Product Code
Ascii-1R
366311
Display software version
Display Software Version
UInt16-0.001R
366321
Master controller software version
Master Ctrl Software Version
UInt16-0.001R
366331
Slave controller software version
Slave Ctrl Software Version
UInt16-0.001R
366341
Display board hardware version
Display Board Hardware Version
UInt16-0.001R
366351
Control board hardware version
Cntrl Board Hardware Version
UInt16-0.001R
366361
Power board hardware version
Power BoardHardware Vesion
UInt16-0.001R
366371
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-1R

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.

Related devices