162 l_tbcount - up/downcounter, L_tbcount, 5function blocks – Lenze E94A User Manual

Page 563

Advertising
background image

Lenze · 9400 function library · Reference manual · DMS 6.7 EN · 08/2014 · TD05

563

5

Function blocks

5.162

L_TbCount - up/downcounter

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

5.162

L_TbCount - up/downcounter

This FB is a digital up/downcounter with adjustable limitation.

• Under C04005 you can select if the counter is to be stopped or reset automatically when rea-

ching the limitation.

Inputs

Outputs

Function library:

LenzeToolbox

Runtime software licence:

Motion Control HighLevel

Motion Control TopLevel

Identifier/data type

Information/possible settings

bClockUp

BOOL

Upcounter

FALSETRUE Increase counter by "1".

bClockDown

BOOL

Downcounter

FALSETRUE Reduce counter by "1".

bLoadStartValue

BOOL

Accept starting value

• This input has the highest priority.

TRUE The starting value specified via dnStartValue is loaded into the coun-

ter.

dnStartValue

DINT

Starting value

dnReferenceValue

DINT

Comparison value

Identifier/data type

Value/meaning

dnActualCount

DINT

Current counter content

bCountEQReference

BOOL

Result of the comparison of current counter content and comparison value

TRUE |dnActualCount| ≥ |dnReferenceValue|

/B7E&RXQW

GQ$FWXDO&RXQW

E&RXQW(45HIHUHQFH

E&ORFN8S

E&ORFN'RZQ

E/RDG6WDUW9DOXH

GQ6WDUW9DOXH

GQ5HIHUHQFH9DOXH








&

)XQFWLRQ

Advertising