Numerical control system
09671773 ยท 2017-06-06
Assignee
Inventors
Cpc classification
G05B19/414
PHYSICS
G05B19/18
PHYSICS
H04L7/00
ELECTRICITY
G06F13/00
PHYSICS
H04L12/28
ELECTRICITY
International classification
G05B19/18
PHYSICS
G05B19/414
PHYSICS
H04L12/28
ELECTRICITY
H04L7/00
ELECTRICITY
H02P29/00
ELECTRICITY
Abstract
In a numerical control system in which a numerical controller is connected with a plurality of amplifiers via a daisy-chain serial bus, these amplifiers are grouped into a first group and a second group, and connected in an order of the amplifiers of the first group and the amplifiers of the second group from the numerical controller. Further, a communication cycle in the communication between the numerical controller and the amplifiers of the second group is set n times (n is an integer of 2 or larger) as large as a communication cycle of the first group.
Claims
1. A numerical control system in which a numerical controller and a plurality of units are connected via a daisy-chain serial bus, and transmission from the numerical controller to the plurality of units is performed via the serial bus and transmission from the plurality of units to the numerical controller is performed via the serial bus, wherein the plurality of units are grouped into a first group and a second group, the units of the first group being closer to the numerical controller relative to the units of the second group, and a communication cycle in the communication between the numerical controller and the units of the second group is set n times (n is an integer of 2 or larger) as large as a communication cycle in the communication between the numerical controller and the units of the first group, and wherein among the units of the second group, a certain number of units is classified into a second group first subgroup, and the remaining units of the second group are classified into a second group second subgroup, the second group first subgroup being closer to the numerical controller relative to the second group second subgroup, and the units of the second group first subgroup receive and store signals transmitted from the units of the second group second subgroup toward the numerical controller, and select the stored signals or signals of the units of the second group first subgroup, and transmit the selected signals to the numerical controller in each communication cycle of the first group.
2. A numerical control system in which a numerical controller and a plurality of amplifiers are connected via a daisy-chain serial bus, each of the plurality of amplifiers drives a motor based on a command of a certain cycle transmitted from the numerical controller via the serial bus, and feedback data on the command is transmitted to the numerical controller via the serial bus, wherein the plurality of amplifiers are grouped into a first group and a second group, the amplifiers of the first group being closer to the numerical controller relative to the amplifiers of the second group, and a communication cycle in the communication between the numerical controller and the units of the second group is set n times (n is an integer of 2 or larger) as large as a communication cycle in the communication between the numerical controller and the units of the first group, and wherein among the amplifiers of the second group, a certain number of amplifiers is classified into a second group first subgroup, and the remaining amplifiers of the second group are classified into a second group second subgroup, the second group first subgroup being closer to the numerical controller relative to the second group second subgroup, and the amplifiers of the second group first subgroup receive and store feedback data transmitted from the amplifiers of the second group second subgroup toward the numerical controller, and select the stored feedback data or feedback data of the amplifiers of the second group first subgroup, and transmit the selected feedback data to the numerical controller in each communication cycle of the first group.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The above and other objects and features of the present invention will become more apparent by describing the following embodiment with reference to the appended drawings in which:
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
(10)
(11) The numerical controller 10 transmits a command value of a position, a speed, torque, or an electric current to each amplifier that drives and controls each motor equipped in a machine body, and receives feedback on a position, a speed, torque, or an electric current from each amplifier. In
(12) In the numerical control system of
(13) In other words, a command is transmitted from the numerical controller 10 to the amplifiers through data transmission of the cycle Ta to the amplifier group A and data transmission of the cycle Tb (=Tan) to the amplifier group B. Meanwhile, similarly, feedback is transmitted from the amplifiers to the numerical controller 10 through data transmission of the cycle Ta from the amplifier group A and data transmission of the cycle Tb (=Tan) from the amplifier group B. At this time, among the amplifiers included in the amplifier group B, one or more amplifiers included in a cluster of m amplifiers (an amplifier subgroup B1 including m amplifiers, that is, amplifiers 1 to m) closest to the numerical controller 10 in the daisy-chain is configured to store transmission data transmitted from the amplifiers (an amplifier subgroup B2 including amplifiers (m+1) to k) at the subsequent stage and transmit the stored transmission data together with transmission data of their own in the cycle Ta. Here, m is assumed to be larger than k2 (m>k2).
(14) The amplifier subgroup B1 performs transmission and reception with the numerical controller 10 on the communication line in the same cycle (Ta) as the group A, and from a point of view of a communication capability, the amplifiers of the group A and the group B1 can be connected to this communication line up to a limit of the number of amplifiers that allows to perform transmission and reception in the cycle Ta. In addition, the (km) amplifiers excluding the group B1 among the amplifier group B, amplifier subgroup B2, are connected to this communication line, and it is possible to increase the number of amplifiers that can be connected to the communication line without completely changing the communication specification of the amplifiers group A.
(15)
(16) In the numerical control system according to this embodiment, a communication cycle of one of N amplifiers is set to be double, and one amplifier is newly added. In other words, a total line length of a system is increased such that a communication cycle of one (an amplifier N) of predetermined N connectable amplifies (amplifiers 1 to N) is set to be double, and another amplifier (an amplifier (N+1) having the same communication cycle (double the communication cycle) as the amplifier N is connectable. Since the communication band of the amplifier N of the related art is shared between the amplifier N and added another amplifier N+1, there is no influence on the amplifiers (the amplifiers 1 to N1) other than the amplifier N.
(17) <Transmission from Numerical Controller 10 to Amplifiers>
(18)
(19) In the example of
(20) In consequence, in the example of the numerical control system of
(21)
(22) Since there is a delay according to a line length or a delay in a circuit at the time of passing through amplifiers until a packet arrives at each amplifier, an arrival time of an amplifier distant from the numerical controller 10 is delayed.
(23) In the system configuration of the related art illustrated in
(24) <Transmission from Amplifiers to the Numerical Controller 10>
(25)
(26) In the example of
(27) In the numerical control system illustrated in
(28) In communication in which the punctuality is guaranteed, since a communication delay between the numerical controller 10 and a slave at a farthest end has to be within a communication cycle in view of a delay in a circuit or a delay caused by a line length, when a communication cycle of the system is decided, a maximum of the number of connectable amplifiers and a maximum of a total line length are decided.
(29) In the case of the numerical control system of
(30) As described above, in the communication from the amplifiers to the numerical controller 10, even when an amplifier is added, and the total line length is increased, the punctuality of N times the cycle is secured. Further, even when the numerical control system of
(31) Further, a configuration in which a plurality of units (IO units) for external signal input and output is employed between the numerical controller 10 and a machine tool (not illustrated) in order to receive and output a DI/DO signal (an input signal/output signal), and the DI/DO signal is usually transferred between the numerical controller 10 and the IO units. The present invention can be applied to a system in which a plurality of IO units, instead of amplifiers, are connected to the numerical controller 10 in the daisy-chain manner.