PLC application sources (NVL, rooms, boiler), HA/Node-RED integration guide, and NVL patch utilities. Co-authored-by: Cursor <cursoragent@cursor.com>
21 lines
379 B
Smalltalk
21 lines
379 B
Smalltalk
(* === 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 === *)
|