Initial commit: CODESYS tree, integration docs, Node-RED scripts.
PLC application sources (NVL, rooms, boiler), HA/Node-RED integration guide, and NVL patch utilities. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
(* === DECLARATION === *)
|
||||
FUNCTION_BLOCK fb_toogleButton
|
||||
VAR_INPUT
|
||||
|
||||
Input :BOOL;
|
||||
END_VAR
|
||||
VAR_OUTPUT
|
||||
Output :BOOL;
|
||||
|
||||
END_VAR
|
||||
VAR
|
||||
Switch: BOOL;
|
||||
Light: BOOL;
|
||||
Flag1: BOOL;
|
||||
Flag2: BOOL;
|
||||
RT: R_TRIG;
|
||||
Pulse: TP;
|
||||
CTU_0: CTU;
|
||||
CTD_0: CTD;
|
||||
CTU_1: CTU;
|
||||
CTU_2: CTU;
|
||||
TOF_0: TOF;
|
||||
END_VAR
|
||||
|
||||
(* === IMPLEMENTATION === *)
|
||||
Reference in New Issue
Block a user