
Commissioning
DWORDBatteryTemperature;
DWORDBackupBatteryVoltage;
BYTEBatteryChemistry;
//AddanyextrainformationaftertheBatteryChemistrymember.
}SYSTEM_POWER_STATUS_EX2,*PSYSTEM_POWER_STATUS_EX2,*LPSYSTEM_POWER_STATUS_EX2;
PleasenotethatnotallparametersaresupportedbytheBeckhoffUPS.Themainmembervariablesinclude:
ACLineStatus:Statusoftheexternalpowersupply.
BatteryLifePercent:Batterychargestatusinpercent.
BatteryLifeTime:Remainingbatterycapacity.
FurtherinformationaboutthisAPIfunctioncanbefoundintheMicrosoftonlinedocumentation.
UPSinterfaceforTwinCATPLC
ATwinCATPLCapplicationcanaccesstheUPSstatusinformationinreadmodeviafunctionblock
FB_GetUPSStatus.Detaileddocumentationofthefunctionblockcanbefoundhere:FB_GetUPSStatus [}68].
5.4.2 Systembehavior:BatterydriverforWindowsCE
IntheeventofapowerfailuretheUPSautomaticallyswitchestobatteryoperation.Thedeviceswitchesoff
afterithasbeenrunninginbatterymodeforaconfigurablemaximumtime.
Themaximumtimeforbatteryoperationissetto180secondsbydefault.Thistimeisconfigurableviaa
Windowsregistryentry.
StarttheRegistryEditorandsearchforthefollowingkey:
HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Battery\Config\
Searchforthefollowingvalue:
ShutdownOnBatteryWaitREG_DWORD0x000000b4(180)
Thetimeisspecifiedinseconds.Permittedrange:<0..16200>seconds(correspondsto270minutes).
Ifthevalueisset,forexample,to0theshutdowncommencesimmediatelyintheeventofapowerfailure.
Thedeviceswitchesoffafteramaximumof20seconds.
CX210009x4 77Version1.1
Comentários a estes Manuais