Counter (fcnt), Configuration, 31 counter (fcnt) – Lenze EVF9383 User Manual

Page 105: This fb is used for digital counting up and down, Setting start value

Advertising
background image

Configuration

2−97

l

EDSVF9383V−EXT EN 2.0

2.4.31

Counter (FCNT)

This FB is used for digital counting up and down.

FCNT1−CLKUP

C1102/1

FCNT1−CLKDWN

C1102/2

C1104/1

C1104/2

FCNT1−LD−VAL

C1101/1

C1103/1

FCNT1−LOAD

C1102/3

C1104/3

FCNT1−OUT

FCNT1−EQUAL

C1101/2

C1103/2

FCNT1−CMP−VAL

C1100

CTRL

FCNT1

Fig. 2−79

Counter (FCNT1)

Signal

Source

Note

Name

Type

DIS

DIS format

CFG

List

FCNT1−CLKUP

d

C1104/1

bin

C1102/1

2

LOW−HIGH edge = counts up by 1

FCNT1−CLKDWN

d

C1104/2

bin

C1102/2

2

LOW−HIGH edge = counts down by 1

FCNT1−LD−VAL

a

C1103/1

dec

C1101/1

1

Start value

FCNT1−LOAD

d

C1104/3

bin

C1102/3

2

·

HIGH = Accept start value

·

The input has the highest priority

FCNT1−CMP−VAL

a

C1103/2

dec

C1101/2

1

Comparison value

FCNT1−OUT

a

Counter limited to ±199.99 %

FCNT1−EQUAL

d

HIGH = comparison value reached

Setting start value

l

As long as FCNT1−LOAD = HIGH, the value at FCNT1−LD−VAL (start value) is switched to
FCNT1−OUT.

l

When FCNT1−LOAD = LOW, the counter is enabled for counting up and down.

l

When FCNT1−LOAD = HIGH, the counter is reset to the value at FCNT1−LD−VAL.

Counting up/down

l

A LOW−HIGH signal at FCNT1−CLKUP increases the counter by 1.

l

A LOW−HIGH signal at FCNT1−CLKDWN reduces the counter by 1.

Advertising
This manual is related to the following products: