32 free piece counter (fcnt), Free piece counter (fcnt), Function library – Lenze EVS9332xS User Manual

Page 139: Function blocks

Advertising
background image

Function library

Function blocks

3.2.32

Free piece counter (FCNT)

3−87

l

EDSVS9332S−EXT EN 2.0

3.2.32

Free piece counter (FCNT)

Purpose

Digital up/down counter

F C N T 1 - C L K U P

C 1 1 0 2 / 1

F C N T 1 - C L K D W N

C 1 1 0 2 / 2

C 1 1 0 4 / 1

C 1 1 0 4 / 2

F C N T 1 - L D - V A L

C 1 1 0 1 / 1

C 1 1 0 3 / 1

F C N T 1 - L O A D

C 1 1 0 2 / 3

C 1 1 0 4 / 3

F C N T 1 - O U T

F C N T 1 - E Q U A L

C 1 1 0 1 / 2

C 1 1 0 3 / 2

F C N T 1 - C M P - V A L

C 1 1 0 0

C T R L

F C N T 1

Fig. 3−82

Free piece 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

Starting value

FCNT1−LOAD

d

C1104/3

bin

C1102/3

2

·

HIGH = Accept starting 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 % (

¢ ±32767)

FCNT1−EQUAL

d

HIGH = comparison value reached

Function

l

C1100 = 1

– If | counter content |

³ | FCNT1−CMP−VAL | (comparison value), FCNT1−EQUAL is set = HIGH

for 1 ms. Afterwards the counter is reset to the starting value (FCNT1−LD−VAL).

)

Note!

If the signal is to be available longer, e. g. for a query of the output via a PLC, you
can prolong the signal via the TRANS function block.

l

C1100 = 2

– If | counter content |

³ | FCNT1−CMP−VAL | (comparison value), the counter is stopped.

– Via FCNT1−LOAD = HIGH, the counter is reset to the starting value (FCNT1−LD−VAL).

l

C1100 = 3

– If | counter content| = | FCNT1−CMP−VAL | (comparison value), the counter is stopped.

– Via FCNT1−LOAD = HIGH, the counter is reset to the starting value (FCNT1−LD−VAL).

– FCNT1−OUT is limited to 32767 for counting upwards and to −32767 for counting

downwards.

Advertising
This manual is related to the following products: