Register configuration – Toshiba AS311 User Manual

Page 34

Advertising
background image

32

ASCII Interface Module (AS311)

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.

F E D C B A 9 8 7 6 5 4 3 2 1 0

12

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
number

HFE = hot reset
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.

F E D C B A 9 8 7 6 5 4 3 2 1 0

16 or 80

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
(Framing error)

1 = framing error
0 = normal

Bit 8

OE
(Overrun error)

1 = overrun error
0 = normal

Bit 7-0

Receive error
code

Shows the error code regarding received message.
(H00 when normal)
See section 6.2.3 for details.

Advertising