133
transitions.
Input Dir InputDir(Direction)determinesthe
directionofcount:
Dir=0:Up
Dir=1:Down
Parameter On: Onthreshold
Valuerange:0...99999999
Off: Offthreshold
Valuerange:0...99999999
StartVal: Initialvaluefromwhichtobegin
countingeitherdownorup.
Retentivity set(on)=thestatusis
retentiveinmemory.
Output Q Qissetandresetaccordingtotheactual
valueatCntandthesetthresholds.
Parameter
TheonthresholdOnandtheoffthresholdOffcanbeprovidedbythevalueofanother
already-programmedfunction:
Analogcomparator:Ax – Ay
Analogtrigger:Ax
Analogamplifier:Ax
Analogmultiplexer:AQ
Analogramp:AQ
Analogmath:AQ
PIcontroller:AQ
Datalatchingrelay:AQ
Up/Downcounter:Cnt
Thevalueof "On","Off"and "Cnt"canbeset/modifiedinparametermode.Forinformationabout
howtomodify,refertochapter5.2.2please.
Timingdiagram
Descriptionofthefunction
Thefunctionincrements(Dir=0)ordecrements(Dir=1)theinternalcounterbyonecountwithevery
positiveedgeatinputCnt.
Youcanresettheinternalcountervalueto'000000',withasignalattheresetinputR.AslongasR=1,