GE Industrial Solutions 6KCV300WPD User Manual

Page 188

Advertising
background image

GEL100340

Description

It calculates the limited summation of the input

It is possible to specify the Initial value of the summation

[x]

Reset the summation, Disable the calculation or set the summation to a

C-style description

static float LimSummation=O;

if (Reset != 0)

else if (Disable != 0)

Nothing is performed

else if (Preset != 0)

LimSummation=PresetVal;

else if

!= 0)

else

LimSummation=LimSummation+In;

LimSummation is limited

if (LimSummation LowerLim)

LimSummation=LowerLim;

else if (LimSummation

LowerLim)

LimSummation=UpperLim

Out=LimSummation;

Input logical variables

None

Output logical variables

None

178

Advertising