8
Communications Protocol
Connector Pin-out:
Pin 2, Transmit. The MB1500 transmits data on this pin.
Pin 3, Receive. The MB1500 receives data on this pin.
Pin 5, SG (signal ground).
Baud Rate: 9600 bps
Start Bits:
1
Data Bits:
8
Stop Bits:
1
Parity:
None
Flow Control:
None
Controller Commands
Commands and responses are in the form of ASCII character strings terminated
with a carriage return (<CR>,OCh, 13d). If the state variable LINEFEED MODE =
ON, a linefeed character (<LF>, 0Ah, 10d) will follow the carriage return.
Incoming messages (to the MB1500) shall be terminated with one of the follow-
ing characters: NUL (00h, 00d), carriage return, or line feed.
The MB1500 shall discard the incoming message under the following condi-
tions: The message overruns the receiver buffer (32 characters). No terminating
character (NUL, <CR>, <LF>) is received within 500ms of receipt of the last
character. The following are commands sent by the controlling equipment to
the MB1500.
NOTE:
Responses are only transmitted automatically if unsolicited feedback is
enabled (!SET_FEEDBACK)
ALL ON
Turns on all outlets. Turn on is immediate with no delay.
Send to UPS: !ALL_ON<CR>
If power is not switched off due to low battery conditions:
Action: Turn on Outlet Bank 1 & 2
Response from UPS: $BANK 1 = ON<CR>
$BANK 2 = ON<CR>
If UPS battery level > Shutoff Threshold
Action: Turn on Outlet Bank 3 & 4
Response from UPS: $BANK 3 = ON<CR>
$BANK 4 = ON<CR>
If UPS battery level < Shutoff Threshold
Action: Turn off Outlet Bank 3 & 4
Response from UPS: $BANK 3 = OFF<CR>
$BANK 4 = OFF<CR>
$BATTERY = charge%<CR>
Action: Activate Power Button
Response from UPS: $BUTTON = ON<CR>
ALL OFF
Turns off all outlets. Turn off is immediate with no delay.
Send to UPS: !ALL_OFF,
Action: All outlets will turn off
$BANK 1 = OFF<CR>
$BANK 2 = OFF<CR>
$BANK 3 = OFF<CR>
$BANK 4 = OFF<CR>
Response from UPS: $BUTTON = OFF<CR>
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, 3, 4,} state = {ON, OFF}
Example: !SWITCH 2 ON<CR> (turns on outlet bank 2)
If power to bank 1 or 2 is switched:
Action: Switch power to Outlet Bank 1 or 2
Response from UPS: $BANK 1 = state<CR>
or $BANK 2 = state<CR>
If power to bank 3 or 4 is switched AND battery level > Shutoff Threshold:
Action: Switch power to Outlet Bank 3 or 4
Response from UPS: $BANK 3 = state<CR>
$BANK 4 = state<CR>
Pin 2 -Transmit
Pin 3 - Receive
Pin 3 - Receive
Pin 2 -Transmit
1
6
2
7
3
8
4
9
5
1
6
2
7
3
8
4
9
5
Pin 5 - Signal Ground
RS232 Pin-out