PWM Pulse-Width Modulation

Pulse-width modulation (PWM) function blocks translate an analog value to a modulated digital output. The digital output will be a square wave whose duty cycle is proportional to the analog input level. The diagrams below show typical output waveforms for 20% input, 50% input and 80%.

PWM definition parameters

Parameter Description
Name Function block name, see common parameters
DYN dynamic option, see common parameters
/ Mixed inputs option, see common parameters
Input Analog input value that will drive the waveform's duty cycle. This input should vary from 0 to 100.
Cycle time Total time of one cycle of the output waveform. The time is optionally expressed in hours, minutes or seconds via radio buttons.
/ Normal/Invert output option, see common parameters