Terminal-specific register description – BECKHOFF KL5121 User Manual

Page 11

Advertising
background image

Register description

KL5121

11


Terminal-specific register description

Process variables

R0-R3: Pulse for speed correction of channels 1-4

R4-R7: No function

Manufacturer parameter

R17-R30: Not used

Application parameter

R32: Feature register:
This register describes the (hardware) settings for channels 1-4 [0x0062]

Feature

Bit No.

Description of the operating mode

Bit 0

0/1

0: encoder

operating

mode

with

4-fold

evaluation [0]

1: up/down counter (pulse generator) with A as

counter input and B as U/D input

Bit 1

0/1

Latch input:
0: rising edge is ignored
1: evaluate rising edge as start signal [1]

Bit 2

0/1

Latch input:
0: falling edge is ignored [0]
1: evaluate falling edge as start signal

Bit 3

0/1

0: the outputs are switched according to positive

logic [0]

1: the outputs are switched according to

negative logic

Bit 4

0/1

0: watchdog timer active [0]
1: watchdog timer active. If the terminal does not

receive any process data from the K-bus for
100 ms the outputs are reset.

Bit 5

1

1: workpiece sensor input (latch) is active [1]

when there is a positive level at the enable
input (gate)

Bit 6

1

1: workpiece sensor input (latch) is active [1]

when there is a negative level at the enable
input (gate)

Bit 7-11

-

Not used, don't change

Bit 12-15

0000
0001

Pulse operation (R33-R35 activated) [0000]
Line operation (not yet implemented)


R33: Pulse duration Ti for channel 1
[0x01F4] = 0.5 ms
Ti specifies pulse duration for the pulsed operation mode of channel 1 [

µ

s]

R34: Hold-up time Tv for channel 1
[0x1388] = 5 ms
The pulses counted in the hold-up time Tv are included in the calculation of
the speed correction [

µ

s]

R35: Period Td for channel 1
[0x4E20] = 20 ms
Period Td for the channel 1 nozzle test

R40-R43: Channel 2 register

R48-R51: Channel 3 register

R56-R59: Channel 4 register

Advertising