You are on page 1of 2

Siemens - Industry Automation and Drive Technologies - Service& Support - Automation...

Page 1 of 2
show the entry list Analog filtering with S7-22x QUESTION: What happens when capturing analog values with S7-22x with and without filtering and how does this affect the capturing time when changing analog values? ANSWER: The following explains the difference between analog value capturing with and without filtering: Capturing analog values with filter: When the Analog Filter of the CPU is on, then the analog values are read automatically before each program cycle. The actual average value is then formed from these measured analog values. The number of values to be taken for calculating the average value can be set in STEP 7-Micro/WIN 32 as follows:
l l

Double-click "System blocks" and switch to the "Input Settings" tab. Set the required value in the "Number of queries" field.

Figure 1: Crossing the limit of the analog value In the window in which you entered the value for the "Number of queries" you can also specify the dead time. The dead time (deadband) is the range specification in quantizing levels ( 16-4080). Averaging of the analog values takes place in this range. If the analog value measured at the beginning of the program cycle is exceeds or falls short of this range, then this is immediately adopted as the new value and will now be the starting point for further calculations.

http://support.automation.siemens.com/WW/llisapi.dll/8574774?func=ll&objId=8574774... 10.09.2010

Siemens - Industry Automation and Drive Technologies - Service& Support - Automation... Page 2 of 2
With the filter on, you get a new analog value at the earliest after each program cycle. Note:
l

An exception for setting the dead time (deadband) is 0. In this case there is averaging at each new program cycle regardless of the width of the jump. The deadband is thus at infinity although it has been set to 0. For rapid requests do not set the deadband to 0. Set it only as large as the maximum expected disturbance value (320 is 1% of the full-scale deflection value of 32000).

Capturing analog values without filter: With the analog filter off, the inputs are always read when you access them from the program. This happens regardless of the start of the program cycle. The modules can convert an analog input into the corresponding digital value within 149 s.

Figure 2: Step reaction analog input An actual change at the analog input from 0 to half of the full-scale deflection value can be recognized by the program to at least 95% after 1.5 ms (see Figure 2). If the analog filter is switched off, then an analog value can be read about every 2 ms by a time interrupt program. Keywords: Analog filter, Analog input

Entry ID:8574774 Date:2001-08-22 I regard this article.... Copy link


Print Siemens AG 2010 - Corporate Information - Privacy Policy - Terms of Use

as helpful

as not helpful Send to a friend

Suggestion for the entry

http://support.automation.siemens.com/WW/llisapi.dll/8574774?func=ll&objId=8574774... 10.09.2010

You might also like