Communication method of an electronic apparatus

Abstract
Controlling each of a plurality of serially connected electronic apparatuses without increasing the number of signal lines is provided. In an electronic apparatus, from among a plurality of electronic apparatuses serially connected to a computer, a control command signal and first and second control signals can be transmitted/received, and the transmission/reception of the control command signal is integrally controlled. The electronic apparatus provides the first control signal. The provided first control signal is output to an electronic apparatus to be connected at an immediately preceding stage of connection via a second input/output unit to be connected to that electronic apparatus. It is then determined whether or not the second control signal has been input in response to the output of the first control signal. When it has been determined that the second control signal has not been input, the computer is notified that the concerned electronic apparatus is at a last stage of connection via a first input/output unit to be connected to an electronic apparatus provided at an immediately preceding stage of connection.
Description


BACKGROUND OF THE INVENTION

[0001] 1. Field of the Invention


[0002] The present invention relates to a communication method of an electronic apparatus in which communication is performed by integrally controlling a plurality of apparatuses, such as cameras or the like.


[0003] 2. Description of the Related Art


[0004] A technique of controlling electronic apparatuses, such as cameras or the like, from a personal computer (PC) using standards, such as RS-232C or the like, has been known. When using the RS-232C standards, it is impossible to control a plurality of electronic apparatuses unless a plurality of connectors are provided at a PC. In order to solve such a problem, there is a conventional method of performing communication by serially connecting a plurality of electronic apparatuses. However, in this conventional method of performing communication by serially connecting electronic apparatuses, it is necessary to provide at each of the electronic apparatuses a terminal for determining whether or not other electronic apparatuses are connected at the following stage, in addition to signal lines for transmitting/receiving control signals for the electronic apparatus.



SUMMARY OF THE INVENTION

[0005] It is an object of the present invention to provide a method for controlling an electronic apparatus in which a plurality of electronic apparatuses can be controlled while serially connecting them, without increasing the number of signal lines.


[0006] According to one aspect, the present invention is an electronic apparatus, among a plurality of serially connected electronic apparatuses, which can communicate a control command signal and first and second control signals. The electronic apparatus includes a first connection unit, having an input terminal for inputting the first control signal and an output terminal for outputting the second control signal, which is connected to an electronic apparatus provided at an immediately preceding stage of connection. A second connection unit has an output terminal for outputting the first control signal and an input terminal for inputting the second control signal, which is connected to an electronic apparatus provided at an immediately succeeding stage of connection. A processing unit has a first input terminal connected to the input terminal of the first connection unit, a second input terminal connected to the input terminal of the second connection unit, and a change-over switch for switching connection of the output terminal of the first connection unit to one of the output terminal of the processing unit and the input terminal of the second connection unit. The processing unit provides the first control signal, outputs the provided first control signal from the output terminal, determines whether or not the second control signal has been input from the second input terminal in response to the output of the first control signal, and controls the change-over switch in accordance with the determination.


[0007] According to another aspect, the present invention is an electronic apparatus, among a plurality of electronic apparatuses serially connected to a computer, which can communicate a control command signal and first and second control signals. The electronic apparatus includes a first communication unit for communicating the control command signal and the first and second control signals with an electronic apparatus provided at an immediately preceding stage of connection, a second communication unit for communicating the control command signal and the first and second control signals with an electronic apparatus provided at an immediately succeeding stage of connection. A processing unit provides the first control signal, outputs the provided first control signal to an electronic apparatus to be connected at an immediately succeeding stage of connection via the second communication unit, determines whether or not the second control signal has been input in response to the output of the first control signal, and notifies, when it has been determined that the second control signal has not been input, the computer of the fact that the concerned electronic apparatus is connected at a last stage of connection via the first communication unit.


[0008] According to still another aspect, the present invention is a computer terminal which serially connects a plurality of electronic apparatuses and which can integrally control the plurality of electronic apparatuses by communicating a control command signal and a predetermined control signal with each of the plurality of electronic apparatuses. The computer terminal includes a communication unit for communicating the control command signal and the predetermined control signal with each of the plurality of electronic apparatuses, and a processing unit for outputting the predetermined control signal to which an ID address of a computer is added, detecting whether or not a response command corresponding to the output predetermined control signal has been input, recognizing, when it has been detected that the response command has been input, a connection state of the concerned electronic apparatus based on the input response command, and providing the concerned electronic apparatus with a control command based on the recognition.


[0009] According to yet another aspect, the present invention is a communication method of an electronic apparatus, from among a plurality of electronic apparatuses serially connected to a computer, which can communicate a control command signal and first and second control signals. The method includes the steps of newly providing the first control signal in accordance with input of the first control signal output from the computer or an electronic apparatus provided at an immediately preceding stage of connection, outputting the provided first control signal to an electronic apparatus to be connected at an immediately succeeding stage of connection, determining whether or not the second control signal has been input in response to the first control signal output to the electronic apparatus to be connected to the immediately succeeding stage of connection, and notifying, when the second control signal has not been input, the computer of the fact that the concerned electronic apparatus is at a last stage of connection.


[0010] According to yet a further aspect, the present invention is an operation process of a computer terminal which serially connects a plurality of electronic apparatuses and which can integrally control the plurality of electronic apparatuses by communicating a control command signal and a predetermined control signal with each of the plurality of electronic apparatuses. The process includes a communication step of communicating the control command signal and the predetermined control signal with each of the plurality of electronic apparatuses, and a processing step of outputting the predetermined control signal to which an ID address of a computer is added, detecting whether or not a response command corresponding to the output predetermined control signal has been input, recognizing, when it has been detected that the response command has been input, a connection state of a concerned electronic apparatus based on the input response command, and providing the concerned electronic apparatus with a control command based on the recognition.


[0011] According to still another aspect, the present invention is a storage medium storing communication modules of an electronic apparatus, from among a plurality of electronic apparatuses serially connected to a computer, which can communicate a control command signal and first and second control signals. The modules include a module of newly providing the first control signal in accordance with input of the first control signal output from the computer or an electronic apparatus provided at an immediately preceding stage of connection, a module of outputting the provided first control signal to an electronic apparatus to be connected at an immediately succeeding stage of connection, a module of determining whether or not the second control signal has been input in response to the first control signal output to the electronic apparatus to be connected at the immediately succeeding stage of connection, and a module of notifying, when the second control signal has not been input, the computer of the fact that the electronic apparatus is at a last stage of connection.


[0012] The foregoing and other objects, advantages and features of the present invention will become more apparent from the following description of the preferred embodiment taken in conjunction with the accompanying drawings.







BRIEF DESCRIPTION OF THE DRAWINGS

[0013]
FIG. 1 is a diagram illustrating the configuration of connection of electronic apparatuses according to an embodiment of the present invention;


[0014]
FIG. 2 illustrates examples of commands to be transmitted and received between the electronic apparatuses in the embodiment;


[0015]
FIGS. 3 and 4 are diagrams, each illustrating a control method in the configuration of connection of the electronic apparatuses in the embodiment;


[0016]
FIG. 5 is a diagram illustrating an example of transmission and reception of a cascade connection command in the configuration of connection of the electronic apparatuses in the embodiment;


[0017]
FIGS. 6 and 7 are diagrams, each illustrating an example of transmission and reception of a control command in the configuration of connection of the electronic apparatuses in the embodiment;


[0018]
FIG. 8 is a flowchart illustrating an operation process in an electronic apparatus in the embodiment; and


[0019]
FIG. 9 is a flowchart illustrating an operation process in a host PC in the embodiment.







DESCRIPTION OF THE PREFERRED EMBODIMENT

[0020] A preferred embodiment of the present invention will now be described with reference to the drawings.


[0021]
FIG. 1 is a diagram illustrating a system for controlling serially connected electronic apparatuses via RS-232C ports from a host PC 40. In this embodiment, a case of using cameras, whose pan and tilt can be controlled, as the electronic apparatuses will be described.


