I do not have any code, but after looking at the link, it does not seem like it should be any more difficult to talk to these devices than to any other poorly documented serial device. Some trial and error will likely be required.
I would start with a simple Write to Serial Port.vi and a Bytes at Port property node followed by a Read Bytes from Port.vi and see which commands your UPS recognizes. Do this testing with a non-critical load attached to the UPS! When you are confident you can talk to it, then develop a program to meet your overall needs. A state machine architecture with the serial communication in a separate parallel loop works well. Pass commands and data between the loops with queues.
Lynn