Timing diagram B: Function with positive difference
Delta
Description of the function
The function fetches the analogue signal at input Ax.
Ax is multiplied by the value of the A (gain) parameter,
and parameter B (offset) is added to the 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 rule
When you set a negative differential value Delta and the
On threshold >= Off threshold, then:
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 and the
On threshold < the Off threshold, then
Q = 1, if:
On threshold, ≤ the actual value Ax < Off threshold.
See the timing diagram B.
Analogue Multiplexer
Description of function
This special function displays 0 or one of 4 saved analogue
values on the analogue output.
1 on input En (Enable) switches,
dependent on S1 and S2, a
parameterized analogue value to the
output AQ.
0 on input EN switches 0 to the
output AQ.
S1 and S2 (selectors) for selecting
the analogue value to be issued.
S1 = 0 and S2 = 0: The value 1 is
issued
S1 = 0 and S2 = 1: The value 2 is
issued
S1 = 0 and S2 = 1: The value 2 is
issued
S1 = 1 and S2 = 0: The value 3 is
issued