MAN1032-10-EN_EXL6_UserManual
March 12, 2020
102 | 191
10.15 PWM Examples
Example 1
Duty Cycle
Frequency
To get a 50% Duty Cycle @
10kHz waveform on PWM1:
Set %AQ421-422 = 16,000
Set %AQ423-424 = 10,000
Example 2
Duty Cycle
Frequency
To get a 50% Duty Cycle on
PW1 and 90 % Duty Cycle on
PWM2 @ 1kHz waveform:
Set %AQ421-422 = 16,000
Set %AQ431-432 = 28,800
(duty cycle (32000 * 0.9))
Set %AQ423-424 = 1,000
Set %AQ433-434 = 1,000
Example 3
Duty Cycle
Frequency
To turn PWM 1 output ON all
the time
Set %AQ421-422 = 32,000
Set %AQ423-424 = Any Value
Example 4
Duty Cycle
Frequency
To turn PWM 1 output OFF all
the time
Set %AQ421-422 = 0
Set %AQ423-424 = Any Value
Table 10.10
–
PWM Examples