[0022] In FIG. 1, pan and tilt of each of cameras 50, 60 and 70 can be controlled. The host PC 40 comprises, for example, a personal computer, and outputs a control command and a cascade connection command (to be described below) to the directly connected camera 50. A cable 10 is for exchanging commands between the host PC 40 and the camera 50. A cable 20 is for exchanging commands between the camera 50 and the camera 60. A cable 30 is for exchanging commands between the camera 60 and the camera 70.


[0023] Each of the cameras 50, 60 and 70 has a first input/output terminal 3 and a second input/output terminal 5, each for inputting and outputting a control command and a cascade control command. The first input/output terminal 3 has an output port 3a and an input port 3b. The second input/output port 5 has an output port 5a and an input port 5b. Each of the cameras 50, 60 and 70 also has a CPU (central processing unit) 9 including a buffer memory (not shown). The CPU 9 has ports (terminals) 9a-9d for exchanging commands with the first input/output terminal 3 and the second input/output terminal 5. Each of the cameras 50, 60 and 70 further has a switch 11 for performing switching based on a signal from the port 9c.


[0024] The host PC 40 has an input/output terminal 4 for inputting and outputting a control command and a cascade connection command. The input/output terminal 4 has an output port 4a and an input port 4b.


[0025]
FIG. 8 is a flowchart illustrating an operation process of the CPU 9 when a cascade connection command for recognizing a connection state of each of the cameras serially connected via the RS-232C ports by the host PC 40 has been input in the concerned camera (any of the cameras 50, 60 and 70). The cascade connection command is for causing the connected camera to set an ID and to recognize the set camera ID by the host PC 40.


[0026] In step S101, it is determined whether or not a cascade connection command has been received via the ports 3b and 9b. If the result of the determination in step S101 is affirmative, the process proceeds to step S102.


[0027] In step S102, the received cascade connection command is confirmed, and “the ID number of the transmitter's apparatus (a camera or the host PC 40)+1” is set as the ID number of the concerned camera, and is stored in the buffer memory.


[0028] In step S103, it is determined whether or not the switch 11 is switched so that the ports 3a and 9a are connected. If the result of the determination in step S103 is affirmative, the process proceeds to step S105. If the result of the determination in step S103 is negative, the process proceeds to step S104, where the switch 11 is switched to connect the ports 3a and 9a by outputting a control signal from the port 9c.


[0029] Then, in step S105, an Ack command is output from the port 3a to the apparatus of the transmitter of the cascade connection command via the port 9a. As shown in FIG. 2, the Ack command is configured in the form of a packet including a header, the ID number of the transmitter's apparatus, the ID number of the transmission destination's apparatus, status information, serving as information relating to the transmitter's apparatus, and a terminator.


[0030] After outputting the Ack command, then, in step S106, by outputting a control signal from the port 9c, switch 11 is switched to connect the ports 3a and 5b. Then, in step S107, a cascade connection command consisting of transmitter's apparatus ID number “xx” cascade “ON” is output from the output port 5a via the port 9a. Then, the process proceeds to step S108, where the switch 11 is switched by outputting a control signal from the port 9c after outputting the cascade connection command, to connect the output port 3a and the port 9a.


[0031] Then, in step S109, it is determined whether or not an Ack command including the transmitter's apparatus ID number equal to the concerned camera's ID number +1 has been input from the port 9d via the port 5b. If the result of the determination in step S109 is affirmative, the process proceeds to step S110, where the switch 11 is switched by outputting a control signal from the port 9c to connect the output port 3a and the input port 5b, and the process is then terminated. If the result of the determination in step S109 is negative, the process proceeds to step S111, where it is determined whether or not a predetermined time period has elapsed. If the result of the determination in step S111 is negative, the process returns to step S109, where input of an Ack command is awaited. When an Ack command is not input even after the lapse of the predetermined time period, then, it is determined that the concerned camera is at the last stage of connection, and the process proceeds to step S112. In step S112, information indicating that the concerned camera is at the last stage of connection is added to status information, and an Ack signal is output to the host PC 40.


[0032]
FIG. 9 is a flowchart illustrating the operation process of the host PC 40 when outputting a cascade connection command for recognizing the state of connection of a camera by the host PC 40.


