Instruction 93- digital filter – Maple Systems MAPware-7000 User Manual

Page 151

Advertising
background image

143

MAPware-7000 Ladder Logic Guide

1010-1041 rev. 00

Instruction 93- Digital Filter

Expression:

Space Requirement: 1 line x 6 column Location Requirement: Middle, Right rail

Function:

When the input is ON, this instruction calculates the following formula to perform digital
filtering for input data A, using filter constant B, and stores the result in C.

Yn = (1 - FL) * Xn + (FL * Yn-1) where

Xn is the input data specified by A

FL is the filter constant; 1/10000 of value B (data range: 0 to 9999)

Yn is the computed result, stored in C

Yn-1 is result from the last scan

C+1 is used for internal data computations

This instruction is used for filtering analog input signals.

Execution Condition:

Input

Operation

Output

OFF

No execution

OFF

ON

Execution (PLC7000 Series is limited within range of 0
to 9999).

ON

Operand:

Coil or Bit

Register

Constant

Index

Name

X

Y B

S

T.

C.

M

X
W

Y
W

B
W

S
W

T C

D

I

J

K

M
W

A

Input Data

√ √

B

Filter

Constant

√ √

C

Output Data

√ √

Advertising