DERIVATE
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
LD Language
ENO has the same state as RUN.
DERIVATE |
IEC 61131-3 Automation platform > Programming - Reference guide > Advanced operations > DERIVATE |
Created with the Personal Edition of HelpNDoc: Transform Your Word Document into a Professional eBook with HelpNDoc