Register description
All registers can be read or written via register communication. They are used for the parameterization of the terminal.
Basic configuration is also possible via the PLC using the FB_KL27x1Config function block.
R7: Command register
User code word For the following commands to be executed, it is first necessary for the user code word, 0x1235, to be entered into register R31. |
- Command 0x7000: Restore Factory Default Settings
Entering 0x7000 in register R7 restores the factory settings for the following registers:
R33: 0dec
R34: 256dec
R35: 3dec
R36: 10dec
R37: 16383dec
R38: 0dec
R39: 0dec
R40: 1dec
R41: 0dec (KL2751-0000, KL2751-0011, KL2761-0000, KL2761-0011)
R8: Terminal type
The terminal identifier is contained in register R8: KL2751 or KL2761.
R9: Firmware version
Register R9 contains the ASCII coding of the terminal's firmware version, e.g. 0x3141 = '1A'. The '0x31' corresponds here to the ASCII character '1', while the '0x41' represents the ASCII character 'A'.
This value cannot be changed.
R16: Hardware version number
Register R16 contains the hardware version of the terminal.
R29: Terminal type, special version
Register R29 contains the special version of the terminal.
R31: Code word register
If you write values into the user registers without first entering the user code word (0x1235) into the code word register, the terminal will not accept the supplied data. The code word is reset if the terminal is restarted.
R32: Feature register
The feature register specifies the terminal's configuration.
Bit | R32.15 | R32.14 | R32.13 | R32.12 | R32.11 | R32.10 | R32.9 | R32.8 |
Name | - | - | - | - | - | - | - | - |
Bit | R32.7 | R32.6 | R32.5 | R32.4 | R32.3 | R32.2 | R32.1 | R32.0 |
Name | - | - | - | - | DimRamp | disWatchdog | - | enUserScale |
Legend
Bit | Name | Description | Default | |
---|---|---|---|---|
R32.15 - R32.4 | - | reserved | ||
R32.3 | DimRamp | 0bin | Dimming ramp relative: | 0bin |
1bin | Dimming ramp absolute: | |||
R32.2 | disWatchdog | 1bin | Internal watchdog (time adjustable) deactivated | 0bin |
R32.1 | - | reserved | ||
R32.0 | enUserScale | 1bin | 0bin |
R33: User scaling - offset
The offset of the user scaling when the user scaling (R32.0=1bin) is enabled is entered in this register (default: 0).
R34: User scaling - gain
The gain of the user scaling when the user scaling (R32.0=1bin) is enabled is entered in this register.
Example values:
128dec = 0x80 = factor 0.5
256dec = 0x100 = factor 1.0 (default)
512dec = 0x200 = factor 2.0
R35: Ramp time
This register specifies the time required
- to ramp up from 0 to 32767 (full scale control of the angle) (when R32.3 = 0bin) or
- to execute the current brightness change (when R32.3 = 1bin).
0dec: 50 ms
1dec: 100 ms
2dec: 200 ms
3dec: 500 ms (default)
4dec: 1 s
5dec: 2 s
6dec: 5 s
7dec: 10 s
R36: Watchdog Timeout
This register specifies the timeout in the event of a fieldbus error. The unit is 10 ms (default: 10dec = 100 ms).
R37: Light value for timeout (on)
This register specifies the light value that is output in the case of a fieldbus error and current process data > 0 (default: 16383dec).
The unit is 1. (R32.2=1bin).
R38: Light value for timeout (off)
This register specifies the light value that is output in the case of a fieldbus error and current process data = 0 (default: 0dec).
The unit is 1. (R32.2=1bin).
R39: Dimmer mode
This register specifies the dimmer mode:
0dec: automatic detection (default)
1dec: Trailing edge phase control
2dec: Leading edge phase control
3dec: Rectifier mode, positive (positive half-wave with leading edge phase control)
Do not use this operation mode with firmware version 2E of the KL2751 or with firmware version 1E of the KL2761!
Instead, use the operation mode Rectifier mode, negative with these firmware versions!
4dec: Rectifier mode, negative (negative half-wave with leading edge phase control)
R40: Behavior after short circuit
This register specifies the behavior after a short circuit:
0dec: Remains switched off:
1dec: switch on again (default):
R41: Mains frequency
This register specifies the mains frequency:
0dec: 50 Hz
1dec: 60 Hz
Default value: 50 Hz