
Access from the user program
R7: Command register
Note
User code word
For the following commands to be executed, it is first necessary for the user code word,
0x1235, to be entered into
Command 0x7000: Restore Factory Settings
Entering 0x7000 in register R7 restores the factory settings for the following registers of both channels:
R32: 0
dec
R33: 0
dec
R34: 4096
dec
R35: 0
dec
R36: KL2535: 1000
dec
, KL2545: 3500
dec
R37: 0
dec
R38: 0
dec
R39: 0
dec
R40: 0
dec
R41: 0
dec
R42: 0
dec
R43: 0
dec
R44: 1000
dec
R45: 0
dec
R46: 0
dec
Note
Complete restore
The Restore Factory Settings command resets
both
channels in the pulse-width current
terminal to the factory settings simultaneously, regardless of which register set it is called
from!
Command 0x8000: Software Reset
Entering 0x8000 in register R7 initiates a full software reset for the terminal. All internal variables (positions,
latched values, errors etc.) are cleared or are set to defined values that are read from the EEPROM. The
internal circuits (D/A converter, output driver) are reinitialized during a software reset.
CAUTION
Software reset!
Power is removed from the output stage during a software reset. Ensure that your system
state permits this and that hazards for persons or machinery have been ruled out!
R8: Terminal type
The terminal identifier is contained in register R8:
KL2535: 0x09E7 (2535
dec
)
KL2545: 0x09F1 (2545
dec
)
R9: Firmware version
Register R9 contains the ASCII coding of the terminal's firmware version, e.g.
0x3141 = '1A'.
The
'0x31'
corresponds here to the ASCII character
'1'
, while the
'0x41'
represents the ASCII character
'A'
.
This value cannot be changed.
R16: Hardware version number
Register R16 contains the hardware version of the terminal.
KL2535, KL2545
42
Version: 2.0.0