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
| Type | Name | Default | Description |
|---|---|---|---|
| Real | Ts (from BaseTimer) | 0.01 | Sampling time [s] |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.BooleanInput | S (from BaseTimer) | Set signal | |
| Modelica.Blocks.Interfaces.BooleanInput | R (from BaseTimer) | Reset signal | |
| Modelica.Blocks.Interfaces.RealInput | PV (from BaseTimer) | timer Programmed Value | |
| Modelica.Blocks.Interfaces.BooleanOutput | Q (from BaseTimer) | status of the timer | |
| Modelica.Blocks.Interfaces.RealOutput | tr (from BaseResidualTimer) | residual time |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | run | Flag: true while the timer is counting | |
| Real | startTime | start time of the timer counting | |
| Boolean | Sd |
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".