TYPE E_BatteryStatus

TYPE E_BatteryStatus :
(
    BatteryUnknownStatus,   (*The battery status is unknown.*)
    BatteryOk,              (*The batteries are OK.*)
    BatteryReplace          (*The batteries need to be replaced.*)
);
END_TYPE

 

Requirements

UPS hardware

Target system type

Development environment

PLC libraries to include

  • Beckhoff HID UPS;
  • Beckhoff BAPI v1;
  • Beckhoff P24Vxxxx;
  • Beckhoff CP903x card (PCI/ISA);
  • Beckhoff CX2100-09x4 models (e.g. CX2100-0904 or CX2100-0914 + "Smart Battery" CX2900-0192);
  • With Beckhoff Industrial PC's delivered APC UPS models supporting smart protocol and configured with Windows UPS Service;

PC or CX

TwinCAT v2.8.0, Build > 745

TwinCAT v2.9.0, Build > 945

TcIoFunctions.Lib

( Standard.Lib; TcBase.Lib; TcSystem.Lib; TcUtilities.Lib are included automatically )

TwinCAT v3.0 and above

Tc2_IoFunctions