1 application example: debouncing a digital input, Application example: debouncing a digital input, 12 function library – Lenze 8400 motec User Manual

Page 468

Advertising
background image

12

Function library

12.7

L_DigitalDelay_1

468

Lenze · 8400 motec · Reference manual · DMS 4.1 EN · 08/2013 · TD05

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

12.7.1

Application example: Debouncing a digital input

In this application example, the digital input DI1 is to be debounced.

• In the Lenze setting, the digital input DI1 is linked with the application input bJogSpeed1.
• By changing the following configuration parameters, the binary delay element is inserted in this

signal path:

• The delay times can be set via the following parameters:

[12-14] Example: Inserting the binary delay element in the signal path

Configuration parameters

Lenze setting

Required change

C00701/6

LA_NCtrl: bJogSpeed1

11: DigIn_bIn1

220: L_DigitalDelay_1_bOut

C00701/23

L_DigitalDelay_1: bIn

0: Not connected

11: DigIn_bIn1

Setting parameters

Lenze setting

Required change

C00720/1

ON delay

0.0 s

0.2 s

C00720/2

OFF delay

0.0 s

0.1 s

/B'LJLWDO'HOD\B

E,Q

E2XW

& &

,Q

2XW

&
QRWFRQQHFWHG

'LJ,QBE,Q

/$B1&WUO

E-RJ6SHHG

&
'LJ,QBE,Q

/B'LJLWDO'HOD\BBE2XW

/6B'LJLWDO,QSXW

E,Q

',

Advertising