EasyManua.ls Logo

Easy Electronics xLogic Micro PLC - Page 158

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...
158
Descriptionofthefunction
ThefunctionreadsthevalueofthesignalattheanaloginputAx.
ThisvalueismultipliedbythevalueofparameterA(gain).ParameterB(offset)isaddedtotheproduct,
hence
(Ax Gain)+Offset=ActualvalueAx.
OutputQissetorresetdependingonthesetthresholdvalues.Seethefollowingcalculationrule.
Calculationrule
Ifthreshold(On) threshold(Off),then:
Q=1,iftheactualvalueAx>On
Q=0,iftheactualvalueAx Off.
Ifthreshold(On)<threshold(Off),thenQ=1,if
On theactualvalueAx<Off.
Note
Thedecimalpointsettingmustbeidenticalinthemin.andmax.range.
SettingtheParparameter
Thegainandoffsetparametersareusedtoadaptthesensorstotherelevantapplication.
Viewinprogrammingmode(example):

Table of Contents