Documentation

Toggle

Block name

Toggle

ST call

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

Library

LIB\CORE

Version

V1.0

Description

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.

Inputs

Vstup Typ Význam
IN BOOL Input trigger

Output

Výstup Typ Význam
OUT BOOL Output