West Control Solutions KS98-1 User Manual

Page 121

Advertising
background image

Function up counter:

At each positive flank (0 r 1) at input up, output Count is increased by 1, until the max. limit is reached. Carry output
carry is set to 0 for the duration of the applied pulse. With the next pulse, output Count returns to the min. value and
continues counting with the next pulses.

+

If the down-input is wired, the up counter is prepared by signal 1 at input down. If not , counting is not possible. I.e.
there must be a 1 signal at input down prior to input up, if the pulse shall be counted.

Function down counter:

With each positive flank (0 r 1) at input down, output Count is decreased by 1, until the min. limit is reached. Subse -
quently, borrow output borrow is set to 0 for the duration of the applied pulse 0. With the next pulse, output Count re -
turns to the max. value and continues counting down with the next pulses.

+

If the up-input is wired, the down counter is prepared by signal 1 at input up. If not , counting is not possible.
I.e. there must be a 1 signal at input up prior to input down, if the pulse shall be counted.

Function reset:

A 1 signal at input reset has priority over all other inputs.

reset resets the count to the min. value.

Function preset:

A 1 signal at input preset has priority over inputs up and down. preset resets the count to the preset value.

The origin of the preset value is selected with parameter Mode.

w

Mode = Para.y0 means that the preset value corresponds to parameter y 0.

w

Mode = InpPreset means that the preset value corresponds to analog input Preset.

With a preset value higher than the max. limit, output Count is set to the max. limit. A preset value smaller than the
min. limit is set to the min. limit. A preset value which is not an integer is rounded off.

Inputs/outputs

Digital inputs

up

Input for clock up - pulse count up

down

Input for clock down - pulse count down

preset

Input for the preset mode - output

Count goes to value Reset.

reset

Input for the reset mode - output

Count goes to value Min.

Analog input

Preset

Analog input for external preset value

Digital outputs

carry

Carry output (clock - up)

borrow

Borrow output (clock - down)

Analog output

Count

Count output

Parameter:

Parameter

Description

Value range

Default

Mode

Source of preset-value

0: Para y0

t

1: InpPreset

y0

Preset-value

-29 999...999 999

0

Max

Max. limit

-29 999...999 999

1

Min

Min. limt

-29 999...999 999

0

Signal converters

9499-040-82711

III-121

COUN (up/down counter (No. 74))

Advertising