In Step S104, the image processing apparatus 10 determines, in the connection identifying portion 32, whether the supply voltage is equal to or less than the determination threshold during the test period, from a comparison result between the supply voltage in each expansion device 2 and the determination threshold. Here, when the supply voltage is equal to or less than the determination threshold (S104: Yes), the connection identifying portion 32 considers that a fluctuation that correlates with a fluctuation of the output power of the main body power supply portion 18 appears in the supply power of the expansion device 2, and identifies the connection destination of the expansion device 2 as the main body power supply portion 18 (S105). On the other hand, when the supply voltage is not equal to or not less than the determination threshold (S104: No), the connection identifying portion 32 considers that the fluctuation that correlates with the fluctuation of the output power of the main body power supply portion 18 does not appear in the supply power of the expansion device 2, and identifies that the connection destination of the expansion device 2 is the expansion power supply portion 19 (S106).
<Steps S107, 108>