Configuration
CU8130-0240
40
Version: 1.1
Development en-
vironment
Target platform
UPS hardware
PLC libraries to be
integrated (cate-
gory group)
• Beckhoff CX2100-09x4 models
(e.g. CX2100-0904 or
CX2100-0914 + "Smart Battery"
CX2900-0192);
• The APC devices that come
supplied with Beckhoff Industrial
PC support the Smart protocol
and can be configured with the
Windows UPS service.
7.5.2
ST_UPSStatus
TYPE ST_UPSStatus
STRUCT
Vendor : STRING; (* UPS vendor name *)
Model : STRING; (* UPS model name *)
FirmwareRev : STRING; (* UPS firmware revision *)
SerialNumber : STRING; (* UPS serial number *)
BatteryLifePercent : DWORD; (* The percent of battery capacity remaining in the UPS (0..100%) *)
BatteryLifeTime : DWORD; (* Remaining UPS run time, in minutes *)
eBatteryStatus : E_BatteryStatus; (* UPS battery state *)
eCommStatus : E_UpsCommStatus; (* Status of the communication path to the UPS *)
ePowerStatus : E_UpsPowerStatus; (* Status of utility-supplied power into the UPS *)
nPowerFailCnt : DWORD; (* Power Fail counter. Increments every time the UPS service detects
power fail *)
dwChargeFlags : DWORD; (* Battery charge status flags. This member can be one or more of th
e following values.
Bits0..7 := General battery status flags (if all bits are set to 0 => unknown status)
Bit0 := High (bit set => high battery charge)
Bit1 := Low (bit set => low battery charge)
Bit2 := Critical (bit set => battery is near empty)
Bit3 := Charging (bit set => battery is charging)
Bits4..6 := reserved (all bits are 0)
Bit7 := No Battery (bit set => battery not found or not connected, bit not set => battery is
existing or unknown state)
Bits8..15 := Special status information (if all bits are set to 0 => state ok or unknown state)
Bit8 := UPS Fan Error (bit set => fan hardware reports an error, bit not set => fan is ok)
Bit9 := Over Temperature (bit set => over temperature detected, bit not set => temperature i
s ok)
Bit10 := Service Interval Notify (bit set => service interval time expired, bit not set =>se
rvice interval time not expired )
Bit11 := Under Temperature (bit set => under temperature detected , bit not set => temperatu
re is ok )
Bit12 := Fuse Not Ok (bit set => fuse broken or missed, bit not set => fuse ok)
Bit13 := Alarm1 (reserved for later use, bit is 0)
Bit14 := Alarm2 (reserved for later use, bit is 0)
Bit15 := Alarm3 (reserved for later use, bit is 0)
Bits16..31 := (reserved for later use, all bits are 0)
*)
END_STRUCT
END_TYPE
Not all UPS models can supply every item of status information.
X
: The status information is available with this model.
*) Available only if the model “Smart Signaling to any APC UPS & TwinCAT” has been configured.
Status in-
formation
Beckhoff BAPI
v1
Beckhoff
P24Vxxxx UPS
Beckhoff 24V
UPS on the
CP903x card
CX2100-09x4
APC
Back-
UPS
Pro
280
APC
Smart-
UPS 420
Description
Vendor
X
X
X
X
X
X
Vendor name.
Model
X
X
X
X
X
X
Model string. Empty string
if no UPS has been con-
figured.
Summary of Contents for CU8130-0240
Page 1: ...Manual EN CU8130 0240 Uninterruptible Power Supply Battery backed 11 26 2021 Version 1 1 ...
Page 2: ......
Page 56: ......