DIF – Difference

Block SymbolLicensing group: STANDARD
Qt SVG Document Exported by REXYGEN Studio u R1 HLD y DIF

Function Description
The DIF block differentiates the input signal u according to the following formula

yk = uk uk1,

where uk = u, yk = y and uk1 is the value of input u in the previous cycle (delay TS, which is the execution period of the block).

The parameter ISSF sets the behavior of the block in the first cycle of task execution. If off, y = u will be output in the first cycle. For the value on, the output will be y= 0 in the first cycle.

This block propagates the signal quality. More information can be found in the 1.4 section.

Input

u

Analog input of the block

Double (F64)

R1

Block reset

Bool

HLD

Hold

Bool

Parameter

ISSF

Zero output at start-up

Bool

off ..

Non-zero output in the first cycle

on ...

Zero output in the first cycle

Output

y

Difference of the input signal

Double (F64)

2024 © REX Controls s.r.o., www.rexygen.com