beautypg.com

BECKHOFF KL3041 User Manual

Page 19

background image

Register Description

KL304x and KL305x

17

Example 1

Reading of register 8 in the BK2000 with a KL3042 and the end terminal:

If the following bytes are transferred from the control to the terminal,

Byte

Byte 3

Byte 2

Byte 1

Byte 0

Name

DataOUT 1

DataOUT 0

Not used

Control byte

Value

0xXX 0xXX

0xXX

0x88


the terminal returns the following type identifier (0x0BE2 corresponds to
unsigned integer 3042).

Byte

Byte 3

Byte 2

Byte 1

Byte 0

Name

DataIN 1

DataIN 0

Not used

Status byte

Value

0x0B 0xE2

0x00

0x88


Example 2

Writing of register 31 in the BK2000 with an intelligent terminal and the end
terminal:

If the following bytes (code word) are transferred from the control to the
terminal,

Byte

Byte 3

Byte 2

Byte 1

Byte 0

Name

DataOUT 1

DataOUT 0

Not used

Control byte

Value

0x12 0x35

0xXX

0xDF


the code word is set, and the terminal returns the register address with bit
7 for register access as acknowledgement.

Byte

Byte 3

Byte 2

Byte 1

Byte 0

Name

DataIN 1

DataIN 0

Not used

Status byte

Value

0x00 0x00

0x00

0x9F

This manual is related to the following products: