Control and status bytes
Control and status byte of the first channel (L1)
Process data mode
Control byte 1 in process data mode
Control byte 1 (CB1) is located in the output image, and is transmitted from the controller to the KL3403. Note the assignment of the control bytes to the process input data words.
Bit | CB1.7 | CB1.6 | CB1.5 | CB1.4 | CB1.3 | CB1.2 | CB1.1 | CB1.0 |
Name | RegAccess | R/W | ChannelIdx | ProcDatIdx |
Key
Bit | Name | Description | |||||
---|---|---|---|---|---|---|---|
CB1.7 | RegAccess | 0bin | Register communication off (process data mode) | ||||
CB1.6 | R/W | 0bin | Read access | ||||
(1bin) | Since the process data registers of the KL3403 can only be read, write access is not sensible. | ||||||
CB1.5 to CB1.4 | ChannelIdx5 | Enter the channel index of the channel, from which you want to read a measured value with input data word 1 (DataIN1). | |||||
00bin | Channel 1 | ||||||
01bin | Channel 2 | ||||||
10bin | Channel 3 | ||||||
11bin | reserved | ||||||
CB1.3 to CB1.0 | ProcDatIdx | Enter the process data index of the measured value, which you want to read with input data word 1 (DataIN1). The following process data indices are supported: | |||||
Index | Symbol | Measured value | Resolution | ||||
0000bin | 0x0 | Irms | Current (rms value) | 0.001 A (KL3403-0000, KL3403-0026) | |||
0001bin | 0x1 | Urms | Voltage (rms value) | 0.1 V | |||
0010bin | 0x2 | P | 0.1 W (KL3403-0000, KL3403-0026) | ||||
0011bin | 0x3 | cos φ | 0.01 | ||||
0100bin | 0x4 | W | Energy consumption1 | default3: 0.01 kWh (KL3403-0000, KL3403-0026) | |||
0101bin | 0x5 | Imax | Peak current value2 | see index 0dec | |||
0110bin | 0x6 | Umax | Peak voltage value2 | see index 1dec | |||
0111bin | 0x7 | Pmax | Peak active power value2 | see index 2dec | |||
1000bin | 0x8 | f | 0.1 Hz (measuring interval: 5 s) | ||||
1001bin | 0x9 | Imin | Minimum current value2 | see index 0dec | |||
1010bin | 0xA | Umin | Minimum voltage value2 | see index 1dec | |||
1011bin | 0xB | Pmin | Minimum active power value2 | see index 2dec | |||
further | reserved |
1) | The energy consumption is counted in RAM and saved every 15 minutes in the EEPROM. |
2) | The minimum and peak current value is deleted when the KL3403 is switched off. |
3) | The resolution of the energy consumption can be scaled for each channel with its register R35. |
4) | The power factor (cos φ) can be displayed with or without sign (see bit R32.5 of the feature register). |
5) | The flexible process image must be enabled (R32.3 = 1), in order to be able to read measured values from each channel with input data word 1 (DataIN1)! |
6) | The read values depend on the voltages and currents connected to the current transformer. They have to be converted by the application. |
![]() | Service life of the EEPROM The energy consumption is stored in an EEPROM. The EEPROM manufacturer specifies a minimum of 100000, typically 1 million possible write operations for this function block. The resulting service life of the energy consumption memory at continuous operation, assuming that the energy consumption is written to the EEPROM every 15 minutes, is:
|
Status byte 1 in process data mode
The status byte 1 (SB1) is located in the input image, and is transmitted from the KL3403 to the controller. Pay attention to the assignment of the control bytes to the process input data words in process data mode.
Bit | SB1.7 | SB1.6 | SB1.5 | SB1.4 | SB1.3 | SB1.2 | SB1.1 | SB1.0 |
Name | RegAccess | ERR L1 | ChannelIdx | ProcDatIdx |
Key
Bit | Name | Description | |
---|---|---|---|
SB1.7 | RegAccess | 0bin | Acknowledgment for process data mode |
SB1.6 | ERR L1 | 0bin | Voltage between L1 and N greater than undervoltage threshold (R36). |
1bin | Voltage between L1 and N smaller than undervoltage threshold (R36). The ERR L1 LED is on. | ||
SB1.5 to SB1.4 | ChannelIdx | 00bin | The input data word 1 (DataIN1) was used to read a measured value from channel 1. |
01bin | The input data word 1 (DataIN1) was used to read a measured value from channel 2. | ||
10bin | The input data word 1 (DataIN1) was used to read a measured value from channel 3. | ||
11bin | reserved | ||
SB1.3 to SB1.0 | ProcDatIdx | Index of the measured value that was read with input data word 1 (DataIN1). |
Register communication
Control byte 1 in register communication
Control byte 1 (CB1) is located in the output image, and is transmitted from the controller to the KL3403.
Bit | CB1.7 | CB1.6 | CB1.5 | CB1.4 | CB1.3 | CB1.2 | CB1.1 | CB1.0 |
Name | RegAccess | R/W | Reg. no. |
Key
Bit | Name | Description | |
---|---|---|---|
CB1.7 | RegAccess | 1bin | Register communication switched on |
CB1.6 | R/W | 0bin | Read access |
1bin | Write access | ||
CB1.5 to CB1.0 | Reg. no. | Register number: |
| |
No process data access during register communication! It is not possible to access the data registers during register communication! Process data that may still be displayed is not valid! |
Status byte 1 in register communication
The status byte 1 (SB1) is located in the input image, and is transmitted from the KL3403 to the controller.
Bit | SB1.7 | SB1.6 | SB1.5 | SB1.4 | SB1.3 | SB1.2 | SB1.1 | SB1.0 |
Name | RegAccess | R | Reg. no. |
Key
Bit | Name | Description | |
---|---|---|---|
SB1.7 | RegAccess | 1bin | Acknowledgment for register access |
SB1.6 | R | 0bin | Read access |
SB1.5 to SB1.0 | Reg. no. | Number of the register that was read or written. |
Control and status byte of the second channel (L2)
Control byte 2 (CB2) is in output image and is transferred by the controller to the KL3403 (structure and application see Control byte 0). Pay attention to the assignment of the control bytes to the process input data words in process data mode.
Status byte 2 (SB2) is in the input image and is transferred from the KL3403 to the controller (configuration and application see Status byte 0).
Control and status byte of the third channel (L3)
Control byte 3 (CB3) is in output image and is transferred by the controller to the KL3403 (structure and application see Control byte 0). Pay attention to the assignment of the control bytes to the process input data words in process data mode.
Status byte 3 (SB3) is in the input image and is transferred from the KL3403 to the controller (configuration and application see Status byte 0).