Files
news.gitea.happylizard.me/bin/gems/rouge-4.7.0/lib/rouge/demos/iecst
T
pizza2d1 4cee170d66
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 9s
Add bin and edit workflow
2026-09-16 13:11:16 -06:00

22 lines
267 B
Plaintext

// first-order lag derivative term
(*
Parameter K must be set to T / (T + T1)
*)
FUNCTION_BLOCK DT2
VAR_INPUT
IN : REAL;
K : REAL;
END_VAR
VAR_OUTPUT
Q : REAL;
END_VAR
VAR
H : REAL := 0.0;
END_VAR
BEGIN
Q := IN - H;
H := H + K * Q;
END_FUNCTION_BLOCK