Pulse-Width Modulation (PWM) generator.

| In the Function Menu | On the Diagram |
|---|---|
![]() |
![]() |
| Name | Value Type | Description |
|---|---|---|
duration |
int32 |
PWM pulse duration in ms. |
period |
int32 |
PWM period in ms. |
| Name | Value Type | Description |
|---|---|---|
output |
int32 |
Equals 1 when the counter count is greater than or equal to the pulse duration duration. |
count |
int32 |
PWM counter in ms. Counts from 0 to period - 1. |
None