ISaGRAF. Version 3.4


INTEGRA


L

:

RUN BOO : TRUE=/FALSE=

R1 BOO

XIN REAL :

X0 REAL

CYCLE TMR

Q BOO R1

XOUT REAL

:

CYCLE ISaGRAF, ISaGRAF.

(*FBD INTEGRAL *)

(* ST : , INTEGRAL1 - INTEGRAL *)

INTEGRAL1(manual_mode, NOT(manual_mode), sensor_value, init_value, t#100ms);

controlled_value := INTEGRAL1.XOUT;

(* IL : *)

LD manual_mode

ST INTEGRAL1.run

STN INTEGRAL1.R1

LD sensor_value

ST INTEGRAL1.XIN

LD init_value

ST INTEGRAL1.X0

LD t#100ms

ST INTEGRAL1.CYCLE

CAL INTEGRAL1

LD INTEGRAL1.XOUT

ST controlled_value