Register description
These registers are used for the parameterization of the power measurement terminal and exist for each channel. They can be read or written by means of register communication.
R0: Overflow register for energy consumption
If the register for the energy consumption (read via process data index 0x4) overflows, this overflow register is incremented. 32 bits are thus available for storing the energy consumption. The overflow register for the energy consumption must be read via the register communication.
R5: Password change register
You can change the password for the KL3403 (default: 1235hex), in order to prevent unauthorized deletion of the energy consumption.
The password can be changed as follows:
- Enter the old password (default: 1235hex) in the password-register (R31).
- Enter the new password in the password change register (R5).
- Repeat the new password in the command register (R7).
The new password is now active without resetting the terminal!
R7: Command register
Command 0x1004: Deleting the energy consumption (user password must be set)
Write the value 0x1004 into the command register, in order to delete the energy consumption stored in the process data (process data index 0x4) and the overflow register for the energy consumption (R0).
Command 0x1005: delete maximum current
Write the value 0x1005 into the command register, in order to clear the maximum current stored in the process data (process data index 0x5).
Command 0x1006: clear maximum voltage
Write the value 0x1006 into the command register, in order to clear the maximum voltage stored in the process data (process data index 0x6).
Command 0x1007: clear maximum active power
Write the value 0x1007 into the command register, in order to clear the maximum active power stored in the process data (process data index 0x7).
Command 0x1009: clear minimum current
Write the value 0x1009 into the command register, in order to clear the minimum current stored in the process data (process data index 0x9).
Command 0x100A: clear minimum voltage
Write the value 0x100A into the command register, in order to clear the minimum voltage stored in the process data (process data index 0xA).
Command 0x100B: clear minimum active power
Write the value 0x100B into the command register, in order to clear the minimum active power stored in the process data (process data index 0xB).
Command 0x1014: store energy consumption early
The KL3403 logs the energy consumption in the RAM and cyclically saves the values in the EEPROM every 15 minutes. If you want to switch off the KL3403 without losing the energy consumption measured since the last cyclic save operation, you can use this command to manually save the current value in the EEPROM.
Command 0x1020: clear all minimum and maximum values
Write the value 0x1020 into the command register, in order to clear all minimum and maximum values.
Command 0x7000: Restore Factory Settings
Entering 0x7000 in register R7 restores the delivery state for the following registers:
R32:
- 0x0020 for KL3403-0000, KL3403-0010, KL3403-0025, KL3403-0026, KL3403-0333 or
- 0x0030 for KL3403-0014, KL3403-0020, KL3403-0022
Repeating the new password
Repeat the new password in the command register when you change the password (see password change register description R5).
R8: Terminal description
Register R8 contains the terminal identifier in hexadecimal coding. KL3403: 0x0D4B (3403dec)
R9: Firmware version
Register R9 contains the firmware revision level of the terminal in hexadecimal coding, e. g. 0x3144 (12611 dec).
R17: Voltage gain compensation
These registers contain the compensation values determined at production, and cannot be changed.
R18: Current gain compensation
These registers contain the compensation values determined at production, and cannot be changed.
R31: Code word register
- If you write values into the user registers without previously having entered the user code word (0x1235) in the code word register, these values are only stored in the RAM registers, but not in the EEPROM registers and are therefore lost if the terminal is restarted.
- 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 if the terminal is restarted.
The code word is reset if the terminal is restarted.
R32: Feature register
The feature register specifies the terminal's operation mode.
Bit | Feature | Value | Explanation | Default |
---|---|---|---|---|
R32.15 to R32.8 | - | - | reserved | 0bin |
R32.7 | enClrMinMaxValues | 1bin | Automatic deletion of the minimum and maximum current, voltage and power values enabled (process data index 0x5, 0x6, 0x7, 0x9, 0xA and 0xB) | 0bin |
R32.6 | invEnergySign | 1bin | The energy consumption measurement inverted (generator mode) | 0bin |
R32.5 | signCosPhi | 0bin | CosPhi (cos φ) is always shown positive | 1bin |
1bin | CosPhi (cos φ) is shown signed: | |||
R32.4 | skipDcFilter | 0bin | DC filter active | 0bin |
1bin | DC filter is bypassed | |||
R32.3 | enFlexProcImage | 0bin | Simple process image (compatibility mode) | 0bin/1bin* |
1bin | ||||
R32.2 | disWdTimer | 0bin | Watchdog timer active: The watchdog is triggered, if no process data were received for 100 ms | 0bin |
1bin | Watchdog timer not active | |||
R32.1 | - | - | reserved | 0bin |
R32.0 | enUserScaling | 0bin | User scaling is switched off (ratio is 1:1) | 0bin |
1bin | User scaling is switched on (ratio is 1/R37) |
*) 0bin (KL3403-0000, KL3403-0010, KL3403-0025, KL3403-0026, KL3403-0333)
1bin (KL3403-0020, KL3403-0022)
R35: Scaling factor for the energy measurement
This register can be used for scaling the energy measurement. Default: 4dec (KL3403-0000 / -002x/ -0333: 0.01 kWh, KL3403-0010: 0.05 kWh). To change the scaling factor, you first have to set the user code word in register R31!
Entry | 0dec | 1dec | 2dec | 3dec | 4dec | 5dec | 6dec | ... | |
Scaling | KL3403-0000, KL3403-002x, | 1 mWh | 0.01 Wh | 0.1 Wh | 1 Wh | 0.01 kWh | 0.1 kWh | 1 kWh | reserved |
KL3403-0010 | 5 mWh | 0.05 Wh | 0.5 Wh | 5 Wh | 0.05 kWh | 0.5 kWh | 5 kWh | reserved |
R36: Undervoltage threshold
If the mains voltage is below the undervoltage threshold the stored in register R36 (resolution: 0.1 V, default: 100dec=10 V), the error bit (SB1.6) is set in status byte 0, and the red error LED is triggered.
R37: Divisor of the current transformer ratio
The KL3403 can take the transformer ratio of a connected current transformer into account for the measured value output. Enter the divisor for the transformation ratio of a connected current transformer here, and enable this scaling with bit R32.0 of the feature register.
![]() | Note the permissible range of the measured value output The KL3403 should only take the transformer ratio into account if the calculated resulting current does not exceed the value 65535! |
R38: Time constant for automatic deletion of the minimum and maximum values
If bit R32.7 is enabled, the minimum and maximum current, voltage and power values of the respective phase are cleared after the set time.
- Default value: 2000 ms (R38 = 200)
- Resolution: 10 ms
- Range of values: 10 ms to 655350 ms
R39: Measuring cycle time
With this register, the measuring cycle time of the A/D converter is set:
- Default value: 50 ms
- Resolution: 1 ms
- Range of values: 1 ms to 65535 ms
The correct setting of the measuring interval depends on the mains frequency, among other factors (see chapter Basic function principles).