Control system of industrial machine
11561526 · 2023-01-24
Assignee
Inventors
Cpc classification
International classification
Abstract
An object of the present invention is to provide a control system of an industrial machine that can efficiently and effectively match and equalize the content information of various data between devices of the industrial machine. The invention is a control system of an industrial machine for matching data in the present device with data in one or more other devices, wherein the control system comprises a changed data identification list including: the regions of a type data storage unit serving as the superordinate class of type data; the regions of a subdivision data type storage unit serving as a subordinate class; and an identifier storage unit indicating identifiers which, when data in each of the regions is changed, identify the change of the data, the present device comprises: a changed data identification list storage unit storing the changed data identification list; a present-device-side data storage unit storing various data; and an updated data processing unit, and the other device comprises: an other-device-side data storage unit storing various data; and an operation execution unit using the various data to perform a desired operation.
Claims
1. A control system of an industrial machine for matching data in a present device with data in one or more other devices, wherein the control system comprises: a changed data identification list including: regions of a type data storage unit serving as a superordinate class of type data; regions of a subdivision data type storage unit serving as a subordinate class of the regions of the type data storage unit; a first identifier storage unit indicating a first identifier that corresponds to each of the regions of the type data storage unit and identifies whether or not data in the respective region of the type data storage unit has changed; and a second identifier storage unit indicating a second identifier that corresponds to each of the regions of the subdivision data type storage unit and identifies whether or not data in the respective region of the subdivision data type storage unit has changed, the present device comprises: a changed data identification list storage unit storing the changed data identification list; a present-device-side data storage unit storing various data; and an updated data processing unit, and an other device comprises: an other-device-side data storage unit storing various data; and an operation execution unit using the various data to perform a desired operation, the control system configured such that the updated data processing unit uses the first and the second identifiers in the changed data identification list to check whether or not the data in the respective region of the subdivision data type storage unit has changed, transfers only the changed data in the respective region of the subdivision data type storage unit to the other devices, and matches the data in the present device with the data in the other devices.
2. The control system of the industrial machine according to claim 1, wherein, in the case of a one-to-one connection environment between the one present device and the one other device, a flag that identifies whether the data is in either an initial state or a changed state is used as each of the first and second identifiers.
3. The control system of the industrial machine according to claim 1, wherein, in the case of a one-to-one or one-to-multiple connection environment between the one present device and the one other device or the other devices, a counter, which is incremented or decremented each time the data is changed and identifies an initial state of the data as well as a changed state in the number of changes in the data, is used as each of the first and second identifiers.
4. The control system of the industrial machine according to claim 2, configured such that the flag is reset to the initial state when the data in the region which has changed is transferred to the other device.
5. The control system of the industrial machine according to claim 1, wherein the updated data processing unit is configured to: use the first identifier to check whether or not the data in the respective region of the type data storage unit has changed; use the second identifier to check whether or not the data in the respective region of the subdivision data type storage unit has changed only within the region of the type data storage unit that includes the changed data; and transfer only the changed data in the respective region of the subdivision data type storage unit to the other device.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
DETAILED DESCRIPTION OF THE INVENTION
(11) A control system of an industrial machine according to a first embodiment of the present invention will be described hereinafter with reference to
(12) Here, for the present embodiment, description will be given using a case where changed data is transferred between one CNC on the machine tool side and one PC, that is, between one device and another device so as to be matched and equalized, as an example. It should be noted that, although the industrial machine according to the present invention is assumed to be a machine tool (the present device being the machine tool and the other device being the PC) in the description of the present embodiment, needless to say, the present invention can be applied to other industrial machines as well.
(13) A control system A of an industrial machine according to the present embodiment is a control system and method of a “flag system” type which, as shown in
(14) In other words, in the control system A of the industrial machine according to the present embodiment, the “changed data identification list” 13 is configured such that the types and data are hierarchized as the regions of the superordinate class 10 as well as the regions of the subordinate class 11, and an identifier indicating the presence/absence of a change is provided to each and all of the type and data in each class. It should be noted that the “changed data identification list” 13 may also be configured such that the regions of the subordinate class 11 are further subdivided (multi-hierarchized) so as to comprise a plurality of subordinate classes 11.
(15) Here, the “flag” in the present invention refers to an identifier which indicates either of two states of data, namely, an initial state and a changed state, thereby determining these states. In the description of the present embodiment, it is assumed that the “flag” of the identifier indicates the initial state (a state where no change is made) of data as “0”, while indicating the changed state (state where a change is made) of data as “1”. It should be noted that, as long as the “flag” of the identifier can indicate two states identifiably, it may be “0 and x”, “first and second”, or the like, and no particular limitation is required.
(16) Here, as shown in
(17) Furthermore, a PC 2 for performing desired operations related to the machine tool such as machining time prediction or machining simulation by the machine tool comprises: a various data storage unit (other-device-side data storage unit) 6 storing various data; and an operation execution unit 7 for performing desired operations using various data and application programs such as machining time prediction software and machining simulation software.
(18) When controlling the CNC 1 of the machine tool and the PC 2 using the control system A of the industrial machine of the above configuration according to the present embodiment, as shown in
(19) As shown in
(20) Then, when matching/equalizing the changed data on the CNC side with the data on the PC side, as shown in
(21) If the flags for each data type is set to “0” (not set to “1”), it is checked whether or not the flags for each data type is set to “1” for the subsequent data type (Step 4, Step 5).
(22) If the flags for each data type is set to “1”, it is checked whether or not the flags for each changed part of the regions 11a, 11b, 11c, 11d, 11e, . . . of the subordinate class 11 (the flags of the identifier storage unit 12 for each subdivision data type storage unit 11) are set to “1” (Step 6, Step 7).
(23) If the flags for each changed part is set to “0” (not set to “1”), it is checked whether or not the flag of the subsequent changed part in the same region (the identifier storage unit 12) is set to “1” (Step 8).
(24) If the flags for each changed part is set to “1”, the changed data of the changed part (the part corresponding to the subdivision data type storage unit 11) in which the flags for each changed part is set to “1” is transferred to the various data storage unit 6 on the PC 2 side (Step 9). Also, after transferring the data of the part (region) in which the flag is set to “1”, the flag of said part is reset to “0” indicating the initial state (Step 10). Thereafter, checking of the flags for each of the other changed parts is restarted (Step 8).
(25) Then, the flag of the types wherein the data is transferred is reset to “0” (Step 11), and the checking operation of the flags and data transfer in the same manner as described above are performed for the subsequent data type (Step 12).
(26) By performing the operation described above for all the data types, the CNC 1 side and the PC 2 side will have the same changed data, with the result that it becomes possible to match the data between the devices.
(27) For example, when the one PC 2 is connected to the CNC 1 as in the present embodiment, the type of data which was changed as well as the changed part are distinguished by the “flag system” described above, and the data (region) of the changed part is transferred to the PC 2. In this way, in the PC 2, the changed data can be reflected so as to perform machining time prediction, machining simulation and the like using application softwares.
(28) Hence, in the control system A of the industrial machine according to the present embodiment, it is possible to easily distinguish the data type that was changed as well as the changed part by simply checking the flags.
(29) Hence, in the control system A of the industrial machine according to the present embodiment, when, for example, it is desired to match/equalize the content information of various data between a CNC and a PC or between CNCs, the data type which was changed can be automatically distinguished, and the processing time can be reduced by transferring only the data region of said type. Accordingly, operability and hence productivity can be enhanced.
(30) Also, since the data type which was changed can be presented/extracted, it becomes unnecessary to rely on memory or visual check when the operator selects the type of data to be transferred, with the result that the burden during the operation can be reduced.
(31) Furthermore, since the changed part within the data can be automatically distinguished, it is possible to reduce the processing time for data transfer.
(32) Although the first embodiment of the control system of the industrial machine according to the present invention has been described so far, the present invention is not limited to the first embodiment described above, and modifications can be made as necessary as long as they do not depart from the spirit of the invention.
(33) Hereinafter, a control system of an industrial machine according to a second embodiment of the present invention will be described with reference to
(34) Here, in the present embodiment, a description will be given using a case where changed data is transferred between one CNC and two PCs, that is, between one device and two (plural) devices, so as to be matched and equalized, as an example. It should be noted that, although the industrial machine according to the present invention is assumed to be a machine tool (the present device being the machine tool and the other devices being the PCs) in the description of the present embodiment, needless to say, the present invention can be applied to other industrial machines as well. In the present embodiment, configurations which are the same as those of the first embodiment are identified with the same reference numerals, and the detailed description thereof will be omitted.
(35) A control system B of an industrial machine according to the present embodiment is a control system and method of a “counter system” type which, as shown in
(36) In other words, in the control system B of the industrial machine according to the present embodiment, like in the first embodiment, the “changed data identification list” 14 is configured such that the types and data are hierarchized as the regions of the superordinate class 10 as well as the regions of the subordinate class 11, and an identifier indicating the presence/absence of a change is provided to each and all of the type and data in each class. It should be noted that, as in the first embodiment, the “changed data identification list” 14 may also be configured such that the regions of the subordinate class 11 are further subdivided (multi-hierarchized) so as to comprise a plurality of subordinate class regions.
(37) Here, as shown in
(38) Furthermore, in the control system B of the industrial machine according to the present embodiment, each of a plurality of PCs 2 for performing desired operations comprises: a various data storage unit (other-device-side data storage unit) 6 storing various data; an operation execution unit 7 for performing desired operations using various data and application programs such as machining time prediction software and machining simulation software; and a pre-update counter storage unit 17 storing the “changed data identification list” 14 before being updated (storing the counters before being updated).
(39) When controlling the CNC 1 of the machine tool and the PCs 2 using the control system B of the industrial machine of the above configuration according to the present embodiment, as shown in
(40) As shown in
(41) Further, when matching/equalizing the changed data on the CNC 1 side with the data on the PCs 2 side, as shown in
(42) In the present embodiment, when the difference between the values of the type counters corresponding to each of the current “changed data identification list” 14 and the “changed data identification list” 14 before updating is obtained, if the difference is “0”, it is found that the data in the region had not been changed. If the difference is “1”, it is found that the data in the region had been changed once. If the difference is “2”, it is found that the data in the region had been changed twice.
(43) If the difference between the counters for each data type is “0”, it is checked whether or not there is a difference between the counters of the subsequent data type (Step 7).
(44) On the other hand, if the difference is “1 or more”, it is checked whether or not a difference between the counters for each changed part of the regions 11a, 11b, 11c, 11d, 11e, . . . of the subordinate class 11 (the counters of the identifier storage unit 12 of each subdivision data type storage unit 11) is “1 or more” (Step 8, Step 9).
(45) If the difference between the counters for each changed part is “0”, it is checked whether or not the difference between the counters of the subsequent changed part in the same region (the identifier storage unit 12) is “1 or more” (Step 10).
(46) If the difference between the counters for each changed part is “1 or more”, the changed data of each changed part (the part corresponding to the subdivision data type storage unit 11) is transferred to the various data storage units 6 on the PCs 2 side (Step 11).
(47) The checking of the counters of the changed parts and the checking of the counters of the data types are sequentially performed, and the operation described above is repeated.
(48) If it is confirmed that a change was made due to the type counters being different, the data of the changed part of said data type is transferred, and then the pre-change “changed data identification list” 14 of the plurality of the PCs 2 is updated/rewritten and saved. It should be noted that, even when the counter was not changed, it is preferable to transfer data from the CNC 1 side and then to update/rewrite and save the pre-change “changed data identification list” 14 of the plurality of the PCs 2 once all the counter comparison operations are completed, in order leave a record of counter comparison.
(49) If the operation described above is performed for all the data types, both sides of the CNC 1 as well as the plurality of PCs 2 will have the same changed data.
(50) Hence, in the control system B of the industrial machine according to the present embodiment, by acquiring a set of current counters and comparing them with the stored counters before being changed, it becomes possible to easily distinguish the data type which was changed as well as the changed part.
(51) Hence, in the control system B of the industrial machine according to the present embodiment, when, for example, it is desired to match/equalize the content information of various data between a CNC and a plurality of PCs or between a CNC and a plurality of CNCs or PCs, the data type which was changed can be automatically distinguished, and only the data region of such a type is transferred, thereby enabling reduction of the processing time. Accordingly, operability and hence productivity can be enhanced.
(52) Also, since the data type which was changed can be presented/extracted, it becomes unnecessary to rely on memory or visual check when the operator selects the type of data to be transferred, with the result that the burden during the operation can be reduced.
(53) Furthermore, since the changed part within the data can be automatically distinguished, it is possible to reduce the processing time for data transfer.
(54) Although the second embodiment of the control system of the industrial machine according to the present invention has been described so far, the present invention is not limited to the second embodiment described above, and modifications including the modification examples of the first embodiment can be made as necessary as long as they do not depart from the spirit of the invention.
(55) For example, the control system and the control method of the counter system type according to the present embodiment can also be applied to a case where changed data is transferred so as to be matched and equalized between one device and another device, as in the first embodiment. They may also be applied to a case where data is matched and equalized between a CNC and a plurality of CNCs or PCs.
EXPLANATION OF REFERENCE NUMERALS
(56) 1 CNC (present device) 2 PC (other device) 3 changed data identification list storage unit 4 various data storage unit (present-device-side data storage unit) 5 updated data processing unit 6 various data storage unit (other-device-side data storage unit) 7 operation execution unit 10 superordinate class 10a to 10c region of superordinate class 11 subordinate class 11a to 11e region of subordinate class 12 identifier storage unit 13 changed data identification list 14 changed data identification list 15 changed data identification list storage unit 16 updated data processing unit 17 pre-update counter storage unit A control system of industrial machine B control system of industrial machine