Registers

7.3REGISTERS

Some registers control a single function. Others control several functions and are bitmapped. We recommend bitmapped registers for reading modem status only; we suggest you use commands to change the modem’s settings.

7.3.1Commands to Change or Read Registers

Change the Value of a Register

Sn=x

:Tn=x Changes the value of S or :T register “n” to a new value “x”.

Change the Value of the Last Referenced S-Register

=x Changes the value of the last referenced S-register or the register pointed to with the ATSn command. For example, if the last register command used was ATS0=2, entering AT=4 changes the value of register S0 from 2 to 4.

Display the Value of the Last Referenced S-Register

?Displays the value of the last S-register referenced in a read, write, or point to command.

Point to New Register

Sn Where n is an integer from 0 to 27, indicating a register, instructs the modem to point to the register whose location is n. This becomes the last referenced register. For example, typing ATS1 <Enter> places the pointer at register S1 and returns the command prompt.

Read All Registers

%Rn

 

%R0

Displays the contents of all S registers in decimal and

 

hexadecimal integers in tabular format.

%R1

Displays the contents of all :Tn=n commands in decimal and

 

hexadecimal integers in tabular format.

Read Configuration Register

Sn?

Where n is an integer from 0 to 27, indicating an S register.

CSMIM-T1 Hardware Installation Guide

7-41

Page 167
Image 167
Cabletron Systems CSMIM-T1 manual Commands to Change or Read Registers