APPARATUS AND METHOD FOR ADAPTING A NUMERICAL CONTROLLER TO A MACHINE TO BE CONTROLLED
20190121320 · 2019-04-25
Assignee
Inventors
- BENJAMIN MAY (Renningen, DE)
- ANDREAS POLZ (Erlangen, DE)
- HENNING RUDOLF (Nürnberg, DE)
- REINER SPERLICH (Ulm, DE)
Cpc classification
G05B23/0245
PHYSICS
International classification
Abstract
An apparatus for adapting a data structure between a numerical controller and a machine includes a data acquisition logic unit connected to the machine for acquiring values of machine parameters characteristic of a machine state. The data acquisition logic unit includes an interface module containing rules which are used to transform a machine data structure of the values of machine parameters into a control data structure which can be read by the numerical controller. In a corresponding method, values of the machine parameters which occur in a first machine state are transmitted to the data acquisition logic unit and stored therein. The machine state is assigned to the stored values of the machine parameters as at least one rule for interpreting the values of the machine parameters.
Claims
1.-9. (canceled)
10. Apparatus for adapting a data structure between a numerical controller and a machine, the apparatus comprising: a data acquisition logic unit connected to the machine via a data connection and acquiring values of machine parameters that are characteristic of a machine state, said data acquisition logic unit comprising an interface module containing rules describing a transformation of a machine data structure having the values of the machine parameters into a control data structure having a format is readable by the numerical controller, said interface module comprising an interpreter with a plug-in mechanism containing the rules for interpreting and processing data of the machine parameters.
11. The apparatus of claim 10, wherein the machine is a machine tool.
12. The apparatus of claim 10, wherein the machine comprises actuators and sensors, wherein the values of the machine parameters represent states of the actuators and sensors.
13. A numerical controller, comprising: an adaptation control comprising a data acquisition logic unit, said data acquisition logic unit being connected to a machine via a data connection and acquiring values of machine parameters that are characteristic of a machine state, said data acquisition logic unit comprising an interface module containing rules describing a transformation of a machine data structure having the values of the machine parameters into a control data structure having a format that can be read by the numerical controller, said interface module comprising an interpreter with a plug-in mechanism containing the rules for interpreting and processing data of the machine parameters.
14. A method for adapting a data structure between a numerical controller and a machine, wherein the numerical controller comprises a data acquisition logic unit which is connected to the machine via a data connection and acquires values of machine parameters that are characteristic of a machine state, said method comprising: moving the machine to be controlled into a respective machine state; transmitting the values of the machine parameters of the respective machine state to the data acquisition logic unit; storing the values of the machine parameters of the respective machine state in the data acquisition logic unit; and assigning the respective machine state to the stored values of the machine parameters as at least one rule for interpreting the values of the machine parameters.
15. The method of claim 14, wherein the data acquisition logic unit comprises an interpreter containing the at least one rule for interpreting and processing the values of the machine parameters, with the interpreter determining the machine state dependent on the values of the machine parameters by way of the at least one rule.
16. The method of claim 14, further comprising adapting the data structure between the numerical controller and the machine when the numerical controller and the machine to be controlled are commissioned.
Description
[0024] The afore-described properties, features and advantages of this invention as well as the manner in which they are achieved will become clearer and more comprehensible in conjunction with the following description of the exemplary embodiments, which are explained in more detail in conjunction with the drawings, which show, in a schematic representation:
[0025]
[0026]
[0027] The block diagram in
[0028] The machine tool controller 2 is classified into three main areas. A first main area, the COM part 10, fulfills communication tasks with connected peripheral equipment, such as, for instance, input and output modules, sensors, end switches and suchlike. Furthermore, the COM part 10 serves to communicate with the input/output unit 6. It moreover makes a programming environment available, which comprises at least one program editor, but often also simulation and test facilities.
[0029] The main functionality of the machine tool controllers 2, in other words a route control and interpolation and therefore the generation of motion target values for the machine tool 4, is realized in an NC core 12.
[0030] Finally, the third main functionality of the machine tool controller 4 realizes an adaptation control 14, which serves to adapt the general motion controller, relating to the workpiece, from the NC core to the specific machine tool 4.
[0031] The connection of the machine tool controller 2 to the machine tool 4 for data or signaling purposes is carried out with respect to the motion target values for the axles 15 of the machine tool 4 by way of first control lines 16 and with respect to the actuators and sensors in the machine tool 4 by means of second control lines 18 via binary input/outputs 17.
[0032] Machine-related connections based on Boolean variables and basic functions are realized in the adaptation control 14. This includes the activation of actuators, the detection of sensor signals, the realization of monitoring functions, the safeguarding of safety functions etc. Here simple logical links to the point of sequence controllers with time and counting functions are realized. To this end, control commands of the control program running in the NC core 12 are further processed for the machine tool 4. For instance, T and M commands from the G code are adapted here to the specific machine tool 4 and converted into corresponding control signals.
[0033] In conventional numerical controllers, the adaptation control 14 is realized by means of a programmable logic controller. According to the exemplary embodiment of the invention described here, the present adaptation control 14 comprises a data acquisition logic unit 20, by way of which all machine parameters which are characteristic of the various machine states are evaluated and prepared for the program sequence in the NC core 12. These state signals are forwarded to the input/output unit 6 and to the communication interface 8, where applicable.
[0034] The data acquisition logic unit 20 comprises an interface module 22 with rules, by means of which a machine data structure of a combination of values of the machine parameters is transformed into a control data structure which can be read by the numerical controller 2. Here the aim of the transformation is to transform the various machine data structures particular to each machine tool type by retaining the semantics in standardized control data structures.
[0035] The term data structure is to be understood here to mean data elements and/or further data structures, which are logically linked, and which are combined to form a larger unit under a shared name. A data structure describes the type of organization of the data when data is transmitted and when it is processed in a computer.
[0036] The interface module 22 comprises an interpreter 24. The interpreter 24 transforms the machine data structure by means of the implemented rules into the control data structure. The rules for the transformations are stored in a plug-in 26, 26.1, 26.2, 26.3 characteristic of each machine tool. This is advantageous in that the adaptation control 14 can only be adapted to the specific machine tool type by receiving the plug-ins 26 characteristic of the machine tool 4. With another machine tool type, the machine tool controller 2 is adapted to the specific machine tool for instance by means of the corresponding plug-in 26.1 or 26.2 or 26.3 etc. The plug-ins 26.1, 26.2, 26.3 etc. can be stored in a library, for instance.
[0037]
[0038] The values of the machine parameters which result from the first operating state are transmitted in a second method step 32 via the second control lines 18 to the interpreter 24 in the data acquisition logic unit 20 and stored there. Similarly to the predetermined first operating state, the interpreter 24 receives a first item of control data which can be read by the machine tool controller 2, to which the item of machine data, which occurs and describes the machine state, is to be assigned.
[0039] After releasing the operator, the control data structure of the predetermined operating state which can be read by the numerical controller is linked to the values of the values of the operating parameters to be set in the machine tool 4 in a third method step 34 to form a first rule.
[0040] The first rule has therefore been learnt by the interpreter 24, by a specific machine state having been assigned to a current actual data record.
[0041] The machine tool 4 in method step 36 is thereupon moved into a second state, in which accordingly another combination of the values of the operating parameters is set. Similarly to the method steps 32 and 34, a second rule is created relating to the second state.
[0042] The method steps cited above are run through until all generally occurring operating states fulfill the rules required for data transformation. These rules which are valid for the corresponding machine tool type are stored in the plug-in 26.
[0043] The rules produced as above can also be used again for the same machine tools 4 directly for adapting the numerical controller 4. It is therefore possible to produce a complete library of plug-ins 26, 26.1, 26.2, 26.3 etc. as described above. In order to adapt to a specific machine tool, only one of these plug-ins 26, 26.1, 26.2, 26.3 needs then to be loaded into the interpreter 24.
[0044] If the plug-in library is not to contain any plug-in 26, 26.1, 26.2, 26.3 characteristic of a specific machine tool, a commissioner of the machine tool can adapt the machine tool controller 2 described on the basis of