[0033] First, in step S201, a cascade connection command consisting of transmitter's apparatus ID number “00” cascade “ON” is output. Then, the process proceeds to step S202, where it is determined whether or not an Ack signal from the camera at the last stage of connection has been received. If the result of the determination in step S202 is affirmative, the ID number and status information of the concerned camera are acquired, and the process is then terminated. If the result of the determination in step S202 is negative, the process proceeds to step S203, where it is determined whether or not a predetermined time period has elapsed after outputting the cascade connection command. If the result of the determination in step S203 is negative, the process returns to step S202. If the result of the determination in step S203 is affirmative, the host PC 40 outputs an error message, and the process is then terminated.


[0034] By outputting a cascade connection command in the above-described manner when controlling a camera, the host PC 40 can know the state of connection of the camera. Furthermore, since it is possible to appropriately switch connection of internal terminals of each camera in advance, the number of signal lines connecting the cameras can be minimized.


[0035] The operation process when a cascade connection signal is output from the host PC 40 in the configuration of connection of electronic apparatuses shown in FIG. 1 will now be described in more detail with reference to FIGS. 3-5.


[0036] First, in the state shown in FIG. 3, an initialization process is performed when the power supply of each of the cameras 50, 60 and 70 is turned on, whereby the ID number of each of the cameras 50, 60 and 70 is cleared, and the switch 11 is switched so as to connect the output port 3a and the port 9a in advance. Then, a cascade connection command consisting of the transmitter's apparatus ID number “00” cascade “ON” is output from the output port 4a of the host PC 40 to the directly connected camera 50.


[0037] In the camera 50, when the above-described cascade connection command has been input, the ID number of the camera 50 is set to 0+1=1, i.e., to “01”, and is stored in the buffer memory (In FIGS. 3 and 5, the camera 50 is directly connected to the host PC 40, and although an Ack command is not output to the host PC 40 because the camera 50 is not at the last stage of connection, an Ack command may be output to the host PC 40 by adding the set ID number). By outputting a control command from the output port 9c after outputting the Ack command, the output ports 3a and 5a are connected by switching the switch 11. Then, a cascade connection command consisting of the transmitter's ID number “01” cascade “ON” is output from the output port 5a to the camera 60 via the port 9a. Then, by outputting a control signal from the output port 9c to the camera 60, the output port 3a and the port 9a are connected by switching the switch 11. When an Ack command is thereafter input from the camera 60, the operation process in the camera 50 is terminated.


[0038] Then, in the camera 60, when the cascade connection command output from the camera 50 has been input, the ID number of the camera 60 is set to 1+1=2, i.e., to “02”, and is stored in the buffer memory. Then, an Ack command is output to the camera 60 by adding the set ID number. By outputting a control command from the output port 9c after outputting the Ack command, the output ports 3a and 5a are connected by switching the switch 11. Then, a cascade connection command consisting of the transmitter's ID number “02” cascade “ON” is output from the output port 5a to the camera 70 via the port 9a. Then, by outputting a control signal from the output port 9c, the output port 3a and the port 9a are connected by switching the switch 11. When an Ack command is thereafter input from the camera 70, the operation process in the camera 60 is terminated.


[0039] Then, in the camera 70, when the cascade connection command output from the camera 60 has been input, the ID number of the camera 70 is set to 2+1=3, i.e., to “03”, and is stored in the buffer memory. Then, an Ack command is output to the camera 60 by adding the set ID number. By outputting a control command from the output port 9c after outputting the Ack command, the output ports 3a and 5a are connected by switching the switch 11. Then, a cascade connection command consisting of the transmitter's ID number “03” cascade “ON” is output from the output port 5a via the port 9a. As shown in FIG. 4, since the camera 70 is at the last stage of connection, an Ack command is, of course, not input. After the lapse of a predetermined time period (for example, 1 second), the camera 70 confirms that an Ack command has not been input, and outputs an Ack signal to the host PC 40 by adding information that the camera 70 is at the last stage of connection to status information. The host PC 40 receives an Ack signal consisting of ID “03” output from the camera 70 within a maximum of 5 seconds after transmitting a cascade connection command, and therefore knows that three cameras are connected.


