Rectangle signal

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

Signals

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

Comments

The quality of the signal depends on:

- the minimum cycle time of the target system

- the adjusted cycle time and

- the adjusted frequency (see also signal qualities).