Toshiba AS311 Command 1, CH1 receive error 16 and CH2 receive error, Register Configuration

Models: AS311

1 66
Download 66 pages 63.98 Kb
Page 34
Image 34
Command 1 (12)

4. Register Configuration

Command 1 (12)

The address 12 is used to reset the AS311 by T3 program.

Two types of reset commands are available, hot reset and cold reset.

The hot reset is used to change the trailing code and the time-out check time settings. The cold reset is used to initialize the AS311. The trailing code and the time-out check time will be reset to the default setting. The operation of the cold reset is the same as the hard reset switch and power on initialization.

Refer to sections 5.5, 5.6 and 5.7 for these functions.

12

F

E

D

C

B

A

9

8

7

6

5

4

3

2

1

0

RST

0

0

0

0

0

0

0

 

 

Command number

 

 

Bit F

RST (Reset)

1 = reset request

 

 

0 = normal (no reset request)

Bit 7-0

Command

HFE = hot reset

 

number

HFF = cold reset

CH1 receive error (16) and

CH2 receive error (80)

The address 16 (for channel 1) and the address 80 (for channel 2) indicate the error contents if an error has been detected in receiving a message. This information is set during the received message read sequence.

Refer to section 6.2.3 for details.

16 or 80

F

E

D

C

B

A

9

8

7

6

5

4

3

2

1

0

0

0

0

0

BRK

PE

FE

OE

 

 

Receive error code

 

 

 

Bit B

BRK (Break)

1

= break detected

 

 

 

 

0

= normal

 

 

Bit A

PE (Parity error)

1

= parity error

 

 

 

 

0

= normal

 

 

Bit 9

FE

1

= framing error

 

 

 

(Framing error)

0

= normal

 

 

Bit 8

OE

1

= overrun error

 

 

 

(Overrun error)

0

= normal

 

 

Bit 7-0

Receive error

Shows the error code regarding received message.

 

 

 

code

(H00 when normal)

 

 

 

 

See section 6.2.3 for details.

 

 

 

 

 

 

 

 

 

 

 

 

 

32 ASCII Interface Module (AS311)

Page 34
Image 34
Toshiba AS311 user manual Command 1, CH1 receive error 16 and CH2 receive error, Register Configuration