St_Upsstatus - Beckhoff CU8110-0060 Manual

Table of Contents

Advertisement

Configuration
Development en-
Target platform
vironment
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-
Beckhoff BAPI
formation
v1
Vendor
X
Model
X
40
Beckhoff
Beckhoff 24V
P24Vxxxx UPS
UPS on the
CP903x card
X
X
X
X
Version: 1.0
UPS hardware
• 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.
CX2100-09x4
APC
Back-
UPS
Pro
280
X
X
X
X
PLC libraries to be
integrated (cate-
gory group)
APC
Description
Smart-
UPS 420
X
Vendor name.
X
Model string. Empty string
if no UPS has been
configured.
CU8110-0060

Advertisement

Table of Contents
loading

Table of Contents