Field of the Invention
The present invention relates to a motor control transferring system, host controller, motor control device, and a motor control program transferring method.
Description of Background Art
JP 2001-159933 A describes a method and a device for initializing sub-control devices connected to a downstream of a main control device. In JP 2001-159933 A, the main control device repeats a process of interrupting the voltage supply to all other sub-control devices substantially at the same time as maintenance of the voltage supply to the sub-control device to be initialized among the sub-control devices connected to the main control device, and a process of transmitting an initialization signal to the sub-control device to be initialized, as necessary. The entire contents of this publication are incorporated herein by reference.
According to one aspect of the present invention, a motor control program transferring system includes: an upper control device including a memory storing one or more motor control programs that are respectively executable on one or more motor control devices, and circuitry which performs one or more assigning operations that respectively assign unique identification information to the one or more motor control devices, the one or more motor control devices each having initially designated identification information, and transfer the one or more motor control programs to the respective one or more motor control devices to which the respective unique identification information has been assigned; the one or more motor control devices which communicates with the upper control device, the one or more motor control devices each including a volatile memory storing the respective motor control program, and a storage retaining identification information that identifies the respective motor control device in a rewritable manner including initially retaining the respective initially designated identification information; and switching circuitry which enables communication between a first one of the one or more motor control devices and the upper control device at least during an initial state and switch on communication between a second one of the one or more motor control devices and the upper control device after a respective unique identification information is assigned to the first one of the one or more motor control devices.
According to another aspect of the present invention, an upper controller for communicating with one or more motor control devices includes a memory storing one or more motor control programs that are respectively executable on the one or more motor control devices, and circuitry which performs one or more assigning operations that respectively assign unique identification information to the one or more motor control devices, the one or more motor control devices each having initially designated identification information, and transfers the one or more motor control programs to the respective one or more motor control devices to which the respective unique identification information have been assigned.
According to yet another aspect of the present invention, a motor control device for communicating with an upper control device includes a volatile memory storing a motor control program, and a storage retaining identification information that identifies the motor control device in a rewritable manner and including initially retaining initially designated identification information.
According to still another aspect of the present invention, a motor control program transferring method includes performing an operation of assigning unique identification information to one or more motor control devices each having initially designated identification information, switching on communication for remaining ones of the one or more motor control devices after the assigning of the respective unique identification information to each of the remaining one of the one or more motor control devices, a first one of the one or motor control devices having communication initially enabled, and transferring one or more motor control programs to the respective one or more motor control devices to which the respective unique identification information has been assigned.
A more complete appreciation of the invention and many of the attendant advantages thereof will be readily obtained as the same becomes better understood by reference to the following detailed description when considered in connection with the accompanying drawings, wherein:
The embodiments will now be described with reference to the accompanying drawings, wherein like reference numerals designate corresponding or identical elements throughout the various drawings.
The motor control program transferring system 1 has an upper controller 2, one or more, usually, multiple motor control devices 3 coupled to the upper controller 2 via an information communication line 5 in an information-communicable manner, and an information communication switching unit 4. Here, a case where four motor control devices (3a to 3d) are connected to the upper controller 2 is illustrated as an example.
The upper controller 2 controls the operation of the entire system including the motor controlled by the motor control device 3, and transmits an operation command to each of the motor control devices 3 at a predetermined timing or receives an error signal and other state signals from the motor control devices 3. The upper controller 2 includes a processor 20, and the function of the upper controller 2 is achieved by executing the software through the processor 20. The processor 20 may be a general computer including a central processing unit (CPU) and a memory, and arbitrary information processing apparatus such as a micro control unit or a field programmable gate array (FPGA).
Further, a memory 21 is provided in the upper controller 2, and a motor control program to be executed by a processor 30 of the motor control device 3 to be described below is stored in the upper controller. Although the form of the memory 21 is not particularly limited, a form that is capable of being rewritten to allow the updating of the motor control program is desirable and that does not lose the stored contents at the time of interruption of the power supply to the upper controller 2 is desirable. Thus, an electrically erasable programmable read-only memory (EEPROM), such as a so-called flash memory, is desirable. However, this does not preclude the memory 21 from being a read-only memory (ROM) incapable of being rewritten or being a volatile memory such as a random access memory (RAM).
Further, the upper controller 2 is provided with a communication control unit 22, so that the information communication with the motor control device 3 and the information communication and input-output with other devices are performed. The configuration of the communication control unit 22 is also not particularly limited, and for example, a general communication integrated circuit having an application specific integrated circuit (ASIC) or the like may be used.
The upper controller 2 is typically connected to an external programmable logic controller (PLC) and a computer (not illustrated) to control the respective motor control devices 3 depending on a command from such a device. Here, the “host” in the term “upper controller” is used to indicate its role, as a part of the motor control program transferring system 1, in transferring the motor control program to each of the motor control devices (3a to 3d) by the connection of one or more motor control devices (3a to 3d) or in indicating the control timing, and the term does not limit the performance and form of the device.
The motor control device 3 is connected to a motor (not illustrated) and controls the motor by a motor control program performed by the processor 30 included in the motor control device 3. The processor 30 controls an amplifier that outputs a current, a voltage, and the like to the motor. Although a motor control device that controls a servo motor is referred to as a servo controller or a servo amplifier. Since the motor in the present embodiment includes a servo motor, the motor control device 3 includes a servo controller. Further, the processor 30 may be a general computer including a CPU and a memory or a general-purpose information processing apparatus, such as a micro control unit, similarly to the processor 20 of the upper controller 2. Alternatively, it may be an application specific information processing apparatus such as an FPGA, an ASIC, and a DSP.
The motor control program executed by the processor 30 is stored in the volatile memory 31. The reason is that the processor 30 may execute the motor control program in a short operation cycle so as to precisely control the motor, and the non-volatile memory, such as an EEPROM, that generally has a low read speed of information is not suitable as the memory that stores the motor control program. Here, several tens of microseconds are assumed as the operation cycle of the processor 30. In contrast, the operation cycle of the processor 20 of the upper controller 2 is assumed to be from about several hundreds of microseconds to several milliseconds.
Here, the motor control program includes, for example, an algorithm that generates a current and a voltage for driving the motor connected to the motor control device 3, and an electronic data that describes the response of the motor control device 3 to the input from the upper controller 2 and the operation of the motor control device 3 depending on the state of the motor. Furthermore, the motor control program may include the pattern of the operation executed on the motor by the motor control device 3, and in that case, the motor control device 3 can autonomously operate the motor in a predetermined pattern, without receiving the continuous timing command from the upper controller 2.
The volatile memory 31 is a memory that stores a motor control program and is a general RAM. Since the volatile memory 31 is volatile when the power source of the motor control device 3 is lost, the stored contents of the volatile memory are lost. Therefore, immediately after turning on the motor control device (which is referred to as an initial state), the motor control program is lost and it is necessary to write it by some means.
An identification information retention unit 32 is a unit that retains the identification information for identifying the individual motor control devices 3 by the upper controller 2 on performing the information communication. Although the specific configuration of the identification information retention unit 32 is not particularly limited, at least the retained identification information is electrically rewritable. Specifically, it is preferable that a specific address of the volatile memory 31 may be reserved as the identification information retention unit 32. Further, the identification information retention unit 32 retains specific identification information (this is referred to as the initial identification information) in the initial state. For this purpose, for example, the initial identification information may preferably be written in the identification information retention unit 32 by the boot program on a ROM (not illustrated) executed immediately after the input of the power of the motor control device 3. In the following example, the identification information is 8-bit information, and the initial identification information is assumed to be 0xEF in hexadecimal notation. Further, the identification information of the upper controller 2 is kept as a predetermined fixed value, for example, 0x00.
Further, the motor control device 3 has a communication control unit 33, such that the information communication and the input and output with the upper controller 2 are performed. The communication control unit 33 may also be, for example, a communication integrated circuit including the ASIC or the like.
Further, the motor control program transferring system 1 has an information communication switching unit 4. The information communication switching unit 4 can individually enable or disable the information communication between the upper controller 2 and each of the motor control devices 3. Precisely, the information communication between the upper controller 2 and one of the motor control devices 3, here, the motor control device (3a) may be enabled at all times. Thus, in the illustrated example, although the information communication switching unit 4 is adapted to switch between enabling and disabling the information communication between the information communication switching unit 4 and the motor control devices (3b to 3d), the information communication switching unit 4 may also be adapted to switch enabling and disabling the communication information in the motor control device (3a).
Here, the information communication refers to a communication type for performing the information transfer in accordance with a predetermined protocol. The type of information communication may be a serial communication and may be a parallel communication, and the connection from the upper controller 2 to each motor control device 3 may be a so-called star connection or a cascade connection. Although
Here, when the connection between the upper controller 2 and the motor control device 3 is a cascade connection, the motor control device (3a) in which the information communication is enabled at all times is initially connected to the upper controller 2, and a single motor control device (3a) of the initial state can communicate information with the upper controller 2. Further, if the cascade connection of the motor control devices (3a to 3d) is performed in this order, the motor control device 3b is connected to the upper controller 2 via the motor control device (3a), the motor control device (3c) is connected to the upper controller 2 via the motor control device (3b) and the motor control device (3a), and the motor control device (3d) is connected to the upper controller 2 via the motor control device (3c), the motor control device (3b) and the motor control device (3a).
Therefore, in the cascade connection, the communication between the specific motor control device 3 and the upper controller 2 is performed by sequentially transferring another motor control device 3 interposed therebetween. Accordingly, when interposing the more motor control devices 3, a longer communication time is required. For example, in the above-described embodiment, the communication time between the motor control device (3d) and the upper controller 2 becomes longer than the communication time between the motor control device (3a) and the upper controller 2, since there is a need for a time of transfer to each of the motor control device (3c), the motor control device (3b) and the motor control device (3a). In an embodiment of the present invention described below, the cascade type is illustrated as the connection between the upper controller 2 and the motor control device 3. Further, the information communication line 5 used in the information communications herein includes a radio line, without being limited to a wired line.
In some case, the upper controller 2 physically takes charge of the function of the information communication switching unit 4, and the motor control device 3 takes charge of its function of the information communication switching unit 4 as a whole. Therefore, in
The upper controller 2 includes an identification information assignment unit 24, a motor control program transferring unit 25, a reset signal transmission unit 26 and a communication condition adjustment unit 27, in addition to the memory 21 described above. Here, the identification information assignment unit 24, the motor control program transferring unit 25, the reset signal transmission unit 26 and the communication condition adjustment unit 27 virtually illustrate the function achieved by a program executed through the processor 20 (see
The identification information assignment unit 24 assigns the unique identification information, that is, the identification information which does not overlap between the different motor control devices 3, to the motor control device 3 having the initial identification information. The assigned unique identification information is retained in the identification information retention unit of the single motor control device 3. Further, the motor control program transferring unit 25 transfers the motor control program stored in the memory 21 to the motor control device 3 to which the unique identification information is assigned. The transferred motor control program is stored in the volatile memory 31 of the single motor control device 3. Further, the reset signal transmission unit 26 transmits a reset signal to the motor control device 3, after being performed as necessary from the transferring of the motor control program through the motor control program transferring unit 25. The reset signal is received by the reset signal reception unit 36 of the motor control device 3. The reset signal reception unit 36 resets the motor control device 3 when receiving the reset signal. That is, the reset signal reception unit 36 stops the execution of the program currently executed by the processor 30 (see
Further, in
In the motor control program transferring system 1 having the above configuration, as an example of the condition for transferring the motor control program to one or more motor control devices 3, the initialization of the initial state, that is, the procedure for transferring the motor control program to all the motor control devices 3 will be described with reference to
First, in the initial state, by the information communication switching unit 4, the single motor control device 3, that is, only the motor control device (3a) is enabled for information communication, and other motor control devices (3b to 3d) are disabled for information communication. In this state, the upper controller 2 sends the station detection signal of 0xEF that is the initial identification information. Since only the motor control device (3a) enabled for information communication can detect and respond to the station detection signal, the motor control device 3 sends the response signal to the upper controller 2.
When receiving the response signal, the upper controller 2 assigns the unique identification information to the motor control device (3a) having the initial identification information 0xEF, by the identification information assignment unit 24. Here, a serial number is assigned as the identification information, and 0x01 as its value is assigned to the motor control device (3a). The motor control device (3a) receiving the identification information writes such identification information on the identification information retention unit 32, and updates the own identification information from the initial identification information.
After that, the information communication switching unit 4 enables the information communication of the next single motor control device (3b). At this time, the identification information of the motor control device (3a) is 0x01 after rewriting, and the identification information of the motor control device (3b) is 0xEF that is the initial identification information.
The upper controller 2 also repeats the same operation, which is performed on the motor control device (3a), on the motor control device (3b). That is, at this time, the station detection signal is sent to the motor control device (3b) having the initial identification information 0xEF. When receiving the response signal, the unique identification information, here, 0x02 is assigned. The similar operation is also repeated on the motor control devices (3c, 3d), and the identification information of the motor control device (3c) and the identification information of the motor control device (3d) are rewritten to 0x03 and 0x04, respectively. At this point, the information communication of all the motor control devices 3 is enabled.
After assigning the unique identification information to all the motor control devices 3, the upper controller 2 transfers the motor control program to all the motor control devices 3 by the motor control program transferring unit 25. Although the transfer also depends on the type of information communication, it is preferred to simultaneously perform the data transfer on the motor control devices 3 by a so-called broadcast or a method equivalent thereto. If it is enough that the motor control program is simply transferred to each motor control device 3, the motor control program may be individually transferred before or immediately after assigning the unique identification information. However, in that case, since there is a need for a communication time as much as a value obtained by multiplying the time required for transferring the motor control program by the number of the motor control devices 3, the termination time of the entire transfer becomes longer. In the case of the broadcast transferring, the number of transfer is only once, and the transfer is completed in a short period of time.
Further, the determination as to whether to assign unique identification information to all the motor control devices 3, for example, may be performed by determining that the assignment of the identification information is completed by no response to the station detection signal of 0xEF that is the initial identification information from the upper controller 2. Alternatively, the number of the motor control devices 3 connected to the upper controller 2 is manually or automatically assigned in advance, the same identification information is not assigned to the number of the motor control device 3, and thus the determination may be performed by determining the completion of the assignment of the identification information.
After the completion of transferring of the motor control program, if necessary, the upper controller 2 transmits a checking signal for checking whether the motor control program is normally transferred to each of the motor control devices 3 and is written in the volatile memory. Each motor control device 3 checks whether the motor control program is normally written in the volatile memory 31 with respect to the checking signal, and transmits the result to the upper controller 2. This check may be any type of check, for example, a sum check using a check sum or cyclic redundancy check (CRC) on the motor control program on the volatile memory 31.
When the upper controller 2 receives the result in which the motor control program is not normally written from a certain motor control device 3, the upper controller 2 transmits the motor control program to the motor control device 3 again by the motor control program transferring unit 25. After the retransmission, the checking signal is transmitted to the motor control device 3, and the same processing is repeated. Thus, the motor control program is reliably transferred.
If the transferring of the motor control program to all or required motor control devices 3 is successfully completed, the upper controller 2 transmits the reset signal to each motor control device 3 by the reset signal transmission unit 26. The reset signal is a signal that causes each motor control device 3 to perform the execution start of the motor control program on the volatile memory 31. Further, in this embodiment, the reset signal is also a signal for initializing the information communication between the motor control device 3 and the upper controller 2.
In the initialization of the information communication, until the transmission of the reset signal, the information communication between the upper controller 2 and the motor control device 3 is performed by non-periodic communication. On the other hand, after the transmission of the reset signal, the initialization is performed to switch the information communication to be performed by the periodic communication. To be more specific on this point, at the time of initialization of the motor control device 3 until the delivery of the reset signal, the information amount of the motor control program to be transferred is large, and its magnitude is not necessarily clear. Thus, the communication efficiency is poor and an extra time is taken in the periodic communication. Therefore, it is advantageous to use the non-periodic communication. After the delivery of the reset signal, since each motor control device 3 controls the motor that is the physical mechanism, it is necessary to be aware whether the state of the motor is normal, and meanwhile, the amount of information used for single communication with the upper controller 2 is not so much. Therefore, it is advantageous to transmit the state of the motor from the motor control device 3 to the upper controller 2 by the periodic communication for each predetermined period of time. In
The periodic communication herein refers to a communication method for performing the information communication according to a predetermined format at predetermined intervals, and the non-periodic communication refers to the communication method in which the timing of the information communication is not necessarily defined. Further, in the periodic communication, the arbitrary information communication at the timing other than the information communication for each time may be performed.
Also, when transmitting the reset signal, the upper controller 2 may adjust the communication conditions for the periodic communication with the motor control device 3 by a communication condition adjustment unit 27. That is, the communication conditions for the periodic communication after the reset signal transmission are not always the same, and may be optimally varied by the conditions other than the configuration of the motor control program transferring system 1.
Here, the communication conditions, for example, are the communication cycle of the periodic communication and the information amount of the communication for each cycle. When the number of the motor control devices 3 connected to the upper controller 2 is large, in order to increase the amount of information indicating the state, the amount of information to be received by the upper controller 2 through the single communication increases. As a result, the time required for the single communication also increases. In such a condition, a configuration, in which the maximum number of the motor control devices 3 capable of being connected to the upper controller 2 is set in advance and the communication cycle is set to cope with the time when the maximum number of motor control device 3 are connected, is also conceivable. However, conversely, when a small number of motor control devices 3 is connected, the most communication time is wasted and the response speed of the communication is lowered. Since the communication condition adjustment unit 27 of the upper controller 2 adjusts the communication conditions for the periodic communication, depending on the configuration and other conditions for the motor control program transferring system 1 including the number of the connected motor control devices 3, it is possible to appropriately set the response speed of the constant period communication.
When a reset signal reception unit 36 of each motor control device 3 receives the reset signal, the reset signal reception unit 36 performs the initialization of the communications to switch the information communication into the periodic communication, and executes the motor control program on the volatile memory 31.
In the motor control program transferring system 1 that transfers the motor control program to the motor control device 3 by the above method, the memory 21 (see
Subsequently, an example of a specific configuration of the information communication switching unit 4 of the above-described motor control program transferring system 1 will be described as an embodiment.
First Embodiment
Here, each of the enable/disable input units (34a to 34d) is an input port that accepts the input as to whether the information communication to the upper controller 2 is enabled or disabled, and enables the information communication in a low-impedance (ground potential) in the illustrated example. Further, the enable/disable output units (35a to 35d) are output ports that output a signal to the enable/disable input units (34a to 34d), and are in a high impedance (disconnected) state in the initial state. Since the enable/disable input unit (34a) is grounded, the information communication of the motor control device (3a) is enabled at all times. In addition, since the enable/disable input units (34b to 34d) are respectively connected to the enable/disable output units (35a to 35c), the information communication of the motor control devices (3b to 3d) enabled or disabled by the adjacent motor control devices (3a to 3c) connected to the upper controller 2 side. That is, the motor control devices (3a to 3c) take charge of the information communication switching unit 4 of
The operation of the motor control devices (3a to 3d) of the present embodiment is described below with reference to
Since the enable/disable output unit (35d) of the motor control device (3d) is not particularly connected to another device, the motor control device (3d) is not necessary to particularly switch the output from the enable/disable output unit (35d). However, since keeping the operations of all the motor control devices 3 to be in the same specification allows easier addition or reduction of the motor control device 3, the motor control device (3d) also desirably performs the operation similar to other motor control devices (3a to 3c).
Further, in the present embodiment, since the information communication lines 5 between the upper controller 2 and the motor control devices (3a to 3d) are formed by the cascade connection, the reset signal from the upper controller 2 to each of the motor control devices (3a to 3d) is performed in the order from most distant to the least distant information connection from the upper controller 2. In this case, the reset signal to the motor control device (3d) is first transmitted, and the transmission is performed in the order of the motor control device (3c), the motor control device (3b) and the motor control device (3a). However, when the information communication lines 5 are formed by the star connection, this order is not particularly limited, and the information communication may be simultaneous transmission.
Second Embodiment
Here, each of the enable/disable input units (34a to 34d) is also an input port that accepts the input as to whether the information communication to the upper controller 2 is enabled or disabled, and that enables the information communication in a low-impedance. Therefore, the information communication of the motor control device 3a is enabled at all times. Further, since each of the enable/disable input units (34b to 34d) is connected to the enable/disable output unit 23, the enabling or disabling the information communication of the motor control devices (3b to 3d) is switched by the upper controller 2. That is, the upper controller 2 takes charge of the information communication switching unit 4 of
The operation of the upper controller 2 of the present embodiment is described below with reference to
Although the enable/disable input unit (34a) of the motor control device (3a) is grounded in the present embodiment, the enable/disable input unit (34a) may also be connected to the enable/disable output unit 23 of the upper controller 2. In this case, the low impedance is output to the enable/disable input unit (34a) in the initial state. The order of transmitting the reset signal from the upper controller 2, and the information communication lines 5 formed by the star connection are the same as in the previous embodiment.
Third Embodiment
The change-over switch 50 enables the information communication by receiving the input of the low-impedance. Further, since the change-over switch 50 is not inserted into the information communication line 5 between the upper controller 2 and the motor control device (3a), the information communication between them is enabled at all times. Further, since the enable/disable output units (35a to 35d) are in a high impedance state in the initial state, the information communication in each change-over switch 50 is in a disabled state, that is, a disconnected state. Thus, whether the information communication of the motor control devices (3b to 3d) is to be enabled or disabled is switched by the adjacent motor control devices (3a to 3c) connected to the upper controller 2 side. That is, the motor control devices (3a to 3c) take charge of the information communication switching unit 4 of
The operation of the motor control devices (3a to 3d) of the present embodiment is the same as in the first embodiment and is described below with reference to
As in the first embodiment, the enable/disable output unit (35d) of the motor control device (3d) desirably performs the same operation as the other motor control devices (3a to 3c). Further, although a change-over switch 50 is not provided between the upper controller 2 and the motor control device (3a) in the present embodiment, the change-over switch 50 may be provided and its input may be grounded to enable the information communication at all times. Of course, the information communication lines 5 may be formed by a star connection in the present embodiment.
Further, when the information communication line 5 conforms to Ethernet (registered trademark) standard, the change-over switch 50 may be a so-called physical layer interface and its input signal may be an enable signal to the physical layer interface.
Fourth Embodiment
Here, the change-over switch 50 also enables the information communication by receiving the input of the low-impedance. Since the change-over switch 50 is not inserted into the information communication line 5 between the upper controller 2 and the motor control device (3a), the information communication of this time is enabled at all times. Further, since each change-over switch 50 is connected to the enable/disable output unit 23, whether the information communication of the motor control devices (3b to 3d) is enabled or disabled is switched by the upper controller 2. That is, the upper controller 2 takes charge of the information communication switching unit 4 of
The operation of the upper controller 2 of the present embodiment is the same as in the second embodiment, and is described below with reference to
Further, even in this embodiment, a change-over switch 50 is not provided between the upper controller 2 and the motor control device (3a). However, as in the above-described embodiment, the change-over switch 50 may be provided and its input may be grounded to enable the information communication at all times. The order of transmitting the reset signal from the upper controller 2 is the same as in the above-described embodiment. Further, as in the above-described embodiment, the information communication lines 5 may be formed by a star connection, and the change-over switch 50 may be a so-called physical layer interface in Ethernet (registered trademark) standard.
A motor control program transferring system according to an embodiment of the present invention reduces a required amount of non-volatile memory and easily and automatically performs the transferring of the motor control program to each motor control device, when the motor control program is transferred to one or more motor control devices from an upper controller.
A motor control program transferring system according to one aspect of the present invention includes: an upper controller that includes a memory which stores a motor control program of a motor control device, an identification information assignment unit which repeatedly performs an operation of assigning unique identification information to the motor control device having specific initial identification information, and a motor control program transferring unit which transfers the motor control program to the motor control device to which the unique identification information is assigned; one or more motor control devices that is capable of communicating information with the upper controller, the motor control devices including a volatile memory which stores the motor control program, and an identification information retention unit which retains the identification information for identifying itself in a rewritable manner and retain the initial identification information in an initial state; and an information communication switching unit which enables the information communication of the single motor control device to the upper controller in an initial state and newly enable the information communication of the single motor control device to the upper controller each time the unique identification information is assigned to the motor control device.
In a motor control program transferring system according to an embodiment of the present invention, the upper controller can further include a reset signal transmission unit which transmits a reset signal to the motor control device after completion of the transferring of the motor control program using the motor control program transferring unit; and the motor control device further includes a reset signal reception unit which receives the reset signal and execute the motor control program stored in the volatile memory.
In a motor control program transferring system according to an embodiment of the present invention, the information communication between the upper controller and the motor control device can be performed by non-periodic communication before the transmission of the reset signal, and is performed by periodic communication after the transmission of the reset signal.
In a motor control program transferring system according to an embodiment of the present invention, the upper controller can include a communication condition adjustment unit which adjusts the communication condition of the periodic communication, at least depending on the configuration of the motor control program transferring system.
In a motor control program transferring system according to an embodiment of the present invention, the motor control program transferring unit can perform the retransferring of the motor control program when the transferring of the motor control program fails.
In a motor control program transferring system according to an embodiment of the present invention, the motor control device can include an enable/disable input unit which receives an input as to whether to enable or disable the information communication to the upper controller; and a signal for enabling the information communication can be input to the enable/disable input unit of the single motor control device, and one of the signals for enabling and disabling the information communication can be input to the enable/disable input unit of the other motor control device by the information communication switching unit.
In a motor control program transferring system according to an embodiment of the present invention, the motor control device can include an enable/disable output unit which outputs the signal to the enable/disable input unit; and the output from the enable/disable output unit of the single motor control device can be input to the enable/disable input unit of the other motor control device, and the enable/disable output unit can switch its output from the disabling to the enabling, by assigning the unique identification information to the motor to which the enable/disable output unit belongs.
In a motor control program transferring system according to an embodiment of the present invention, the upper controller can include an enable/disable output unit which outputs a signal to the enable/disable input unit; and the output from the enable/disable output unit can be input to an input port of the motor control device, and the enable/disable output unit can switch the output to the enable/disable input unit of the other motor control device from the disabling to the enabling, by assigning the unique identification information to the single motor control device.
A motor control program transferring system according to an embodiment of the present invention can further include: a change-over switch which switches whether to enable or disable the information communication with the upper controller depending on the input, for each of all the motor control devices or the motor control devices except for one, wherein the information communication of the single motor control device to the upper controller can be enabled, and in the information communication of the other motor control device to the upper controller, one of the signal for enabling or the signal for disabling the information communication from the information communication switching unit can be input to the change-over switch.
In a motor control program transferring system according to an embodiment of the present invention, the motor control device can include a enable/disable output unit which outputs a signal to the change-over switch; and the output from the enable/disable output unit of the single motor control device can be input to the change-over switch of the other motor control device, and the enable/disable output unit can switch its output from the disabled state to the enabled state, by assigning the unique identification information to the motor to which the enable/disable output unit belongs.
In a motor control program transferring system according to an embodiment of the present invention, the upper controller can include a enable/disable output unit which outputs a signal to the change-over switch, and the output from the enable/disable output unit can be input to the change-over switch, and the enable/disable output unit can switch the output to the change-over switch of the other motor control device from the disabled state to the enabled state, by assigning the unique identification information to the single motor control device.
An upper controller according to one aspect of the present invention includes a memory which stores a motor control program of a motor control device, an identification information assignment unit which repeatedly performs an operation of assigning unique identification information to the motor control device having specific initial identification information, and a motor control program transferring unit which transfers the motor control program to the motor control device to which the unique identification information is assigned.
A motor control device according to one aspect of the present invention includes: a volatile memory which stores a motor control program; and an identification information retention unit which retains identification information for identifying itself in a rewritable manner and retain specific initial identification information in an initial state.
A motor control program transferring method according to one aspect of the present invention includes repeatedly performing an operation of assigning unique identification information to a motor control device having specific initial identification information, transferring the motor control program to the motor control device to which the unique identification information is assigned, newly enabling the information communication of the single motor control device each time the unique identification information is assigned to the motor control device, and enabling the information communication of the single motor control device to the upper controller in an initial state, and newly enabling the information communication of the single motor control device to the upper controller, each time the unique identification information is assigned to the motor control unit.
According to an embodiment of the present invention, a required amount of non-volatile memory can be reduced, and the transferring of the motor control program to each motor control device can be easily and automatically performed, when the motor control program is transferred to one or more motor control devices from an upper controller.
Obviously, numerous modifications and variations of the present invention are possible in light of the above teachings. It is therefore to be understood that within the scope of the appended claims, the invention may be practiced otherwise than as specifically described herein.
The present application is continuation of and claims the benefit of priority to International Application No. PCT/JP2013/079272, filed Oct. 29, 2013, the entire contents of which are incorporated herein by reference.
Number | Name | Date | Kind |
---|---|---|---|
5636341 | Matsushita | Jun 1997 | A |
5832486 | Itoh | Nov 1998 | A |
20020049822 | Burkhardt | Apr 2002 | A1 |
20030048474 | Hong | Mar 2003 | A1 |
20140152096 | Nagatsuka | Jun 2014 | A1 |
Number | Date | Country |
---|---|---|
09211101 | Aug 1997 | JP |
2000-207228 | Jul 2000 | JP |
2000-295894 | Oct 2000 | JP |
2001-159933 | Jun 2001 | JP |
2001159933 | Jun 2001 | JP |
2007-293532 | Nov 2007 | JP |
2013-033347 | Feb 2013 | JP |
2013-073351 | Apr 2013 | JP |
WO 2009128216 | Oct 2009 | WO |
Entry |
---|
English translation of the International Preliminary Report on Patentability and Written Opinion dated May 12, 2016 in PCT/JP2013/079272. |
International Search Report dated Jan. 28, 2014 in PCT/JP2013/079272 filed Oct. 29, 2013 (with English Translation). |
Written Opinion dated Jan. 28, 2014 in PCT/JP2013/079272 filed Oct. 29, 2013. |
Office Action dated Jul. 25, 2017, in Japanese Patent Application No. 2015-544673 (with English-language Translation). |
Number | Date | Country | |
---|---|---|---|
20160239008 A1 | Aug 2016 | US |
Number | Date | Country | |
---|---|---|---|
Parent | PCT/JP2013/079272 | Oct 2013 | US |
Child | 15140190 | US |