6F3B0250
178 T1/T1S User’s Manual
7. Instructions

FUN 061 DFL Digital Filter

Expression
Input -[
A
DFL
B
®
C
]- Output
Function
When t he input is ON, this instruction calculates the following formula t o per form digital filtering for
input data
A
by filter constant by
B
, and stores t he result in
C
.

()

yFLxFLy
nnn
=- ´ + ´ -
11
Here; xn is input data specified by
A
FL is filt er const ant, 1/10000 of data specif ied by
B
(data range: 0 to 9999)
yn is output data to be stored in
C
yn-1 is output data at last scan
This instr u ct ion is useful f or filter ing the analog input signal.
C+1
is used for int er nal work data.
Execution condition
Input Operation Output
OFF No execution OFF
ON Execution (FL is limited within the ran
g
e of 0 to 9999) ON
Operand
Name Device Re
g
ister Constant Index
X Y R S T. C. XW YW RW SW T C D I J K
A
Input data ÖÖÖÖÖÖÖÖÖÖ Ö
B
Filter constant ÖÖÖÖÖÖÖ
C
Output data ÖÖÖÖÖÖ
Example
The filtered data of XW04 is stored in D0110. ( D0111 is used for inter nal work dat a)
XW04
D0110
Time
XW04
D0110
Time
T1S only
When D0100 value is largeWhen D0100 value is small
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net