EasyManua.ls Logo

EnerSys Alpha Cordex CXC HP - Page 241

EnerSys Alpha Cordex CXC HP
279 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Cordex®CXCHPControllerSoftwareManual|22-Usingcustomviews,data,timers,counters,scheduler,andcustomactions
Astatevariablecomparesthelivevalueofastatefieldtouptofourofitspossiblevalues.Thepossible
valuesarecalled“TrueIf”valuessincethestatevariablewillevaluatetoTrueifthestatefieldmatches
anyofthepossiblevalues.
Notice: State variables will always evaluate to True or False. A state variable should always be
used with a value that represents a state. Numeric values should not be used when creating a
state variable.
Tipsonusingvariables:
Thekeywords“True”and“False”canalsobeusedinanequation.Theyaretreatedasbuilt-in
variablesthatrepresentthevalueofoneandzero.
VariablesarecreatedwithinthecontextofasingleuniqueinstanceofCustom Data.Avariable
createdforuseinaspecificCustom Data equationcannotbereusedinanotherequation.
Variablenamesmustadheretoaspecificformat.Thenamemuststartwithaletter,followed
byletters,digitsorunderscores.Somevalidnamesare“T1”,“T_1”,“Vbat”,“BatteryCurrent”,
“Load_2_Current”.
Shortbutmeaningfulnamesofferthebestreadabilitywhenusedinanequation.
OnceaCustom Data hasbeencreateditcanbeusedthroughoutthecontrollerandsystemsasinputto
variousconfigurations.
Forexample,inaUser Alarm allCustom Data equationsaredisplayedintheselectionlistoftheSource
field.YoucanusethisCustom Data toalarmandcontrolrelaysbasedonanycustomparameters
required.
Anotherexampleisconfigurationforaload.TheLoad Current Source fielddisplaysallCustom Data so
youcansummultiplecurrentstorepresenttheloadcurrent.
Generally,anySource fieldthatallowsyouselectinputswillalsoprovideallCustom Data asanoption.
Functions
Therearethreesupportedfunctions:abs(),sqrt(),power().Theabs()andsqrt()acceptasingleinput
parameter,andthepower()acceptstwoparameters.Forthepower()function,thefirstparameteristhe
baseandthesecondparameteristheexponent.Forexample,power(2,3)wouldevaluateto8.
22.2.1.1. Showing the result as text
Customdataequationsnormallyrepresentanumericalorboolean(true/false)value.Attimesthough,it
maybeconvenienttodisplaythosevaluesonthedashboardastext;thiscanbeespeciallyusefulifthe
customdatarepresentsasystemstate.Forexample,anairconditionermaybeOff,Cooling,orError.
TheResult as Text entryintheConfiguration tableusestheentriesintheText Mapping tabletomap
theresultasnumericortheresultasbooleantomeaningfultext.
Page 240 0350058-J0 Rev AL

Table of Contents

Other manuals for EnerSys Alpha Cordex CXC HP