EasyManua.ls Logo

Easy Electronics xLogic Micro PLC - Page 154

Easy Electronics xLogic Micro PLC
293 pages
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...
154
Parameterp(numberofdecimals)
TheonthresholdOnandtheoffthresholdOffcanbeprovidedbytheactualvalueofanother
already-programmedfunction:
Analogcomparator:Ax Ay
Analogtrigger:Ax
Analogamplifier:Ax
Analogmultiplexer:AQ
Analogramp:AQ
Analogmath:AQ
PIcontroller:AQ
Datalatchingrelay:AQ
Up/Downcounter:Cnt
AppliesonlytoAx,Ay,Delta,OnandOffvaluesdisplayedinamessagetext.
Doesnotapplytothecomparisonofonandoffvalues!(Thecomparefunctionignoresthedecimalpoint.)
Thevalueof On,Offand Dec canbeset/modifiedinparametermode.Forinformationabout
howtoset/modify,refertochapter5.2.2please.(Decmeansdecimalpoint.)
Timingdiagram
QforAx-Ay>200,On=Off=200
Descriptionofthefunction
ThefunctionreadsthevalueofthesignalattheanaloginputAx.
ThisvalueismultipliedbythevalueofparameterA(gain).ParameterB(offset)isaddedtotheproduct,
hence
(Ax gain)+offset=ActualvalueAx.
(Ay gain)+offset=ActualvalueAy.
OutputQissetorresetdependingonthedifferenceoftheactualvaluesAx-Ayandthesetthresholds.
Seethefollowingcalculationrule.
Calculationrule
IfthresholdOn ThresholdOff,then:

Table of Contents