Pulse opening/closing





| Scalar | C |
in the palette on the schematic

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.

Inputs

  • condition - input command.

Outputs

  • output 1 - block output.

Properties

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

Parameters

none

Example

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


Figure 1. Example of block connection
The time diagram of block operation is shown in Figure:


Figure 2. Time diagram of block operation