Siemens M1 User Manual

Page 65

Advertising
background image

64

gsm-m1-e.fm

GSM M1 Module, English: A24859-N4000-A100-1-7677

Technical reference section

26.2.96

Registers in which a number of parameter values are stored are called bit position reg-
isters. If you wish to modify the parameter values in these registers directly, you must
add up the decimal values of all the bits to be set and enter the result using the ATSn=x
command. Since calculating such values is somewhat complicated, we recommend
that you use AT commands to modify the values and do not write directly to the regis-
ter. However, here is an example of how to do so:

Example:

S-register S22

Bit 7:

Reserved, value is "0".

Bits 6, 5 and 4:

Connection messages (ATXn command).

Bits 3 to 0:

Reserved, value is "0".

You wish to enter the following parameter values:

Bit 7:

Reserved, value is "0",
Isolated value: binary "0" = decimal "0",
Positioned value: binary "0 x x x x x x x" = decimal "0".

Bits 6, 5 and 4:

Extended connect message,
ignore busy signal (ATX2),
Isolated value: binary "0 1 0" = decimal "2",
Positioned value: binary "x 0 1 0 x x x x" = decimal "32".

Bits 3 to 0:

Reserved, value is "0",
Isolated value: binary "0 0 0 0" = decimal "0",
Positioned value: binary "x x x x 0 0 0 0" = decimal "0".

Decimal input and binary storage:

Enter the decimal total for 0+0+32+0+0+0+0+0=32.

Command:

ATS22=32

Bit position registers

Bit #

7

6

5

4

3

2

1

0

Binary

0

0

1

0

0

0

0

0

Decimal

(128)

(64)

32

(16)

(8)

(4)

(2)

(1)

Advertising