-
-
Notifications
You must be signed in to change notification settings - Fork 399
Description
From APCUPSD (http://apcupsd.cvs.sourceforge.net/viewvc/apcupsd/apcupsd/ReleaseNotes?pathrev=Release-3_14_11):
"APC publicly released documentation[1] on a new UPS control and monitoring protocol, loosely referred to as MODBUS (after the historic industrial control protocol it is based on). The new protocol operates over RS232 serial lines as well as USB connections and is intended to supplement APC's proprietary Microlink protocol. Microlink is not going away, but APC has realized that third parties require access to UPS status and control information. Rather than publicly open Microlink, they have created another protocol to operate along side it.
Many existing Microlink UPSes can be upgraded to support MODBUS via a firmware update. See [2]. Certain older models are not upgradeable. APC support will be your best contact for determining if your UPS supports a MODBUS upgrade the information linked below does not make it clear."
[1] http://www.apc.com/whitepaper/?an=176
[2] http://www.schneider-electric.us/support/index?page=content&country=ITB&lang=EN&id=FA164737
[3] http://www.apcupsd.com/manual/manual.html
Add support for MODBUS over RS232 and USB in NUT.
This effort must be synchronized with the general Modbus support in NUT ( #50 )
Implementation notes:
- serial version: use the serial RTU support from libnutdrv_modbus (WIP)
- USB version: 2 possibilities
- create a HID subdriver, that marshals Modbus => better integration, easier for users
- create a new driver, which uses interrupt support in NUT libusb, but not libhid (for the 2 usages ModbusRTURx and ModbusRTUTx) => smaller driver footprint