DERIVATEPLCopen motion icon

Function BlockA function block groups an algorithm and a set of private data. It has inputs and outputs. - Derivates a signal.

Inputs

RUN : BOOL    Run command: TRUE=derivate / FALSE=hold
XIN : REAL    Input signal
CYCLE : TIME  Sampling period (must not be less than the target cycle timing)

Outputs

XOUT : REAL   Output signal

Remarks

In FFLD 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

DerivateFbd.gif (1512 octets)

FFLD Language

(* ENO has the same state as RUN *)
DerivateLd.gif (1598 octets)

IL Language:

(* MyDerv is a declared instance of DERIVATE function block *)
Op1: CAL MyDerv (RUN, XIN, CYCLE)
FFLD 
MyDerv.XOUT
ST"Structured text" A high-level language that is block structured and syntactically resembles Pascal  XOUT

See also

AVERAGE   INTEGRAL   LIM_ALRM   HYSTERSTACKINT

 


Stay Connected with Kollmorgen

Copyright © 2015 Kollmorgen™