Beckhoff KS31 2 Series Manual page 49

Two channel accurate analog terminals
Table of Contents

Advertisement

Command 0x7000: Restore Factory Settings
Entering 0x7000 in register R7 restores the factory settings for the following registers of both channels:
KL3162, KL3172, KL3142, KL3152:
R32: 0x0180 (384
)
dec
R33: 0x0000 (0
)
dec
R34: 0x0100 (256
)
dec
R35: 0x0000 (0
)
dec
R36: 0x0000 (0
)
dec
R37: 0x35C0 (13760
)
dec
R40: 0x0708 (1800
)
dec
R44: 0x0003 (3
)
dec
R47: 0x0032 (50
)
dec
R48: 0x0005 (5
)
dec
Restore Factory Settings
The Restore Factory Settings command simultaneously resets both terminal channels to the deliv-
ery state, irrespective from which register it is called.
R8: Terminal description
The description of the terminal is contained in register R8.
KL3172: 0x0C64 (3172
dec
KL3182: 0x0C6E (3182
dec
KL3132: 0xC3C (3132
dec
KL3162: 0xC5A (3162
dec
KL3142: 0xC46 (3142
dec
KL3152: 0xC50 (3152
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.
R12: Minimum data length of a channel
Bits 0 to 6 of the high-order byte specify the minimum number of output data in bits: 000.0000
bytes.
Bits 0 to 6 of the low-order byte specify the minimum number of input data in bits: 001.1000
3 bytes.
The fact that bit 7 is set indicates that the control and status byte are not mandatory for the terminal function
and are not transferred in compact mode.
R16: Hardware version number
Register R16 contains the hardware version of the terminal.
R17: Vendor calibration - offset
This register contains the vendor calibration offset (16 bit signed integer).
R18: Vendor calibration - gain
This register contains the vendor calibration gain (16 bit unsigned integer x 2
0x0000 means factor 1
0xFFFF means factor 2
KL31x2/KS31x2
)
)
)
)
)
)
Version: 2.6.0
Data structures
KL3132, KL3182:
R32: 0x0182 (386
)
dec
R33: 0x0000 (0
)
dec
R34: 0x0100 (256
)
dec
R35: 0x0000 (0
)
dec
R36: 0x0000 (0
)
dec
R37: 0x35C0 (13760
)
dec
R40: 0x0708 (1800
)
dec
R44: 0x0003 (3
)
dec
R47: 0x0032 (50
)
dec
R48: 0x0005 (5
)
dec
= 0
bin
= 24
bin
-16
+ 1). Examples:
, so 0
dec
, hence
dec
49

Advertisement

Table of Contents
loading

This manual is also suitable for:

Kl31 2 seriesKl3132Kl3162Kl3172Kl3182

Table of Contents