Host Engineering Forum

General Category => DirectSOFT => Topic started by: cmoyer on March 21, 2008, 12:15:34 PM

Title: analog smoothing
Post by: cmoyer on March 21, 2008, 12:15:34 PM
Hi all,

I am trying to do a simple moving average type smoothing of a 0-10 VDC analog input signal.  This is on a DL05 PLC using DirectSOFT 5 for programming.  The analog value is stored in V-memory as BCD.  Is there an ibox that I can use to do this or do I have to do it the hard way?

Thanks!
cmoyer
Title: Re: analog smoothing
Post by: franji1 on March 21, 2008, 02:10:20 PM
FILTER

Start w/a small Filter Divisor Constant (K2) at first (this is equivalent to a moving average sample size of 2) and go up from there until you like its "smoothness"