E_S_UPS_State

eSUPS_PowerOK:       
    in all modes: Power supply is OK

eSUPS_PowerFailure:     
    in all modes: Power supply is faulty (only shown for one PLC cycle)

eSUPS_WritePersistentData:      
    in Mode eSUPS_WrPersistData_Shutdown: Writing of persistent data is active
 in Mode eSUPS_WrPersistData_NoShutdown: Writing of persistent data is active

eSUPS_QuickShutdown:    
    in Mode eSUPS_WrPersistData_Shutdown: QuickShutdown is active
 in Mode eSUPS_ImmediateShutdown: QuickShutdown is active

eSUPS_WaitForRecover:   
    in Mode eSUPS_WrPersistData_NoShutdown: Wait for the reestablishment of the power supply
 in Mode eSUPS_CheckPowerStatus: Wait for the reestablishment of the power supply

eSUPS_WaitForPowerOFF:  
    in Mode eSUPS_WrPersistData_Shutdown: Wait for switching off of the PC by the UPS
 in Mode eSUPS_ImmediateShutdown: Wait for switching off of the PC by the UPS

 

Requirements

Development environment

Target plattform

Hardware

PLC Libraries to include

TwinCAT v2.11.0 Build 2016 or higher (R2)

PC (i386)

Second-UPS

TcSUPS.Lib