PROBLEM TO BE SOLVED: To surely store data in an external storage medium even when a power switch is turned off before data is completely transferred to the external storage medium.SOLUTION: A battery power source 28 is provided in a processor unit 12A together with an AC-DC power source 27. A power source monitoring and switching circuit 29 switching the power source of a sub CPU 26, an internal memory 19, and the external storage medium 24 between the AC-DC power source 27 and the battery power source 28 is provided. The power source monitoring and switching circuit 29 detects that the AC-DC power source 27 has been turned off and selects the battery power source 28 as a power source. Data temporarily stored in the internal memory 19 is transferred to the external storage medium 24 by driving the sub CPU 26 by electric power from the battery power source 28.COPYRIGHT: (C)2012,JPO&INPIT【課題】外部記録媒体へのデータの転送が完全に終了していない状態で電源スイッチが切られたときにも、外部記録媒体へのデータの保存を確実に行う。【解決手段】プロセッサ装置12AにAC-DC電源27とともにバッテリ電源28を設ける。副CPU26、内部メモリ19、外部記録媒体24の電源をAC-DC電源27とバッテリ電源28の間で切り替える電源監視切替回路29を設ける。電源監視切替回路29が、AC-DC電源27がオフされたことを検知して電源をバッテリ電源28に切り替える。バッテリ電源28からの電力で副CPU26を駆動して内部メモリ19に一時的に記憶されているデータを外部記録媒体24に転送する。【選択図】図1