Horner-apg QX651 OCS Manuel d'utilisateur Page 40

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 95
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 39
CH. 8 MAN0798-04-EN
August 20, 2009 Page 40 of 95 ECN # 979
3. If satisfied with the controller now selected, click the High Speed Counter slot or the Config button next to it.
Note: In this example configuration, Ethernet is not
used, but it is available for use.
4. The Module Configuration screen appears with two tabs at the top: Press the HSC Setup tab.
8.6.2 Configuration Procedures
Figure 8-5 – Built-In HSC Configuration Screen
Two HSC counters are available that have the following
functions depending upon configuration:
Counter #1 – Totalizer (32-Bit) or Frequency Counter.
Counter #2 – Totalizer (16-Bit) only.
Both Counter #1 and Counter #2 can be configured for
use.
Configuring Counter #1:
1. Select Totalize or Frequency from the Type pull-down
box.
a. If Totalize is chosen:
Select how the counter counts by
choosing an option from the Mode pull-down box.
Internal (10 MHz Clock)
Count up (Inputs 1 and 2)
Count down (Inputs 1 and 2)
Up/down (Input 1 up, Input 2 down)
Clock/dir (Input 1 clock, dir from Input 2)
Clock/dir (Input 1 clock, dir from %Q)
Quadrature (Inputs 1 and 2)
b. If Frequency is chosen:
Select a time base option for
counting from the Frequency Period pull-down box.
Note: The Frequency counter measures the counts per
frequency period. If Frequency Period is set to one
second, the counts are in Hz.
2. Select the functions that apply to the counter.
Functions show the sources from where triggers come
from to disable, latch, preload, or clear the counter.
Note: Not all functions are available in both types of
counters as indicated by the following descriptions.
Disable Function -Triggers counter to stop.
Latch Function –Triggers snapshot of the accumulator
value upon an event.
Preload Function –(Not
used in Frequency Counter)
Triggers loading of a value upon
event.
Clear Function–(Not
used in Frequency Counter)
Triggers the accumulating register to be
zeroed out.
The functions each have a pull-down box with the following
options:
Disabled
External Input #1
External Input #2
External Input #3
Overflow Interrupt – Triggers when the accumulator value
goes beyond the maximum value
(rolls over).
Underflow Interrupt – Triggers when signal goes below
zero.
Assigned %Q
3..Select a Polarity option. A Polarity pull-down box is associated
with each function and indicates the manner in which the trigger
happens. The options for Latch, Preload, and Clear are:
High Level
Low Level
Falling Edge
Rising Edge
The options for Disable are High or Low Level.
4. Select input filtering options for the three high-speed inputs from
the Input Filtering pull-down box. Example: If 500 kHz is selected,
any frequency above 500 kHz is filtered.
5. I/O Mapping – Allows the user to set where the HSC data is
mapped. Default references are set automatically and are initially
shown on the screen until the user changes them. See Runtime I/O
Map at the end of this configuration procedure.
6. If satisfied with selections, press OK. Cscape configuration is
completed for this example.
Configuring Counter #2:
Configuring Counter #2 uses the same procedure for configuring
Counter #1 as a Totalizer counter. To configure Counter #2, start at
the beginning of the Configuration Procedures section.
Note: The only function available for Counter #2 is the Clear
Function.
High
Falling Edge
Rising Edge
Low
Vue de la page 39
1 2 ... 35 36 37 38 39 40 41 42 43 44 45 ... 94 95

Commentaires sur ces manuels

Pas de commentaire