Toshiba user manual Resetting the AS311 by software, Operation Procedure

Models: AS311

1 66
Download 66 pages 63.98 Kb
Page 50
Image 50
5.5 Resetting the AS311 by software

5. Operation Procedure

5.5 Resetting the AS311 by software

AS311 can be reset by T3 program. Two types of resetting are available, cold reset and hot reset.

The cold reset is used to reset the AS311 error state. When the cold reset is executed, the AS311 will be initialized. The trailing code and the time-out check time are also reset to the default settings. This function is the same as pressing the hardware reset switch and power on initialization.

On the other hand, the hot reset is used to change the trailing code and/or the time-out check time.

For executing these functions, write the following data into the AS311’s buffer memory address 12 (Command 1). The data writing into this address must be one-shot.

Clod reset: H80FF

Hot reset: H80FE

The written data will be cleared to 0 by AS311 when the operation is completed.

A sample program for the cold reset is shown below. This sample program is for the AS311 that is allocated to XW000 - YW003.

In this sample program, the cold reset operation will be started by setting R0120 to ON.

(Main program)

(Subroutine No. 2)

(H80FF)

For the hot reset, refer to sections 5.6 and 5.7.

48 ASCII Interface Module (AS311)

Page 50
Image 50
Toshiba user manual Resetting the AS311 by software, Operation Procedure