Function Block - Derivates a signal.

Inputs

Input

Data type

Description

RUN

BOOL

Run command: TRUE=derivate / FALSE=hold.

XIN

REAL

Input signal.

CYCLE

TIME

Sampling period (should not be less than the target cycle timing).

Outputs

Output

Data type

Description

XOUT

REAL

Output signal.

Remarks

In LD language, the input rung is the RUN command. The output rung keeps the state of the input rung.

ST Language

MyDerv is a declared instance of DERIVATE function block.

MyDerv (RUN, XIN, CYCLE);
XOUT := MyDerv.XOUT;

FBD Language

Fixed_Image

LD Language

ENO has the same state as RUN.

Fixed_Image

Fixed_Image See also

AVERAGE  INTEGRAL  LIM_ALRM  HYSTER  STACKINT


Created with the Personal Edition of HelpNDoc: Transform Your Word Document into a Professional eBook with HelpNDoc