9
RS-232 Communications Protocol & Command Set
SWITCH OUTLET BANK
Turns a specific outlet bank on or off. Switching is immediate
with no delay.
Send to UPS: !SWITCH bank state<CR>
bank = {1, 2}
state = {ON, OFF}
Example: !SWITCH 2 ON<CR> (turns on outlet bank 2)
_________________________________________
If power to bank 1 is switched:
Action: Switch power to Outlet Bank 1
Response from UPS: $BANK 1 = state<CR>
_________________________________________
If power to bank 2 is switched AND battery level > Shutoff Threshold:
Action: Switch power to Outlet Bank 2
Response from UPS: $BANK 2 = state<CR>
_________________________________________
If UPS battery level > Shutoff Threshold
Action: Turn on Outlet Bank 2
Response from UPS: $BANK 2 = ON<CR>
_________________________________________
If UPS battery level < Shutoff Threshold
Action: Turn off Outlet Bank 2
Response from UPS: $BANK 2 = OFF<CR>
$BATTERY = charge%<CR>
_________________________________________
If power button is OFF and state is changed to ON
Action: Activate Power Button
Response from UPS: $BUTTON = ON<CR>
_________________________________________
If entered bank or state are invalid
Response from UPS: $INVALID_PARAMETER<CR>
SET BANK 2 THRESHOLD
Sets the battery level threshold in which Outlet Bank 2 shuts off.
Send to UPS: !SET_BATTHRESH level<CR>
level is a number between 20 and 100 represents the bat-
tery charge level where Outlet Bank 2 is shut off to the reserve
remaining battery charge for the equipment connected to Outlet
Bank 1. level shall be rounded up to the nearest interval of 10.
If level is >19 AND level <101
Action: SHUTOFF THRESHOLD will be set
to a value between 20 and 100
Response from UPS: $BTHRESH = level<CR>
_________________________________________
If specified level is invalid
Action: No action will be taken
Response from UPS: $INVALID_PARAMETER<CR>
_________________________________________
SET BUZZER MODE
With Buzzer Mode ON, the buzzer will sound during UPS Mode.
Send to UPS: !SET_BUZZER mode<CR>
mode = {ON, OFF}
_________________________________________
If specified mode is invalid
Action: No action will be taken, UPS will
request a valid mode setting
Response from UPS: $INVALID_PARAMETER<CR>
$BUZZER = mode<CR>
_________________________________________