Control
The Emergency Stop switch, written into the simulated emergency stop device. The device drives its own interlock and contactor 1, the EMS reads both over Modbus and stops every operation while the switch is at STOP. The page shows what the devices report, not what was clicked.
ON — Normal operation
Device state: NORMAL (code 0) · switch position 1 · contactor 1 CLOSED · read at 23:05:00
Only the switch register is written. Opening the contactor, releasing it, the EMS shutdown and the
EMS recovery are consequences the device and the EMS reach for themselves, so this page can never
disagree with the hardware it simulates.
Switch register emergency_stop_switch_command
on device emergency_stop/emergency_stop1/emergency_stop_register_full.
Emergency stop device
emergency_stop/emergency_stop1/emergency_stop_register_full
| Emergency stop active | 0 |
|---|---|
| Switch position (1 = ON, 0 = STOP) | 1 |
| Emergency stop released | 1 |
| Latched (a reset is required) | 0 |
| Manual reset required | 0 |
| Wiring fault | 0 |
| Contactor close permitted | 1 |
| Status (0 normal, 2 active, 3 fault) | 0 |
| State confirmed | 1 |
| Operator switch command (1 = ON, 0 = STOP) | 1 |
Contactor 1
contactor/contactor1/contactor_register_full
| Contactor status (1 = closed, 0 = open) | 1 |
|---|---|
| Feedback contact | 1 |
| Failed to open | 0 |
| Failed to close | 0 |
| Feedback mismatch | 0 |
| Opening permitted | 1 |
| Closing permitted | 1 |
| Device state | 1 |
| Command (1 = close, 0 = open) | 1 |
What the switch does
- STOP. The switch register is written to 0. The emergency stop device activates, then opens contactor 1, then publishes its permissive so nothing may close it again while the switch is at STOP. The EMS sees the device over Modbus and stops every operational mode, charging and discharging, and refuses new start, power and mode commands until the switch is ON.
- ON. The switch register is written to 1. The device clears its emergency stop only when the switch is ON, its wiring is healthy and the interlocks permit; only then is the permissive set and contactor 1 closed. The EMS returns to IDLE and waits for a new start command.
- Recovery is never automatic. Releasing the emergency stop does not restart the mode that was running before it; the operator starts it again deliberately.
- When the state cannot be read. Contactor 1 stays open and the EMS blocks new power operations rather than assuming normal operation.
This switch is a software switch for integration and testing. In a real BESS installation the emergency stop must be an independent, appropriately rated, fail-safe hardware circuit. The EMS guard is additional protection and does not replace that circuit.
Live state is read from the devices every 2000 ms.