News:

  • December 05, 2024, 05:37:19 AM

Login with username, password and session length

Author Topic: analog smoothing  (Read 3149 times)

cmoyer

  • Newbie
  • *
  • Posts: 1
analog smoothing
« 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

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3703
    • Host Engineering
Re: analog smoothing
« Reply #1 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"