All,
Once again I want to thank everyone who chimed in to help me figure out this communications issue. I have attached a small project file that communicated with the Tripp-Lite SmartOnline UPS. If Tripp-Lite tells you to use communications protocol 4001then this software should work.
To say again, Tripp-Lite was not helpful. The protocol document they sent me in no way works. Not even close.
What was helpful.
1. Input from you guys who chimed in here. Huge help... Thanks.
2. https://github.com/networkupstools/nut/blob/master/drivers/tripplitesu.c although I don't do C, reading the information here was very helpful
3. The Tripp-Lite Programmable MODBUS Card Owner's Manual. A colleague at work found this document and although it doesn't translate perfectly it was helpful.
4. My bullheadedness and refusal to give up when I knew it should be able to be done.
So obviously without input from Tripp-Lite I can give no guarantees on the accuracy of this code. I feel it's right. If anyone wants to try it and let me know how accurate you think it is... That would be helpful. Even better yet if you find errors please let me know.
Thanks again,
Bob Harmon
Tripp-Lite Project.zip