Beckhoff KL5001 User Manual Page 12

  • Download
  • Add to my manuals
  • Print
  • Page
    / 16
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 11
Register description
12 KL5001
0
63
Terminal´s
register set
64 words
Control-/
status byte
User data
K-Bus
If control bit 7=0: input/output
If control bit 7=1:
register-
configuration
C/S-bit 7
If control bit 7=1:
adress in the control bit 0-5
If control bit 6=0: read
If control bit 6=1: write
Complex bus terminal
To the bus coupler
H
H
L
L
2 or mors bytes
The control or status byte occupies the lowest address of a logical channel.
The corresponding register values are located in the following 2 data bytes
(the BK2000 is an exception to the rule: here, an unused data byte is in-
serted after the control or status byte, thus setting the register value to a
word limit).
Example
Reading register 8 in the BK2000 with a Kl3022 and the end terminal.
If the following bytes are transferred from the controller to the terminal,
Byte0
Control
Byte1
Not used
Byte2
Data OUT, high byte
Byte3
Data OUT, low byte
0x88 0xXX 0xXX 0xXX
the terminal returns the following type designation (0x0BCE corresponds to
the unsigned integer 3022).
Byte0
Status
Byte1
Not used
Byte2
Data IN, high byte
Byte3
Data IN, low byte
0x88 0x00 0x0B 0xCE
A further example
Writing register 31 in the BK2000 with an intelligent terminal and the end
terminal.
If the following bytes (user code word) are transferred from the controller to
the terminal,
Byte0
Control
Byte1
Not used
Byte2
Data OUT, high byte
Byte3
Data OUT, low byte
0xDF 0xXX 0x12 0x35
the user code word is set and the terminal returns the register address with
the bit 7 for register access and the acknowledgement.
Byte0
Status
Byte1
Not used
Byte2
Data IN, high byte
Byte3
Data IN, low byte
0x9F 0x00 0x00 0x00
Page view 11
1 2 ... 7 8 9 10 11 12 13 14 15 16

Comments to this Manuals

No comments