Pulse opening/closing

| Scalar | C |
в палитре на схеме

The block generates a pulse of the logical 1 at its output for as long as the logical 1 is received by the input. The pulse length and pause length are set in seconds in the block properties.

Входные порты

  • condition - input command.

Выходные порты

  • output 1 - block output.

Свойства

  • Pulse duration, sec - duration of the output pulse in seconds;
  • Pause duration, sec - duration of a pause between input pulses;

Параметры

none

Example

The example of the schematic with use of this block is shown in Figure below

Рисунок 1. Example of block connection

The time diagram of block operation is shown in Figure:

Рисунок 2. Time diagram of block operation