Toggle
PROGRAM Blok VAR FB:Lib.Core.V1_0.Toggle; in_var:bool; out_var:bool; END_VAR FB(In:=in_var, out=>out_var); END_PROGRAM
LIB\CORE
V1.0
Block works as a toggle switch, Input In reacts on raising edge, The first raising edge switches the output to TURE. The second raising edge puts the output to FALSE.
Vstup | Typ | Význam |
IN | BOOL | Input trigger |
Výstup | Typ | Význam |
OUT | BOOL | Output |