[0040] After knowing the number of cameras connected to the host PC 40 in the above-described manner, the host PC 40 can execute control of the connected cameras according to processing to be described below. Although in the foregoing description, a cascade connection command is output when starting the connection system, a cascade connection command may be periodically output from the host PC 40. According to such processing, the current connection state can be exactly known even if the state of connection of the cameras has changed.


[0041] A description will now be provided with reference to FIG. 6 of the operation process when outputting a control command for the connected camera after the host PC 40 has recognized the state of connection of cameras by outputting a cascade connection command. FIG. 6 illustrates the operation process when the host PC 40 has transmitted a control command to the camera 60.


[0042] When outputting a control command from the host PC 40 to the connected camera, since a cascade connection command has already been output, the switch 11 of each camera has already been switched as shown in FIG. 4 so as to be able to deal with a case in which a control command is input. That is, the switch 11 is switched so as to connect the output port 3a and the port 9a of only the camera 70 at the last stage of connection, and the switch is switched so as to connect the output port 3a and the input port 5b in the cameras 50 and 60 to each of which apparatuses are preset at the immediately preceding stage and at the immediately succeeding stage of connection.


[0043] First, a control command is output from the host PC 40 to the camera 50. As shown in FIG. 2, the control command has the configuration of a packet including a header, the ID number of the transmission destination's apparatus (in the case of FIG. 6, “02” since the control command is for the camera 60), commands (such as pan and tilt commands), parameters (the amounts of driving for the commands), and a terminator.


[0044] In the camera 50, when the control command has been input to the port 9b via the input port 3b, the CPU 9 of the camera 50 confirms the ID number of the destination of transmission of the input control command. Since the ID number of the camera 50 is “01”, it is determined that the control command is not for the camera 50, and the control command is transferred to the camera 60.


[0045] In the camera 60, when the control command is input to the port 9b via the input port 3b, the CPU 9 of the camera 60 confirms the ID number of the destination of transmission of the input control command. Since the ID number of the camera 60 is “02”, it is determined that the control command is for the camera 60, and the camera 60 is controlled based on the control command. Upon completion of the camera control, an Ack command in which the ID number of the transmission destination (the ID number “00” of the host PC 40) and the ID number of the transmitter (the ID number “02” of the camera 60) are added is output from the output port 5a via the port 9a.


[0046] In the camera 70, when the Ack command has been input to the port 9a via the input port 3b, the CPU 9 of the camera 70 confirms the ID number of the destination of transmission of the input Ack command. Since the ID number of the camera 50 is “01”, it is determined that the control command is not for the camera 50, and the Ack command is transferred to the camera 60. The host PC 40 receives the Ack command from the input port 4b, confirms that the control has been performed, and terminates the operation.


[0047] In the case of FIG. 6, command processing when a control command for the camera 60 is output from the host PC 40 has been described. The same processing may be executed by writing the ID number of the camera 50 or 70 in the ID number of the transmission destination in a control command and an Ack command.


[0048] Next, a description will be provided of the operation process when outputting a control command by setting the ID number of the transmission destination's apparatus to “00”, with reference to FIG. 7.


[0049] When the control command in which the ID number of the transmission destination's apparatus is set to “00” is output from the host PC 40, each of the cameras 50, 60 and 70 recognizes the ID number “00”, and executes control based on the control command. Upon completion of execution of control of the camera 70 provided at the last stage of connection, an Ack command is output from the camera 70 to the host PC 40, and the process is terminated.


[0050] That is, when outputting a control command in which the ID number of the transmission destination's apparatus is set to “00”, control based on the control command is executed in all connected electronic apparatuses.


[0051] Although in the above-described embodiment, the input/output terminals 3 and 5 and the CPU 9 are provided in each of the cameras 50, 60 and 70, the input/output terminals 3 and 5 and the CPU 9 may constitute a connection apparatus separate from the cameras 50, 60 and 70.


