发表于:2005-04-26 10:49:00
3楼
在〔Input Filters〕-〔Analog〕有一项〔Number of Samples〕,
设置此项为n就代表了在CPU读到的相应通道的AI值是经过n次连续采样后根据一定算法得到的均值。如果没有特殊需要就不必编程了。
〔With CPUs 22x, you can select software filtering on individual analog inputs. The filtered value is the average value of a pre-selected number of samples of the analog input. The filter specification (number of samples and dead band) is the same for all analog inputs for which filtering is enabled〕