TS trigger





| Vectorized | C |
in the palette on the schematic
Implements a set-priority TS trigger model with the countable input. If at least one of the inputs R or S is supplied with a logical unit, then the trigger works as a set-priority RS-trigger:

where y(t) is the output signal of the block, xS(t), xR(t) is the first and third input signals of the block (from English: Set and Reset).
If a logic zero is applied to both inputs R and S, then the trigger acts as a counting trigger that changes its dependency state based on the type of counting input:
  • by the front – when changing the value at the synchronizing input from 0 to 1;
  • by the drop – when changing the value at the synchronizing input from 1 to 0;
  • by the front and drop – in case of any change in the value at the synchronizing input;
  • by level – when a logical unit is supplied to the synchronizing input (the state of the trigger will change at each step of the interval).

Input ports

  • S – the input port for setting the trigger;
  • T – countable input port of the trigger;
  • R – the input port for resetting the trigger.

Output ports

  • out – trigger output port;
  • Yinv – the inverse output port (optionally added in the block properties).

Properties

  • Initial conditions – initial values of the output logic signal;
  • Counting input type – counting input triggering condition;
  • Add inverse output – indicates the presence of an inverse output.

Parameters

none