110
110
110
110
Timing
Timing
Timing
Timing diagram
diagram
diagram
diagram
Q for Ax - Ay > 200, On = Off = 200
Description
Description
Description
Description of
of
of
of the
the
the
the function
function
function
function
The function reads the value of the signal at the analog input Ax.
This value is multiplied by the value of parameter A (gain). Parameter B (offset) is added to the
product, hence
(Ax ∙ gain) + offset = Actual value Ax.
(Ay ∙ gain) + offset = Actual value Ay.
Output Q is set or reset depending on the difference of the actual values Ax - Ay and the set
thresholds. See the following calculation rule.
Calculation
Calculation
Calculation
Calculation rule
rule
rule
rule
•
If threshold On ≥Threshold Off, then:
Q = 1, if (actual value Ax - actual value Ay) > On
Q = 0, if (actual value Ax - actual value Ay) ≤Off.
•
If threshold On < Threshold Off, then Q = 1, falls:
On ≤ (actual value Ax - actual value Ay) < Off.
Reducing
Reducing
Reducing
Reducing the
the
the
the input
input
input
input sensitivity
sensitivity
sensitivity
sensitivity of
of
of
of the
the
the
the analog
analog
analog
analog comparator
comparator
comparator
comparator
You can delay the output of the analog comparator selectively by means of the "on delay" and
"off delay" SFBs. By doing so, you determine that output Q is only set if the input trigger length
Trg (= output of the analog comparator) exceeds the defined on delay time.
This way you can set a virtual hysteresis, which renders the input less sensitive to short
changes.
Particular
Particular
Particular
Particular characteristics
characteristics
characteristics
characteristics to
to
to
to be
be
be
be noted
noted
noted
noted when
when
when
when configuring
configuring
configuring
configuring
For help on analog block parameters, refer to the Analog value processing section.
Setting
Setting
Setting
Setting the
the
the
the Par
Par
Par
Par parameter
parameter
parameter
parameter
The gain and offset parameters are used to adapt the sensors to the relevant application.
View in programming mode:
Summary of Contents for xLogic
Page 1: ......
Page 2: ......
Page 102: ...100 100 100 100 B B B B Blocks Blocks Blocks Blocks...
Page 105: ...103 103 103 103 G G G G M M M M status status status status...
Page 106: ...104 104 104 104 H H H H AM AM AM AM value value value value...
Page 164: ...162 162 162 162 If the Memory Read block had been triggered the Q1 of ELC 12 CPU will be set 1...
Page 204: ...202 202 202 202 Step Step Step Step 6 6 6 6 Moving Moving Moving Moving...
Page 226: ...224 224 224 224...