User manual
S REGISTERS
Section 8
8-2
Copyright (C) Dataplex Pty Ltd
5. Wherever a '1' appears in the 'New Setting' row, perform the conversion by
underlining the decimal equivalent for that particular bit value and then
ADDING together the underlined decimal numbers. Place this result in the
TOTAL cell.
6. You can now change the contents of the S-register by assigning the derived
TOTAL decimal value to the S-register. This is performed by the ATSr=n
command, where r equals the S-reg value you have changed (between 0 and 50)
and n equals the new decimal value (between 0 and 255).
For example, to change the value of Register S30 such that MNP 2-4 error control and
MNP 2-5 data compression is enabled and the Constant Speed Interface is disabled, you
would do the following:
1. Display the current setting of the bit register by entering
ats30?K
.
2. In the factory default condition, the contents of S30 will read 10111100 in
binary format and 243 in decimal format {BC HEX}. Refer to the appropriate
page of this Section for a description of each bit value for S30. To enable Error
Control and Data Compression and disable Constant Speed Interface, you need
to
change bit 0, 1 and 2 respectively.
Using the steps outlined previously would yield the following table:
BIT:
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Current Setting :
1 0 1 1 1 1 0 0
New Setting :
1 0 1 1 1 0 1 1 TOTAL
Decimal equivalent if
bit set to 1 (0
otherwise)
128
64
32 16 8
4
2 1
187
3. Finally, to assign the new decimal value to the register contents you would type
ats30=187K
. The changes are now in affect.