Filter, K( in – out – Rockwell Automation 1336T Function Block Prog. Manual, Series A/B User Manual

Page 81

Advertising
background image

Function Block Library

4–19

1336 FORCE — 5.9 August 1995

FILTER

BLOCK TYPE 8 decimal 8 hexadecimal

Filter

ID =

Exec =

Out

NODE 0

In

NODE 1

Rad /S

NODE 2

DEFINITION

A first order low pass algorithmic filter with a programmable
bandwidth in increments of .1 radians/second.

INPUTS

In — The signed integer to be filtered.

Rad/S — The bandwidth in .1 radians/second, with a maximum
value of 400 (40 radians).

OUTPUT

Out — A signed, filtered, output integer that is clamped to

±

32767.

FUNCTION

If Rad/S = 0, then Out = In.

If Rad/S

0, then Out = Out

I–1

+ k(InOut

I–1

).

PARAMETERS

DATA TYPE

LINKABLE

DEFAULT VALUE

RANGE

In

Signed Integer

Yes

0

±

32767

Rad/S

Unsigned Integer

No

0

0 to 400

Out

Signed Integer

No

±

32767

Example 1 — (10) Radians-per-Second — Horizontal Scale = 100 mS/Division

" 1 Time A

Constant

63%

100 mS

+ 32767

"

– 32767

"

FILTER In

"

A––– 3 Time Constants –––"

96%

300 mS

A FILTER Out

Advertising