Function library "lenzeio1000drv – Lenze Function library LenzeIO1000Drv User Manual
Page 25

DMS 1.0 EN - 07/2011 - TD05
L
25
Function library "LenzeIo1000Drv"
Function blocks
L_io1000ParCounterEPMS601 - Parameterise counter
byCnt0SignalSelection
BYTE
Counter 1: 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)
bCnt0InternalGateInterrupt
BOOL
Counter 1: Gate function (internal gate)
FALSE Cancel (counting process restarts from the load value)
TRUE Interrupt (counting process is continued with counter content)
byCnt0CompareFunction
BYTE
Counter 1: 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.
bCnt0InvertDirectionTrackB
BOOL
TRUE Counter 1: Invert counting direction track B
dwCnt0SetValue
DWORD
Counter 1: Set value
dwCnt0LoadValue
DWORD
Counter 1: Load value
dwCnt0EndValue
DWORD
Counter 1: Final value
byCnt0Hysteresis
BYTE
Counter 1: Hysteresis
byCnt1
InputFrequencyTrackA
BYTE
Counter 2: Input filter of digital input 4, "A2"/"pulse"
2 100 kHz
3 60 kHz
4 30 kHz
6 10 kHz
7 5 kHz
8 2 kHz
9 1 kHz
byCnt1
InputFrequencyTrackB
BYTE
Counter 1: Input filter of digital input 8, "B2"/"direction"
2 100 kHz
3 60 kHz
4 30 kHz
6 10 kHz
7 5 kHz
8 2 kHz
9 1 kHz
Identifier/data type
Information/possible settings