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,20 @@
|
||||
(* === DECLARATION === *)
|
||||
FUNCTION_BLOCK fb_switch
|
||||
VAR_INPUT
|
||||
switches: struct_switches;
|
||||
END_VAR
|
||||
VAR_OUTPUT
|
||||
lights: struct_lights;
|
||||
END_VAR
|
||||
VAR
|
||||
all_off: fb_toogleButton;
|
||||
all_on: fb_toogleButton;
|
||||
sw_1: fb_toogleButton;
|
||||
sw_2: fb_toogleButton;
|
||||
sw_3: fb_toogleButton;
|
||||
sw_4: fb_toogleButton;
|
||||
sw_5: fb_toogleButton;
|
||||
sw_6: fb_toogleButton;
|
||||
END_VAR
|
||||
|
||||
(* === IMPLEMENTATION === *)
|
||||
Reference in New Issue
Block a user