modelTimer_OffDelay_Fedge

OFF delay timer model, active on falling edge

Extends from IndustrialControlSystems.Logical.Timers.Interfaces.BaseResidualTimer (Partial interface of a generic timer with residual time output).

Information

Description

The timer is active after a falling edge of the set signal ( S ).
The output ( Q ) of the timer rises up PV seconds after the Set ( S ) becomes false (falling edge).
If the Set signal become true while counting, the timer does not stop.
If the Reset signal ( R ) has a rising edge, the output remains false and the timer stops.

Images show:

  • Set S and Reset R signals,
  • Output Q,
  • and the remaining time tr


Parameters

TypeNameDefaultDescription
RealTs (from BaseTimer)0.01Sampling time [s]

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.BooleanInputS (from BaseTimer)Set signal
Modelica.Blocks.Interfaces.BooleanInputR (from BaseTimer)Reset signal
Modelica.Blocks.Interfaces.RealInputPV (from BaseTimer)timer Programmed Value
Modelica.Blocks.Interfaces.BooleanOutputQ (from BaseTimer)status of the timer
Modelica.Blocks.Interfaces.RealOutputtr (from BaseResidualTimer)residual time

Components

TypeNameDefaultDescription
BooleanrunFlag: true while the timer is counting
RealstartTimestart time of the timer counting
BooleanSd

Revisions

First release of the Industrial Control Systems: April-May 2012
List of revisions:

  • 11 May 2012 (author: Marco Bonvini)

Main Authors:
Marco Bonvini; <bonvini@elet.polimi.it>
Alberto Leva <leva@elet.polimi.it>
Politecnico di Milano
Dipartimento di Elettronica e Informazione
Via Ponzio 34/5
20133 Milano - ITALIA -
Copyright:
Copyright © 2010-2012, Marco Bonvini and Alberto Leva.
The IndustrialControlSystems package is free software; it can be redistributed and/or modified under the terms of the Modelica license, see the license conditions and the accompanying disclaimer in the documentation of package Modelica in file "Modelica/package.mo".