The program may include a discriminating function for discriminating types of communication interfaces through a control part provided in the slave device which controls the communication interfaces, a communicating function for communicating with the host device through the communication interface, an analyzing function for analyzing a command transmitted from the host device by utilizing a modul