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


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


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