KL8524 - Register description
The registers are used for the parameterization of the Bus Terminals and are available for each channel. They can be read or written by means of the register communication.
R7: Command register
To execute a standard command, the user code word 0x1235 must be entered in register R31.
Command 0x7000: Restore Factory Settings
Entering 0x7000 in register R7 restores the delivery state for the following registers.
R8: Terminal description
The name of the terminal is contained in register R8.
KL8524: 0x214C (8524dec)
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.
R12: Minimum data length of a channel
R16: Hardware version number
Register R16 contains the hardware 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.
- If you write values into the user registers and have previously entered the user code word (0x1235) in the code word register, these values are stored in the RAM registers and in the SEEPROM registers and are therefore retained when the terminal is restarted.
The code word is reset when the terminal is restarted.
R32: Enable PLC Set LED
Using this register you can allow the PLC to set the status LEDs of the individual channels.
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 | - | - | - | - | enSetLED_Ch4 | enSetLED_Ch3 | enSetLED_Ch2 | enSetLED_Ch1 |
Key
Bit | Name | Description | default | |
---|---|---|---|---|
R32.15 | - | reserved | 0bin | |
... | ... | ... | ... | |
R32.4 | - | reserved | 0bin | |
R32.3 | enSetLED_Ch4 | 0bin | LEDs of channel 4 cannot be set by the PLC | 0bin |
1bin | LEDs of channel 4 can be set by the PLC | |||
... | ... | ... | ... | |
R32.0 | enSetLED_Ch1 | 0bin | LEDs of channel 1 cannot be set by the PLC | 0bin |
1bin | LEDs of channel 1 can be set by the PLC |
R33: Reaction to K-bus errors
In the event of a K-bus error all outputs that have been set via the PLC go out. Unless other instructions are set in R33.
Bit | R33.15 | R33.14 | R33.13 | R33.12 | R33.11 | R33.10 | R33.9 | R33.8 |
Name | - | - | - | - | - | - | - | - |
Bit | R33.7 | R33.6 | R33.5 | R33.4 | R33.3 | R33.2 | R33.1 | R33.0 |
Name | KBOR_Ch8 | KBOR_Ch7 | KBOR_Ch6 | KBOR_Ch5 | KBOR_Ch4 | KBOR_Ch3 | KBOR_Ch2 | KBOR_Ch1 |
Key
Bit | Name | Description | default | |
---|---|---|---|---|
R33.15 | - | reserved | 0bin | |
... | ... | ... | ... | |
R33.8 | - | reserved | 0bin | |
R33.7 | K-bus-OFF-Reaction_Ch4.2 | 0bin | In the event of a K-bus error output 4.2 is reset (0bin). | 0bin |
1bin | In event of a K-bus error output 4.2 is set (1bin). | |||
R33.6 | K-bus-OFF-Reaction_Ch4.1 | 0bin | In the event of a K-bus error output 4.1 is reset (0bin). | 0bin |
1bin | In event of a K-bus error output 4.1 is set (1bin). | |||
... | ... | ... | ... | |
R33.1 | K-bus-OFF-Reaction_Ch1.2 | 0bin | In the event of a K-bus error output 1.2 is reset (0bin). | 0bin |
1bin | In event of a K-bus error output 1.2 is set (1bin). | |||
R33.0 | K-bus-OFF-Reaction_Ch1.1 | 0bin | In the event of a K-bus error output 1.1 is reset (0bin). | 0bin |
1bin | In event of a K-bus error output 1.1 is set (1bin). |
R37: Output mode / switch-on delay for channel 1
In register 37 you can define the output mode and the switch-on delay for channel 1.
Bit | R37.15 | R37.14 | R37.13 | R37.12 | R37.11 | R37.10 | R37.9 | R37.8 |
Name | - | - | - | - | - | - | - | OutputMode |
Bit | R37.7 | R37.6 | R37.5 | R37.4 | R37.3 | R37.2 | R37.1 | R37.0 |
Name | TurnOnDelay |
Key
Bit | Name | Description | default | |
---|---|---|---|---|
R37.15 | - | reserved | 0bin | |
... | ... | ... | ... | |
R37.9 | - | reserved | 0bin | |
R37.8 | OutputMode1 (arMode) | 0bin | Channel 1 is operated in output mode 1 | 0bin |
1bin | Channel 1 is operated in output mode 2 | |||
R37.7-R37.0 | TurnOnDelay2 | 0dec | No switch-on delay | 0dec |
1dec | 10 ms switch-on delay | |||
2dec | 20 ms switch-on delay | |||
... | ... | |||
255dec | 2550 ms switch-on delay |
1) OutputMode (arMode):
Output mode 1:
Switch settings | Output C 1.2 | Output C 1.1 |
---|---|---|
0 | 0 | 0 |
1 | 0 | 1 |
2 | 1 | 0 |
Output mode 2:
Switch settings | Output C 1.2 | Output C 1.1 |
---|---|---|
0 | 0 | 0 |
1 | 0 | 1 |
2 | 1 | 1 |
2) Switchover delay: A delay time can be specified, after which the switch position becomes effective.
Delay time in output mode 1
Output mode 1 can be used if the two outputs may not be switched on at the same time (e.g. fan motor with star-delta switching).
The delay time starts in output mode 1 when changing from
- switch position 1 to switch position 2
- switch position 2 to switch position 1
- Fast switching from 0 to 2 or from 2 to 0 always takes place via switch position 1 and thus also starts the delay time.
Examples:
- Output 1 switches on immediately when the three-stage switch is switched from 0 to 1.
- The delay time starts when the three-stage switch is switched from 1 to 2. No output is switched during the delay time. Output 2 is switched on when the delay time expires.
- The delay time starts when the three-stage switch is switched back from 2 to 1. No output is switched during the delay time. Output 1 is switched on when the delay time expires.
- Switching from 1 or 2 to 0 takes place immediately. Both outputs are switched off immediately.
- If the switch is switched back to the previous switch position during the delay time, the previous output immediately becomes active again.
Delay time in output mode 2
Output mode 2 can be used if there has to be a minimum time before output 2 is switched on (e.g. consumers with two stages that would have an excessively high starting current if switched on directly in stage 2).
The delay time starts output mode 2 when changing from
- switch position 1 to switch position 2
- Fast switching from 0 to 2 always takes place via switch position 1 and therefore also starts the delay time.
Examples:
- Output 1 switches on immediately when the three-stage switch is switched from 0 to 1.
- The delay time starts when the three-stage switch is switched from 1 to 2. Output 1 remains switched on as long as the delay time is running. Output 2 is additionally switched on when the delay time expires.
- The switching back of the three-stage switch from 2 to 1 takes place immediately. Output 2 switches off, output 1 remains switched on.
- Switching from 1 or 2 to 0 takes place immediately. Both outputs are switched off immediately.
- The delay time starts again if the switch is switched from 1 to 2 when the delay time is running.
R38: Output mode / switch-on delay for channel 2
See register 37.
R39: Output mode / switch-on delay for channel 3
See register 37.
R40: Output mode / switch-on delay for channel 4
See register 37.