摘要 |
PURPOSE:To continue a processing under execution after exchanging a battery bag by providing a contact at a knob for detaching the battery bag and executing an interruption processing by a CPU while operating this contact before power supply is disconnected by pulling the battery bag off. CONSTITUTION:A contact 3 is fitted to a knob 2 for detaching a battery bag 1 so as to be operated while being interlocked with the knob, and a capacitor 6 with large capacity is parallelly inserted to a power supply line parallelly with the battery bag 1. When the knob 2 for detaching is suddenly pushed for detaching the battery bag 1 while turning a power source on, the contact 3 is operated. This operation is detected by an interruption control circuit 5 and an NM 1 signal is generated to request the interruption processing with the highest priority order to a CPU 4. Then, the CPU 4 immediately stop the processing under execution. Thus, even when the battery bag 1 is suddenly pulled off, the processing under execution can be continued after the recovery, and stored data can be prevented from being destroyed or deleted. |