Function library "lenzeio1000drv – Lenze Function library LenzeIO1000Drv User Manual

Page 30

Advertising
background image

Function library "LenzeIo1000Drv"

Function blocks

L_io1000ParCounterEPMS602 - Parameterise counter

30

L

DMS 1.0 EN - 07/2011 - TD05

bySignalSelection

BYTE

Signal evaluation

0 Counter deactivated

• The other parameter data for the counter are ignored.

1 Rotary transducer 1-fold (at A and B)
2 Rotary transducer 2-fold (at A and B)
3 Rotary transducer 4-fold (at A and B)
4 Direction (pulse at A and direction at B)

bInternalGateInterrupt

BOOL

Gate function (internal gate)

FALSE Cancel (counting process restarts from the load value)

TRUE Interrupt (counting process is continued with counter content)

byCompareFunktion

BYTE

Comparison operation

0 Comparison bit is never set
1 Comparison bit is set if count value ≥ comparison value.
2 Comparison bit is set if count value ≤ comparison value.
3 Comparison bit is set if count value = comparison value.

bInvertDirectionTrackB

BOOL

TRUE Invert counting direction track B

byResetFunktion

BYTE

Reset function

0 Deactivated
1 HIGH level
2 Rising edge
3 one-time rising edge

dwLoadValue

DWORD

Load value

dwEndValue

DWORD

Final value

byHysteresis

BYTE

Hysteresis

Identifier/data type

Information/possible settings

Advertising