Specifying the period
You can specify the period of the PWM signal in the process data under "PWM Outputs Channel n" > "PWM period" with the unit 1 µs.
Value range:
- from 0028hex / 40dec (corresponding to 40 µs or 25000 Hz)
- to C350hex / 50000dec (corresponding to 50000 µs or 20 Hz)
The following table shows examples for setting the period (frequency) within the valid value range.
Desired period (frequency) | Default in "PWM period" | |
---|---|---|
50000 µs (20 Hz) | C350hex | 50000dec |
10000 µs (100 Hz) | 2710hex | 10000dec |
1000 µs (1000 Hz = 1 kHz) | 03E8hex | 1000dec |
400 µs (2500 Hz = 2.5 kHz) | 0190hex | 400dec |
200 µs (5000 Hz = 5 kHz) | 00C8hex | 200dec |
40 µs (25000 Hz = 25 kHz) | 0028hex | 40dec |
Notice | |
Invalid values are not processed Values outside the above-mentioned value range cannot be processed. If a value below the permitted value range is entered, it is automatically set to the next highest valid value. |
Resolution depending on the frequency setting
The resolution of the output signal depends on the frequency setting or the set period duration. The following typical values are available:
Frequency setting | Resolution |
---|---|
up to 2.7 kHz | 15-bit |
up to 5.4 kHz | 14-bit |
up to 11 kHz | 13-bit |
up to 22 kHz | 12-bit |
up to 25 kHz | 11-bit |