Seconds UPS
3.4 Data Types
3.4.1 TYPE E_S_UPS_Mode
eSUPS_WrPersistData_Shutdown: write persistent data and then QuickShutdown
eSUPS_WrPersistData_NoShutdown: write persistent data only (no QuickShutdown)
eSUPS_ImmediateShutdown: QuickShutdown only (no writing of persistent data)
eSUPS_CheckPowerStatus: determine status only (neither write persistent data nor QuickShutdown)
Prerequisites
Development environment Target plat-
form
Hardware PLC libraries to include
TwinCAT v2.11R3 Build 2047 or higher
TwinCAT v3.1 Build 4018 or higher
PC (i386) Seconds UPS TcSUPS_CX51x0.Lib
3.4.2 TYPE E_S_UPS_State
eSUPS_PowerOK:
in all modes: supply voltage is OK
eSUPS_PowerFailure:
in all modes: Supply voltage faulty (applied for one cycle only)
eSUPS_WritePersistentData:
in eSUPS_WrPersistData_Shutdown mode: writing of the persistent data is active
in eSUPS_WrPersistData_NoShutdown mode: writing of the persistent data is active
eSUPS_QuickShutdown:
in eSUPS_WrPersistData_Shutdown mode: QuickShutdown is active
in eSUPS_ImmediateShutdown mode: QuickShutdown is active
eSUPS_WaitForRecover:
in eSUPS_WrPersistData_NoShutdown mode: wait for return of the voltage
in eSUPS_CheckPowerStatus mode: wait for return of the voltage
eSUPS_WaitForPowerOFF:
in eSUPS_WrPersistData_Shutdown mode: wait for shutdown by the UPS
in eSUPS_ImmediateShutdown mode: wait for shutdown by the UPS
Prerequisites
Development environment Target plat-
form
Hardware PLC libraries to include
TwinCAT v2.11R3 Build 2047 or higher
TwinCAT v3.1 Build 4018 or higher
PC (i386) Seconds UPS TcSUPS_CX51x0.Lib
CX51x0 29Version: 1.6