Access from the user program
KL2542
31
Version: 2.0.0
Key
Bit
Name
Description
SB1.7
RegAccess
1
bin
Acknowledgement for register access
SB1.6
R
0
bin
Read access
SB1.5 to
SB1.0
Reg. no.
Number of the register that was read or written.
Channel 2
The control and status bytes of channel 2 (CB2 and SB2) have the same structure as the control and status
bytes of
channel 1 [
}
29]
.
5.3
Register overview
The registers are used to parameterize the DC motor output stages. They can be read or written by means
of register communication.
Register no.
Comment
Default value
R/W
Memory
R0 [
}
33]
Status word
0x0000
0
dec
R
RAM
R1 [
}
33]
Set position
0x0000
0
dec
R/W
RAM
R2 [
}
33]
Torque
e.g. 0x015E
e.g. 350
dec
R
RAM
R3 [
}
34]
Supply voltage
e.g. 0x0030
e.g. 48
dec
R
RAM
R4
reserved
-
-
-
-
R5 [
}
34]
Temperature
e.g. 0x0023
e.g. 35
dec
R
RAM
R6 [
}
34]
Status byte
e.g. 0x0010
e.g. 16
dec
R
RAM
R7 [
}
34]
Command register
0x0000
0
dec
R/W
RAM
R8 [
}
34]
Terminal type
0x09EE
2542
dec
R
ROM
R9 [
}
34]
Firmware version
e.g. 0x3141
e.g. 1A
ASCII
R
ROM
R10
Multiplex shift register
0x0130
304
dec
R
ROM
R11
Signal channels
0x0218
536
dec
R
ROM
R12
Minimum data length
0x1800
6144
dec
R
ROM
R13
Data structure
0x0004
4
dec
R
ROM
R14
reserved
-
-
-
-
R15
Alignment register
0x7F80
32640
dec
R/W
RAM
R16 [
}
35]
Hardware version number
e.g. 0x0000
e.g. 0
dec
R/W
EEPROM
R17
reserved
-
-
-
-
...
...
...
...
...
...
R30
reserved
-
-
-
-
Summary of Contents for KL2542
Page 2: ......