Register description
The registers are used for parameterization of the terminal and can be read or written via the register communication.
R4: Register page selection register
This register is used to specify which register page is shown in registers R32 to R63 of the KL6201/KL6211 (default: 0x0000). The register pages provide access to the AS-i parameters of the KL6201/KL6211.
R8: Terminal description
Register R8 contains the terminal identifier in hexadecimal coding: 0x1839 (6201dec)
R9: Firmware version
Register R9 contains the firmware version of the terminal in hexadecimal coding, e. g. 0x0100 (256dec).
R10: Shift register length
0x0160
R11: Number of signal channels
0x0160
R12: Minimum data length
0x6060
R13: Data structure of the Bus Terminal
Register R13 contains the data structure of the Bus Terminal.
R15: Alignment register
R27: Size of the process image
This register specifies the size of the process image of the KL6201/KL6211.
Value | Process image | Default |
---|---|---|
0000hex | 6-byte process image | 0001hex |
0001hex | 12-byte process image | |
0002hex | 22-byte process image | |
0003hex | 38-byte process image | |
further | reserved |
After changing the process image the Bus Coupler must be restarted for the modified process image to take effect.
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 EPROM 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 EPROM registers and are therefore retained if the terminal is restarted.
The code word is reset if the terminal is restarted.
R32 to R63
In these registers the KL6201/KL6211 shows the AS-i parameters of the register page selected with register R4.