— 28 —
4-15. Watchdog Function
The QT-7300 features a system protective device, watchdog timer which can generate a CPU reset when the
system comes to a halt or failure. This function is to ensure the system's reliability during unattended operation.
The trigger sources for the watchdog contain both temperature over range and system failure. The system failure
may be caused by thunder, power glitch, radio interference, software bug or whatever reason.
To activate the watchdog timer, some program code similar to the following code has to be written to the system
running loops:
:
Loop:
read (0x121)
; enable and trigger WDT
:
; interval time between triggers
if (END) GOTO END
; must be smaller than time-out
GOTO Loop
; period
END:
read (0x120)
; disable WDT
:
The time-out period ranges from 0.5 to 1000 seconds. If special settings for temperature or time-out are needed,
please refer to the utility diskette.
4-15-1. How to Use Watchdog Function
The user can read I/O Port 121H to enable Watchdog or disable it by reading I/O Port 120H.
Reset Watchdog
- Read I/O Port 121H
Time_A
- Read I/O Port 121H
Time_B
- Read I/O Port 121H
Disable Watchdog - Read I/O Port 120H
** Time_B_Time_A < Time_Out Setting **
In system Run_Time, you must still have to read I/O Port 121H to reset the Watchdog timer.
If the system fails, the TSR should be stopped and Watchdog reset action will be activated.
Содержание QT-7300 Series
Страница 1: ...SERVICE MANUAL ELECTRONIC CASH REGISTER without price QT 7300 EX 963 MAY 2001 ...
Страница 11: ... 9 11 Release the 9 screws of the Mother board Then remove the Mother board 1 2 3 4 5 6 7 8 9 ...
Страница 46: ... 44 All dots off All dots on A vertical line moves from right to left 1 2 3 4 5 6 7 8 1 1 1 1 1 1 1 1 ...
Страница 84: ... 82 10 DRAWER DL 2773 M Type ...
Страница 86: ... 84 DL 2915 M Type ...
Страница 88: ... 86 DL 3615 L Type ...
Страница 90: ... 88 11 DRAWING ...