Infosys在阅读器中打开 / AI 翻译

KL3311, KL3312, KL3314 and KL3302 | Single, Dual- and Four-Channel Analog Input Terminals for Thermocouples · 0 次阅读

Register description

The registers can be read or written via the register communication. They are used for the parameterization of the terminal.

R0 to R7: Registers in the internal RAM of the terminal

The process variables can be used in addition to the actual process image. Their function is specific to the terminal.

  • R0 ADC raw value (X_m)
    This register contains the ADC raw value of the connected element according to (equation 1.2) (where 0x0000 is approximately equal to -125 mV, 0x8000 approx. 0 V and 0xFFFF approx. 125 mV; this means that gain and offset errors are included).
  • R1 to R5: Reserved
  • R6: Diagnostic register
    • High byte: reserved
    • Low byte: Status byte
  • R7: Command register
    High-Byte_Write = function parameter
    Low-Byte_Write = function number
    High-Byte_Read = function result
    Low-Byte_Read = function number

R8 to R15: Registers in the internal ROM of the terminal

The type and system parameters are hard programmed by the manufacturer, and the user can read them but cannot change them.

  • R8: Terminal type
    The terminal type in register R8 is needed to identify the terminal.
  • R9: Software version (X.y)
    The software version can be read as a string of ASCII characters.
  • R10: Data length
    R10 contains the number of multiplexed shift registers and their length in bits.
    The Bus Coupler sees this structure.
  • R11: Signal channels
    Related to R10, this contains the number of channels that are logically present. Thus for example a shift register that is physically present can perfectly well consist of several signal channels.
  • R12: Minimum data length
    The particular byte contains the minimum data length for a channel that is to be transferred. If the MSB is set, the control and status byte is not necessarily required for the terminal function and is not transferred to the control, if the Bus Coupler is configured accordingly.
  • R13: Data type register

Data type register

Meaning

0x00

Terminal with no valid data type

0x01

Byte array

0x02

Structure 1 byte n bytes

0x03

Word array

0x04

Structure 1 byte n words

0x05

Double word array

0x06

Structure 1 byte n double words

0x07

Structure 1 byte 1 double word

0x08

Structure 1 byte 1 double word

0x11

Byte array with variable logical channel length

0x12

Structure 1 byte n bytes with variable logical channel length (e.g. 60xx)

0x13

Word array with variable logical channel length

0x14

Structure 1 byte n words with variable logical channel length

0x15

Double word array with variable logical channel length

0x16

Structure 1 byte n double words with variable logical channel length

  • R14: reserved
  • R15: Alignment bits (RAM)
    The alignment bits are used to place the analog terminal in the Bus Coupler on a byte boundary.

R16 to R30: Manufacturer parameter area (SEEROM)

The manufacturer parameters are specific for each type of terminal. They are programmed by the manufacturer, but can also be modified by the controller. The manufacturer parameters are stored in a serial EEPROM in the terminal, and are retained in the event of voltage drop-out.

These registers can only be altered after a code word has been set in R31.

  • R17: Hardware compensation - offset (B_a)
    16-bit signed integer
    This register is used for offset compensation of the terminal (Eq. 1.2).
    Register value approx. 0x0000
  • R18: Hardware compensation - gain (A_a)
    16 bit signed integer*2-12
    This register is used for gain compensation of the terminal (Eq. 1.2).
    Register value approx. 0x3D4X
  • R19: Manufacturer scaling - offset (B_h)
    16-bit signed integer [0x0000]
    This register contains the offset of the manufacturer linear equation (equation 1.6). The linear equation is enabled via register R32.
  • R20: Manufacturer scaling - gain (A_h)
    16 bit signed integer*2-8 [0x00A0]
    This register contains the scale factor of the manufacturer's equation of the straight line (Eq. 1.6). The linear equation is enabled via register R32.
  • R21: Manufacturer gain compensation for reference voltage
    [approx. 0x01XX]

R31 to R47: User parameter area (SEEROM)

