Cordex®CXCHPControllerSoftwareManual|22-Usingcustomviews,data,timers,counters,scheduler,andcustomactions
• Name: Theeditablenameforthisitem.
• Description: Additionalinformationtodescribethisitem.
•
Input Source: ThefieldthatrepresentstheInput value.Itisusuallysettotheresultofacustom
data.
•
Reset Source: ThisoptionalfieldrepresentstheReset value.Itisusuallysettotheresultofa
customdata.
•
Terminal Value: Thisisanoptionalnumericvaluethatisthemaximumvalue.
Therearealsofieldstodescribethestateofthecounter:
•
Input: ThevalueofthefieldthatwasselectedfortheInput Source.Itwillevaluatetofalseortrue.
•
Output: Thevalueofthecounter.
• Reset: ThevalueofthefieldthatwasselectedfortheReset Source.Itwillevaluatetofalseor
true.
• Terminal Reached: ThisvalueistruewhenthecounterOutput isequaltotheTerminal Value.
ThecounteralsohasaReinitialize Counter button.Whenthisbuttonispressed,thecounterOutput is
setbacktozero.
Up counter operation
TheUp Counter operatesasfollows:
• WhentheInput valuegoesfromfalsetotrue,theOutput willincrementbyone,aslongasitis
lessthantheterminalvalueandtheReset valueisfalse.
• WhentheReset valueistrue,theOutput willalwaysbezero.
• TheTerminal Reached valuewillbetruewhenevertheOutput isequaltotheTerminal Value.
• WhentheReinitialize Counter buttonisselected,thecounterOutput issettozero.Thisallows
foramanualresetofthecounterincasetheReset Source hasnotbeenconfigured.
22.4.2. Configure the down counter
ADown Counter hasfiveconfigurationfields:
•
Name: Theeditablenameforthisitem.
• Description: Additonalinformationtodescribethisitem.
• Input Source: ThefieldthatrepresentstheInput value.Itisusuallysettotheresultofacustom
data.
Page 248 0350058-J0 Rev AL