119
119
119
119
Timing
Timing
Timing
Timing diagram
diagram
diagram
diagram B:
B:
B:
B: Function
Function
Function
Function with
with
with
with positive
positive
positive
positive difference
difference
difference
difference Delta
Delta
Delta
Delta
Description
Description
Description
Description of
of
of
of the
the
the
the function
function
function
function
The function fetches the analog signal at input Ax.
Ax is multiplied by the value of the A (gain) parameter, and the value at parameter B (offset)
is added to product, i.e.
(Ax ∙ gain) + offset = actual value of Ax.
Output Q is set or reset, depending on the set (On) threshold and difference value (Delta). The
function automatically calculates the Off parameter: Off = On + Delta, whereby Delta may be
positive or negative. See the calculation rule below.
Calculation
Calculation
Calculation
Calculation rule
rule
rule
rule
•
When you set a negative differential value Delta, the On threshold >= Off threshold, and:
Q = 1, if the actual value Ax > On
Q = 0, if the actual value Ax ≤ Off.
See the timing diagram A.
•
When you set a positive differential value Delta, the On threshold < the Off threshold, and Q
= 1, if:
On ≤ the actual value Ax < Off.
See the timing diagram B.
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 (example):
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...