[0052] As described above, according to the foregoing embodiment, it is possible to control the serially connected cameras from the host PC 40, using a minimum necessary number of signal lines. For example, the objects of the present invention may be achieved by supplying a system or an apparatus with a program of software for realizing the functions of the above-described embodiment, and reading and executing program codes stored in a storage medium by means of a computer (or a CPU or an MPU (microprocessor unit)) of the system or the apparatus via a network, such as the Internet or the like. In such a case, the program codes themselves read from the storage medium realize the functions of the above-described embodiment, so that the storage medium storing the program codes constitutes the present invention. For example, a floppy disk, a hard disk, an optical disk, a magnetooptical disk, a CD(compact disc)-ROM (read-only memory), a CD-R (recordable), a magnetic tape, a nonvolatile memory card, a ROM or the like may be used as the storage medium for supplying the program codes.


[0053] The present invention may also be applied not only to a case in which the functions of the above-described embodiment are realized by executing program codes read by a computer, but also to a case in which an OS (operating system) or the like operating in a computer executes a part or the entirety of actual processing, and the functions of the above-described embodiment are realized by the processing.


[0054] The present invention may also be applied to a case in which, after writing program codes read from a storage medium into a memory provided in a function expanding board inserted into a computer or in a function expanding unit connected to the computer, a CPU or the like provided in the function expanding board or the function expanding unit performs a part or the entirety of actual processing based on instructions of the program codes, and the functions of the above-described embodiment are realized by the processing.


[0055] When applying the above-described embodiment to the storage medium, program codes corresponding to the above-described flowcharts are stored in the storage medium. Briefly speaking, modules indispensable in the electronic apparatus connection system of the embodiment are stored in the storage medium.


[0056] As described above, according to the present invention, it is possible to integrally execute control of a plurality of serially connected electronic apparatuses using a minimum number of signal lines.


[0057] The individual components shown in outline or designated by blocks in the drawings are all well known in the electronic-apparatus communication method arts and their specific construction and operation are not critical to the operation or the best mode for carrying out the invention.


[0058] While the present invention has been described with respect to what is presently considered to be the preferred embodiment, it is to be understood that the invention is not limited to the disclosed embodiment. To the contrary, the present invention is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims. The scope of the following claims is to be accorded the broadest interpretation so as to encompass all such modifications and equivalent structures and functions.


