3 using di1 as counting input, Using di1 as counting input, 6i/o terminals – Lenze 8400 StateLine User Manual

Page 270

Advertising
background image

6

I/O terminals

6.1

Digital terminals

270

Lenze · 8400 StateLine · Reference manual · DMS 12.0 EN · 06/2014 · TD05/TD14

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

6.1.1.3

Using DI1 as counting input

General information on use as a counting input
The counting input is used for counting fast edges. A 32-bit counter counts from a parameterisable

starting value up to a parameterisable comparison value and then outputs a corresponding status

signal.

• Possible counting range: 0 ... 2

31

- 1 (0 ... 2147483647)

Function assignment 4: DI1=CountIn / DI2=In
This setting in

C00115

configures the input terminal DI1 as counting input. The input terminal DI2

remains configured as "normal" digital input..

Short overview of parameters for the counting inputs:

Note!

• The starting value must be have been set so that it is smaller than the comparison

value. Otherwise, the counter will be kept at the starting value because the condition

"Count value

Comparison value" has been satisfied.

• Note the maximum input frequency of the input terminal:

• DI1: f

max

= 10 kHz

Parameter

Info

Lenze setting

Value Unit

Counting input DI1

C00115/1

Fkt. DI 1/2 10kHz

0: DI1=In1 / DI2=In2

C00621/3

LS_DigitalInput: bCountIn1_Reset

0: Not connected

C00621/4

LS_DigitalInput: bCountIn1_LoadStartValue

0: Not connected

C02840/1

CountIn1: Starting value

0 incr

C02840/2

CountIn1: Comparison value

65535 incr

C02841/1

CountIn1: Counter content

- incr

C00443/1

DIx: Terminal level

-

Highlighted in grey = display parameter

E&RXQW,QB&RPSDUH

Z&RXQW,QB+:

Z&RXQW,QB/:





E&RXQW,QB5HVHW&RPSDUH

E&RXQW,QB/RDG6WDUW9DOXH

&

&

',

N+]

&2817

&%LW

&

Advertising