MiniCOL

Revision 1.2

Communication Specification

Format RS-232
Baud rate 1200 bps
Data 8 bits
Start Bit 1 bit
Stop Bit 1 bit
Parity None

"MiniCOL" for MonUPS III (revision 1.2)

Query the status of UPS

Command from PC to UPS

Header (1 byte)

Command (1 byte)

CSUM

'Q'

'1' (ASCII)

XX

CSUM = 2's complement of the SUM of the total package

UPS Status Feedback / Shutdown Request

Command from UPS to PC

Header (1 byte)

Command (1 byte)

CSUM

'Q' 'A' - AC Fail
'B' - Battery Low
'C' - Both A & B
'D' - All normal
'E' - System Shutdown Request
XX
QE - UPS requests for System
Shutdown. PC to read three consecutive QE bytes and acknowledge before proceeding with normal shutdown.

System & UPS Shutdown

Step 1. Command from PC to UPS

Header (1 byte)

Command (1 byte Integer)

CSUM

'T'

XX (1 ~ 255)

YY

(T - stands for Time-delay, XX is the delay factor in multiple of 10 seconds. So, max. delay time = 42:30 min.)


Step 2. Command from UPS to PC

Header (1 byte)

Command

CSUM (same as MCOL checksum)

'T'

'A'

XX

(TA - stands for Time-delay command acknowledged)

Step 3. Command from PC to UPS

Header (1 byte)

Command (1 byte)

CSUM

'S'

'D'

XX

(SD - stands for shutdown)


Step 4. Command from UPS to PC

Header (1 byte)

Command (1 byte)

CSUM

'S'

'A'

XX

(SA - stands for shutdown acknowledged)

Miscelleaneous

Shutdown timeline

Shutdown timeline