KL8519 - 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.
KL8519: 0 x 2147 (8519dec)
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: Disable Channel LED
Using this register you can deactivate 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 | disLED_Ch16 | disLED_Ch15 | disLED_Ch14 | disLED_Ch13 | disLED_Ch12 | disLED_Ch11 | disLED_Ch10 | disLED_Ch9 |
Bit | R32.7 | R32.6 | R32.5 | R32.4 | R32.3 | R32.2 | R32.1 | R32.0 |
Name | disLED_Ch8 | disLED_Ch7 | disLED_Ch6 | disLED_Ch5 | disLED_Ch4 | disLED_Ch3 | disLED_Ch2 | disLED_Ch1 |
Key
Bit | Name | Description | default | |
---|---|---|---|---|
R32.15 | disLED_Ch16 | 0bin | The LED indicates the state of input 16. Further properties can be set with R33, R34 and R35. | 0bin |
1bin | The LED does not indicate the state of input 16. However, the state of input 16 continues to be transmitted to the PLC. In addition the PLC can now switch the LED selectively to green or red. | |||
R32.14 | disLED_Ch15 | 0bin | The LED indicates the state of input 15. Further properties can be set with R33, R34 and R35. | 0bin |
1bin | The LED does not indicate the state of input 15. However, the state of input 15 continues to be transmitted to the PLC. In addition the PLC can now switch the LED selectively to green or red. | |||
... | ... | ... | ... | |
R32.0 | disLED_Ch1 | 0bin | The LED indicates the state of input 1. Further properties can be set with R33, R34 and R35. | 0bin |
1bin | The LED does not indicate the state of input 1. However, the state of input 1 continues to be transmitted to the PLC. In addition the PLC can now switch the LED selectively to green or red. |
R33: LED Set Color
Using this register you can define the color for the status LEDs of the individual channels (green or red).
Bit | R33.15 | R33.14 | R33.13 | R33.12 | R33.11 | R33.10 | R33.9 | R33.8 |
Name | colLED_Ch16 | colLED_Ch15 | colLED_Ch14 | colLED_Ch13 | colLED_Ch12 | colLED_Ch11 | colLED_Ch10 | colLED_Ch9 |
Bit | R33.7 | R33.6 | R33.5 | R33.4 | R33.3 | R33.2 | R33.1 | R33.0 |
Name | colLED_Ch8 | colLED_Ch7 | colLED_Ch6 | colLED_Ch5 | colLED_Ch4 | colLED_Ch3 | colLED_Ch2 | colLED_Ch1 |
Key
Bit | Name | Description | default | |
---|---|---|---|---|
R33.15 | colLED_Ch16 | 0bin | The LED of input 16 lights up green. | 0bin |
1bin | The LED of input 16 lights up red. | |||
R33.14 | colLED_Ch15 | 0bin | The LED of input 15 lights up green. | 0bin |
1bin | The LED of input 15 lights up red. | |||
... | ... | ... | ... | |
R33.0 | colLED_Ch1 | 0bin | The LED of input 1 lights up green. | 0bin |
1bin | The LED of input 1 lights up red. |
R34: Inv LED
Using this register you can invert the display of the status LEDs of the individual channels. The process data transmitted to the PLC are not affected by this.
Bit | R34.15 | R34.14 | R34.13 | R34.12 | R34.11 | R34.10 | R34.9 | R34.8 |
Name | invLED_Ch16 | invLED_Ch15 | invLED_Ch14 | invLED_Ch13 | invLED_Ch12 | invLED_Ch11 | invLED_Ch10 | invLED_Ch9 |
Bit | R34.7 | R34.6 | R34.5 | R34.4 | R34.3 | R34.2 | R34.1 | R34.0 |
Name | invLED_Ch8 | invLED_Ch7 | invLED_Ch6 | invLED_Ch5 | invLED_Ch4 | invLED_Ch3 | invLED_Ch2 | invLED_Ch1 |
Key
Bit | Name | Description | default | |
---|---|---|---|---|
R34.15 | invLED_Ch16 | 0bin | The LED of input 16 lights up if the input is active (1bin). | 0bin |
1bin | The LED of input 16 lights up if the input is inactive (0bin). | |||
R34.14 | invLED_Ch15 | 0bin | The LED of input 15 lights up if the input is active (1bin). | 0bin |
1bin | The LED of input 15 lights up if the input is inactive (0bin). | |||
... | ... | ... | ... | |
R34.0 | invLED_Ch1 | 0bin | The LED of input 1 lights up if the input is active (1bin). | 0bin |
1bin | The LED of input 1 lights up if the input is inactive (0bin). |
R35: LED BiColor
Using this register you can switch the display of the status LEDs of the individual channels to two colors.
Bit | R35.15 | R35.14 | R35.13 | R35.12 | R35.11 | R35.10 | R35.9 | R35.8 |
Name | biCLED_Ch16 | biCLED_Ch15 | biCLED_Ch14 | biCLED_Ch13 | biCLED_Ch12 | biCLED_Ch11 | biCLED_Ch10 | biCLED_Ch9 |
Bit | R35.7 | R35.6 | R35.5 | R35.4 | R35.3 | R35.2 | R35.1 | R35.0 |
Name | biCLED_Ch8 | biCLED_Ch7 | biCLED_Ch6 | biCLED_Ch5 | biCLED_Ch4 | biCLED_Ch3 | biCLED_Ch2 | biCLED_Ch1 |
Key
Bit | Name | Description | default | |
---|---|---|---|---|
R35.15 | biCLED_Ch16 | 0bin | The LED of input 16 is switched off if the input is inactive (0in). | 0bin |
1bin | The LED of input 16 lights up red if the input is inactive (0bin). | |||
R35.14 | biCLED_Ch15 | 0bin | The LED of input 15 is switched off if the input is inactive (0in). | 0bin |
1bin | The LED of input 15 lights up red if the input is inactive (0bin). | |||
... | ... | ... | ... | |
R35.0 | biCLED_Ch1 | 0bin | The LED of input 1 is switched off if the input is inactive (0in). | 0bin |
1bin | The LED of input 1 lights up red if the input is inactive (0bin). |
These displays can also be inverted using register R34.
R36: Reaction to K-bus errors
In the event of a K-bus error, all LEDs set via the PLC (R32) are off. Unless R36 contains a value other than 00bin.
Bit | R36.15 | R36.14 | R36.13 | R36.12 | R36.11 | R36.10 | R36.9 | R36.8 |
Name | - | - | - | - | - | - | - | - |
Bit | R36.7 | R36.6 | R36.5 | R36.4 | R36.3 | R36.2 | R36.1 | R36.0 |
Name | - | - | - | - | - | - | K-bus-OFF reaction |
Key
Bit | Name | Description | default | |
---|---|---|---|---|
R36.15 | - | reserved | 0bin | |
... | ... | ... | ... | |
R36.2 | - | reserved | 0bin | |
R36.1, R36.0 | K-bus-OFF reaction | 00bin | In the event of a K-bus error all LEDs that have been set via the PLC (R32) remain on. | 00bin |
01bin | The last state of the LED toggles every 500 ms. If the last state was OFF the LED remains OFF. | |||
10bin | The last state of the LED toggles every 1000 ms. If the last state was OFF the LED remains OFF. |