Toggle

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.

VstupTyp Význam
IN BOOLInput trigger
VýstupTyp Význam
OUT BOOLOutput


  • © Energocentrum Plus, s.r.o. 2017 - 2024