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 |
---|---|---|---|
| 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 |