Hayes Modem AT Command Protocol

Appendix N

 

 

 

Setting Example

If telephone number is 03-0123-4567

0010

0016 4154 4454 3033 2D30

3132 332D 3435 3637

A T

D T

0 3

– 0

1 2

3 –

4 5

6 7

Character string length of dialling operation sent to modem (bytes)

Code length of PMCR when it is used (words)

Note 1. This example uses a tone line. Change ATDT to ATDP for pulse lines.

2.Fill the telephone number to the left in the words if the character string length of the dialling operation is an odd number of bytes.

0008 0011 4154 4454

3031 2D32 3334 3500

A T

D T

0 1 – 2 3 4 5 j

Character string length of dialling operation sent to modem (bytes) Code length of PMCR when it is used (words)

Password Verification

A password can be verified by executing sequence No. 552 of this protocol. It is required to set in advance the value of the password in the words specified by the second operand of PMCR.

Operand and Word Settings of PMCR

 

Operand 1

 

#x550 (x: Communications port)

 

 

 

 

 

 

 

 

 

Operand 2

 

First address of the words where the password is set

 

 

 

 

 

 

 

 

 

Operand 3

 

None

 

 

 

 

 

 

 

C+0

Number of words from address set for operand 2 to end of

 

4 digits BCD

 

 

data

 

 

 

 

 

 

 

 

 

C+1

Number of bytes of comparison data (normal value of

 

4 digits BCD

 

 

password)

 

 

 

 

 

 

 

 

C+2

Comparison value (password normal value)

 

ASCII

 

:

(Fill data to left for odd numbers of bytes)

 

 

 

C+n

 

 

 

 

 

 

 

 

 

 

 

 

Setting Example

 

 

 

 

 

When password is OMRON-CO.

 

 

 

 

 

0006

0008

4F4D

524F

4E2D

434F

 

 

 

 

 

 

 

 

O M

R O

N –

C O

Character string length of password sent to modem (bytes)

Code length of PMCR when it is used (words)

407

Page 410
Image 410
Omron CQM1H-SCB41 operation manual Password Verification, Setting Example