GE Industrial Solutions 6KCV300WPD User Manual

Page 193

Advertising
background image

So the discrete relation that performs this discrete transfer function is:

out, =

+

where the

k

index means

actual

value while

k-l

index means value calculated at the previous sample time of

the control.

C-style description

static float

if (Reset != 0)

else if (Disable != 0)

Nothing is performed

else

Out=FilterVal;

Input logical variables

N o n e

Output logical variables

None

Input ports

name

float

Reset

Disable

Output ports

int

executed

only if

and Disable==0

always

alwavs

only if

description

Input to be filtered [x]

Filter time constant

of the filter. It must be

greater than the cycle time of the control

If not, the filter will be disabled

and

If

output is set to 0

If Disable!=0 the calculation is disabled

name

t y p e

Out

float

output

183

Advertising