LOGO! functions
Gain and offset parameters
Please note the information on gain and offset parameters
in Chapter 4.3.6.
Parameter p (number of decimals)
Does not apply to the display of On, Off and Ax values in a
message text.
Does not apply to the comparison of On and Off values!
(The compare function ignores the decimal point.)
Timing diagram
1000
On
Off
Ax
0
Q
Functional description
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 thresholds.
See the calculation rule below.
Calculation rule
S
If the On threshold
Q = 1, if the actual value Ax > On
Q = 0, if the actual value Ax
S
If the On threshold < Off threshold, then Q = 1 if
On
182
actual value Ax < Off.
Off threshold, then:
Off.
LOGO! Manual
A5E00380835-01