EasyManua.ls Logo

HORNER HE-X4A - Page 93

HORNER HE-X4A
163 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
High Speed I/O
PWM Examples
Example 1 Duty Cycle Frequency
To get a 50% Duty Cycle @ 10kHz waveform on PWM1: Set %AQ7 8 = 16,000 Set %AQ9 10 = 10,000
Example 2 Duty Cycle Frequency
To get a 25% Duty Cycle @ 5kHz waveform on PWM2: Set %AQ11 12 = 8,000 Set %AQ13 14 = 5,000
Example 3 Duty Cycle Frequency
To turn PWM 1 output ON all the time: Set %AQ7 8 = 32,000 Set %AQ9 10 = Any Value
Example 4 Duty Cycle Frequency
To turn PWM 1 output OFF all the time: Set %AQ7 8 = 0 Set %AQ9 10 = Any Value
Page 93 of 163

Table of Contents