beautypg.com

Chapter 8 : high speed i/o (hsc / pwm), Overview, Chapter 8 – Horner APG QX751 OCS User Manual

Page 35: Chapter 8: high speed i/o (hsc / pwm)

background image

MAN0890-02-EN

CH. 8

August 20, 2009

Page 35 of 96

ECN # 979

CHAPTER 8: HIGH SPEED I/O (HSC / PWM)


8.1

Overview


A QX751 base used with a BP43 provides High Speed I/O. The High Speed I/O includes both a High
Speed Counter (HSC) and a Pulse Width Modulation (PWM) functionality for a variety of standard and
complex applications as shown in Table 8.1.






Table 8.1 – High Speed I/O Applications and Procedural Overview

Input Functions

Application

Counter

1

Counter

2

How?

Totalizer 16 Bits

(1 HSC input)

Totalizer 32 Bits

(1 HSC input)

Frequency

Measurement
(1 HSC input)

1. Choose up to 2 input functions. Perform Built-in High
Speed Configuration Procedures using Cscape Software

(8.6

Cscape Configuration for HSC / Frequency Measurement).

Either configure Counter 1 and 2 as totalizers
or
configure Counter 1 for Frequency Measurement and
Counter 2 as a totalizer
or
configure only one counter depending upon the function
required.
2. Re-assign registers in accordance with the features
chosen in the configuration.
3. Wire the I/O port connector in accordance with the
features chosen in the configuration.

Output Function

Application

Counters

How?

PWM

(2 PWM Outputs)

10Hz Minimum

Frequency

Not Applicable

1. No Built-in High Speed Configuration Procedures are
required.
2. Assign values into the register map for Duty Cycle and
frequency out. See examples on page

2

38.

3. Wire the I/O port connector in accordance with the
features chosen in the configuration.