161
Shortdescription
Thisspecialfunctionsavestheprocessvariableofananaloginputtomemory,andsetstheoutputwhen
theoutputvariableexceedsordropsbelowthisstoredvalueplusaconfigurableoffset.
Parameterp(numberofdecimals)
ThetwothresholdparametersThreshold1andThreshold2canbeprovidedbytheactualvalueof
anotheralready-programmedfunction:
Analogcomparator:Ax – Ay
Analogtrigger:Ax
Analogamplifier:Ax
Analogmultiplexer:AQ
Analogramp:AQ
Analogmath:AQ
PIcontroller:AQ
Datalatchingrelay:AQ
Up/Downcounter:Cnt
AppliesonlytothedisplayofAen,AxandDeltavaluesinamessagetext.
Timingdiagram
Connection Description
Input En Apositiveedge(0to1transition)atinputEnsaves
theanalogvalueatinputAx("Aen")tomemoryand
startsmonitoringoftheanalograngeAen ± Delta.
Input Ax Youapplytheanalogsignaltobemonitoredatinput
Ax.
UsetheanaloginputsAI1...AI8,theanalog
outputsAQ1andAQ2.
0-10Visproportionalto0-1000(internalvalue).
Parameter A: Gain
Rangeofvalues: ± 10.00
B: Zerooffset
Rangeofvalues: ± 10,000
Delta: DifferencevaluefortheAenon/offthreshold
Rangeofvalues: ± 20,000
p: Numberofdecimals
Rangeofvalues:0,1,2,3
Output Q Qisset/reset,dependingonthestoredanalogvalue
andtheoffset.