ISaGRAF. Version 3.4


DERIVATE


:

RUN BOO : TRUE=/FALSE=

XIN REAL :

CYCLE TMR

XOUT REAL

:

CYCLE ISaGRAF, ISaGRAF.

(*FBD DERIVATE *)

(* ST : , DERIVATE1 - DERIVATE *)

DERIVATE1(manual_mode, sensor_value, t#100ms);

derivated_value := DERIVATE1.XOUT;

(* IL : *)

LD manual_mode

ST DERIVATE1.run

LD sensor_value

ST DERIVATE1.XIN

LD t#100ms

ST DERIVATE1.CYCLE

CAL DERIVATE1

LD DERIVATE1.XOUT

ST derivated_value




- -  - -  - -