Configuration
The UPS function is deactivated at delivery state. The UPS activation and model configuration is executed using predefined registry files.
Predefined registry files are included in the "\Hard Disk\RegFiles\Samples\UPS" folder.
Model configuration and UPS function activation
Please execute the required file using double click. Finally, you must reboot your device.
- Enable_Beckhoff_CX2100-09xx_UPS.reg => Activation and configuration of CX2100-0904 or CX2100-0914 UPS model.
- Enable_Beckhoff_P24Vxxx_UPS.reg =>Activation and configuration of Beckhoff P24VxxxW UPS model.
Registry files with special meaning:
- Disable_UPS.reg => Deactivates UPS functionality.
- Reset_UPS_Service_Interval_Reminder.reg => Reset of battery service interval message.
Alarm configuration using Windows registry
In the event of a power failure the UPS automatically switches to battery operation. The device switches off after it has been running in battery mode for a configurable maximum time.
The maximum time for battery operation is set to 180 seconds by default. This time is configurable via a Windows registry entry.
Start the Registry Editor and search for the following key:
HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Battery\Config\
Search for the following value:
ShutdownOnBatteryWait REG_DWORD 0x000000b4 (180)
The time is specified in seconds. Permitted range: <0..16200> seconds (corresponds to 270 minutes).
If the value is set, for example, to 0 the shutdown commences immediately in the event of a power failure. Older devices are switching off after a maximum of 20 seconds.
Newer version of UPS software allows configuration of minutes as time unit.
ShutdownOnBatteryWaitUnit REG_DWORD 0x00000000 (0)
Permitted range := <0..1>.
- 0 := Seconds (default value, used if this registry value is not available);
- 1 := Minutes;
Control panel UPS Configuration state information
Newer image includes simple control panel configuration applet. The dialog shows actual UPS configuration and state information.
It allows the configuration of max. time (seconds or minutes) on batteries before critical alarm. The UPS driver will issue a critical alarm after the set time and will shut down the PC. The critical alarm may, however, be issued earlier if the battery capacity is exhausted.
Status information at the Beckhoff UPS Configuration dialog:
Vendor: UPS vendor name.
Model: UPS/Power supply model string.
Current power source: Current power source. Permitted values: ONLINE, OFFLINE; BACKUP POWER, UNKNOWN.
Battery charge status: Current battery charge state. Permitted values: HIGH, LOW, CRITICAL, NO BATTERY, CHARGING, UNKNOWN.
Battery load level: Current percental battery charge state [%].
Estimated UPS runtime: Estimated/calculated remaining battery runtime.
Temperature: Temperature of UPS electronic circuit.
Voltage: Charge or discharge voltage [mV]
Current: Charge or discharge current [mA].
Flags: Additional information implemented in the dialog version >= 1.0.3. Permitted values (may occur simultaneously):
- BATTERR (battery is reporting an error, not available or disconnected)
- FANERR (fan is reporting an error)
- OVERTEMPERR (over temperature detected and charging of battery is stopped)
- BATTSRVINTERVAL (battery service interval is expired)
- UNDERTEMPERR (under temperature detected and charging of battery is stopped)
- FUSEERR (fuse broken, blown or not available)
- ALARM1 (reserved for further applications)
- ALARM2 (reserved for further applications)
- ALARM3 (reserved for further applications)
Power fail counter: Power fail counter. Implemented in the dialog version >= 1.0.3. Counts the power fails starting at device reset.
Max. time on battery before critical alarm: Max. time on battery before critical alarm. The UPS driver will issue a critical alarm after the set time, and will shut down the PC. The critical alarm may, however, be issued earlier if the battery capacity is exhausted
About: Shows dialog version information.