A residual current protection device comprises: an arc guiding plate, which is configured to guiding an arc generated during contacts breaking to an arc extinguishing unit. A logic comparator determines whether more than half of the bits of a write data word require a program operation. The system includes a portable device. Time data output from the timepiece when an image is captured is added as image capturing time data to image data obtained by capturing the image.