Register pages

The AS-i parameters of the KL6201/KL6211 can be accessed via register communication or via the KS2000 configuration software. The register model of the terminals is used as a basis. The KL6201/KL6211 has 64 registers (words). Registers 0 to 31 always have the same meaning. The content of registers 32 to 63 is specified via the register page selection register (R4). 

A register page is 32 registers (64 bytes) long and can therefore address 16 AS-i parameters.

Assignment of the AS-i parameters to a register page and a terminal register

Reg.
page

KL6201/KL6211 registers

AS-i
Parameters

Length

Description

0x02

48 to 49

0x28

4 bytes

General Information
(byte 0 corresponds to bit 0 to 7 of parameter 0x28)

0x04

32 to 47

0x40 to 0x47

32 bytes

Projected I/O IDs of all AS-i slaves
(byte 0 corresponds to bit 0 to 7 of parameter 0x40)

48 to 63

0x48 to 0x4F

32 bytes

Projected ID codes of all AS-i slaves
(byte 0 corresponds to bit 0 to 7 of parameter 0x48)

0x05

32 to 47

0x50 to 0x57

32 bytes

Activation parameters for the AS-i slaves
(byte 0 corresponds to bit 0 to 7 of parameter 0x50)

48 to 51

0x58 to 0x59

8 bytes

List of the AS-i slaves that are projected at the next start
(byte 0 corresponds to bit 0 to 7 of parameter 0x58)

0x06

32 to 35

0x60 to 0x61

8 bytes

List of I/O IDs of all AS-i slaves to be checked
(byte 0 corresponds to bit 0 to 7 of parameter 0x60)

48 to 51

0x68 to 0x69

8 bytes

List of ID codes of all AS-i slaves to be checked
(byte 0 corresponds to bit 0 to 7 of parameter 0x68)

0x07

32 to 35

0x70 to 0x71

8 bytes

List of extended ID codes 1 of all AS-i slaves to be checked
(byte 0 corresponds to bit 0 to 7 of parameter 0x70)

48 to 51

0x78 to 0x79

8 bytes

List of extended ID codes 2 of all AS-i slaves to be checked
(byte 0 corresponds to bit 0 to 7 of parameter 0x78)

0x08

32 to 47

0x80 to 0x87

32 bytes

Digital inputs of all AS-i slaves
(byte 0 corresponds to bit 0 to 7 of parameter 0x80)

0x09

32 to 47

0x90 to 0x97

32 bytes

Read I/O IDs of all AS-i slaves
(byte 0 corresponds to bit 0 to 7 of parameter 0x90)

48 to 63

0x98 to 0x9F

32 bytes

Read ID codes of all AS-i slaves
(byte 0 corresponds to bit 0 to 7 of parameter 0x98)

0x0A

32 to 47

0xA0 to 0xA7

32 bytes

Read status of all AS-i slaves
(byte 0 corresponds to bit 0 to 7 of parameter 0xA0)

48 to 51

0xA8 to 0xA9

8 bytes

List of currently projected AS-i slaves (LPS)
(byte 0 corresponds to bit 0 to 7 of parameter 0xA8)

0x0B

32 to 35

0xB0 to 0xB1

8 bytes

List of detected AS-i slaves (LDS)
(byte 0 corresponds to bit 0 to 7 of parameter 0xB0)

48 to 51

0xB8 to 0xB9

8 bytes

List of activated AS-i slaves (LAS)
(byte 0 corresponds to bit 0 to 7 of parameter 0xB8)

0x0C

32 to 35

0xC0 to 0xC1

8 bytes

List of slaves that support the extended ID codes (ID codes 1 and 2)
(byte 0 corresponds to bit 0 to 7 of parameter 0xC0)

48 to 49

0xC8

4 bytes

List of slaves that support extended addressing (as B slaves with AS-i addresses greater than 32)
(byte 0 corresponds to bit 0 to 7 of parameter 0xC8)

Reg.
page

KL6201/KL6211 registers

AS-i
Parameters

Length

Description

0x0D

32 to 47

0xD0 to 0xD7

32 bytes

Read extended ID codes 1 of all AS-i slaves
(byte 0 corresponds to bit 0 to 7 of parameter 0xD0)

48 to 63

0xD8 to 0xDF

32 bytes

Read extended ID codes 2 of all AS-i slaves
(byte 0 corresponds to bit 0 to 7 of parameter 0xD8)

0x0E

32 to 47

0xE0 to 0xE7

32 bytes

Currently projected extended ID codes 1 of all AS-i slaves
(byte 0 corresponds to bit 0 to 7 of parameter 0xE0)

48 to 63

0xE8 to 0xEF

32 bytes

Currently projected extended ID codes 2 of all AS-i slaves
(byte 0 corresponds to bit 0 to 7 of parameter 0xE8)

0x0F

32 to 33

0xF0

4 bytes

List of analog slaves
(byte 0 corresponds to bit 0 to 7 of parameter 0xF0)

34 to 35

0xF8

4 bytes

List of safety slaves
(byte 0 corresponds to bit 0 to 7 of parameter 0xF8)

0x12

32 to 47

0x120 to 0x127

32 bytes

Status registers 0 to 15
(byte 0 corresponds to bit 0 to 7 of parameter 0x120)

48 to 63

0x128 to 0x12F

32 bytes

