When a program is started upon turning on a power, a capsule endoscope (CE) (11) is activated under a normal shooting mode and starts shooting images with light sources on. Using a remote controller (49) for mode change, a mode change command is emitted to the CE. The image data thus obtained is input to a mode changer. The mode changer analyzes the image data and switches to a setting change mode when the image data is recognized as the mode change command. A two-dimensional code is displayed on a monitor of a command production device. The two-dimensional code is shot with a CCD. The image data thus obtained is input to a setting changer. The setting changer rewrites an argument in a setting value table to an argument designated by the setting change command.