66 l_counter_3, 66 l_counter_3 9, L_counter_3 – Lenze 8400 User Manual

Page 1239: 18 function library

Advertising
background image

Lenze · 8400 protec HighLine · Reference manual · DMS 3.0 EN · 03/2013 · TD05

1239

18

Function library

18.1

Function blocks | L_Counter_3

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

18.1.66

L_Counter_3

This FB is a digital upcounter and downcounter with a parameterisable comparison operation.

Inputs

Outputs

Identifier

Data type

Information/possible settings

bClkUp

BOOL

Clock input

• With each edge, the module counts up by "1".

• Only FALSE-TRUE edges are evaluated.

Note: The static state "1" is not permissible at this input.

bClkDown

BOOL

Clock input

• With each edge, the module counts down by "1".

• Only FALSE-TRUE edges are evaluated.

Note: The static state "1" is not permissible at this input.

bLoad

BOOL

Load input

• The input has the highest priority.

TRUE Accept starting value wLdVal.

wLdVal

WORD

Starting value

• Assigned value is internally interpreted as "INT" data type (-32767 ... +32767), i.e.

the most significant bit determines the sign.

wCmpVal

WORD

Comparison value

• Assigned value is internally interpreted as "INT" data type (-32767 ... +32767), i.e.

the most significant bit determines the sign.

Identifier

Data type

Value/meaning

bEqual

BOOL

Status signal "Comparison statement is true"

• The TRUE output is active in the Lenze setting if the current counter content is

greater than or equal to the comparison value wCmpVal.

TRUE The statement of the comparison mode selected in

C01101/3

is

true.

wOut

WORD

Counter content

• Internal limitation to ± 32767

• The most significant bit determines the sign!

/B&RXQWHUB

Z2XW

E(TXDO

E&ON8S

E&ON'RZQ

Z/G9DO

E/RDG

Z&PS9DO








&

)XQFWLRQ

&

Advertising