Toshiba PROSEC T1-16S User Manual page 162

Programmable controller basic hardware and function
Hide thumbs Also See for PROSEC T1-16S:
Table of Contents

Advertisement

7. Instructions
FUN 061
DFL
Expression
Input
[ A DFL B
Function
When the input is ON, this instruction calculates the following formula to perform digital filtering for
input data A by filter constant by B, and stores the result in C.
y
1
FL
x
FL y
n
n
Here; x
is input data specified by A
n
FL is filter constant, 1/10000 of data specified by B (data range: 0 to 9999)
y
is output data to be stored in C
n
y
is output data at last scan
n-1
This instruction is useful for filtering the analog input signal. C+1 is used for internal work data.
Execution condition
Input
OFF
No execution
ON
Execution (FL is limited within the range of 0 to
9999)
Operand
Name
X
A Input data
B Filter constant
C Output data
Example
The filtered data of XW04 is stored in D0110. (D0111 is used for internal work data)
When D0100 value is small
XW04
160
T1-16S User's Manual
Digital Filter
C ]
Output
n
1
Operation
Device
Y
R
S
T.
C. XW YW RW SW T
D0110
Time
Output
OFF
ON
Register
C
D
I
J
When D0100 value is large
XW04
D0110
6F3B0253
Constant Index
K
Time

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents