TYPE E_UpsPowerStatus

TYPE E_UpsPowerStatus :
(
    PowerUnknownStatus,     (* The status of power is unknown. *)
    PowerOnLine,            (* Power is OK. *)
    PowerOnBattery          (* A power failure has occurred. *)
);
END_TYPE

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