Class IpcUps
The IpcUps class provides an interface to interact with an Uninterruptible Power Supply (UPS) device using the TwinCAT ADS protocol. It allows reading various properties of the UPS such as model, vendor name, version, revision, build, serial number, power status, communication status, battery status, battery capacity, battery runtime, persistent power fail count, power fail counter, fan error, no battery status, battery replace date, and interval service status. The class uses an AdsClient to communicate with the UPS device.
public class IpcUps
- Inheritance
-
IpcUps
- Inherited Members
Properties
BatteryCapacityPercent
Battery capacity in percent.
public byte BatteryCapacityPercent { get; }
Property Value
BatteryReplaceDate
Date of the last battery change.
public string BatteryReplaceDate { get; }
Property Value
BatteryRuntimeSeconds
Battery runtime in seconds.
public uint BatteryRuntimeSeconds { get; }
Property Value
BatteryStatus
Battery status.
public byte BatteryStatus { get; }
Property Value
Build
Build.
public ushort Build { get; }
Property Value
CommunicationStatus
Communication status.
public byte CommunicationStatus { get; }
Property Value
FanError
Fan error.
public bool FanError { get; }
Property Value
IntervalServiceStatus
Interval Service Status indicates whether the configured service interval has elapsed.
public bool IntervalServiceStatus { get; }
Property Value
NoBattery
No battery.
public bool NoBattery { get; }
Property Value
PersistentPowerFailCount
Persistent Power Fail Count
public bool PersistentPowerFailCount { get; }
Property Value
PowerFailCounter
Power fail counter.
public uint PowerFailCounter { get; }
Property Value
PowerStatus
Power status.
public byte PowerStatus { get; }
Property Value
Revision
Revision.
public byte Revision { get; }
Property Value
SerialNumber
Serial number.
public string SerialNumber { get; }
Property Value
UPSModel
UPS Model.
public string UPSModel { get; }
Property Value
VendorName
Vendor name.
public string VendorName { get; }
Property Value
Version
Version.
public byte Version { get; }