Rectangle signal

This function block generates a rectangle wave signal with the specified frequency (Hz), the amplitude and pulse width (in percent).


Name I/O Type(s) Function
Freq I FLOAT Frequency
Ampl I FLOAT Amplitude
PulseW I FLOAT Pulse width in [%]
Out O FLOAT Signal


The quality of the signal is dependent of:

  • the minimal cycle time of the target system
  • the adjusted cycle time and
  • the adjusted frequency (see also signal qualities).