Table of Contents

Switch-off delay

Block name

BD13_SWITCHOFFDELAY

ST call

PROGRAM BD13_TEST
VAR 
  IN1,OUT1: BOOL;
 FB: LIB.CORE.V1_1.BD13_SWITCHOFFDELAY;
END_VAR
   FB(IN:=IN1);
    OUT1:=FB.OUT;
END_PROGRAM

Library

LIB\CORE

Version

V1.1

Description

The delay block transforms the input signal IN so that each falling edge is delayed by TOFF. The rising edge of IN is not delayed, it appears on the output immediately. The TRES parameter gives time remaining to the end of delay. The TRES value can be reset by a rising edge on the RESET input.

Inputs

Input TypeDescription Default value
IN BOOLInput value False
RESET BOOLResets the TRES. False
IGNORESTARTEDGEBOOLIf TRUE the block is not initialised after start.False
TOFF TIMEFalling edge delay (30 s by default) 30s

Outputs

OutputTypeDescription
OUT BOOLOutput signal
TRES TIMETime remaining to the end of delay

Application example


The block is used e.g. for extended run of pumps by several minutes to prevent fast switching cycles.



Older versions


Version V1.0 is flagged as BROKEN. It contained an error of IGNORESTARTEDGE input. Valu on this input during firt cycle of program was not reflecter even if the function block was set correctly.