Download SIMATIC LOGO! Manual
Transcript
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 If the On threshold Off threshold, then: Q = 1, if the actual value Ax > On Q = 0, if the actual value Ax Off. If the On threshold < Off threshold, then Q = 1 if On actual value Ax < Off. LOGO! Manual A5E00228550-01 159