Claims
  • 1. An electronic apparatus, from among a plurality of serially connected electronic apparatuses, which can communicate a control command signal and first and second control signals, said electronic apparatus comprising: a first connection unit, having an input terminal for inputting the first control signal and an output terminal for outputting the second control signal, which is connected to an electronic apparatus from among the plurality of serially connected electronic apparatuses provided at a preceding stage of connection; a second connection unit, having an output terminal for outputting the first control signal and an input terminal for inputting the second control signal, which is connected to an electronic apparatus from among the plurality of serially connected electronic apparatuses provided at a succeeding stage of connection; a processing unit having a first input terminal connected to the input terminal of said first connection unit, a second input terminal connected to the input terminal of said second connection unit, and an output terminal connected to the output terminal of said second connection unit; and a change-over switch for switching a connection of the output terminal of said first connection unit to one of the output terminal of said processing unit and the input terminal of said second connection unit, wherein said processing unit provides the first control signal, outputs the provided first control signal from the output terminal of the processing unit, determines whether or not the second control signal has been input to the processing unit from the second input terminal of the processing unit in response to the output of the first control signal, and controls said change-over switch in accordance with the determination.
  • 2. An electronic apparatus according to claim 1, wherein said processing unit newly provides the first control signal in accordance with input of the first control signal from the electronic apparatus provided at the immediately preceding stage of connection to the first input terminal.
  • 3. An electronic apparatus according to claim 1, wherein, when starting said electronic apparatus, the first control signal is input from the electronic apparatus provided at the immediately preceding stage of connection.
  • 4. An electronic apparatus according to claim 2, wherein said processing unit sets an ID number of said electronic apparatus based on an ID number of the first control signal input from the electronic apparatus provided at the immediately preceding stage of connection.
  • 5. An electronic apparatus according to claim 4, wherein said processing unit sets a number obtained by adding one to the ID number of the first control signal input from the electronic apparatus provided at the immediately preceding stage of connection as an ID number of said electronic apparatus.
  • 6. An electronic apparatus according to claim 4, wherein said processing unit provides the first control signal by setting the set ID number of said electronic apparatus as an ID number of a transmitter.
  • 7. An electronic apparatus according to claim 1, wherein said processing unit controls said change-over switch so as to connect the output terminal of said first connection unit to the output terminal of said processing unit when the second control signal has not been input from the second input terminal within a predetermined time period, and connects the output terminal of said first connection unit to the input terminal of said second connection unit when the second control signal has been input.
  • 8. An electronic apparatus, from among a plurality of electronic apparatuses serially connected to a computer, which can communicate a control command signal and first and second control signals, said electronic apparatus comprising: a first communication unit for communicating the control command signal and the first and second control signals with an electronic apparatus of the plurality of electronic apparatuses provided at a preceding stage of connection; a second communication unit for communicating the control command signal and the first and second control signals with an electronic apparatus of the plurality of electronic apparatuses provided at a succeeding stage of connection; and a processing unit for providing the first control signal, outputting the provided first control signal to an electronic apparatus to be connected at an immediately succeeding stage of connection via said second communication unit, determining whether or not the second control signal has been input in response to the output of the first control signal, and notifying, when it has been determined that the second control signal has not been input, the computer that said electronic apparatus is connected at a last stage of connection via said first communication unit.
  • 9. An electronic apparatus according to claim 8, wherein said processing unit newly provides the first control signal in accordance with input of the first control signal from the electronic apparatus provided at the immediately preceding stage of connection via said first communication unit.
  • 10. An electronic apparatus according to claim 8, wherein, when said electronic apparatus has started, provision of the first control signal is started from the computer.
  • 11. An electronic apparatus according to claim 8, wherein provision of the first control signal is started from the computer at a predetermined period.
  • 12. An electronic apparatus according to claim 9, wherein said processing unit sets an ID number of said electronic apparatus based on an ID number of the first control signal input from the electronic apparatus provided at the immediately preceding stage of connection.
  • 13. An electronic apparatus according to claim 12, wherein said processing unit sets a number obtained by adding one to the ID number of the first control signal input from the electronic apparatus provided at the immediately preceding stage of connection as an ID number of said electronic apparatus.
  • 14. An electronic apparatus according to claim 12, wherein, when the control command has been input from said first communication unit, said processing unit determines whether or not control based on the control command is to be executed by discriminating an ID address of a destination of transmission of the control command.
  • 15. An electronic apparatus according to claim 14, wherein, when the ID address of the destination of transmission of the control command coincides with the ID address of said electronic apparatus, said processing unit executes the control based on the control command.
  • 16. An electronic apparatus according to claim 14, wherein, when the ID address of the destination of transmission of the control command is a predetermined ID address, said processing unit executes control based on the control command.
  • 17. An electronic apparatus according to claim 8, wherein, when notifying the computer that said electronic apparatus is connected at a last stage of connection, via said first communication unit, said processing unit performs notification by adding a preset ID number of said electronic apparatus.
  • 18. A computer terminal which serially connects a plurality of electronic apparatuses and which can integrally control the plurality of electronic apparatuses by communicating a control command signal and a predetermined control signal with each of the plurality of electronic apparatuses, said computer terminal comprising: a communication unit for communicating the control command signal and the predetermined control signal with each of the plurality of electronic apparatuses; and a processing unit for (a) outputting the predetermined control signal to which an ID address of a computer is added, (b) detecting whether or not a response command corresponding to the output predetermined control signal has been input, (c) recognizing, when it has been detected that the response command has been input, a connection state of a concerned electronic apparatus based on the input response command, and (d) providing the concerned electronic apparatus with a control command based on the recognition.
  • 19. A computer terminal according to claim 18, wherein said processing unit recognizes the connection state of the electronic apparatus based on an ID address of a destination of transmission added to the input response command.
  • 20. A computer terminal according to claim 18, wherein said processing unit outputs the predetermined control signal when starting the electronic apparatus.
  • 21. A computer terminal according to claim 18, wherein said processing unit outputs the predetermined control signal at a predetermined period.
  • 22. A computer terminal according to claim 18, wherein said processing unit outputs an error signal when the response command has not been input within a predetermined time period.
  • 23. A communication method of an electronic apparatus, from among a plurality of electronic apparatuses serially connected to a computer, which can communicate a control command signal and first and second control signals, said method comprising the steps of: newly providing the first control signal in accordance with input of the first control signal output from the computer or an electronic apparatus of the plurality of electronic apparatuses provided at a preceding stage of connection; outputting the provided first control signal to an electronic apparatus of the plurality of electronic apparatuses to be connected at a succeeding stage of connection; determining whether or not the second control signal has been input in response to the first control signal output to the electronic apparatus to be connected to the immediately succeeding stage of connection; and notifying, when the second control signal has not been input, the computer that a concerned electronic apparatus is at a last stage of connection.
  • 24. A communication method according to claim 23, further comprising the step of setting an ID address of the concerned electronic apparatus based on an ID address of the first control signal output from the computer or the electronic apparatus provided at the immediately preceding stage of connection.
  • 25. A communication method according to claim 24, wherein in said determining step, when the second control signal has not been input, the computer is caused to recognize that the concerned electronic apparatus is at the last stage of connection by notifying the computer of the ID address of the concerned electronic apparatus.
  • 26. An operation process of a computer terminal which serially connects a plurality of electronic apparatuses and which can integrally control the plurality of electronic apparatuses by communicating a control command signal and a predetermined control signal with each of the plurality of electronic apparatuses, said process comprising: a communication step of communicating the control command signal and the predetermined control signal with each of the plurality of electronic apparatuses; and a processing step of (a) outputting the predetermined control signal to which an ID address of a computer is added, (b) detecting whether or not a response command corresponding to the output predetermined control signal has been input, (c) recognizing, when it has been detected that the response command has been input, a connection state of a concerned electronic apparatus based on the input response command, and (d) providing the concerned electronic apparatus with a control command based on the recognition.
  • 27. An operation process according to claim 26, wherein in said processing step, the connection state of the electronic apparatus is recognized based on an ID address of a destination of transmission added to the input response command.
  • 28. An operation process according to claim 26, wherein in said processing step, the predetermined control signal is output when starting the electronic apparatus.
  • 29. An operation process according to claim 26, wherein in said processing step, the predetermined control signal is output at a predetermined period.
  • 30. An operation process according to claim 26, wherein in said processing step, an error signal is output when the response command has not been input within a predetermined time period.
  • 31. A storage medium storing communication modules of an electronic apparatus, from among a plurality of electronic apparatuses serially connected to a computer, which can communicate a control command signal and first and second control signals, said modules comprising: a module of newly providing the first control signal in accordance with input of the first control signal output from the computer or an electronic apparatus of the plurality of electronic apparatuses provided at a preceding stage of connection; a module of outputting the provided first control signal to an electronic apparatus of the plurality of electronic apparatuses to be connected at a succeeding stage of connection; a module of determining whether or not the second control signal has been input in response to the first control signal output to the electronic apparatus to be connected at the immediately succeeding stage of connection; and a module of notifying, when the second control signal has not been input, the computer that a concerned electronic apparatus is at a last stage of connection.
  • 32. A storage medium according to claim 31, said modules further comprising a module of setting an ID address of the concerned electronic apparatus based on an ID address of the first control signal output from the computer or the electronic apparatus provided at the immediately preceding stage of connection.
  • 33. A storage medium according to claim 31, wherein in said determining step, when the second control signal has not been input, the computer is caused to recognize that the concerned electronic apparatus is at the last stage of connection by notifying the computer of an ID address of the concerned electronic apparatus.
Priority Claims (1)
Number Date Country Kind
222193/2000 Jul 2000 JP