Integrator – Rockwell Automation 1336T Function Block Prog. Manual, Series A/B User Manual

Page 88

Advertising
background image

Function Block Library

4–26

1336 FORCE — 5.9 August 1995

INTEGRATOR

BLOCK TYPE 10 decimal 0A hexadecimal

Integrator

ID =

Exec =

NODE 0

Input

Lo Lim

NODE 6

Hi Lim

NODE 7

Output

NODE 8

NODE 1

Set

NODE 5

Max

NODE 4

Min

NODE 3

Gain

NODE 2

Preset

t

DEFINITION

Integrates an input value Input over a period of time using
trapezoidal integration. The Output is limited to Min and Max
values that are defined by the user. The integrator can be set to the
Preset value when the Set input is true.

INPUTS

Input — A signed integer signal that will be integrated.

Set — A logic input that forces the Output and integrated internal
variable to the Preset value when not equal to 0.

Preset — A signed integer that is loaded into the integrator when
Set is true.

Gain — A scaled, signed integer that is multiplied by the sum of
the current and last inputs — Scaling 256 = effective gain
of 1.

Min — A signed integer that is the lower limit on the integrated
Output.

Max — A signed integer that is the upper limit on the integrated
Output.

OUTPUTS

Lo Lim — A logic value = true when the integrated value < Min.

Hi Lim — A logic value = true when the integrated value > Max.

Output — A signed value that is the integral of Input with respect
to time.

Important:

The Output is clamped between the Hi and Lo Lim
values and cannot over or under flow. When the Output
reaches either of these limits, the internal accumulator
clamps and will not integrate beyond that limit.

Advertising