The user parameters are specific for each type of terminal. They can be modified by the programmer. The user parameters are stored in a serial EEPROM in the terminal, and are retained in the event of voltage drop-out. The user area is write-protected by a code word.

Register description 1:

• R31: Code word register in RAM

The code word 0x1235 must be entered here so that parameters in the user area can be modified. If any other value is entered into this register, the write-protection is active. When write protection is not active, the code word is returned when the register is read. If the write protection is active, the register contains a zero value.

  • R32: Feature register
    [0x1006]
    This register specifies the operation modes of the terminal.

Feature bit no.

 

Description of the operation mode

Bit 0

1

User scaling (R33, R34) active [0]

Bit 1

1

Manufacturer scaling (R19, R20) active [1]

Bit 2

1

Watchdog timer active [1]
In the delivery state, the watchdog timer is switched on.

Bit 3

1

Sign / amount representation [0]
Signed amount representation is active instead of two's complement representation. (-1 = 0x8001).

Bit 4

1

Siemens output format [0]
This bit is used for inserting status information on the lowest 3 bits (see below).

Bit 5

1

Activates filter constant in R37 [0]

Bit 6

1

Deactivates the measuring current for open-circuit recognition

Bit 7

-

Reserved, don't change

Bit 8

1

Reference temperature switched off [0] (R21).

Bit 9

-

Reserved, don't change

Bit 10

1

Checking of the lower measuring range limit not applicable. [0]

Bit

 

 

15

14

13

12

Element

Valid measuring range

0

0

0

0

Type: L

-25°C to 900°C

0

0

0

1

Type: K

-100°C to 1370°C

0

0

1

0

Type: J

-100°C to 1200°C

0

0

1

1

Type: E

-100°C to 1000°C

0

1

0

0

Type: T

-100°C to 400°C

0

1

0

1

Type: N

-100°C to 1300°C

0

1

1

0

Type: U

-25°C to 600°C

0

1

1

1

Type: B

600 °C to 1800 °C

1

0

0

0

Type: R

0 °C to 1700 °C

1

0

0

1

Type: S

0 °C to 1700 °C

 

Output in µV
Resolution

Valid measuring range

1

1

0

1

1 µV*

1.6 µV**

± 30 mV

1

1

1

0

2 µV*

3.2 µV**

± 60 mV

1

1

1

1

4 µV*

6.4 µV**

± 120 mV (± 80 mV for KL3314)

*) no scaling active
**) only vendor scaling active

Examples:

Bit 15 to 12: 1111, no scaling active:
The output format is as follows: 1 digit is equivalent to 1/16 °C or 4 µV.

Bit 15 to 12: 1111, only vendor scaling activated via bit 1 of the Feature register:
The output format is as follows: 1 digit is equivalent to 1/10 °C or 6.4 µV.

If the Siemens output format is selected, the lowest three bits are used for status evaluation. The process data is mapped in bits 15 to 3, with bit 15 representing the sign bit. Scaling of the measured value according to the Siemens standard has to be done via user scaling (R33, R34).

Measured value

Bit 15…3

Bit 2
X

Bit1
Error

Bit 0
Overflow

Out of range

 

0

0

1

In range

Process data

0

0

0

  • R33: User scaling - offset (B_w)
    16-bit signed integer
    This register contains the offset of the user linear equation (Eq. 1.7). The linear equation is enabled via register R32.
  • R34: User scaling - gain (A_w)
    16-bit signed integer*2-8
    This register contains the scaling factor of the user linear equation (Eq. 1.7). The linear equation is enabled via register R32.
  • R35 and R36: reserved
  • R37: Filter constant
    [0x0000]
Register description 2:

Applies to all terminals from firmware version 3x.

This documentation applies to all terminals from firmware version 3x. The version information can be found on the right-hand side of the terminal in the serial number: xxxx3xxx.

Example: 52983A2A => the firmware version is 3A.

Filter constant

First notch [Hz]

Conversion time [ms]

0x0000

25

250

0x50

100

65

0xA0

50

125

0x140

25

250

0x280

12.5

500