Access from the user program
KL5121
32
Version: 3.1.0
Feature bit no.
Description of the operation 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 positive edge as start signal [1]
Bit 2
0/1
Latch input:
0: falling edge is ignored [0]
1: evaluate negative 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 encoder input (latch) is active [1] when there is a positive level at
the enable input (gate)
Bit 6
1
1: workpiece encoder input (latch) is active [1] when there is a negative level at
the enable input (gate)
Bit 7 - 11
-
not used
Bit 12 - 15
0000
0001
Pulse operation (R33-R35 activated) [0000]
Line operation (not yet implemented)
•
R33 - R47
Registers that depend on the terminal type.
•
R33: Pulse duration Ti for channel 1
[0x01F4] = 0.5 ms
Ti defines the pulse duration in pulse mode of channel 1 [µs]
•
R34: Rate time Tv for channel 1
[0x1388] = 5 ms
The pulses counted over the rate time Tv are calculated during the velocity correction [µs]
•
R35: Period Td for channel 1
[0x4E20] = 20 ms
Period Td for the channel 1 nozzle test
•
R40 - R43: Channel 2 register
•
R47 - R63
Extended registers with additional functions.
•
R48 - R51: Channel 3 register
•
R56 - R59: Channel 4 register
Summary of Contents for KL5121
Page 2: ......