Sawtooth generator

This function block generates a sawtooth signal with a period of b in [s] and an amplitude h*π. The period b should be appreciably higher than the program cycle time.

Signals

Name I/O Type(s) Function
h I FLOAT Amplitude
b I FLOAT Period in [s]
Y O FLOAT Output signal

Comment

The block is typically used to generate a test signal, e.g. in conjunction with a sine function block.