185
LOGO! Manual
A5E00380835-01
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.
Timing diagram A: Function with negative difference
n
Q
O
n
Ax
Off = On + n
Timing diagram B: Function with positive difference n
Q
Off = On + n
Ax
On
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 (On) thresh-
old and difference value (n). The function automatically
calculates the Off parameter: Off = On + n, whereby n
may be positive or negative. See the calculation rule below.
LOGO! functions