1-second UPS (persistent data)
CX50x068 Version: 1.9
5.4 Mode and status of the function block
E_S_UPS_Mode
With the mode selected in the function block you can specify what should happen in the case of a power
failure.
eSUPS_WrPersistData_Shutdown:WritingofpersistentdataandthenaQuickShutdown
eSUPS_WrPersistData_NoShutdown:Onlywritingofthepersistentdata(noQuickShutdown)
eSUPS_ImmediateShutdown:OnlyQuickShutdown(nowritingofpersistentdata)
eSUPS_CheckPowerStatus:Onlycheckstatus(neitherwritingofpersistentdatanoraQuickShutdown)
E_S_UPS_State
The internal state of the function block can be read with E_S_UPS_State.
eSUPS_PowerOK:
inallmodes:PowersupplyisOK
eSUPS_PowerFailure:
inallmodes:Powersupplyisfaulty(onlyshownforonePLCcycle)
eSUPS_WritePersistentData:
inmodeeSUPS_WrPersistData_Shutdown:Writingofpersistentdataisactive
inmodeeSUPS_WrPersistData_NoShutdown:Writingofpersistentdataisactive
eSUPS_QuickShutdown:
inmodeeSUPS_WrPersistData_Shutdown:QuickShutdownistactive
inModeeSUPS_ImmediateShutdown:QuickShutdownisactive
eSUPS_WaitForRecover:
inmodeeSUPS_WrPersistData_NoShutdown:Waitforthereestablishmentofthepowersupply
inmodeeSUPS_CheckPowerStatus:Waitforthereestablishmentofthepowersupply
eSUPS_WaitForPowerOFF:
inmodeeSUPS_WrPersistData_Shutdown:WaitforswitchingoffofthePCbytheUPS
inmodeeSUPS_ImmediateShutdown:WaitforswitchingoffofthePCbytheUPS