Register description

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

General description of registers

Complex terminals that possess a processor are able to exchange data bi-directionally with the higher-level controller. These terminals are referred to below as intelligent Bus Terminals. These include the analog inputs (0 to 10 V, -10 to 10 V, 0 to 20 mA, 4 to 20 mA), the analog outputs (0 to 10 V, -10 to 10 V, 0 to 20 mA, 4 to 20 mA), serial interface terminals (RS485, RS232, TTY, data exchange terminals), counter terminals, encoder interfaces, SSI interfaces, PWM terminals and all other parameterizable modules.

The main features of the internal data structure are the same for all the intelligent terminals. This data area is organized as words, and includes 64 memory locations. The important data and parameters of the terminal can be read and set through this structure. It is also possible for functions to be called by means of corresponding parameters. Each logical channel in an intelligent terminal has such a structure (so a 4-channel analog terminal has 4 sets of registers).

This structure is divided into the following areas:

Range

Register number

Process variables

0 to 7

Type register

8 to 15

Manufacturer parameters

16 to 30

User parameters

31 to 47

Extended user area

48 to 63

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.

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.

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

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.

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.

Bit

Value

Description

default

R32.15

0bin

Encoder interface is activated

0bin

1bin

Counter mode is active
16-bit up/down counter
Input A: Counter
Input B: Counting direction (high = down, low = up)
Input C: High = counter disabled, Low = counter enabled

R32.14

-

reserved

0bin

R32.9

-

reserved

0bin

R32.8

0bin

Measurement of the period duration if bit CB.1 is set in the control byte.

0bin

1bin

A frequency measurement is carried out instead of the period duration. Impulses in a timeframe are counted. The timeframe can be set via R33.

R32.7

-

reserved

0bin

R32.1

-

reserved

0bin

R32.0

0bin

The signals Underflow/Overflow are output in the status byte.

0bin

1bin

The signals A; B, C are output in the status byte of the terminal.

R33: Timeframe for frequency measurement

Defines the length of the timeframe for the frequency measurement (default: 0x0000)

Resolution: 1 ms/Digit
1 digit = 1 ms

In the process data bytes D3 and D4 the number of pulses is now specified which are counted within the timeframe defined with R33. From this the frequency can be calculated.

Register description 2:

Frequency measurement

Note that the bit CB.1 must also be set for the frequency measurement in the control byte.