Status registers 16 to 31
(byte 0 corresponds to bit 0 to 7 of parameter 0x128)

0x14

32 to 47

0x140 to 0x147

32 bytes

Physical fault counter, AS-i slaves 0 to 15
(byte 0 corresponds to bit 0 to 7 of parameter 0x140)

48 to 63

0x148 to 0x14F

32 bytes

Physical fault counter, AS-i slaves 16 to 31
(byte 0 corresponds to bit 0 to 7 of parameter 0x148)

0x15

33 to 47

0x150 to 0x157

32 bytes

Physical fault counter, AS-i slaves 33 to 47
(byte 0 corresponds to bit 0 to 7 of parameter 0x150)

48 to 63

0x158 to 0x15F

32 bytes

Physical fault counter, AS-i slaves 48 to 63
(byte 0 corresponds to bit 0 to 7 of parameter 0x158)

0x16

32 to 47

0x160 to 0x167

32 bytes

Timeout counter, AS-i slaves 0 to 15
(byte 0 corresponds to bit 0 to 7 of parameter 0x160)

48 to 63

0x168 to 0x16F

32 bytes

Timeout counter, AS-i slaves 16 to 31
(byte 0 corresponds to bit 0 to 7 of parameter 0x168)

0x17

33 to 47

0x170 to 0x177

32 bytes

Timeout counter, AS-i slaves 33 to 47
(byte 0 corresponds to bit 0 to 7 of parameter 0x170)

48 to 63

0x178 to 0x17F

32 bytes

Timeout counter, AS-i slaves 48 to 63
(byte 0 corresponds to bit 0 to 7 of parameter 0x178)

0x18

32 to 47

0x180 to 0x187

32 bytes

Response counter, AS-i slaves 0 to 15
(byte 0 corresponds to bit 0 to 7 of parameter 0x180)

48 to 63

0x188 to 0x18F

32 bytes

Response counter, AS-i slaves 16 to 31
(byte 0 corresponds to bit 0 to 7 of parameter 0x188)

0x19

33 to 47

0x190 to 0x197

32 bytes

Response counter, AS-i slaves 33 to 47
(byte 0 corresponds to bit 0 to 7 of parameter 0x190)

48 to 63

0x198 to 0x19F

32 bytes

Response counter, AS-i slaves 48 to 63
(byte 0 corresponds to bit 0 to 7 of parameter 0x198)

Reg.
page

KL6201/KL6211 registers

AS-i
Parameters

Length

Description

0x1A

32 to 47

0x1A0 to 0x1A7

32 bytes

Leave data exchange counter, AS-i slaves 0 to 15
(byte 0 corresponds to bit 0 to 7 of parameter 0x1A0)

48 to 63

0x1A8 to 0x1AF

32 bytes

Leave data exchange counter, AS-i slaves 16 to 31
(byte 0 corresponds to bit 0 to 7 of parameter 0x1A8)

0x1B

33 to 47

0x1B0 to 0x1B7

32 bytes

Leave data exchange counter, AS-i slaves 33 to 47
(byte 0 corresponds to bit 0 to 7 of parameter 0x1B0)

48 to 63

0x1B8 to 0x1BF

32 bytes

Leave data exchange counter, AS-i slaves 48 to 63
(byte 0 corresponds to bit 0 to 7 of parameter 0x1B8)

0x1C

32 to 47

0x1C0 to 0x1C7

32 bytes

DataExch failed counter, AS-i slaves 0 to 15
(byte 0 corresponds to bit 0 to 7 of parameter 0x1C0)

48 to 63

0x1C8 to 0x1CF

32 bytes

DataExch failed counter, AS-i slaves 16 to 31
(byte 0 corresponds to bit 0 to 7 of parameter 0x1C8)

0x1D

33 to 47

0x1D0 to 0x1D7

32 bytes

DataExch failed counter, AS-i slaves 33 to 47
(byte 0 corresponds to bit 0 to 7 of parameter 0x1D0)

48 to 63

0x1D8 to 0x1DF

32 bytes

DataExch failed counter, AS-i slaves 48 to 63
(byte 0 corresponds to bit 0 to 7 of parameter 0x1D8)

0x20

40 to 63

0x200 to 0x20F

64 bytes

Data of analog slaves 1 to 3
(byte 0 corresponds to bit 0 to 7 of parameter 0x204)




see mapping table

0x21

32 to 63

0x210 to 0x21F

64 bytes

Data of analog slaves 4 to 7
(byte 0 corresponds to bit 0 to 7 of parameter 0x210)

...

...

...

...

...

0x27

32 to 63

0x270 to 0x27F

64 bytes

Data of analog slaves 30 to 31
(byte 0 corresponds to bit 0 to 7 of parameter 0x270)

0x30

32 to 33

0x300

4 bytes

Cycle times
(byte 0 corresponds to bit 0 to 7 of parameter 0x300)

0x31

32 to 33

0x310

4 bytes

Statistics
(byte 0 corresponds to bit 0 to 7 of parameter 0x310)

0x32

32 to 63

0x320 to 0x32F

64 bytes

Timeout statistics for each AS-i slaves
(byte 0 corresponds to bit 0 to 7 of parameter 0x320)

0x34

32 to 63

0x340 to 0x35F

64 bytes

Data exchange repeat counter for each AS-i slave
(byte 0 corresponds to bit 0 to 7 of parameter 0x340)