3 terminal-specific register description, 1 application parameters – BECKHOFF KL5111-0000 User Manual

Page 14

Advertising
background image

Register description

12

KL5111-0000

3.3 Terminal-specific register description

3.3.1 Application

parameters

R32: Feature Register
The feature register determines the operating modes of the terminal (default . 0x0000).

Bit

Value Description

default

0

bin

Encoder interface is activated

R32.15

1

bin

Counter mode is activated

16-bit up/down counter

Input A: counter

Input B: counting direction (high = down, low = up)

Input C: high = counter disabled, low = counter enabled

0

bin

R32.14

- reserved

0

bin

...

... ...

...

R32.9

- reserved

0

bin

0

bin

Period time is measured if bit CB.1 of control byte is set

R32.8

1

bin

In place of the period time a frequency measurement is executed. Impulses in
a time window are counted. The time window is over R33 adjustable.

0

bin

R32.7

- reserved

0

bin

...

... ...

...

R32.1

- reserved

0

bin

0

bin

the underflow/overflow signals are output in the status byte.

R32.0

1

bin

The signals A; B, C are output in the terminal's status byte.

0

bin

R33: Time window for frequency measurement
Defines the length of the time window for frequency measurement (default: 0x0000).

Resolution: 1 ms/Digit
1 Digit = 1 ms

The measured frequency is displayed in process data bytes D3 and D4.

The process data bytes D3 and D4 show the number of pulses counted within the time window defined by
R32. The frequency can be calculated from this.

i

Note

Please note that bit CB.1 of control byte has also to be set for frequency
measurement!

Advertising
This manual is related to the following products: