0x1235, to be entered into register r31 – BECKHOFF KL3681 User Manual

Page 34

Advertising
background image

Access from the user programm

R9: Firmware version

Register R9 contains the ASCII coding of the terminal's firmware revision level, e.g. 0x3141 (1A)

ASCII

'0x31'

corresponds to the ASCII character '1' and '0x41' to the ASCII character 'A'. This value can not be changed.

R10: Data length (multiplex shift register)

R10 contains the number of multiplexed shift registers and their length in bits.

R11: Signal channels

Unlike 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 structure (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

R15: Alignment register

Via the alignment register bits, the Bus Coupler arranges the address range of an analog terminal such that
it starts at a byte boundary.

R16: Hardware version number

Register R16 contains the hardware revision level of the terminal; this value can not be changed.

R29: Terminal type, special version

The special terminal identifier is contained in register R8: KL3681­0000: 0x0000 (0)

dec)

.

R31: Code word register

• If you write values into the user registers without first entering the user code word (0x1235) into the

code word register, the terminal will not accept the supplied data.

KL3681, KS3681

34

Version 2.0.0

Advertising
This manual is related to the following products: