EasyManuals Logo

HORNER XLE-Model 2 User Manual

HORNER XLE-Model 2
158 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #98 background imageLoading...
Page #98 background image
MAN0878-09-EN_XLE_XLT_UserManual
A u g u s t 2 3 , 2 0 1 8 P a g e 98 | 158
12.6 PWM Examples
All of the PWM examples use the following formula.
Frequency =
( )
tPe riodCounescale ď‚´+1Pr
000,000,32
Example 1
To get a 50% Duty Cycle @ 10 kHz waveform on PWM1:
Set %AQ1 = 50 (duty cycle count)
Set %AQ5 = 30 (prescale count)
Set %AQ7 = 100 (period count)
Example 2
To get a 50% Duty Cycle on PW1 and 90 % Duty Cycle on PWM2 @ 1 kHz waveform:
Set %AQ1 = 500 (duty cycle count)
Set %AQ3 = 900 (duty cycle count)
Set %AQ5-6 = 30 (prescale count)
Set %AQ7-8 = 1000 (period count)
Example 3
To turn PWM 1 output ON all the time
Set %AQ1-2 = Same value as AQ7-8 (duty cycle count)
Set %AQ5-6 = Any value (prescale count)
Set %AQ7-8 = Non-Zero value (period count)
Example 4
To turn PWM 1 output OFF all the time
Set %AQ1-2 = 0 (duty cycle count)
Set %AQ5-6 = Any value (prescale count)
Set %AQ7-8 = Any value <or> 0 (period count)

Table of Contents

Other manuals for HORNER XLE-Model 2

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HORNER XLE-Model 2 and is the answer not in the manual?

HORNER XLE-Model 2 Specifications

General IconGeneral
BrandHORNER
ModelXLE-Model 2
CategoryController
LanguageEnglish

Related product manuals