BESS_BMS_LIMITS
Battery BMS limit readback that fails closed: heartbeat-checked, range-checked, temperature- and voltage-derated charge and discharge capability.
When to use it
Use BESS_BMS_LIMITS when a microgrid orchestrator needs the battery's real-time charge and discharge capability, and that capability must be conservative under every failure of the BMS link — a limit that is optimistic by one kilowatt is a limit the cells pay for.
Interface
The published port signature. This is the whole of what the block exposes to your program — the implementation body is not shown here and ships with the download.
Inputs
| Port | Type | Unit |
|---|---|---|
| PARAMS | STRING | — |
| SOC_RAW | REAL | % |
| SOH_RAW | REAL | % |
| P_CH_MAX_RAW | REAL | kW |
| P_DIS_MAX_RAW | REAL | kW |
| CELL_T_MAX_RAW | REAL | degC |
| CELL_T_MIN_RAW | REAL | degC |
| CELL_V_MAX_RAW | REAL | V |
| CELL_V_MIN_RAW | REAL | V |
| BMS_HB | DINT | — |
| BMS_FAULT | BOOL | — |
| LINK_OK | BOOL | — |
| STALE_TMO | TIME | — |
| SOC_MIN | REAL | % |
| SOC_MAX | REAL | % |
| T_HI_DERATE | REAL | degC |
| T_HI_TRIP | REAL | degC |
| T_LO_TRIP | REAL | degC |
| T_CHG_MIN | REAL | degC |
| DERATE_PCT_PER_C | REAL | %/degC |
| V_CELL_MAX | REAL | V |
| V_CELL_MIN | REAL | V |
| ACK | BOOL | — |
Outputs
| Port | Type | Unit |
|---|---|---|
| SOC | REAL | % |
| SOH | REAL | % |
| P_CH_MAX | REAL | kW |
| P_DIS_MAX | REAL | kW |
| CELL_T_MAX | REAL | degC |
| DERATE_PCT | REAL | % |
| DERATED | BOOL | — |
| LIMITS_ZERO | BOOL | — |
| VALID | BOOL | — |
| ALM_STALE | BOOL | — |
| ALM_BMS_FAULT | BOOL | — |
| ALM_T_HI | BOOL | — |
| ALM_T_LO | BOOL | — |
| ALM_T_LO_CHG | BOOL | — |
| ALM_V_HI_CHG | BOOL | — |
| ALM_V_LO_DIS | BOOL | — |
| ALM_RANGE | BOOL | — |
| ALM_CFG_ERR | BOOL | — |
IEC 61499 event interface
EI INIT, REQ·EO INITO, CNF
Validation evidence
- Tests
- 10
- Simulated scans
- 57
- Simulator
- v0.1.0
Complete IEC 61131-3 implementation with a published test suite that runs on the vplant simulator. The counts above are that suite, executed on this build.
- Conforms to IEC 61131-3
- Conforms to IEC 61499
Download BESS_BMS_LIMITS — free
Create a free Ri Tech account to download the block. You get the Structured Text body, the Rockwell Add-On Instruction (.L5X), the Schneider Control Expert DFB (.XDB), PLCopen XML, the IEC 61499 function block type (.fbt) and the datasheet.
Every block in the catalogue is free to download, in every format, with no purchase and no card. Browsing needs no account at all; downloading needs a signed-in one, so the block lands in your library and re-downloads whenever you need it.
Source is never published on this page. The implementation is released to a signed-in Ri Tech account — free of charge, but never anonymously.