beautypg.com

Cnt in, Dec pt, C1-usr – Red Lion C48C User Manual

Page 23: C2-usr, C1-ud, C2-ud, Ad-sub, Ad-ad, Quad 1, Quad 2

background image

Decimal Point Position

Programmable for display of 0 to 5 digits right of decimal

point.

Count Input Mode

This parameter controls the Count / Control function of

Inputs A and B. It also allows Input B to be used as a User
Input when only uni-directional counting is required.

-17-

Count Modes

Input A signal is used for the count input. Input B is used in combination

with Input A for Count Direction Control, Quadrature counting, Anti-
coincidence Add/Subtract, or Anti-coincidence Add/Add counting applications.

C1-USR - The unit counts one count on every negative edge of the input signal

at Input A. In this mode, Input B acts as a user input and has no effect on the
count function.

C2-USR - The unit counts one count on every negative edge of the input signal

and one count on every positive edge of the input signal at Input A. In this
mode, the input signal is effectively doubled. Input B acts as a user input and
has no effect on the count function.

C1-UD - The unit counts one count on every negative edge of the input signal

at Input A. The direction of the count is determined by the logic state of Input
B. A high level at Input B causes the unit to count in a positive direction. A
low level causes the unit to count in a negative direction.

C2-UD - The unit counts one count on every negative edge of the input signal

and one count on every positive edge of the input signal at Input A. In this
mode, the input signal is effectively doubled. The direction of the count is
determined by the logic state of Input B. A high level at Input B causes the
unit to count in a positive direction. A low level causes the unit to count in a
negative direction.

AD-SUB - This mode effectively separates count pulses that may

simultaneously appear at the two inputs. The C48C processes the count
pulses into a string of time separated pulses, so the internal counter does not
miss any count pulses. Input A serves as the add input (count increments) and
Input B serves as the subtract input (count decrements).

AD-AD - This mode effectively sums count pulses that may simultaneously

appear at the two inputs. The C48C processes the count pulses into a string
of time-separated pulses so the internal counter does not miss any count
pulses. Input A serves as an add input (count increments) and Input B serves
as an additional add input (count increments).

MODE

DESCRIPTION

------

No decimal Point

Decimal point for 10ths

----.--

Decimal point for 100ths

---.---

Decimal point for 1000ths

--.----

Decimal point for 10,000ths

-.-----

Decimal point for 100,000ths

-----.-

MODE

Input A

Input B

C1-USr

* Count X1;

Count on falling edge

User Input B (See
UsrInb parameter)

C2-USr

Count X2;
Counts on both edges

C1-Ud

*

Count X1;
Counts on falling edge

C2-Ud

Count X2;
Counts on both edges

Up/Down control;
Input B high = Up
Input B Low = Down

Ad-Sub

Add count;
Counts on falling edge

Subtract count;
Counts on falling edge

Ad-Ad

Add count;
Counts on falling edge

Add count;
Counts on falling edge

qUAd 1

Quadrature X1 Input

Quadrature X1 Input

qUAd 2

Quadrature X2 Input

Quadrature X2 Input

qUAd 4

Quadrature X4 Input

Quadrature X4 Input

Up/Down control;
Input B high = Up
Input B Low = Down

User Input B (See
UsrInb parameter)

*- These are the

only count
input modes
available on
the Prescaler
Output model.

Cnt In

C1-Ud

dEc Pt

------