
SecondsUPS
IntheeSUPS_CheckPowerStatusmodeonlyacheckisperformedastowhetherapowerfailurehas
occurred.Ifthisisthecase,themoduleonlyswitchesbacktothePowerOKstateaftertheexpiryof
tRecoverTime(10s).
Independentofthemodeandthusindependentofthesavingortheshuttingdownofthecontroller,theUPS
switchesthemainboardoffafterthecapacitorshavedischarged,evenifthevoltagehasreturnedinthe
meantime.
Attention
Cautionwhenusingfiles:
IfotherapplicationsorthePLCkeepotherfilesopenorwritetothem,thiscanleadtofaulty
filesiftheUPSswitchesoffthecontroller.
Attention
NoteregardingWindowsEmbeddedStandard7P:
ToprotecttheWindowsEmbeddedStandard7Pfiles,eithertheEWF(EnhancedWriteFil
ter)ortheFBWF(FileBasedWriteFilter)mustbeactivatedondeviceswithonesecond
UPS.
IftheEWFisused,theTwinCAT\Bootfoldermustbelocatedonanunprotectedpartition(seeintheregistry:
HKEY_LOCAL_MACHINE\SOFTWARE\Beckhoff\TwinCAT\System\BootPrjPath).
IftheFBWFisused,musttheTwinCAT\Bootfoldermustbeexcludedfromtheprotection(seeBeckhoff
FBWFManager,ExclusionSettings).
FUNCTION_BLOCKFB_S_UPS_CX51x0
VAR_INPUT
VAR_INPUT
sNetID:T_AmsNetId:='';(*''=localnetid*)
iPLCPort:UINT:=AMSPORT_R0_PLC_RTS1;(*PLCRuntimeSystemforwritingpersistentdata*)
iUPSPort:UINT:=16#4A8;(*PortforreadingPowerStateofUPS,dafault16#4A8*)
tTimeout:TIME:=DEFAULT_ADS_TIMEOUT;(*ADSTimeout*)
CX51x022 Version1.0
Komentarze do niniejszej Instrukcji