Beckhoff KS2542 Manual page 35

Two channel output stage terminals for dc motors
Table of Contents

Advertisement

R3: Supply voltage
Enables reading of the motor supply voltage. The unit is 1 mV (for example: 4800 = 48 V).
R5: Temperature register
The internal temperature of the terminal can be read, in °C, through register R6. The terminal will set bit SB.5
[} 30] in the status byte as a warning if the temperature exceeds the threshold of 80°C. When the
temperature falls back below 60°C, bit SB.5 [} 30] will automatically be reset.
R6: Status byte
The status byte of the relevant channel is mapped here in addition.
R7: Command register
User code word
For the following commands to be executed, it is first necessary for the user code word, 0x1235, to
be entered into register R31 [} 36].
Command 0x7000: Restore Factory Settings
Entering 0x7000 in register R7 restores the factory settings for the following registers of both channels:
R32 [} 36]: 0
dec
R33 [} 36]: 0
dec
R34 [} 36]: 4096
dec
R35 [} 37]: 0
dec
R36 [} 37]: 5000
dec
R37 [} 37]: 3500
dec
R38 [} 37]: 10000
dec
R39 [} 37]: 0
dec
Restore Factory Settings
The command Restore Factory Settings simultaneously resets both channels of the DC motor
output stage terminal to the delivery state, irrespective of which register set it is called!
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.
Danger to persons and machines!
During a software reset the motor is de-energized. Ensure that your system state permits this and that haz-
ards for persons or machinery have been ruled out!
R8: Terminal type
The terminal name is contained in register R8:
0x09EE (2542
)
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 can not be changed.
KL2542/KS2542
R40 [} 37]: 100
R41 [} 37]: 20
R42 [} 37]: 4096
R43 [} 37]: 1
R44 [} 38]: 5
R45 [} 38]: 100
R46 [} 38]: 500
R47 [} 38]: 10000
CAUTION
Version: 2.1.0
Access from the user program
dec
dec
dec
dec
dec
dec
dec
dec
35

Advertisement

Table of Contents
loading

This manual is also suitable for:

Kl2542

Table of Contents