Hybrid solar inverters are built to work with many different battery brands. Instead of manufacturing separate inverters for every battery chemistry and vendor, manufacturers build multiple communication profiles directly into the inverter’s operating system. If you select the wrong battery brand or communication code during setup, the inverter cannot understand incoming battery telemetry. This triggers an immediate “BMS Comm Error” or causes the inverter to lock out charging and discharging.
How Do You Select the Correct Battery Protocol in Inverter Settings?
Select the correct battery protocol by accessing the inverter’s Battery Settings menu, changing the battery type from lead-acid to lithium, and choosing the specific numeric protocol code or manufacturer profile that matches your battery’s BMS firmware. Save the setting and reboot the system with the battery turned on first.
Why Protocol Selection Governs Closed-Loop Operation
In an open-loop system, an inverter operates without digital communication, simply reading overall terminal voltage to estimate capacity. In a modern closed-loop system, the inverter establishes a real-time digital dialogue with the battery management system (BMS).
For this digital link to work, the inverter must know:
- The Physical Layer: Whether data travels over a CAN-bus differential pair or an RS-485 serial pair. For hardware comparisons, see RS485 vs. CAN-bus: Which One Does Your Solar Battery Use?.
- The Transmission Speed: The specific baud rate (such as 9600 bps, 19200 bps, 250 kbps, or 500 kbps) used by the battery logic board.
- The Register Map: How incoming data bytes are structured so that cell voltages, high-temperature cutoffs, and state-of-charge values are decoded correctly.
INVERTER PROTOCOL SELECTION
[Inverter Menu]
│
┌──────────────────┴──────────────────┐
▼ ▼
[Protocol Option 01] [Protocol Option 02]
Pylontech CAN Profile Proprietary RS-485 Profile
Baud: 500 kbps Baud: 9600 bps
Pinout: 4 (H) / 5 (L) Pinout: 1 (A) / 2 (B)
│ │
[MATCHES BATTERY BMS] [MISMATCH - COMM ERROR]
Selecting the protocol tells the inverter’s microprocessor which dictionary to use when decoding incoming communication packets. If a battery broadcasts using the Pylontech CAN standard, but the inverter is set to a generic RS-485 or proprietary protocol, the inverter reads incoming pulses as unformatted noise and drops the connection.
Proprietary vs. Emulated Protocol Standards
Most residential and commercial solar batteries fall into two broad communication categories:
1. Proprietary Manufacturer Protocols
Many integrated storage manufacturers—including Tesla, Enphase, and SolarEdge—use closed, proprietary communication networks. Their inverters and batteries are designed exclusively for each other, requiring minimal manual protocol selection beyond standard automated device pairing.
2. Universal and Emulated Protocols (Pylontech Standard)
In the open-architecture and DIY energy storage markets (including brands like EG4, SOK, Ruixu, Fortress Power, and SunGoldPower), batteries frequently use emulated protocols:
- The Pylontech Benchmark: The Pylontech CAN-bus protocol is the most widely adopted standard in the global energy storage market. Most third-party hybrid inverters (such as Sol-Ark, Deye, Luxpower, Victron, and Schneider) include a built-in “Pylon” or “PYL” protocol setting.
- Even if your battery is not manufactured by Pylontech, its internal BMS firmware likely features a Pylontech emulation mode designed to handshake seamlessly with major inverter brands.
- For examples of working with emulated closed-loop protocols on hybrid platforms, read The “Closed-Loop” Problem: Fixing EG4-to-Luxpower Comm Failures.
Step-by-Step Protocol Configuration Procedure
Follow this configuration sequence when commissioning a new battery bank or clearing an initial communication fault.
[Verify Cable Pinout] ──► Ensure CAN-H/L or RS485-A/B match inverter port
│ Pass
▼
[Set Battery Address] ──► Configure Master DIP switch to ID 1 or Protocol Mode
│ Pass
▼
[Access Inverter Menu] ──► Select "Lithium" mode ──► Enter Protocol Code
│ Pass
▼
[Staged System Reboot] ──► Turn on Battery BMS FIRST ──► Turn on Inverter
Step 1: Verify Hardware Pinout Alignment First
Do not configure software protocols until you confirm that physical conductors line up with the inverter’s communication port pins.
- If your inverter expects CAN-High on Pin 4 and CAN-Low on Pin 5, but your custom-crimped cable routes data to Pins 1 and 2, changing menu protocols will not clear the fault.
- Compare port diagrams in both equipment manuals and cross-reference DIY RJ45 Pinouts: Wiring Your Own Communication Cables.
Step 2: Set Battery Hardware DIP Switches
Many modular LFP server-rack batteries use front-panel DIP switches to establish both the pack address and the active communication protocol:
- On some battery models, DIP switch 1 sets Master status, while DIP switches 5 and 6 toggle between CAN-bus output and RS-485 output.
- Other brands require setting the DIP switches to a specific binary combination (such as
0010for Growatt or0100for Victron). - Critical Step: Power-cycle the battery completely after changing any DIP switch positions; the BMS processor only registers physical switch changes during boot-up.
Step 3: Enter the Inverter Configuration Menu
- Log in to the inverter’s local interface or front touch screen.
- Navigate to System Settings > Battery Setup.
- Under Battery Mode, select Lithium or BMS Control (do not select Lead-Acid, AGM, or Use-V).
- Locate the Protocol, Lithium Brand, or BMS Type parameter:
- On text-based interfaces, choose your specific battery brand name from the drop-down list.
- On numeric code interfaces (common on Voltronic, MPP Solar, and early Deye units), enter the numeric protocol code specified in the manual (for example,
00for default CAN,02for Pylontech,03for Discover,05for PACE).
- Confirm that the selected protocol matches the physical port in use (CAN vs. RS-485).
- Save settings and confirm that the inverter indicates settings applied.
Step 4: Perform a Synchronized Power Reboot
For the inverter to clear the error and lock onto the new communication stream, reboot the equipment in the proper sequence:
- Turn off the inverter AC output breaker and rotary DC isolator.
- Turn off the battery BMS master power toggle.
- Wait 60 seconds to allow all logic circuits to discharge completely.
- Power on the battery first. Allow the BMS 15 to 30 seconds to boot up and begin broadcasting its initialization beacon.
- Power on the inverter second. Turn on the DC disconnect, followed by the AC utility breaker.
- Within 60 to 90 seconds, the “Battery Comm Error” should disappear, and the inverter display should populate with accurate battery capacity, pack voltage, and temperature metrics.
Troubleshooting Failed Protocol Handshakes
If you set the protocol and performed a staged reboot, but the inverter still reports BMS Handshake Failed: Why Your Inverter Can’t “See” the Cells, systematically check the following failure points:
| Observable Failure | Probable Cause | Corrective Action |
|---|---|---|
| Inverter displays “Unknown Protocol” | Outdated inverter firmware lacks the profile | Update inverter firmware, or switch battery BMS to output standard Pylontech CAN. |
| Inverter registers comms, then drops after 30 seconds | Baud rate mismatch or missing packets | Align transmission speeds via Baud Rate Mismatch: Syncing Your Inverter to Your Battery. |
| Data values are scaled incorrectly (e.g., 500V instead of 50V) | Firmware protocol revision mismatch | Check firmware versions via Firmware Version Mismatch: When the Inverter “Speaks” a Different Language. |
| Complete communication failure on all profiles | Pinout inverted or cable open | Test cable continuity and termination resistance using a multimeter. |
Temporary Fallback: Open-Loop Voltage Operation
If you cannot establish closed-loop communication because of a missing protocol profile and are waiting for updated firmware from the manufacturer, do not leave your home without solar power.
Switch the inverter battery setting from “Lithium / BMS” to Lead-Acid or Voltage-Based (Use-V). In open-loop mode, the inverter ignores digital communications and charges the battery based entirely on manual voltage settings (Bulk, Float, and Low-Voltage Cutoff). Manually program the exact charging voltages specified on your battery manufacturer’s data sheet. This keeps your system fully operational while you resolve protocol compatibility issues.
For a final diagnostic review of all physical, electrical, and software communication links, walk through the Summary Guide: The “No Communication” Checklist.