WO2025018417A1 - Centralized processing control system - Google Patents
Centralized processing control system Download PDFInfo
- Publication number
- WO2025018417A1 WO2025018417A1 PCT/JP2024/025988 JP2024025988W WO2025018417A1 WO 2025018417 A1 WO2025018417 A1 WO 2025018417A1 JP 2024025988 W JP2024025988 W JP 2024025988W WO 2025018417 A1 WO2025018417 A1 WO 2025018417A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- communication method
- machine
- workpiece
- macro variable
- macro
- Prior art date
Links
- 238000012545 processing Methods 0.000 title claims abstract description 73
- 238000000034 method Methods 0.000 claims abstract description 215
- 230000006854 communication Effects 0.000 claims abstract description 182
- 238000004891 communication Methods 0.000 claims abstract description 182
- 230000004044 response Effects 0.000 claims abstract description 16
- 238000012937 correction Methods 0.000 claims description 103
- 238000003754 machining Methods 0.000 claims description 99
- 238000005259 measurement Methods 0.000 claims description 79
- 230000008569 process Effects 0.000 claims description 59
- 230000006870 function Effects 0.000 description 17
- 238000004364 calculation method Methods 0.000 description 15
- 238000010586 diagram Methods 0.000 description 8
- 238000007781 pre-processing Methods 0.000 description 7
- 238000011143 downstream manufacturing Methods 0.000 description 6
- 238000012805 post-processing Methods 0.000 description 6
- 239000002131 composite material Substances 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 4
- 238000012544 monitoring process Methods 0.000 description 4
- 238000011144 upstream manufacturing Methods 0.000 description 4
- 230000002159 abnormal effect Effects 0.000 description 3
- 230000007175 bidirectional communication Effects 0.000 description 3
- FFBHFFJDDLITSX-UHFFFAOYSA-N benzyl N-[2-hydroxy-4-(3-oxomorpholin-4-yl)phenyl]carbamate Chemical compound OC1=C(NC(=O)OCC2=CC=CC=C2)C=CC(=C1)N1CCOCC1=O FFBHFFJDDLITSX-UHFFFAOYSA-N 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000001737 promoting effect Effects 0.000 description 2
- 230000005856 abnormality Effects 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004140 cleaning Methods 0.000 description 1
- 150000001875 compounds Chemical class 0.000 description 1
- 238000005520 cutting process Methods 0.000 description 1
- 238000005242 forging Methods 0.000 description 1
- 238000000227 grinding Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000005096 rolling process Methods 0.000 description 1
- 238000010008 shearing Methods 0.000 description 1
- 230000003746 surface roughness Effects 0.000 description 1
- 238000013519 translation Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/18—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
- G05B19/414—Structure of the control system, e.g. common controller or multiprocessor systems, interface to servo, programmable interface controller
Definitions
- the present invention relates to a centralized machining control system that can remotely manage the NC programs of each machine using a unified communication method (language) and macro variable names for each machine that is CNC-controlled using NC programs with various different communication methods (languages) and macro variables, and for a machining line made up of multiple machines.
- CNC computerized numerical control
- machinery such as industrial robots.
- CNC devices that execute computerized numerical control
- the CNC devices of the multiple machinery used in such processing lines control each machinery with an NC program (Numerical control program) that has its own communication method (language) and macro variable (macro variable name), and in actual processing sites, machinery with different communication methods (languages) and macro variable names are arranged and replaced for each process, and the processes corresponding to each machinery are executed sequentially to generate the final processed product.
- NC program Genetic control program
- JP 2000-317775 A Japanese Patent Application Publication No. 4-63652 JP 2003-295920 A JP 2021-92855 A JP 2021-96498 A
- the present invention was created in consideration of the above situation, and aims to provide a centralized machining control system that can centrally manage the NC programs of each machine from a remote location by making specific write/read requests to the CNC control device of each machine, while centrally storing past data using a unified communication method (language) and macro variable names in each machine that is CNC-controlled using NC programs with various different communication methods (languages) and macro variables, and complementing the calculations in the NC programs of each machine, in a machining line made up of multiple machines.
- languages unified communication method
- macro variable names in each machine that is CNC-controlled using NC programs with various different communication methods (languages) and macro variables
- the present invention provides a centralized machining control system that externally and in a unified manner monitors and manages the CNC control devices of various machines that operate according to various NC programs, regardless of the communication method or variables
- the centralized processing control system includes: A communication method/variable correspondence table showing the communication method and macro variable name of the NC program corresponding to each machine device and CNC control device, and the unified communication method and macro variable name corresponding to the centralized machining control system is stored and updated;
- the centralized machining control system of the present invention focuses on the various macro variable names that determine the communication method (language) and control mode of each machine controlled by CNC, sets a unified communication method (language) and macro variable name that can be compared with each communication method (language) and macro variable name, manages this in a correspondence table (managed in the "communication method/variable correspondence table" of the present invention) so that it can be compared with the communication method (language) and macro variable name of each machine, and based on that correspondence table, the unified communication method (language) and macro variable name are used as a bridge tool to (a) call up the operation information of each machine and translate it into the communication method (language) and macro variable name of the bridge tool, or (b) translate it from the bridge tool into the communication method (language) and macro variable name of each machine and write it to the CNC device of that machine.
- a correspondence table managed in the "communication method/variable correspondence table" of the present invention
- the centralized processing control system of the first invention provides the calling of the operation information of each machine device as described above in (a).
- a communication method/variable correspondence table (see FIG. 3 described later) is set up that lists the correspondence between the communication method (language) and macro variable name of the NC program corresponding to each machine device and CNC control device, and the communication method (language) and macro variable name as a unified bridge tool corresponding to this centralized processing control system.
- an NC program is generally a program for controlling machines using numerical control, and is mainly used in machine tools and robots, and refers to instructions such as position, speed, and acceleration within the program. In this specification, however, it refers to a control program related to NC technology, including CNC (Computer Numerical Control), which allows for more complex machining and system integration.
- PLCs Programmable Logic Controllers
- PMCs Programmable Machine Controllers
- the communication method and macro variable name corresponding to the requested content and the machine is determined from the communication method/variable correspondence table, and a command is sent to write a numerical value to the macro variable determined using the communication method determined according to the CNC control device of the machine for which the request is made, and the machine for which the request is made permits or rejects the command.
- a response signal is received, the fact that permission or refusal has been granted is output as the unified communication method and macro variable name in the communication method/variable correspondence table.
- the centralized machining control system of the present invention provides a specific method for translating from the bridge tool (b) to the communication method (language) and macro variable name of each machine and writing it to the CNC control device of that machine.
- the present invention provides a reading function, so to speak, that reads the operation information of each machine having various communication methods (languages) and macro variable names simply by making a read request with a unified communication method (language) and macro variable name using a communication method/variable correspondence table, but this invention has the function of issuing operation commands for each machine having various communication methods (languages) and macro variable names simply by making a write request with a unified communication method (language) and macro variable name using the same communication method/variable correspondence table.
- each machine when combined with the reading function described above, even in a machining line formed of multiple machines with NC programs, each machine can be monitored intensively from a remote location in a unified language, and the monitoring results can be reflected to control the operation of each machine.
- remote monitoring and management can be performed intensively in a unified language, such as monitoring the machining in the previous process and reflecting the machining results in the next process (post-process) in real time, which can greatly contribute to promoting the use of IoT in machining sites.
- shape information such as dimensions measured after the completion of the pre-processing is taken into consideration to select the machining equipment or other machinery to be used in the post-processing (predetermined machining equipment, etc. or a change to that machining equipment, etc.), and the shape information of the workpiece fed into the machinery to be used in the post-processing and the machining conditions of the blades, etc. can be corrected.
- the dimensions of the workpiece are measured at a specified measurement position after the previous process is completed, and the machine (machine tool, etc.), processing process, workpiece, measurement position, and the measurement value of the dimensions are linked and stored in an external device, etc., using the communication method (language) of this centralized control system and macro variable names related to dimensional correction.
- This linked data (previous process measurement data) is searched when the workpiece is input/attached to the next process, and the numerical value calculated as the measurement value of the dimension of the workpiece to be input to the next process is converted to the communication method (language) of the CNC device of the next process and the macro variable names related to dimensional correction, and written to the macro variable related to dimensional correction in the NC program of the next process.
- various differences can occur in the extent to which the dimensional correction calculation performed by the NC program of the machine is supplemented in this centralized control system, and at what stage the dimensional correction calculation process is performed. For example, the following are examples of dimensional correction.
- the centralized processing control system includes: When operating another machine device after the operation of the one machine device, The measurement values of the previous process are searched for from the previous process measurement data, and based on the averaged measurement value, a write request is made to the other machine to perform dimensional correction of the workpiece, and a communication method and macro variable name related to the dimensional correction that corresponds to the other machine is determined from the communication method/variable correspondence table, and a command is sent to the CNC device of the other machine to write a numerical value into the macro variable name determined using the determined communication method.
- this centralized machining control system searches for the measurement values of the dimensions of the workpiece after pre-processing from the pre-process measurement data that was measured and stored after the pre-processing, and requests that the measurement values be written to the macro variables of the post-processing machine using the communication method (language) and macro variable name based on the average measurement value.
- the measurement values of the workpiece after pre-processing can be calculated on the NC program of the post-processing machine to calculate a correction value, and the machining position can be corrected by the NC program by the correction value.
- the centralized processing control system includes: Furthermore, when the operation of another machine that has been operated after the operation of the one machine is completed, the other machine, its operation, the workpiece, and the measurement positions and measurement values of the workpiece after processing are linked to each other and stored as post-process measurement data; When operating another machine device after the operation of the one machine device, A measurement value of a front-end process is searched for from the front-end measurement data, and a statistical process is performed on the most recent back-end measurement data to calculate an error due to the influence of other current machines and devices as a correction value; Based on the measurement value and the correction value, a write request for dimensional correction of the workpiece is sent to the other machine, and a communication method and macro variable name related to the dimensional correction corresponding to the other machine are determined from the communication method/variable correspondence table, and a command is sent to the CNC device of the other machine to write a numerical value into the determined macro variable using the determined communication method.
- dimensional correction 2 In the second example of dimensional correction (dimensional correction 2), complex calculations that are difficult to perform with the NC program of a normal machine are performed in advance by this centralized machining control system, which has a unified communication method (language) and macro variable names, and the results are fed back to calculate a correction value that takes into account the effects of tool wear and thermal variation in the current downstream machine (other machine), and this correction value is written together with the measurement value of the previous process in the communication method (language) and macro variable name of the downstream machine, so that the machining position can be corrected by the correction value in the NC program of the downstream machine as the dimension of the workpiece input to the downstream process.
- this correction value is written together with the measurement value of the previous process in the communication method (language) and macro variable name of the downstream machine, so that the machining position can be corrected by the correction value in the NC program of the downstream machine as the dimension of the workpiece input to the downstream process.
- the centralized control machining system of the present invention makes it possible to centrally manage from a remote location the NC programs of multiple machines that are CNC controlled with NC programs using various different communication methods (languages) and macro variables, while centrally storing past data using a unified communication method (language) and macro variable names.
- this centralized control machining system complements the CNC control devices of conventional machines by performing complex calculations that were difficult to perform in the NC programs of each machine in advance externally, and then reflecting the results in the NC programs of each machine.
- FIG. 1 An example of a conceptual diagram in which the centralized control system of the present invention is used to read NC programs from the CNC control devices of a plurality of machines and monitor the operating conditions of each machine.
- An example conceptual diagram is shown in which the centralized management system of the present invention is used to manage the operating status of each of a plurality of machines by writing requests to the NC program of each CNC control device to modify the operation of each of the machines.
- An example of a communication method/variable correspondence table is shown which lists the correspondence between the communication method (language) and macro variable name of each machine device and CNC control device and the communication method (language) and macro variable name corresponding to the centralized management system of the present invention.
- FIG. 1 An example of a conceptual diagram in which the centralized control system of the present invention is used to read NC programs from the CNC control devices of a plurality of machines and monitor the operating conditions of each machine.
- An example conceptual diagram is shown in which the centralized management system of the present invention is used to manage the operating status of each of a plurality of machines by
- FIG. 1 is a photograph showing an example of an actual machining line in a centralized machining control system that executes dimensional correction 1.
- a flow for executing dimension correction 1 is shown.
- a flow for executing dimension correction 1 is shown.
- a part of the flow for executing the dimension correction 2 is shown.
- a part of the flow for executing the dimension correction 2 is shown.
- 1 shows a main program for a process of executing dimension correction 1. This shows a step 1 program in the step 1 processing process in the main program of FIG. 10 shows a subprogram for recording the work offset in the step 1 machining process and the step 2 machining process in the main program of FIG. 9 to an external device.
- 11 shows a subprogram for recording the tool offset in the process 1 program of FIG. 10 to an external device.
- This shows a list of the macro variable names and the contents of each variable shown in FIGS. 1 shows a main program for a process of executing dimension correction 2.
- FIG. 1 shows an example of a conceptual diagram in which the centralized management system of the present invention is used to read the NC programs of the CNC control devices of multiple machines and monitor the operating status of each machine.
- FIG. 2 shows an example of a conceptual diagram in which the centralized management system of the present invention is used to manage the operating status of each machine by requesting writing to the NC program of each CNC control device to modify the operation of each machine.
- FIG. 3 shows an example of a communication method/variable correspondence table that lists the correspondence between the communication method (language) and macro variable names of each machine and CNC control device and the communication method (language) and macro variable names that correspond to the centralized management system of the present invention.
- a centralized processing control means 10 capable of bidirectional communication with an external device 12 monitors the operating status of CNC-controlled machine tools 14 (14a, 14b, etc.), industrial robots 16 (16a, 16b, etc.), and other industrial CNC machines 18 (18a, 18b, etc.) that constitute a processing line that processes workpieces.
- the centralized machining control means 10 is software that runs on a PC (Personal computer) and communicates with the CNC control devices of machine tools 14, the robot control devices (CNC control devices (robot controllers)) of industrial robots 16, and other CNC control devices of industrial CNC machinery 18, acquires, calculates, and draws internal variable information (macro variable names and their numerical values), and executes pre-programmed feedback to each CNC control device depending on the calculation results.
- the external device 18 is assumed to be a device with communication and calculation functions, such as a server, PC, PLC (Programmable Logic Controller: a control device used to control equipment and facilities), or microcomputer.
- the centralized processing control means 10 is software that monitors (reads) the operating status of the machine tools 14 and the like and controls (writes) the operations described below in the centralized processing management control system of the present invention. If the external device 12 is a PC, the centralized processing control means 10 may be installed in the PC and operate through bidirectional communication within the PC, or bidirectional communication may occur between the PC as the external device 12 and the PC on which the centralized processing control means 10 is installed.
- the machine tool 14 is a so-called NC machine tool that performs cutting, grinding, shearing, forging, rolling, etc. of workpieces, and has a CNC control device with an external communication function for operating the machine tool according to commands in an NC program.
- the industrial robot 16 performs various processing steps such as transport, processing, assembly, cleaning, and deburring using a robot body equipped with movable axes (joints) and arms driven by actuators, and has a similar CNC control device with an external communication function called a "control box".
- Other industrial CNC machines 18 are, for example, numerically controlled measuring devices 18a such as three-dimensional measuring devices and numerically controlled transport machines 18b such as loaders, and are controlled by a CNC control device with an external communication function like the machine tool 14 and the industrial robot 16.
- the centralized machining control means 10 When it is desired to monitor the current operating status of any of the machines 14, 16, and 18, the centralized machining control means 10 first makes an information read request to the external device 12 for the target machine 14, 16, and 18. For example, when reading information from the CNC control device of the machine tool 14a (machine 0001, manufactured by company A), a read request with the content "Read information @@ from machine 0001" is made from the centralized machining control means 10 of the present invention using the communication method "function (language) ⁇ " of the centralized machining control means 10, and the communication method/variable correspondence table shown in Figure 3 stored in the external device 12 is called (STEP 1: see reference numeral 20).
- the communication method and macro variable name corresponding to the read request and the target machine device 14, 16, 18 is determined from the communication method/variable correspondence table (STEP 2).
- the communication method/variable correspondence table For example, in the case of reading information from the CNC control device of the above-mentioned machine tool 14a (machine 0001, manufactured by Company A) using the communication method/variable correspondence table in FIG.
- the write request is used to inquire about the operation information of the machine 14, 16, 18 in a translation language that matches the machine 14, 16, 18 (STEP 3).
- the communication language “a” and macro variable name “#1" that match the machine tool 14a are determined in STEP 2, and once they are translated, the communication language “a” and macro variable name “#1” of the machine tool 14a are determined, and a command to read the machine tool 14a is sent from the centralized machining control means 10 (see reference numeral 22), and the CNC control device of the machine tool 14a that receives the command reads the numerical value of the macro variable name "#1" that is in operation and sends it from the centralized machining control means 10 (STEP 4).
- the centralized machining control means 10 acquires operation information of the machine tool 14a using the communication method (language) and macro variable names of the machine tool 14a.
- the centralized processing control means 10 again calls up and updates the communication method/variable correspondence table stored in the external device 12, and in the opposite direction to STEP 2, determines from the communication method/variable correspondence table the communication method (language) and macro variable name of the centralized processing control means 10 that correspond to the communication method (language) and macro variable name of the machine tool 14a, and transmits and outputs this communication method (language) and macro variable name (its numerical value) to the external device 12 (see symbol 21).
- the centralized processing control means 10 When it is desired to correct or otherwise manage the current operating status of any of the machines 14, 16, and 18, the centralized processing control means 10 first makes an information write request to the external device 12 for the machine 14, 16, and 18 that is the target. For example, when writing correction or other information to the robot control device of the industrial robot 16a (industrial robot 001 manufactured by company A), a write request to "write the value dd to the information @@ of industrial robot 001" is made from the centralized processing control means 10 of the present invention using the communication method "function (language) ⁇ " of the centralized processing control means 10, and the communication method/variable correspondence table shown in FIG. 3, which is stored in the external device 12, is called up (STEP A: see reference numeral 30).
- the robot control device of the industrial robot 16a industrial robot 001 manufactured by company A
- a write request to "write the value dd to the information @@ of industrial robot 001" is made from the centralized processing control means 10 of the present invention using the communication method "function (language) ⁇ " of
- the communication method and macro variable name corresponding to the machine 14, 16, 18 that is the write request is determined from the communication method/variable correspondence table (STEP B).
- the communication method/variable correspondence table For example, in the case of writing correction information to the robot control device of the above-mentioned industrial robot 16a (industrial robot 001, manufactured by Company A) using the communication method/variable correspondence table in Figure 3 as an example, if the macro variable name corresponding to "information @@" in the communication language " ⁇ " of the centralized processing control means 10 (machine number "0": control device "this software") is "A2", it is determined that the communication language "d” and macro variable name "register 2" correspond to the industrial robot 16a (machine number "1001": control device "Company A ROBOT”) (STEP B above).
- the write request is used to inquire about the operation information of the machine 14, 16, 18 in a language that matches the machine 14, 16, 18 (STEP C).
- the centralized processing control means 10 issues a write request input using the centralized processing control means 10's communication method (language) and macro variable name, which are set as a unified one, as a write request to modify the NC program using the industrial robot 16a's unique communication method (language) and macro variable name.
- the robot control device of the industrial robot 16a when the robot control device of the industrial robot 16a receives a write command made in that communication method (language) and macro variable name, it judges whether to allow or reject the control to modify the numerical value of the corresponding macro variable in the NC program of the industrial robot 16a, and if it is allowed, it rewrites the NC program and simultaneously sends an allow response signal, and if it is rejected, it sends a reject response signal.
- the centralized machining control means 10 Upon receiving this allow or reject response signal, the centralized machining control means 10 again calls up the communication method/variable correspondence table ( Figure 3) stored in the external device 12, saves and updates the numerical value "dd” and "allow/reject” in the past history of the macro variable name "cash register 2" of the machine number "1001", and transmits the "allow/reject” response to the external device 12 such as a PC, outputting the "allow/reject” response in the communication language " ⁇ " (see reference numeral 31: STEP E).
- Example 1 (dimension correction 1)
- this software 10 As the centralized machining control means 10 in the centralized machining control system of the present invention will be illustrated.
- Figure 4 is a photograph showing an example of an actual machining line in the centralized machining control system that executes dimension correction 1.
- Figures 5 and 6 show the flow of executing dimension correction 1.
- the industrial robot 16a grasps the workpiece.
- the software 10 requests the CNC control device of the machine tool 14a to read the workpiece (workpiece) after processing in the previous process, together with its number (workpiece number), obtains the information of the workpiece number, and transmits the workpiece number to the industrial robot 16a (STEP 111, STEP 113).
- machine number 1 control device "Company A CNC”
- the CNC control device of the machine tool 14a which receives the command in that communication language and macro variable name, reads the response numerical value of the workpiece number of that macro variable from the NC program and acquires the software 10 (STEP 111).
- the software 10 which has acquired the workpiece number of the machine tool 14a after the previous process has been completed, issues a write request to the industrial robot 16a to "write the workpiece number (numerical value) to the workpiece information of industrial robot 0001" using the communication method "function (language) ⁇ " of the software 10 and macro variable names "A1, A2, ... etc.” as described with reference to FIG. 2.
- the communication method/variable correspondence table is called from the external device 12, and the communication language “d" and macro variable names "register 1, register 2, ...
- the software 10 requests the robot control device of the industrial robot 16a to read the workpiece number and each measurement position when the multiple points on the workpiece are measured by the industrial robot 16a and measuring device 19, and links the workpiece number and measurement position information obtained by the read request to the measurement value information by the measuring device 19 and saves (stores) them (STEP 121 to STEP 125).
- the industrial robot 16a moves the workpiece obtained from the machine tool 14a in the previous process, sets it so that multiple positions (measurement points) of the workpiece can be measured by the measuring device 19, and measures the dimensions with the measuring device 19 (STEP 121).
- the measurement values from the measuring device 19 are separately transmitted to the external device 12 and saved (stored).
- the software 10 makes a read request to "read the work number and robot coordinate information (numerical value) from the industrial robot 1001" in the communication method "function (language) ⁇ " of the software 10 and the macro variable name "A1, A2, ... etc.” as in STEP 111, and the communication language “d” and macro variable name "register 1, register 2, ...
- the robot control device of the industrial robot 16a that receives the command in that communication language and macro variable name reads the response numerical value of the robot coordinate of that macro variable from the NC program, which is acquired by the software 10 together with the work number, and translated into the communication method (language) and macro variable name of the software 10 as explained in FIG. 1, inputs it into the communication method / variable correspondence table, and saves it in the external device 12 (STEP 123).
- the workpiece number and the robot coordinates at each measurement position stored (stored) in the external device 12 are linked to the measurement values of the measuring device 19 at each measurement position stored (stored) in the external device 12 described above, and are stored (stored) in the external device 12 (STEP 125).
- the workpiece whose dimensions have been measured by the industrial robot 16a and measuring device 19 is transferred from the industrial robot 16a to the industrial robot 16b as shown in the example of the processing line in Figure 4, and is then transported by the industrial robot 16b and inserted and attached to the machine tool 14b, and the workpiece after processing by the machine tool 14a is further processed by the machine tool 14b.
- the software 10 requests the industrial robot 16a and the machine tool 14b to write the workpiece number, requests the machine tool 16b to write the workpiece number and the average value of the past history of the workpiece measurement values as the workpiece dimensions in the variable area of the machine tool 16b, and executes the NC program of the machine tool 14b (STEP 131 to STEP 153).
- this software 10 uses the communication method/variable correspondence table in the same manner as in STEPs 111 and 115 to translate the communication method "function (language) ⁇ " and macro variable names "A1, A2, ... etc.” of this software 10 into the communication language "e” and macro variable names "B1, B2, ... etc.” of industrial robot 16b (machine number 1002: control device "Company E ROBOT”), and the robot control device of industrial robot 16b, receiving the command in that communication language and macro variable names, writes the numerical value of the workpiece number into the corresponding macro variable of the NC program (STEP 131).
- the software 10 translates the "function (language) ⁇ " and macro variable names "A1, A2, ... etc.” into the communication language "b" and macro variable names "#1, #2, ... etc.” of the machine tool 14b (machine number 2: control device "Company B CNC"), and the CNC control device of the machine tool 14b, receiving a command in that communication language and macro variable names, writes the numerical value of the work number into the corresponding macro variable of the NC program (STEP 141).
- the software 10 causes the external device 12 to search for the measurement values of the workpiece No. after the previous process that have been stored (recorded) in the external device 12 in STEP 125 and in the past, and causes the external device 12 to calculate the average value of the searched measurement values (STEP 151).
- the software 10 requests the machine tool 14b to write the calculated average value of this workpiece No., sends it to the variable area of the machine tool 14b as the initial dimension of the attached workpiece, and executes the NC program (STEP 153: see NC programs in Figures 9 to 13).
- the software 10 makes a write request to "write the calculated average value zz into the variable area of the workpiece initial dimensions of the machine tool 2" using the communication method "function (language) ⁇ " and macro variable names "A1, A2, ... etc.” of the software 10, and similarly to STEP 113, the communication method/variable correspondence table is called from the external device 12, and the CNC control device of the machine tool 14b writes the calculated value zz into the variable area of the communication language "b" of the machine tool 14b (machine number 2: control device “Company B CNC”) and the macro variable names "#1, #2, ... etc.” indicating the initial dimensions (STEP 153). This allows the machine tool 14b to perform machining on the machine tool 14b, with the initial state being the dimensions after pre-machining.
- the machine tool 14b receives the dimensional value (average value) of the workpiece No., processes the dimensional value in its NC program for the workpiece that has been input and attached, calculates a correction value, and checks whether the correction value is within the normal range. If the confirmed correction value is outside the normal range and is judged to be abnormal in the NC program of the machine tool 14, an error signal is sent, and the software 10, which receives this, outputs an error signal to the external device 12. On the other hand, if the confirmed correction value is within the normal range and is judged to be normal, the machine tool 14 reflects the machining position by the correction value in its NC program and executes machining. Therefore, even if there is a dimensional error in the previous machining, it is possible to always machine with accurate dimensional values by taking the dimensional error into account.
- Fig. 9 shows the main program for the process of executing dimension correction 1 in the machine tool 14b
- Fig. 10 shows the process 1 program for the process 1 machining process (N111) in the main program in Fig. 9
- Fig. 11 shows subprogram 1 for recording the work offset in the external device 12 (external PC) in the process 1 machining process (N111) and the process 2 machining process (N02) in the main program in Fig. 9,
- Fig. 12 shows subprogram 2 for recording the tool offset in the process 1 program in Fig. 10 to the external device 12 (external PC).
- Fig. 13 lists the macro variable names and their respective variable contents shown in Figs. 9 to 12, and in particular macro variables #501 to #516 show the macro variables used in the read/write commands from this software.
- Figs. 9 to 13 brief explanations of the NC program and macro variables are given in parentheses.
- the software 10 causes the industrial robot 16b to acquire the workpiece of the machine tool 14b after the completion of the subsequent machining process together with the workpiece number, and transmits the workpiece number to the industrial robot 16a (STEP 181).
- a read request is made from the software 10 to "read the workpiece No. information (numeric value) from the machine tool 2" (similar to STEP 111, so omitted), and the software 10, having acquired the workpiece No. of the machine tool 14b after machining is completed, makes a write request to the industrial robot 16b to "write the workpiece No. (numeric value) to the workpiece information of industrial robot 0002" using the communication method "function (language) ⁇ " of the software 10 and macro variable names "A1, A2, ... etc.”, the communication method/variable correspondence table is called up, the communication language “e” and macro variable names "register 1, register 2, ...
- Example 2 dimension correction 2
- dimensional correction 2 will be described as an example of a modification of dimensional correction 1 for the machines 14, 16, 18, which is executed by the software 10 in the centralized machining control system of the present invention described above.
- Dimension correction 2 is executed in the machining line shown in Fig. 4, similar to dimensional correction 1, and the flow executed by the software 10 is generally similar to Figs. 5 to 6, so that the flow executed by the software 10 that differs from dimensional correction 1 (Figs. 5 to 6) will be described here with reference to the flow diagrams of Figs. 7 and 8.
- the machined workpiece is acquired by the industrial robot 16a, and the industrial robot 16a and measuring device 19 measure the workpiece before handing it over to the industrial robot 16b.
- the industrial robot 16b then inserts and attaches the workpiece to the machine tool 14b to perform machining.
- the software 10 requests the CNC control device of the machine tool 14a to read the workpiece number of the machine tool 14a after machining in the previous process and transmits it to the industrial robot 16a (STEP 111, STEP 113), and then requests the robot control device of the industrial robot 16a to read the workpiece number and each measurement position when multiple points on the workpiece are measured by the industrial robot 16a and measuring device 19, and transmits the workpiece number.
- the measurement position information is linked to the measurement value information by the measuring device 19 and saved (stored) (STEP 121 to STEP 125), and a request is made to the industrial robot 16a and the machine tool 14b to write the workpiece number (STEP 131 to STEP 141).
- the flow executed by the software 10 in dimensional correction 2 is the same as that in dimensional correction 1 described above.
- the software 10 causes the external device 12 to search the past history for the measured values from pre- and post-machining using the workpiece number, calculates the "average value", requests the calculated average value to be written as the workpiece dimension in the variable area of the downstream machine tool 14b, and executes the NC program of the machine tool 14b (STEP 131 to STEP 153). Then, in dimensional correction 1, the dimensional value (average value) received by the machine tool 14b is processed in the NC program as the workpiece that has been input and attached to calculate a "correction value", and the "correction value” is used to determine whether it is abnormal or normal.
- the calculation flow for the "correction value" of the workpiece input to the machine tool 14b in STEPs 131 to 153 in Figures 5 and 6 above is different.
- the software 10 requests the industrial robot 16a and machine tool 14b to write the workpiece number in STEPs 131 to 141
- the software 10 causes the external device 12 to search the past history for the measurement value after the previous process based on the workpiece number (STEP 251a), and performs a composite calculation of the "correction value" of the workpiece based on the measurement value (*) after machining by the machine tool 14b in the most recent subsequent process (STEP 251b).
- the most recent data are extracted from the stored data in which the measurement positions of multiple points of the workpiece in the subsequent process by the machine tool 14b are linked to the measurement values (dimension values) at each position, and a composite calculation is performed on the data, taking into account the amount of machining error due to various factors such as tool wear and thermal variation of the machine tool 14b from statistics, to calculate a "correction value" (STEP 251b).
- a composite calculation is performed on the data, taking into account the amount of machining error due to various factors such as tool wear and thermal variation of the machine tool 14b from statistics, to calculate a "correction value" (STEP 251b).
- the dimensional data after the past subsequent process is fed back, and the influence on the machining error in the machine tool 14b that performs the subsequent process is subjected to a composite calculation from the statistical data to calculate a "correction value" for the subsequent process to be performed in the future.
- Dimension Correction 1 which simply takes the average of the past history of dimensional measurement values after machining by the machine tool 14a in the upstream process as the "correction value" for the downstream process, the dimensional measurement error of the workpiece after the upstream process is reflected in the downstream process, but Dimension Correction 2 is more advanced in that it calculates the "correction value" by statistically considering the effects of tool wear and thermal deformation in the downstream process of the input workpiece from the past results when a workpiece with dimensions after the upstream process is input to the downstream process and processed.
- This software 10 can perform statistical processing using a past database that is difficult to execute with a CNC control device, and even if some dimensional error occurs in the upstream process by the machine tool 14a, it is possible to always process with accurate dimensional values by taking the dimensional error into account.
- the software 10 performs a compound calculation of the "correction value" of the workpiece using the external device 12, and then links the "correction value” to the workpiece number and the measurement values at each measurement position saved (stored) in the external device 12 in STEP 125, and saves (stores) it in the external device 12 (STEP 251c).
- the software 10 determines whether the "correction value" is within a preset normal range (STEP 251d), and if it is determined to be outside the normal range and abnormal, outputs an error signal to the external device 12, and the output error signal is saved (stored) in association with the previously saved (stored) workpiece number and the measurement values at each measurement position (STEP 251d to STEP 251e).
- this software 10 judges that the "correction value” is within the normal range and is normal, this software 10 searches for the measurement value of the workpiece number after the previous process stored (stored) in the external device 12 and its "correction value", or calculates the average value of the searched “correction values” (STEP 251f), requests that this "correction value” be written to the CNC control device of the machine tool 14b, sends it to the variable area of the machine tool 14b as the initial dimension of the workpiece, and causes the machine tool 14b to input the "correction value” as an offset in the NC program and execute the NC program (STEP 253: see NC program in Figure 14).
- the above STEPs 251a to 253 are one of the flows of this software 10 in dimension correction 2 that differ from STEPs 151 to 153 in dimension correction 1.
- Figure 14 shows the main program of the process that executes dimensional correction 1 in the machine tool 14b, and for the process 1 program and subprograms that are the same as dimensional correction 1, refer to Figures 10 to 13. Also in Figure 14, as in Figures 9 to 13, a brief explanation of each NC program and macro variable is written in parentheses. From the main program of the NC program for the machine tool 14b shown in N01 in Figure 14, it can be seen that in dimensional correction 2, the "correction value" calculated by the composite calculation is calculated in advance by the external device 12 by the software 10, and the NC program of the machine tool 14b simply writes the "correction value" to the offset.
- this software 10 when the machining of the machine tool 14b is completed, the workpiece is removed from the machine tool 14b and received by the industrial robot 16b as shown in the example machining line of FIG. 4, just like in dimensional correction 1, and just like in STEP 181 of FIG. 6, this software 10 obtains the industrial robot 14b along with the workpiece number after machining by the machine tool 16b in the subsequent process, and transmits the workpiece number to the industrial robot 16a.
- the software 10 measures multiple points on the workpiece after processing in the subsequent process using the industrial robot 16b, and links the workpiece number, the measurement position of the workpiece (robot coordinate information), and each measurement value of the dimension to each other and stores (stores) them in the external device 12 so that the results can be fed back to the subsequent process using the machine tool 14b in the next processing line in Figure 4 and the "correction value" of the workpiece dimension in the subsequent process of the machine tool 14b can be calculated in STEP 251b described above.
- the industrial robot 16b moves the workpiece obtained from the downstream machine tool 14b, sets it up so that multiple positions (measurement points) of the workpiece can be measured with a measuring device (not shown (hereinafter also referred to as the "measuring device (etc.)”)), and measures the dimensions with the measuring device (etc.) (STEP 291).
- the measurement values from the measuring device (etc.) are transmitted to the external device 12 and saved (stored).
- the software 10 makes a read request to "read the workpiece number and robot coordinate information (numerical values) from the industrial robot 1002" in the communication method "function (language) ⁇ " and macro variable name "A1, A2, ...
- the workpiece number and the robot coordinates at each measurement position stored (stored) in the external device 12 are linked to the measurement values of the measuring device 19 at each measurement position stored (stored) in the external device 12 described above, and are stored (stored) in the external device 12 (STEP 125).
- the stored (stored) workpiece number and the measurement values at each measurement position are fed back in the above-mentioned STEP 251b in the next and subsequent machining lines, and are used in the composite calculation of the "correction value" of the workpiece to be fed into the machine tool 14b in the subsequent process.
- Centralized machining control means 12 External device 14, 14a, 14b Machine tool 16, 16a, 16b Industrial robot 18, 18a, 18b Other industrial CNC machine device 19 Measuring instrument
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Manufacturing & Machinery (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- General Factory Administration (AREA)
Abstract
Description
本発明は、種々異なる通信方式(言語)及びマクロ変数のNCプログラムでCNC制御される各機械装置及び複数の機械装置で構成された加工ラインに対して統一的な通信方式(言語)及びマクロ変数名で各機械装置のNCプログラムを遠隔地から管理することが可能な集中加工制御システムに関する。 The present invention relates to a centralized machining control system that can remotely manage the NC programs of each machine using a unified communication method (language) and macro variable names for each machine that is CNC-controlled using NC programs with various different communication methods (languages) and macro variables, and for a machining line made up of multiple machines.
加工現場における加工ラインでは、コンピュータ数値制御(Computerized Numerical Control:以下、「CNC」又は「CNC制御」と称する)を実行する複数のNC装置や産業ロボット等の機械装置を用いた加工工程を経て1つの加工品を成形している。従来、このような加工ラインで用いる複数の機械装置のCNC装置では、それぞれ独自の通信方式(言語)やマクロ変数(マクロ変数名)を有するNCプログラム(Numerical control program:数値制御プログラム))で各機械装置を制御しており、実際の加工現場では、異なる通信方式(言語)やマクロ変数名を有する機械装置を加工ごとに配置・入れ替えして、各機械装置に対応する加工を順次実行して最終加工品を生成している。 In processing lines at manufacturing sites, a single processed product is formed through a processing process using multiple NC devices that execute computerized numerical control (hereinafter referred to as "CNC" or "CNC control") and machinery such as industrial robots. Conventionally, the CNC devices of the multiple machinery used in such processing lines control each machinery with an NC program (Numerical control program) that has its own communication method (language) and macro variable (macro variable name), and in actual processing sites, machinery with different communication methods (languages) and macro variable names are arranged and replaced for each process, and the processes corresponding to each machinery are executed sequentially to generate the final processed product.
しかしながら、機械装置は例えば製造メーカごとにそのCNC装置に適用される通信方式(言語)やマクロ変数名が異なっているためユーザが接続機械装置に合わせてプログラミング又は命令(コマンド)を実行させる必要があり、異なる製造メーカ製の複数の機械装置を加工工程ごとに順次用いて最終加工品を生成するような加工ラインを遠隔地から集中的に管理することは従来困難であった。 However, because the communication method (language) and macro variable names applied to the CNC devices of each manufacturer of machinery and equipment are different, users must execute programs or instructions (commands) that match the connected machinery and equipment, and it has traditionally been difficult to centrally manage from a remote location a machining line in which multiple machinery and equipment made by different manufacturers are used in sequence for each machining process to produce the final machined product.
とりわけ、次世代IoT社会を推進していく場合、工場内の加工現場においても複数の異なる機械装置を自在に組み合わせながら各加工工程の精度及び時間・コストと全体加工工程の精度及び時間・コストを総合的に遠隔管理する潜在ニーズを考慮しても、異なるNCプログラムを統一的に管理するオペレーティングシステムの構築は必須であると発明者らは考えた。 In particular, when promoting the next-generation IoT society, the inventors believe that it is essential to build an operating system that can unify the management of different NC programs, even when considering the potential need for comprehensive remote management of the accuracy, time, and cost of each machining process and the accuracy, time, and cost of the entire machining process while freely combining multiple different machines and devices at the machining site within a factory.
一方、近年、特許文献1~5等のように複数のCNC制御の機械装置を用いた加工ラインを集中管理する技術が提唱されてきているが、各加工工程の前後を連関させるものや、同一通信方式(言語)内での集中管理を提唱する技術に留まっており、一部異なる通信方式(言語)を管理できる技術を示唆はしているが具体的な手法を確立させるには至っておらず、遠隔地での集中的・統一的な加工管理を実現するのはいまだ困難であった。 On the other hand, in recent years, technologies have been proposed for centrally managing machining lines that use multiple CNC-controlled machines, such as those in Patent Documents 1 to 5. However, these technologies are limited to linking the before and after of each machining process, or to centralized management within the same communication method (language). Although some technology has been suggested that can manage different communication methods (languages), no specific method has been established, and it has remained difficult to achieve centralized and unified machining management in remote locations.
本発明は上記実情に鑑みて創作されたものであり、種々異なる通信方式(言語)及びマクロ変数のNCプログラムでCNC制御される各機械装置及び複数の機械装置で構成された加工ラインにおいて統一的な通信方式(言語)及びマクロ変数名で過去データを集中保存しながら各機械装置のNCプログラムでの演算を補完しつつ、これを踏まえて各機械装置のCNC制御装置に具体的な書き込み・読み取り要求をすることで各機械装置のNCプログラムを遠隔地から集中管理することが可能な集中加工制御システムを提供することを目的とする。 The present invention was created in consideration of the above situation, and aims to provide a centralized machining control system that can centrally manage the NC programs of each machine from a remote location by making specific write/read requests to the CNC control device of each machine, while centrally storing past data using a unified communication method (language) and macro variable names in each machine that is CNC-controlled using NC programs with various different communication methods (languages) and macro variables, and complementing the calculations in the NC programs of each machine, in a machining line made up of multiple machines.
上記目的を達成するため本発明は、種々のNCプログラムにより動作する各機械装置の通信可能なCNC制御装置を通信方式・変数を問わず外部から統一的に監視及び管理する集中加工制御システムであって、
該集中加工制御システムは、
各機械装置及びCNC制御装置それぞれに対応するNCプログラムの通信方式及びマクロ変数名、並びに該集中加工制御システムに対応する統一的な通信方式及びマクロ変数名を示す通信方式・変数対応表が記憶及び更新されており、
任意の機械装置に対してその動作情報の読み込み要求がなされると、読み込み要求された内容及び機械装置に応じた通信方式及びマクロ変数名を前記通信方式・変数対応表から判定し、読み込み要求された機械装置のCNC制御装置に対して判定された通信方式を用いて判定されたマクロ変数を呼び出す指令を送信し、該指令を受信して呼び出されたマクロ変数における応答数値を前記通信方式・変数対応表から前記統一的な通信方式及びマクロ変数名における応答数値として出力する、を備えることを特徴とする。
In order to achieve the above object, the present invention provides a centralized machining control system that externally and in a unified manner monitors and manages the CNC control devices of various machines that operate according to various NC programs, regardless of the communication method or variables, and
The centralized processing control system includes:
A communication method/variable correspondence table showing the communication method and macro variable name of the NC program corresponding to each machine device and CNC control device, and the unified communication method and macro variable name corresponding to the centralized machining control system is stored and updated;
When a request is made to read the operation information of any machine, the communication method and macro variable name corresponding to the requested content and the machine are determined from the communication method/variable correspondence table, a command is sent to the CNC control device of the machine for which the read request is made to call the determined macro variable using the determined communication method, and a response value for the macro variable called upon receiving the command is output from the communication method/variable correspondence table as a response value for the unified communication method and macro variable name.
本発明の集中加工制御システムでは、CNC制御する各機械装置における通信方式(言語)や制御態様を決定づける種々のマクロ変数名に注目し、各通信方式(言語)とマクロ変数名と対比できる統一的な通信方式(言語)とマクロ変数名とを設定し、これと機械装置ごとの通信方式(言語)とマクロ変数名とを対比できるように対応表で管理(本発明の「通信方式・変数対応表」で管理)して、その対応表に基づいて一旦、統一的な通信方式(言語)とマクロ変数名とをブリッジ・ツールとして(a)各機械装置の動作情報を呼び出してブリッジ・ツールの通信方式(言語)とマクロ変数名に翻訳したり、(b)ブリッジ・ツールから各機械装置の通信方式(言語)とマクロ変数名に翻訳してその機械装置のCNC装置に書き込んだりすることが可能なオペレーティングシステムを提供する仕組みに発展させている点が大きな特長である。 The centralized machining control system of the present invention focuses on the various macro variable names that determine the communication method (language) and control mode of each machine controlled by CNC, sets a unified communication method (language) and macro variable name that can be compared with each communication method (language) and macro variable name, manages this in a correspondence table (managed in the "communication method/variable correspondence table" of the present invention) so that it can be compared with the communication method (language) and macro variable name of each machine, and based on that correspondence table, the unified communication method (language) and macro variable name are used as a bridge tool to (a) call up the operation information of each machine and translate it into the communication method (language) and macro variable name of the bridge tool, or (b) translate it from the bridge tool into the communication method (language) and macro variable name of each machine and write it to the CNC device of that machine. This is a major feature of the system.
まず、第一の本発明の集中加工制御システムでは上記(a)の各機械装置の動作情報の呼び出しが提供されている。具体的には各機械装置及びCNC制御装置それぞれに対応するNCプログラムの通信方式(言語)やマクロ変数名と、本集中加工制御システムに対応する統一的なブリッジ・ツールとしての通信方式(言語)及びマクロ変数名との対応関係を一覧表化した通信方式・変数対応表(後述する図3参照)を設定しておき、ブリッジ・ツールとしての本集中加工制御システムの通信方式(言語)及びマクロ変数名で各機械装置の動作情報の読み込み要求をすると、通信方式・変数対応表からその機械装置に合った通信方式(言語)及びマクロ変数名に翻訳して、各機械装置のCNC制御装置の動作情報の読み込み指令を行うようにする。 First, the centralized processing control system of the first invention provides the calling of the operation information of each machine device as described above in (a). Specifically, a communication method/variable correspondence table (see FIG. 3 described later) is set up that lists the correspondence between the communication method (language) and macro variable name of the NC program corresponding to each machine device and CNC control device, and the communication method (language) and macro variable name as a unified bridge tool corresponding to this centralized processing control system. When a request is made to read the operation information of each machine device using the communication method (language) and macro variable name of this centralized processing control system as a bridge tool, the communication method (language) and macro variable name suitable for that machine device are translated from the communication method/variable correspondence table, and a command is issued to read the operation information of the CNC control device of each machine device.
これにより統一的な通信方式(言語)及びマクロ変数名での読み込み要求をするだけで種々の機械装置の動作情報を読み込むことができ、種々のNCプログラムを有する複数の機械装置で形成された加工ライン等であっても各機械装置を遠隔地から集中的に監視することができる。ここでNCプログラムは、一般に数値制御(Numerical Control)によって機械を制御するためのプログラムであり、主に工作機械やロボットなどで使用され、プログラム内に位置、速度、加速度などの指示等を意味するが、本明細書では、より複雑な加工やシステム統合が可能なCNC(Computer Numerical Control)まで含むNC技術に関連する制御プログラムを意味する。例えばNC機械の動作中の異常時に停止指示を出したりして、加工工程全体の流れや安全性を管理するPLC(Programmable Logic Controller)や、センサやアクチュエータを制御し、精密加工においてNCプログラムが動作を開始すると、システム全体の動作シーケンスを調整して入出力の管理を行うPMC(Programmable Machine Controller)なども含まれる。 This allows the operation information of various machines to be read simply by making a read request using a unified communication method (language) and macro variable name, and each machine can be monitored from a remote location in a centralized manner, even in a machining line formed by multiple machines with various NC programs. Here, an NC program is generally a program for controlling machines using numerical control, and is mainly used in machine tools and robots, and refers to instructions such as position, speed, and acceleration within the program. In this specification, however, it refers to a control program related to NC technology, including CNC (Computer Numerical Control), which allows for more complex machining and system integration. For example, it also includes PLCs (Programmable Logic Controllers) that issue stop instructions when an abnormality occurs during the operation of an NC machine and manage the flow and safety of the entire machining process, and PMCs (Programmable Machine Controllers) that control sensors and actuators, and adjust the operating sequence of the entire system and manage input and output when an NC program starts operating in precision machining.
また、上記本発明の集中加工制御システムでは、
任意の機械装置に対してその動作情報の書き込み要求がなされると、書き込み要求された内容及び機械装置に応じた通信方式及びマクロ変数名を前記通信方式・変数対応表から判定し、書き込み要求された機械装置のCNC制御装置に応じて判定された通信方式で判定されたマクロ変数に数値を書き込む指令を送信し、該指令を書き込み要求された機械装置が許可又は拒否し、その応答信号を受信した場合は許可又は拒否された事実を前記通信方式・変数対応表における前記統一的な通信方式及びマクロ変数名として出力する、ことができる。
In the centralized machining control system of the present invention,
When a request is made to write operation information to any machine, the communication method and macro variable name corresponding to the requested content and the machine is determined from the communication method/variable correspondence table, and a command is sent to write a numerical value to the macro variable determined using the communication method determined according to the CNC control device of the machine for which the request is made, and the machine for which the request is made permits or rejects the command.When a response signal is received, the fact that permission or refusal has been granted is output as the unified communication method and macro variable name in the communication method/variable correspondence table.
すなわち、上記本発明の集中加工制御システムでは、前述の(b)ブリッジ・ツールから各機械装置の通信方式(言語)とマクロ変数名に翻訳してその機械装置のCNC制御装置に書き込む具体的な手法が提供される。前述の本発明では通信方式・変数対応表を用いて統一的な通信方式(言語)及びマクロ変数名で読み込み要求するだけで種々の通信方式(言語)及びマクロ変数名を有する各機械装置の動作情報を読み取る、云わば読書機能が提供されるが、この本発明では同じ通信方式・変数対応表を用いて統一的な通信方式(言語)及びマクロ変数名で書き込み要求するだけで種々の通信方式(言語)及びマクロ変数名を有する各機械装置での動作指令を行う機能を有している。 In other words, the centralized machining control system of the present invention provides a specific method for translating from the bridge tool (b) to the communication method (language) and macro variable name of each machine and writing it to the CNC control device of that machine. The present invention provides a reading function, so to speak, that reads the operation information of each machine having various communication methods (languages) and macro variable names simply by making a read request with a unified communication method (language) and macro variable name using a communication method/variable correspondence table, but this invention has the function of issuing operation commands for each machine having various communication methods (languages) and macro variable names simply by making a write request with a unified communication method (language) and macro variable name using the same communication method/variable correspondence table.
したがって、上述した読書機能と組み合わせると、NCプログラムを有する複数の機械装置で形成された加工ライン等であっても各機械装置を遠隔地から統一言語で集中的に監視しながらその監視結果を反映させて各機械装置の動作制御を行うことができる。これにより、例えば複数の異なる加工工程をそれぞれ異なるNCプログラムで動作する機械装置が実行するような加工ラインであっても、前工程での加工を監視しながら、その加工結果を次工程(後工程)の加工にリアルタイムに反映させるような遠隔監視・管理を統一言語で集中的に実行させることができ、加工現場におけるIoT化の促進に大きく寄与し得る。 Therefore, when combined with the reading function described above, even in a machining line formed of multiple machines with NC programs, each machine can be monitored intensively from a remote location in a unified language, and the monitoring results can be reflected to control the operation of each machine. As a result, even in a machining line where multiple different machining processes are performed by machines that each operate with a different NC program, remote monitoring and management can be performed intensively in a unified language, such as monitoring the machining in the previous process and reflecting the machining results in the next process (post-process) in real time, which can greatly contribute to promoting the use of IoT in machining sites.
ここで前工程での加工を監視しながら、その加工結果を次工程の加工にリアルタイムに反映させる本発明の一例として、以下、前加工工程での加工結果に合わせた次加工工程での使用する他の加工装置における寸法補正などの被加工物の形状情報の補正又は加工条件の補正を実行する具体的構成を提供する。 As an example of the present invention in which the processing results of the previous process are reflected in the processing of the next process in real time while the processing results of the previous process are monitored, a specific configuration is provided below in which correction of the shape information of the workpiece, such as dimensional correction, or correction of processing conditions in other processing equipment used in the next processing process is performed in accordance with the processing results of the previous processing process.
寸法補正などの被加工物の形状情報の補正や又は加工条件の補正を実行する場合、具体的に前記集中加工制御システムでは、
一の機械装置の動作の工程が終了すると、該一の機械装置及びその動作の工程及び被加工物及び加工後の被加工物の計測位置及びその計測値を紐づけて前工程計測データとして記憶しておき、
前記一の機械装置の動作の工程後に動作させる他の機械装置の動作をさせるときには、
前記前工程計測データとして記憶されている計測値を検索して算出された計測値に基づいて予め定めた他の機械装置や計測値に基づいて変更された他の機械装置に対して被加工物の形状情報の補正(例えば寸法や表面粗さ、真円度などの変更)や加工条件の補正(例えば、刃物、加工時間、加工速度などの変更)を前記書き込み要求として前記通信方式・変数対応表から該他の機械装置に応じた通信方式及び形状情報や加工条件の補正に関するマクロ変数名を判定し、該他の機械装置のCNC装置に対して判定された通信方式で判定されたマクロ変数に数値を書き込む指令を送信する、ことが好ましい。
When performing correction of shape information of a workpiece such as dimensional correction or correction of processing conditions, specifically, in the centralized processing control system,
When the operation of a certain machine is completed, the operation of the certain machine, the workpiece, and the measurement positions and the measurement values of the workpiece after processing are linked to each other and stored as previous process measurement data;
When operating another machine device after the operation of the one machine device,
It is preferable to search for measurement values stored as the previous process measurement data, and based on the calculated measurement values, send a write request to other predetermined machinery or other machinery that has been changed based on the measurement values, to correct shape information of the workpiece (e.g., changes to dimensions, surface roughness, roundness, etc.) or correct processing conditions (e.g., changes to blades, processing time, processing speed, etc.), and determine a communication method corresponding to the other machinery and macro variable names related to the correction of shape information or processing conditions from the communication method/variable correspondence table, and send a command to the CNC device of the other machinery to write a numerical value into the macro variable determined using the determined communication method.
本集中管理制御システムでは、加工ラインにおいて前の加工工程(前工程)から次の加工工程(後加工)に移る際に、前工程終了後に計測された寸法などの形状情報を考慮して後工程に用いる加工装置などの機械装置を選択(予め定めた加工装置等又はその加工装置等の変更)し、後工程に用いる機械装置に投入された被加工物の形状情報や刃物などの加工条件を補正することができる。具体例として、本集中管理制御システムでは、予め前工程終了後に被加工物を所定の計測位置で寸法計測してその機械装置(工作機械等)、加工工程、被加工物、計測位置と、寸法の計測値と、を紐づけて本集中管理制御システムの通信方式(言語)及び寸法補正に関するマクロ変数名で外部装置等に記憶させておき、この紐づけデータ(前工程計測データ)を後工程に被加工物を投入・取り付けるときにサーチ(検索)し、後工程に投入する被加工物の寸法の計測値として算出された数値を後工程のCNC装置の通信方式(言語)及び寸法補正に関するマクロ変数名に変換して、後工程のNCプログラムにおける寸法補正に関するマクロ変数に書き込むこととしている。このような寸法補正では本集中管理制御システムにおいて機械装置のNCプログラムで実行する寸法補正計算をどの程度補完するか、どの段階で寸法補正の演算処理を実行させるかに種々の差が生じ得るものであり、例えば、以下の寸法補正例が列挙される。 In this centralized management control system, when moving from the previous processing step (pre-processing) to the next processing step (post-processing) on a processing line, shape information such as dimensions measured after the completion of the pre-processing is taken into consideration to select the machining equipment or other machinery to be used in the post-processing (predetermined machining equipment, etc. or a change to that machining equipment, etc.), and the shape information of the workpiece fed into the machinery to be used in the post-processing and the machining conditions of the blades, etc. can be corrected. As a specific example, in this centralized control system, the dimensions of the workpiece are measured at a specified measurement position after the previous process is completed, and the machine (machine tool, etc.), processing process, workpiece, measurement position, and the measurement value of the dimensions are linked and stored in an external device, etc., using the communication method (language) of this centralized control system and macro variable names related to dimensional correction. This linked data (previous process measurement data) is searched when the workpiece is input/attached to the next process, and the numerical value calculated as the measurement value of the dimension of the workpiece to be input to the next process is converted to the communication method (language) of the CNC device of the next process and the macro variable names related to dimensional correction, and written to the macro variable related to dimensional correction in the NC program of the next process. In such dimensional correction, various differences can occur in the extent to which the dimensional correction calculation performed by the NC program of the machine is supplemented in this centralized control system, and at what stage the dimensional correction calculation process is performed. For example, the following are examples of dimensional correction.
第一の寸法補正例(寸法補正1)において具体的に、
前記集中加工制御システムは、
前記一の機械装置の動作の工程後に動作させる他の機械装置の動作をさせるときには、
前記前工程計測データから前工程の計測値を検索してその値を平均化した計測値に基づいて前記他の機械装置に対して被加工物の寸法補正を前記書き込み要求として前記通信方式・変数対応表から該他の機械装置に応じた通信方式及び寸法補正に関するマクロ変数名を判定し、該他の機械装置のCNC装置に対して判定された通信方式で判定されたマクロ変数名に数値を書き込む指令を送信する。
Specifically, in the first dimensional correction example (dimensional correction 1),
The centralized processing control system includes:
When operating another machine device after the operation of the one machine device,
The measurement values of the previous process are searched for from the previous process measurement data, and based on the averaged measurement value, a write request is made to the other machine to perform dimensional correction of the workpiece, and a communication method and macro variable name related to the dimensional correction that corresponds to the other machine is determined from the communication method/variable correspondence table, and a command is sent to the CNC device of the other machine to write a numerical value into the macro variable name determined using the determined communication method.
第一の寸法補正(寸法補正1)の例において本集中加工制御システムでは、前工程の加工後に被加工物の寸法を計測して記憶させておいた前工程計測データからその被加工物における前加工後の寸法の計測値を検索(サーチ)し、その値を平均化した計測値に基づいて後工程の機械装置のマクロ変数にその通信方式(言語)及びマクロ変数名で書き込み要求することとしている。したがって、異なる通信方式(言語)及びマクロ変数名を有する前後工程の機械装置間で前工程の加工後の被加工物の寸法結果を後工程に反映させることができるだけでなく、直前の前工程の計測値に過去の前工程の計測値を加味することで加工誤差を均した計測値を実際に後工程に投入した被加工物の寸法として後工程の機械装置のNCプログラム上で計測値を演算処理して補正値を算出して、その補正値分、加工位置をNCプログラム上で補正して加工することができる。 In the first example of dimensional correction (dimensional correction 1), this centralized machining control system searches for the measurement values of the dimensions of the workpiece after pre-processing from the pre-process measurement data that was measured and stored after the pre-processing, and requests that the measurement values be written to the macro variables of the post-processing machine using the communication method (language) and macro variable name based on the average measurement value. Therefore, not only can the dimensional results of the workpiece after pre-processing be reflected in the post-process between pre-processing and post-processing machines that have different communication methods (languages) and macro variable names, but the measurement values of the workpiece after pre-processing can be calculated on the NC program of the post-processing machine to calculate a correction value, and the machining position can be corrected by the NC program by the correction value.
第二の寸法補正例(寸法補正2)において具体的に、
前記集中加工制御システムは、
さらに、前記一の機械装置の動作の工程後に動作した他の機械装置の動作の工程が終了すると、該他の機械装置及びその動作の工程及び被加工物及び加工後の被加工物の計測位置及びその計測値を紐づけて後工程計測データとして記憶しておき、
前記一の機械装置の動作の工程後に動作させる他の機械装置の動作をさせるときには、
前記前工程計測データから前工程の計測値を検索し、直近の前記後工程計測データの統計的処理を実行して現状の他の機械装置の影響による誤差を補正値として算出し、
前記計測値及び前記補正値に基づいて前記他の機械装置に対して被加工物の寸法補正を前記書き込み要求として前記通信方式・変数対応表から該他の機械装置に応じた通信方式及び寸法補正に関するマクロ変数名を判定し、該他の機械装置のCNC装置に対して判定された通信方式で判定されたマクロ変数に数値を書き込む指令を送信する。
Specifically, in the second dimensional correction example (dimensional correction 2),
The centralized processing control system includes:
Furthermore, when the operation of another machine that has been operated after the operation of the one machine is completed, the other machine, its operation, the workpiece, and the measurement positions and measurement values of the workpiece after processing are linked to each other and stored as post-process measurement data;
When operating another machine device after the operation of the one machine device,
A measurement value of a front-end process is searched for from the front-end measurement data, and a statistical process is performed on the most recent back-end measurement data to calculate an error due to the influence of other current machines and devices as a correction value;
Based on the measurement value and the correction value, a write request for dimensional correction of the workpiece is sent to the other machine, and a communication method and macro variable name related to the dimensional correction corresponding to the other machine are determined from the communication method/variable correspondence table, and a command is sent to the CNC device of the other machine to write a numerical value into the determined macro variable using the determined communication method.
第二の寸法補正例(寸法補正2)では、通常の機械装置のNCプログラムで演算が困難な複合演算を、統一的な通信方式(言語)及びマクロ変数名を有する本集中加工制御システムで予め実行しておき、その結果をフィードバックして現状の後工程の機械装置(他の機械装置)における工具摩耗や熱変異等の影響を考慮した補正値として算出して、その補正値を前工程の計測値とともに後工程の機械装置の通信方式(言語)及びマクロ変数名で書き込むことで、後工程に投入した被加工物の寸法として後工程の機械装置のNCプログラム上で、その補正値分、加工位置をNCプログラム上で補正して加工することができる。このようにして複雑な演算が難しい機械装置のNCプログラムであっても予め本集中加工制御システムにより過去の後工程後の計測データを統計的に処理でしておいて後工程の機械装置に反映させることを可能としている。 In the second example of dimensional correction (dimensional correction 2), complex calculations that are difficult to perform with the NC program of a normal machine are performed in advance by this centralized machining control system, which has a unified communication method (language) and macro variable names, and the results are fed back to calculate a correction value that takes into account the effects of tool wear and thermal variation in the current downstream machine (other machine), and this correction value is written together with the measurement value of the previous process in the communication method (language) and macro variable name of the downstream machine, so that the machining position can be corrected by the correction value in the NC program of the downstream machine as the dimension of the workpiece input to the downstream process. In this way, even with the NC program of a machine that is difficult to perform complex calculations, it is possible to statistically process past measurement data from the downstream process in advance by this centralized machining control system and reflect it in the downstream machine.
本発明の集中制御加工システムよれば、統一的な通信方式(言語)及びマクロ変数名で過去データを集中保存しながら種々異なる通信方式(言語)及びマクロ変数のNCプログラムでCNC制御される複数の機械装置のNCプログラムを遠隔地から集中管理することができる。また、本集中制御加工システムでは、従来の各機械装置のNCプログラムでは困難であった複雑な演算処理を予め外部で実行し、その結果を各機械装置のNCプログラムに反映させるという従来の各機械装置のCNC制御装置の補完的意義をも有する。 The centralized control machining system of the present invention makes it possible to centrally manage from a remote location the NC programs of multiple machines that are CNC controlled with NC programs using various different communication methods (languages) and macro variables, while centrally storing past data using a unified communication method (language) and macro variable names. In addition, this centralized control machining system complements the CNC control devices of conventional machines by performing complex calculations that were difficult to perform in the NC programs of each machine in advance externally, and then reflecting the results in the NC programs of each machine.
図1には本発明の集中管理システムを用いて複数の機械装置のCNC制御装置のNCプログラムを読み込んで各機械装置の動作状況を監視する概念図例が示されている。また、図2には本発明の集中管理システムを用いて複数の機械装置それぞれに対してその動作を修正させるよう各CNC制御装置のNCプログラムに書き込み要求することで各機械装置の動作状況を管理する概念図例が示されている。また、図3には各機械装置及びCNC制御装置の通信方式(言語)及びマクロ変数名と本発明の集中管理システムに対応する通信方式(言語)及びマクロ変数名との対応関係を一覧表化した通信方式・変数対応表例が示されている。 FIG. 1 shows an example of a conceptual diagram in which the centralized management system of the present invention is used to read the NC programs of the CNC control devices of multiple machines and monitor the operating status of each machine. FIG. 2 shows an example of a conceptual diagram in which the centralized management system of the present invention is used to manage the operating status of each machine by requesting writing to the NC program of each CNC control device to modify the operation of each machine. FIG. 3 shows an example of a communication method/variable correspondence table that lists the correspondence between the communication method (language) and macro variable names of each machine and CNC control device and the communication method (language) and macro variable names that correspond to the centralized management system of the present invention.
図1に示すように本集中加工制御システムでは、外部装置12と双方向通信可能な集中加工制御手段10で被加工物を加工する加工ラインを構成するCNC制御する機械装置としての工作機械14(14a、14b等)や産業ロボット16(16a、16b等)、その他の産業用CNC機械装置18(18a、18b等)の動作状況を監視している。 As shown in FIG. 1, in this centralized processing control system, a centralized processing control means 10 capable of bidirectional communication with an external device 12 monitors the operating status of CNC-controlled machine tools 14 (14a, 14b, etc.), industrial robots 16 (16a, 16b, etc.), and other industrial CNC machines 18 (18a, 18b, etc.) that constitute a processing line that processes workpieces.
集中加工制御手段10は、PC(Personal computer:パーソナルコンピュータ)で動作するソフトウェアであり、工作機械14のCNC制御装置や産業用ロボット16のロボット制御装置(CNC制御装置(ロボットコントローラ))、その他等産業用CNC機械装置18のCNC制御装置と通信し、内部変数情報(マクロ変数名及びその数値)を取得・演算・描画し、演算結果に応じてそれぞれのCNC制御装置に対して事前にプログラムされたフィードバックを実行するものである。また、外部装置18は、サーバー、PC、PLC(Programmable Logic Controller:機器や設備などの制御に使われる制御装置)、マイコンなど通信機能と演算機能を持つ デバイスを想定している。また、集中加工制御手段10は、本発明の集中加工管理制御システムにおいて工作機械14等の動作状況の監視(読み込み)や後述の動作制御(書き込み)を実行するソフトウェアであり、外部装置12がPCの場合はそのPCに集中加工制御手段10をインストールしてそのPC内部で双方向通信して動作する場合や、外部装置12としてのPCと集中加工制御手段10をインストールしたPCの2台で双方向通信する場合もある。 The centralized machining control means 10 is software that runs on a PC (Personal computer) and communicates with the CNC control devices of machine tools 14, the robot control devices (CNC control devices (robot controllers)) of industrial robots 16, and other CNC control devices of industrial CNC machinery 18, acquires, calculates, and draws internal variable information (macro variable names and their numerical values), and executes pre-programmed feedback to each CNC control device depending on the calculation results. The external device 18 is assumed to be a device with communication and calculation functions, such as a server, PC, PLC (Programmable Logic Controller: a control device used to control equipment and facilities), or microcomputer. In addition, the centralized processing control means 10 is software that monitors (reads) the operating status of the machine tools 14 and the like and controls (writes) the operations described below in the centralized processing management control system of the present invention. If the external device 12 is a PC, the centralized processing control means 10 may be installed in the PC and operate through bidirectional communication within the PC, or bidirectional communication may occur between the PC as the external device 12 and the PC on which the centralized processing control means 10 is installed.
また、工作機械14は、被加工物(ワーク)の切削、研削、せん断、鍛造、圧延等を行う所謂NC工作機械であり、NCプログラムでの指令により工作機械を動作させるための外部通信機能を有するCNC制御装置を有している。産業用ロボット16は、アクチュエータで駆動する可動軸(関節)とアームとを備えたロボット本体により搬送・加工・組立・洗浄・バリ取り作業の各種加工工程を行うものであり、「制御ボックス」と称する外部通信機能を有する上記同様のCNC制御装置を有している。また、その他の産業用CNC機械装置18は、例えば3次元測定器などの数値制御測定装置18aやローダーなどの数値制御搬送機18bであり、工作機械14や産業用ロボット16と同様に外部通信機能を有するCNC制御装置で動作制御されるものである。 The machine tool 14 is a so-called NC machine tool that performs cutting, grinding, shearing, forging, rolling, etc. of workpieces, and has a CNC control device with an external communication function for operating the machine tool according to commands in an NC program. The industrial robot 16 performs various processing steps such as transport, processing, assembly, cleaning, and deburring using a robot body equipped with movable axes (joints) and arms driven by actuators, and has a similar CNC control device with an external communication function called a "control box". Other industrial CNC machines 18 are, for example, numerically controlled measuring devices 18a such as three-dimensional measuring devices and numerically controlled transport machines 18b such as loaders, and are controlled by a CNC control device with an external communication function like the machine tool 14 and the industrial robot 16.
《各機械装置の動作等情報の読み込みについて》
次に本発明の集中管理システムについて、集中加工制御手段10及び外部装置12を用いて複数の工作機械14a~14c等や産業ロボット16a~16b等、その他の産業用CNC機械装置18a~18bそれぞれのCNC制御装置のNCプログラムを読み込んで各機械装置14~18の動作状況を監視するフローを図1を参照しつつ説明する。
Regarding reading operation information of each machine device
Next, regarding the centralized management system of the present invention, a flow for reading the NC programs of the CNC control devices of a plurality of machine tools 14a to 14c, industrial robots 16a to 16b, and other industrial CNC machinery 18a to 18b, using the centralized machining control means 10 and the external device 12, and monitoring the operating conditions of each machinery 14 to 18 will be described with reference to FIG.
機械装置14、16、18のいずれかに対して現状の動作状況を監視したい場合、まず、集中加工制御手段10が対象となる機械装置14,16、18に対して情報読み込み要求が外部装置12になされる。例えば、工作機械14a(機械0001 A社製)のCNC制御装置の情報を読み込む場合、本発明の集中加工制御手段10からの「機械0001より情報@@を読み込む」という内容の読み込み要求が集中加工制御手段10の通信方式「関数(言語)σ」でなされ、外部装置12に記憶されている図3に示す通信方式・変数対応表が呼び出される(STEP1:符号20参照)。 When it is desired to monitor the current operating status of any of the machines 14, 16, and 18, the centralized machining control means 10 first makes an information read request to the external device 12 for the target machine 14, 16, and 18. For example, when reading information from the CNC control device of the machine tool 14a (machine 0001, manufactured by company A), a read request with the content "Read information @@ from machine 0001" is made from the centralized machining control means 10 of the present invention using the communication method "function (language) σ" of the centralized machining control means 10, and the communication method/variable correspondence table shown in Figure 3 stored in the external device 12 is called (STEP 1: see reference numeral 20).
STEP1で通信方式・変数対応表が呼び出されると、通信方式・変数対応表から読み込み要求と対象となる機械装置14、16、18に対応する通信方式とマクロ変数名が判断される(STEP2)。例えば、上述した工作機械14a(機械0001 A社製)のCNC制御装置の情報を読み込む場合を図3の通信方式・変数対応表で例示すると、集中加工制御手段10(機械番号「0」:制御装置「本ソフトウェア」)の通信言語「σ」における「情報@@」に相当するマクロ変数名が「A1」である場合、工作機械14a(機械番号「1」:制御装置「A社CNC」)では通信言語「a」及びマクロ変数名「#1」が相当することが判断される(上記STEP2)。これにより、図3の通信方式・変数対応表から本発明の集中加工制御手段10の通信方式(言語)及びマクロ変数名での書き込み要求が工作機械14aの通信方式(言語)及びマクロ変数名に翻訳されたことがわかるであろう。 When the communication method/variable correspondence table is called in STEP 1, the communication method and macro variable name corresponding to the read request and the target machine device 14, 16, 18 is determined from the communication method/variable correspondence table (STEP 2). For example, in the case of reading information from the CNC control device of the above-mentioned machine tool 14a (machine 0001, manufactured by Company A) using the communication method/variable correspondence table in FIG. 3 as an example, if the macro variable name corresponding to "information @@" in the communication language "σ" of the centralized machining control means 10 (machine number "0": control device "this software") is "A1", it is determined that the communication language "a" and macro variable name "#1" correspond to the machine tool 14a (machine number "1": control device "Company A CNC") (STEP 2 above). As a result, it will be understood from the communication method/variable correspondence table in FIG. 3 that the write request in the communication method (language) and macro variable name of the centralized machining control means 10 of the present invention has been translated into the communication method (language) and macro variable name of the machine tool 14a.
また、STEP2で読み込み要求に対して対称となる機械装置14、16、19の通信方式(言語)及びマクロ変数名が判断、翻訳されると、書き込み要求をその機械装置14、16、18に合わせた翻訳言語で機械装置14、16、18の動作情報を問い合わせる(STEP3)。例えば、上述した「機械0001より情報@@を読み込む」という読み込み要求の場合、STEP2で工作機械14aに合わせた通信言語「a」及びマクロ変数名「#1」が判断され、翻訳されると、工作機械14aの通信言語「a」及びマクロ変数名「#1」が判断され工作機械14aを読み込む指令が本集中加工制御手段10から送信され(符号22参照)、その指令を受信した工作機械14aのCNC制御装置により、動作中のマクロ変数名「#1」における数値を読み込み、本本集中加工制御手段10から送信する(STEP4)。これにより、本集中加工制御手段10は工作機械14aの通信方式(言語)及びマクロ変数名で工作機械14aの動作情報を取得することとなる。 Furthermore, in STEP 2, once the communication method (language) and macro variable name of the machine 14, 16, 19 that is the target of the read request have been determined and translated, the write request is used to inquire about the operation information of the machine 14, 16, 18 in a translation language that matches the machine 14, 16, 18 (STEP 3). For example, in the case of the read request "Read information @@ from machine 0001" described above, the communication language "a" and macro variable name "#1" that match the machine tool 14a are determined in STEP 2, and once they are translated, the communication language "a" and macro variable name "#1" of the machine tool 14a are determined, and a command to read the machine tool 14a is sent from the centralized machining control means 10 (see reference numeral 22), and the CNC control device of the machine tool 14a that receives the command reads the numerical value of the macro variable name "#1" that is in operation and sends it from the centralized machining control means 10 (STEP 4). As a result, the centralized machining control means 10 acquires operation information of the machine tool 14a using the communication method (language) and macro variable names of the machine tool 14a.
さらにSTEP4で工作機械14aの通信方式(言語)及びマクロ変数名で工作機械14aの動作情報が取得されると、本集中加工制御手段10は外部装置12に保存されている通信方式・変数対応表を再び呼び出して、更新するとともにSTEP2と逆に工作機械14aの通信方式(言語)及びマクロ変数名に相当する本集中加工制御手段10の通信方式(言語)及びマクロ変数名を通信方式・変数対応表から判断して、この通信方式(言語)及びマクロ変数名(その数値)を外部装置12に送信して出力する(符号21参照)。例えば、工作機械14a(機械番号「1」:制御装置「A社CNC」)からの動作情報が通信言語「a」及びマクロ変数名「#1」で数値dddである場合、本集中加工制御手段10の通信言語「σ」におけるマクロ変数名が「A1」に数値dddが更新され、PC等の外部装置12に通信言語「σ」で「機械0001より情報@@の値はddd」として出力される(上記STEP5)。これにより異なる通信方式(言語)及びマクロ変数名を有する機械装置14、16、18であっても本集中加工制御手段10で統一通信方式(言語)及びマクロ変数名(及びその数値)で動作情報を監視することができることがわかる。 Furthermore, when operation information of the machine tool 14a is obtained using the communication method (language) and macro variable name of the machine tool 14a in STEP 4, the centralized processing control means 10 again calls up and updates the communication method/variable correspondence table stored in the external device 12, and in the opposite direction to STEP 2, determines from the communication method/variable correspondence table the communication method (language) and macro variable name of the centralized processing control means 10 that correspond to the communication method (language) and macro variable name of the machine tool 14a, and transmits and outputs this communication method (language) and macro variable name (its numerical value) to the external device 12 (see symbol 21). For example, if the operation information from machine tool 14a (machine number "1": control device "Company A CNC") is in communication language "a" and macro variable name "#1" and has the numerical value ddd, the macro variable name in communication language "σ" of this centralized machining control means 10 is updated to "A1" with the numerical value ddd, and is output to external device 12 such as a PC in communication language "σ" as "The value of information @@ from machine 0001 is ddd" (STEP 5 above). This shows that even if machines 14, 16, and 18 have different communication methods (languages) and macro variable names, this centralized machining control means 10 can monitor the operation information using a unified communication method (language) and macro variable names (and their numerical values).
《各機械装置への動作等情報の書き込みについて》
次に本発明の集中管理システムについて、集中加工制御手段10及び外部装置12を用いて図1同様の複数の機械装置(工作機械14、産業ロボット16、その他の産業用CNC機械装置18)それぞれのCNC制御装置のNCプログラムに情報を書き込んで各機械装置14~18の動作状況を修正等制御するフローについて図2を参照しつつ説明する。
<About writing operation information to each machine>
Next, with reference to FIG. 2, the centralized control system of the present invention will be described in detail with reference to the flow of controlling, for example correcting, the operating conditions of each of the machines 14 to 18 by writing information into the NC program of the CNC control device of each of the multiple machines (machine tools 14, industrial robots 16, and other industrial CNC machines 18) similar to those shown in FIG. 1 using the centralized processing control means 10 and external device 12.
機械装置14、16、18のいずれかに対して現状の動作状況を修正等管理したい場合、まず、集中加工制御手段10が対象となる機械装置14,16、18に対して情報書き込み要求が外部装置12になされる。例えば、産業用ロボット16a(産業用ロボット001 A社製)のロボット制御装置に修正等情報を書き込む場合、本発明の集中加工制御手段10からの「産業用ロボット001の情報@@に数値ddを書き込む」という内容の書き込み要求が集中加工制御手段10の通信方式「関数(言語)σ」でなされ、外部装置12に記憶されている前述の図3に示す通信方式・変数対応表が呼び出される(STEP A:符号30参照)。 When it is desired to correct or otherwise manage the current operating status of any of the machines 14, 16, and 18, the centralized processing control means 10 first makes an information write request to the external device 12 for the machine 14, 16, and 18 that is the target. For example, when writing correction or other information to the robot control device of the industrial robot 16a (industrial robot 001 manufactured by company A), a write request to "write the value dd to the information @@ of industrial robot 001" is made from the centralized processing control means 10 of the present invention using the communication method "function (language) σ" of the centralized processing control means 10, and the communication method/variable correspondence table shown in FIG. 3, which is stored in the external device 12, is called up (STEP A: see reference numeral 30).
STEP Aで通信方式・変数対応表が呼び出されると、通信方式・変数対応表から書き込み要求となる機械装置14、16、18に対応する通信方式とマクロ変数名を判断する(STEP B)。例えば、上述した産業用ロボット16a(産業用ロボット001 A社製)のロボット制御装置に修正等情報を書き込む場合を図3の通信方式・変数対応表で例示すると、集中加工制御手段10(機械番号「0」:制御装置「本ソフトウェア」)の通信言語「σ」における「情報@@」に相当するマクロ変数名が「A2」である場合、産業用ロボット16a(機械番号「1001」:制御装置「A社ROBOT」)では通信言語「d」及びマクロ変数名「レジ2」が相当すると判断される(上記STEP B)。これにより、図3の通信方式・変数対応表から本発明の集中加工制御手段10の通信方式(言語)及びマクロ変数名での書き込み要求が産業用ロボット16aの通信方式(言語)及びマクロ変数名に翻訳されたことがわかるであろう。 When the communication method/variable correspondence table is called in STEP A, the communication method and macro variable name corresponding to the machine 14, 16, 18 that is the write request is determined from the communication method/variable correspondence table (STEP B). For example, in the case of writing correction information to the robot control device of the above-mentioned industrial robot 16a (industrial robot 001, manufactured by Company A) using the communication method/variable correspondence table in Figure 3 as an example, if the macro variable name corresponding to "information @@" in the communication language "σ" of the centralized processing control means 10 (machine number "0": control device "this software") is "A2", it is determined that the communication language "d" and macro variable name "register 2" correspond to the industrial robot 16a (machine number "1001": control device "Company A ROBOT") (STEP B above). As a result, it can be seen from the communication method/variable correspondence table in FIG. 3 that the write request in the communication method (language) and macro variable name of the centralized processing control means 10 of the present invention is translated into the communication method (language) and macro variable name of the industrial robot 16a.
また、STEP Bで書き込み要求に対して対称となる機械装置14、16、18の通信方式(言語)及びマクロ変数名が判断、翻訳されると、書き込み要求をその機械装置14、16、18に合わせた言語で機械装置14、16、18の動作情報を問い合わせる(STEP C)。例えば、上述した「産業用ロボット001の情報@@に数値ddを書き込む」という書き込み要求の場合、STEP Bで産業用ロボット16aに合わせた通信言語「d」及びマクロ変数名「レジ2」が判断され、翻訳されると、産業用ロボット16aの通信言語「d」及びマクロ変数名「レジ2」を産業用ロボット16aに書き込む指令が本集中加工制御手段10から送信され(符号32参照)、その指令を受信した産業用ロボット16aのロボット制御装置におけるマクロ変数名「レジ2」の数値をddにし、本本集中加工制御手段10から送信する(STEP D)。これにより、本集中加工制御手段10は、統一的なものとして設定している集中加工制御手段10の通信方式(言語)及びマクロ変数名で入力された書き込み要求を、産業用ロボット16a独自の通信方式(言語)及びマクロ変数名でそのNCプログラムを修正等する書き込み要求として指令することとなる。 Furthermore, in STEP B, once the communication method (language) and macro variable name of the machine 14, 16, 18 that is the target of the write request have been determined and translated, the write request is used to inquire about the operation information of the machine 14, 16, 18 in a language that matches the machine 14, 16, 18 (STEP C). For example, in the case of the above-mentioned write request to "write the number dd to the information @@ of industrial robot 001", once the communication language "d" and macro variable name "cash register 2" that matches the industrial robot 16a are determined and translated in STEP B, a command to write the communication language "d" and macro variable name "cash register 2" of the industrial robot 16a to the industrial robot 16a is sent from the centralized processing control means 10 (see reference numeral 32), and the numerical value of the macro variable name "cash register 2" in the robot control device of the industrial robot 16a that received the command is changed to dd, and sent from the centralized processing control means 10 (STEP D). As a result, the centralized processing control means 10 issues a write request input using the centralized processing control means 10's communication method (language) and macro variable name, which are set as a unified one, as a write request to modify the NC program using the industrial robot 16a's unique communication method (language) and macro variable name.
さらにSTEP Dで産業用ロボット16aのロボット制御装置が、その通信方式(言語)及びマクロ変数名でなされた書き込み指令を受信すると、産業用ロボット16aのNCプログラムの該当マクロ変数の数値を修正等する制御を許容するか又は拒否するかの判定をし、許容する場合はNCプログラムを書き換えて同時に許容の応答信号を送信し、拒否する場合は拒否の応答信号を送信する。この許容又は拒否の応答信号を受信した本集中加工制御手段10は、外部装置12に保存されている通信方式・変数対応表(図3)を再び呼び出して、機械番号「1001」のマクロ変数名「レジ2」の過去履歴に数値「dd」及び「許容/拒否」を保存・更新するとともに「許容/拒否」の応答をPC等の外部装置12に送信して通信言語「σ」で「許容/拒否」の応答を出力する(符号31参照:STEP E)。これにより異なる通信方式(言語)及びマクロ変数名を有する機械装置14、16、18であっても本集中加工制御手段10で統一通信方式(言語)及びマクロ変数名(及びその数値)で動作制御をすることができることがわかる。 Furthermore, in STEP D, when the robot control device of the industrial robot 16a receives a write command made in that communication method (language) and macro variable name, it judges whether to allow or reject the control to modify the numerical value of the corresponding macro variable in the NC program of the industrial robot 16a, and if it is allowed, it rewrites the NC program and simultaneously sends an allow response signal, and if it is rejected, it sends a reject response signal. Upon receiving this allow or reject response signal, the centralized machining control means 10 again calls up the communication method/variable correspondence table (Figure 3) stored in the external device 12, saves and updates the numerical value "dd" and "allow/reject" in the past history of the macro variable name "cash register 2" of the machine number "1001", and transmits the "allow/reject" response to the external device 12 such as a PC, outputting the "allow/reject" response in the communication language "σ" (see reference numeral 31: STEP E). This shows that even if the machines 14, 16, and 18 have different communication methods (languages) and macro variable names, the centralized processing control means 10 can control their operation using a unified communication method (language) and macro variable names (and their numerical values).
《実施例1(寸法補正1)》
次に、本発明の集中加工制御システムによる集中加工制御手段10としてのソフトウェア(以下、「本ソフトウェア10」とも称する。)により実行する機械装置14,16,18の加工寸法の補正(以下、「寸法補正1」とも称する。)について例示説明する。図4は、寸法補正1を実行する集中加工制御システムでの実際の加工ライン例を示した写真図である。図5~図6は、寸法補正1を実行するフローが示されている。
Example 1 (dimension correction 1)
Next, correction of machining dimensions of the machines 14, 16, 18 (hereinafter also referred to as "dimension correction 1") executed by software (hereinafter also referred to as "this software 10") as the centralized machining control means 10 in the centralized machining control system of the present invention will be illustrated. Figure 4 is a photograph showing an example of an actual machining line in the centralized machining control system that executes dimension correction 1. Figures 5 and 6 show the flow of executing dimension correction 1.
図4の加工ライン例に示すように、まず工作機械14aでのワーク(被加工物)の加工が終了するとワークを産業用ロボット16aが把持する。このとき図5のフロー図に示すように本ソフトウェア10は、前工程の加工後の工作機械16aのワーク(被加工物)をその番号(ワークNo.)とともに工作機械14aのCNC制御装置に読み込み要求し、そのワークNo.の情報を取得し、そのワークNo.を産業用ロボット16aに伝達する(STEP111、STEP113)。 As shown in the example of the processing line in Figure 4, when the processing of the workpiece (workpiece) is completed on the machine tool 14a, the industrial robot 16a grasps the workpiece. At this time, as shown in the flow diagram in Figure 5, the software 10 requests the CNC control device of the machine tool 14a to read the workpiece (workpiece) after processing in the previous process, together with its number (workpiece number), obtains the information of the workpiece number, and transmits the workpiece number to the industrial robot 16a (STEP 111, STEP 113).
具体的には、まず工作機械14aの加工が終了すると、図1を参照して説明したように本ソフトウェア10から「工作機械00011よりワークNo.の情報(数値)を読み込む」という内容の読み込み要求が通信方式「関数(言語)σ」及びマクロ変数名「A1,A2,・・・等」でなされ、外部装置12に記憶されている通信方式・変数対応表(図3参照)が呼び出され、本ソフトウェア10で工作機械14a(機械番号1:制御装置「A社CNC」)の通信言語「a」及びマクロ変数名「#1,#2,・・・等」)が判断されて、その通信言語及びマクロ変数名での指令を受けた工作機械14aのCNC制御装置がNCプログラムからそのマクロ変数のワークNo.の応答数値を読み込み、本ソフトウェア10を取得する(STEP111)。 Specifically, when machining of the machine tool 14a is completed, as explained with reference to FIG. 1, a read request is made from the software 10 to "read information (numerical value) of the workpiece number from the machine tool 00011" using the communication method "function (language) σ" and macro variable name "A1, A2, ... etc.", the communication method/variable correspondence table (see FIG. 3) stored in the external device 12 is called up, the software 10 determines the communication language "a" and macro variable names "#1, #2, ... etc." of the machine tool 14a (machine number 1: control device "Company A CNC"), and the CNC control device of the machine tool 14a, which receives the command in that communication language and macro variable name, reads the response numerical value of the workpiece number of that macro variable from the NC program and acquires the software 10 (STEP 111).
次に、前工程の加工終了後の工作機械14aのワークNo.を取得した本ソフトウェア10は、図2を参照して説明したように産業用ロボット16aに「産業用ロボット0001のワーク情報にワークNo.(数値)を書き込む」という内容の書き込み要求が本ソフトウェア10の通信方式「関数(言語)σ」及びマクロ変数名「A1,A2,・・・等」でなされ、STEP111同様に外部装置12から通信方式・変数対応表が呼び出され、産業用ロボット16a(機械番号1001:制御装置「A社ROBOT」)の通信言語「d」及びマクロ変数名「レジ1,レジ2,・・・等」)が判断されて、その通信言語及びマクロ変数名での指令を受けた産業用ロボット16aのロボット制御装置がNCプログラムの該当マクロ変数にワークNo.の数値を書き込む(STEP113)。 Next, the software 10, which has acquired the workpiece number of the machine tool 14a after the previous process has been completed, issues a write request to the industrial robot 16a to "write the workpiece number (numerical value) to the workpiece information of industrial robot 0001" using the communication method "function (language) σ" of the software 10 and macro variable names "A1, A2, ... etc." as described with reference to FIG. 2. As in STEP 111, the communication method/variable correspondence table is called from the external device 12, and the communication language "d" and macro variable names "register 1, register 2, ... etc." of the industrial robot 16a (machine number 1001: control device "A Company ROBOT") are determined, and the robot control device of the industrial robot 16a, which has received the command in that communication language and macro variable name, writes the numerical value of the workpiece number to the corresponding macro variable of the NC program (STEP 113).
次に図4の加工ライン例に示すように、産業用ロボット16aがワークを取得すると工作機械14aによる前工程加工終了後のワークの寸法を産業用ロボット16aと別途の測定器19を用いてワークの複数点で計測する。このとき図5のフロー図に示すように本ソフトウェア10は、産業用ロボット16a及び測定器19でワークの複数点計測したときのワークNo.及び各計測位置を産業用ロボット16aのロボット制御装置に読み込み要求し、読み込み要求で得たワークNo.及び計測位置の情報と測定器19による計測値情報とを紐づけて保存(記憶)する(STEP121~STEP125)。 Next, as shown in the example of the processing line in Figure 4, when the industrial robot 16a acquires the workpiece, the dimensions of the workpiece after the previous processing step by the machine tool 14a are measured at multiple points on the workpiece using the industrial robot 16a and a separate measuring device 19. At this time, as shown in the flow diagram in Figure 5, the software 10 requests the robot control device of the industrial robot 16a to read the workpiece number and each measurement position when the multiple points on the workpiece are measured by the industrial robot 16a and measuring device 19, and links the workpiece number and measurement position information obtained by the read request to the measurement value information by the measuring device 19 and saves (stores) them (STEP 121 to STEP 125).
具体的には、産業用ロボット16aは前工程の工作機械14aから得たワークを移動させ、ワークの複数位置(計測点)が測定器19で計測できるようにセッティングし、該測定器19で寸法計測する(STEP121)。測定器19での計測値は別途、外部装置12に送信され、保存(記憶)される。このとき各計測位置において本ソフトウェア10からは図2を参照して説明したように「産業用ロボット1001よりワークNo.及びロボット座標の情報(数値)を読み込む」という内容の読み込み要求がSTEP111同様に本ソフトウェア10の通信方式「関数(言語)σ」及びマクロ変数名「A1,A2,・・・等」でなされ、通信方式・変数対応表から産業用ロボット16a(機械番号1001:制御装置「A社ROBOT」)の通信言語「d」及びマクロ変数名「レジ1,レジ2,・・・等」)が判断されて、その通信言語及びマクロ変数名での指令を受けた産業用ロボット16aのロボット制御装置がNCプログラムからそのマクロ変数のロボット座標の応答数値を読み込み、ワークNo.とともに本ソフトウェア10が取得し、図1で説明したように本ソフトウェア10の通信方式(言語)及びマクロ変数名に翻訳して通信方式・変数対応表に入力して外部装置12に保存する(STEP123)。 Specifically, the industrial robot 16a moves the workpiece obtained from the machine tool 14a in the previous process, sets it so that multiple positions (measurement points) of the workpiece can be measured by the measuring device 19, and measures the dimensions with the measuring device 19 (STEP 121). The measurement values from the measuring device 19 are separately transmitted to the external device 12 and saved (stored). At this time, as explained with reference to FIG. 2, at each measurement position, the software 10 makes a read request to "read the work number and robot coordinate information (numerical value) from the industrial robot 1001" in the communication method "function (language) σ" of the software 10 and the macro variable name "A1, A2, ... etc." as in STEP 111, and the communication language "d" and macro variable name "register 1, register 2, ... etc." of the industrial robot 16a (machine number 1001: control device "A company ROBOT") are determined from the communication method / variable correspondence table, and the robot control device of the industrial robot 16a that receives the command in that communication language and macro variable name reads the response numerical value of the robot coordinate of that macro variable from the NC program, which is acquired by the software 10 together with the work number, and translated into the communication method (language) and macro variable name of the software 10 as explained in FIG. 1, inputs it into the communication method / variable correspondence table, and saves it in the external device 12 (STEP 123).
次に、外部装置12に保存(記憶)されたワークNo.及び各計測位置でのロボット座標は、前述した外部装置12に保存(記憶)された各計測位置における測定器19の計測値と紐づけて、外部装置12に保存(記憶)する(STEP125)。 Next, the workpiece number and the robot coordinates at each measurement position stored (stored) in the external device 12 are linked to the measurement values of the measuring device 19 at each measurement position stored (stored) in the external device 12 described above, and are stored (stored) in the external device 12 (STEP 125).
また産業用ロボット16a及び測定器19で寸法計測されたワークは図4の加工ライン例に示すように産業用ロボット16aから産業用ロボット16bに受け渡され、産業用ロボット16bにより搬送されて工作機械14bに投入・取付けられ、工作機械14aによる加工後のワークをさらに工作機械14bで加工する。このとき図5~図6のフロー図に示すように本ソフトウェア10は、産業用ロボット16a及び工作機械14bにワークNo.の書き込み要求をし、そのワークNo.及びワークの計測値の過去履歴の平均値をワーク寸法として工作機械16bの変数領域に書き込み要求して工作機械14bのNCプログラムを実行する(STEP131~STEP153)。 The workpiece whose dimensions have been measured by the industrial robot 16a and measuring device 19 is transferred from the industrial robot 16a to the industrial robot 16b as shown in the example of the processing line in Figure 4, and is then transported by the industrial robot 16b and inserted and attached to the machine tool 14b, and the workpiece after processing by the machine tool 14a is further processed by the machine tool 14b. At this time, as shown in the flow diagrams of Figures 5 and 6, the software 10 requests the industrial robot 16a and the machine tool 14b to write the workpiece number, requests the machine tool 16b to write the workpiece number and the average value of the past history of the workpiece measurement values as the workpiece dimensions in the variable area of the machine tool 16b, and executes the NC program of the machine tool 14b (STEP 131 to STEP 153).
具体的には、産業用ロボット16aからワークが受け渡される産業用ロボット16bに対して本ソフトウェア10は、「産業用ロボット1002のワーク情報にワークNo.(数値)を書き込む」という内容の書き込み要求がSTEP111、115同様に通信方式・変数対応表を用いて本ソフトウェア10の通信方式「関数(言語)σ」及びマクロ変数名「A1,A2,・・・等」から産業用ロボット16b(機械番号1002:制御装置「E社ROBOT」)の通信言語「e」及びマクロ変数名「B1,B2,・・・等」)に翻訳されて、その通信言語及びマクロ変数名での指令を受けた産業用ロボット16bのロボット制御装置がNCプログラムの該当マクロ変数にワークNo.の数値を書き込む(STEP131)。その後、STEP131と同様に本ソフトウェア10はその「関数(言語)σ」及びマクロ変数名「A1,A2,・・・等」から工作機械14b(機械番号2:制御装置「B社CNC」)の通信言語「b」及びマクロ変数名「#1,#2,・・・等」)に翻訳されて、その通信言語及びマクロ変数名での指令を受けた工作機械14bのCNC制御装置がNCプログラムの該当マクロ変数にワークNo.の数値を書き込む(STEP141)。 Specifically, for industrial robot 16b to which the workpiece is handed over from industrial robot 16a, this software 10 uses the communication method/variable correspondence table in the same manner as in STEPs 111 and 115 to translate the communication method "function (language) σ" and macro variable names "A1, A2, ... etc." of this software 10 into the communication language "e" and macro variable names "B1, B2, ... etc." of industrial robot 16b (machine number 1002: control device "Company E ROBOT"), and the robot control device of industrial robot 16b, receiving the command in that communication language and macro variable names, writes the numerical value of the workpiece number into the corresponding macro variable of the NC program (STEP 131). Then, similar to STEP 131, the software 10 translates the "function (language) σ" and macro variable names "A1, A2, ... etc." into the communication language "b" and macro variable names "#1, #2, ... etc." of the machine tool 14b (machine number 2: control device "Company B CNC"), and the CNC control device of the machine tool 14b, receiving a command in that communication language and macro variable names, writes the numerical value of the work number into the corresponding macro variable of the NC program (STEP 141).
次に、本ソフトウェア10は、STEP125及び過去に外部装置12に保存(記録)している前工程後のワークNo.の計測値を外部装置12にサーチさせ、サーチされた計測値の平均値を外部装置12に算出させる(STEP151)。本ソフトウェア10は、このワークNo.の算出された平均値を工作機械14bに書き込み要求し、取り付けられているワークの初期寸法として工作機械14bの変数領域に送信し、NCプログラムを実行させる(STEP153:図9~図13のNCプログラム参照)。具体的には、本ソフトウェア10は「工作機械2のワーク初期寸法の変数領域に算出された平均値zzを書き込む」という内容の書き込み要求が本ソフトウェア10の通信方式「関数(言語)σ」及びマクロ変数名「A1,A2,・・・等」でなされ、STEP113同様に外部装置12から通信方式・変数対応表が呼び出され、工作機械14b(機械番号2:制御装置「B社CNC」)の通信言語「b」及び初期寸法を示すマクロ変数名「#1,#2,・・・等」)の変数領域に算出された数値zzを工作機械14bのCNC制御装置が書き込む(STEP153)。これにより工作機械14bは、初期状態が前加工後の寸法のワークとして工作機械14bでの加工実行させることができる。 Next, the software 10 causes the external device 12 to search for the measurement values of the workpiece No. after the previous process that have been stored (recorded) in the external device 12 in STEP 125 and in the past, and causes the external device 12 to calculate the average value of the searched measurement values (STEP 151). The software 10 requests the machine tool 14b to write the calculated average value of this workpiece No., sends it to the variable area of the machine tool 14b as the initial dimension of the attached workpiece, and executes the NC program (STEP 153: see NC programs in Figures 9 to 13). Specifically, the software 10 makes a write request to "write the calculated average value zz into the variable area of the workpiece initial dimensions of the machine tool 2" using the communication method "function (language) σ" and macro variable names "A1, A2, ... etc." of the software 10, and similarly to STEP 113, the communication method/variable correspondence table is called from the external device 12, and the CNC control device of the machine tool 14b writes the calculated value zz into the variable area of the communication language "b" of the machine tool 14b (machine number 2: control device "Company B CNC") and the macro variable names "#1, #2, ... etc." indicating the initial dimensions (STEP 153). This allows the machine tool 14b to perform machining on the machine tool 14b, with the initial state being the dimensions after pre-machining.
そして、本ソフトウェア10による上記STEP153の後、ワークNo.の寸法値(平均値)を受信した工作機械14bは、その寸法値が投入・取り付けられたワークとしてそのNCプログラムにおいて演算処理して補正値を算出し、補正値が正常範囲内か否かを確認する。確認した補正値が正常範囲外であり、工作機械14のNCプログラムにおいて異常と判断された場合、エラー信号が送信され、これを受信した本ソフトウェア10は外部装置12にエラー信号を出力する。一方、確認した補正値が正常範囲内であり、正常と判断された場合、工作機械14は、補正値分、加工位置をそのNCプログラムに反映して加工を実行する。したがって、前加工で寸法誤差があっても、寸法誤差を踏まえて常時、正確な寸法値で加工することが可能となる。 Then, after STEP 153 by the software 10, the machine tool 14b receives the dimensional value (average value) of the workpiece No., processes the dimensional value in its NC program for the workpiece that has been input and attached, calculates a correction value, and checks whether the correction value is within the normal range. If the confirmed correction value is outside the normal range and is judged to be abnormal in the NC program of the machine tool 14, an error signal is sent, and the software 10, which receives this, outputs an error signal to the external device 12. On the other hand, if the confirmed correction value is within the normal range and is judged to be normal, the machine tool 14 reflects the machining position by the correction value in its NC program and executes machining. Therefore, even if there is a dimensional error in the previous machining, it is possible to always machine with accurate dimensional values by taking the dimensional error into account.
このような工作機械14bにおけるNCプログラムについて参考として図9~図13で例示している。図9は工作機械14bにおいて寸法補正1を実行する工程のメインプログラム、図10は図9のメインプログラム中の工程1加工処理(N111)における工程1プログラム、図11は図9のメインプログラム中の工程1加工処理(N111)及び工程2加工処理(N02)におけるワークオフセットの外部装置12(外部PC)への記録についてのサブプログラム1、図12は図10の工程1プログラム中の工具オフセットの外部装置12(外部PC)への記録についてのサブプログラム2を示している。また、図13は図9~図12に示すマクロ変数名とそれぞれの変数内容を一覧表示しており、とりわけマクロ変数#501~#516が本ソフトウェアからの読み取り・書き込み指令で用いるマクロ変数を示している。なお、図9~図13では、NCプログラムやマクロ変数それぞれについての簡単な説明を括弧書き内に記載している。 For reference, the NC program for the machine tool 14b is shown in Figs. 9 to 13. Fig. 9 shows the main program for the process of executing dimension correction 1 in the machine tool 14b, Fig. 10 shows the process 1 program for the process 1 machining process (N111) in the main program in Fig. 9, Fig. 11 shows subprogram 1 for recording the work offset in the external device 12 (external PC) in the process 1 machining process (N111) and the process 2 machining process (N02) in the main program in Fig. 9, and Fig. 12 shows subprogram 2 for recording the tool offset in the process 1 program in Fig. 10 to the external device 12 (external PC). Fig. 13 lists the macro variable names and their respective variable contents shown in Figs. 9 to 12, and in particular macro variables #501 to #516 show the macro variables used in the read/write commands from this software. In Figs. 9 to 13, brief explanations of the NC program and macro variables are given in parentheses.
再び図5~図6に示す本ソフトウェア10での実行フローに戻って工作機械14bの加工が終了すると、図4の加工ライン例に示すように工作機械14bからワークが取り外されて産業用ロボット16bが受け取る。このとき本ソフトウェア10は、後工程の加工終了後の工作機械14bのワークをワークNo.とともに産業用ロボット16bが取得し、そのワークNo.を産業用ロボット16aに伝達する(STEP181)。 Returning to the execution flow of the software 10 shown in Figures 5 and 6, when the machining of the machine tool 14b is completed, the workpiece is removed from the machine tool 14b and received by the industrial robot 16b, as shown in the example machining line of Figure 4. At this time, the software 10 causes the industrial robot 16b to acquire the workpiece of the machine tool 14b after the completion of the subsequent machining process together with the workpiece number, and transmits the workpiece number to the industrial robot 16a (STEP 181).
具体的には、工作機械14bの加工が終了すると、本ソフトウェア10から「工作機械2よりワークNo.の情報(数値)を読み込む」という内容の読み込み要求がなされ(STEP111と同様ゆえ略)、加工終了後の工作機械14bのワークNo.を取得した本ソフトウェア10は、産業用ロボット16bに「産業用ロボット0002のワーク情報にワークNo.(数値)を書き込む」という内容の書き込み要求が本ソフトウェア10の通信方式「関数(言語)σ」及びマクロ変数名「A1,A2,・・・等」でなされ、通信方式・変数対応表が呼び出され、産業用ロボット16b(機械番号1002:制御装置「E社ROBOT」)の通信言語「e」及びマクロ変数名「レジ1,レジ2,・・・等」)が判断されて、その通信言語及びマクロ変数名での指令を受けた産業用ロボット16bのロボット制御装置がNCプログラムの該当マクロ変数にワークNo.の数値を書き込むこととなる(STEP181)。 Specifically, when machining of the machine tool 14b is completed, a read request is made from the software 10 to "read the workpiece No. information (numeric value) from the machine tool 2" (similar to STEP 111, so omitted), and the software 10, having acquired the workpiece No. of the machine tool 14b after machining is completed, makes a write request to the industrial robot 16b to "write the workpiece No. (numeric value) to the workpiece information of industrial robot 0002" using the communication method "function (language) σ" of the software 10 and macro variable names "A1, A2, ... etc.", the communication method/variable correspondence table is called up, the communication language "e" and macro variable names "register 1, register 2, ... etc." of the industrial robot 16b (machine number 1002: control device "E Company ROBOT") are determined, and the robot control device of the industrial robot 16b, which has received a command in that communication language and macro variable name, writes the workpiece No. to the corresponding macro variable of the NC program. The numerical value is then entered (STEP 181).
《実施例2(寸法補正2)》
次に上述した本発明の集中加工制御システムによる本ソフトウェア10により実行する機械装置14,16,18の寸法補正1の変形例としての寸法補正2について例示説明する。寸法補正2は、寸法補正1と同様に図4に示す加工ラインで実行されるものであり、本ソフトウェア10で実行されるフローは、概ね大部分が図5~図6と同様であるため、ここでは本ソフトウェア10で実行されるフローのうち寸法補正1(図5~図6)と異なるフローについて図7~図8のフロー図で例示説明する。
Example 2 (dimension correction 2)
Next, dimensional correction 2 will be described as an example of a modification of dimensional correction 1 for the machines 14, 16, 18, which is executed by the software 10 in the centralized machining control system of the present invention described above. Dimension correction 2 is executed in the machining line shown in Fig. 4, similar to dimensional correction 1, and the flow executed by the software 10 is generally similar to Figs. 5 to 6, so that the flow executed by the software 10 that differs from dimensional correction 1 (Figs. 5 to 6) will be described here with reference to the flow diagrams of Figs. 7 and 8.
図4の加工ライン例では上述したように、前工程として工作機械14aでワークの加工が終了すると加工がなされたワークを産業用ロボット16aが取得し、そのワークを産業用ロボット16a及び測定器19が計測した後に、産業用ロボット16bに受け渡す。その後、ワークを産業用ボット16bが工作機械14bに投入・取付けて加工を実行させる。このとき図5のフロー図を上述したように本ソフトウェア10は、前工程の加工後の工作機械14aのワークNo.を工作機械14aのCNC制御装置に読み込み要求して産業用ロボット16aに伝達し(STEP111、STEP113)、次に産業用ロボット16a及び測定器19でワークの複数点計測したときのワークNo.及び各計測位置を産業用ロボット16aのロボット制御装置に読み込み要求してワークNo.及び計測位置の情報と測定器19による計測値情報とを紐づけて保存(記憶)し(STEP121~STEP125)、さらに産業用ロボット16a及び工作機械14bにワークNo.の書き込み要求する(STEP131~141)。ここまでは寸法補正2において本ソフトウェア10で実行されるフローも上述した寸法補正1の場合と同様である。 As described above, in the example machining line in Figure 4, when machining of a workpiece is completed in the previous process by the machine tool 14a, the machined workpiece is acquired by the industrial robot 16a, and the industrial robot 16a and measuring device 19 measure the workpiece before handing it over to the industrial robot 16b. The industrial robot 16b then inserts and attaches the workpiece to the machine tool 14b to perform machining. At this time, as described above in the flow chart of Figure 5, the software 10 requests the CNC control device of the machine tool 14a to read the workpiece number of the machine tool 14a after machining in the previous process and transmits it to the industrial robot 16a (STEP 111, STEP 113), and then requests the robot control device of the industrial robot 16a to read the workpiece number and each measurement position when multiple points on the workpiece are measured by the industrial robot 16a and measuring device 19, and transmits the workpiece number. The measurement position information is linked to the measurement value information by the measuring device 19 and saved (stored) (STEP 121 to STEP 125), and a request is made to the industrial robot 16a and the machine tool 14b to write the workpiece number (STEP 131 to STEP 141). Up to this point, the flow executed by the software 10 in dimensional correction 2 is the same as that in dimensional correction 1 described above.
この後、寸法補正1の例では、本ソフトウェア10が外部装置12でワークNo.から前加工後の計測値を過去履歴からサーチさせて、その「平均値」を算出し、算出された平均値をワーク寸法として後工程の工作機械14bの変数領域に書き込み要求して工作機械14bのNCプログラムを実行する(STEP131~STEP153)。そして寸法補正1では、工作機械14bが受信した寸法値(平均値)が投入・取り付けられたワークとしてそのNCプログラムにおいて演算処理して「補正値」を算出し、「補正値」により、異常か正常かを判断する。 After this, in the example of dimensional correction 1, the software 10 causes the external device 12 to search the past history for the measured values from pre- and post-machining using the workpiece number, calculates the "average value", requests the calculated average value to be written as the workpiece dimension in the variable area of the downstream machine tool 14b, and executes the NC program of the machine tool 14b (STEP 131 to STEP 153). Then, in dimensional correction 1, the dimensional value (average value) received by the machine tool 14b is processed in the NC program as the workpiece that has been input and attached to calculate a "correction value", and the "correction value" is used to determine whether it is abnormal or normal.
一方、寸法補正2の場合、上記図5~図6においてSTEP131~STEP153で工作機械14bに投入するワークの「補正値」の算出フローが異なっている。寸法補正2では、本ソフトウェア10がSTEP131~141で産業用ロボット16a及び工作機械14bにワークNo.の書き込み要求した後、本ソフトウェア10が外部装置12でワークNo.から前工程後の計測値を過去履歴からサーチさせて(STEP251a)、直近の後工程の工作機械14bの加工後の計測値(※)に基づいてワークの「補正値」を複合演算する(STEP251b)。具体的には、後述するSTEP291~STEP295により工作機械14bによる後工程のワークの複数点の計測位置と各位置での計測値(寸法値)とが紐づけられた保存データのうち直近の複数のデータを抽出し、それらのデータに対して統計から工作機械14bの工具摩耗や熱変異など種々の要因による加工誤差量を考慮した複合演算を実行して「補正値」を算出する(STEP251b)。このようにして過去の後工程後の寸法データをフィードバックしてその後工程を行う工作機械14bにおける加工誤差への影響を統計データから複合演算してこれから行う後工程の「補正値」を算出することとしている。したがって、単に前工程である工作機械14aの加工後の寸法計測値の過去履歴の平均をとって後工程の「補正値」としていたのみの寸法補正1では前工程後のワークの寸法計測誤差を後工程に反映させていただけであるが、寸法補正2では後工程に前工程後の寸法のワークを投入して加工を実行したときの過去の結果から投入ワークにおける後工程での工具摩耗や熱変異などの影響を統計的に考慮して「補正値」を演算している点が進歩的である。CNC制御装置での実行が難しい過去のデータベースを利用した統計処理を本ソフトウェア10で実行することができ、工作機械14aによる前工程で多少の寸法誤差が生じても、寸法誤差を踏まえて常時、正確な寸法値で加工することが可能となる。 On the other hand, in the case of dimensional correction 2, the calculation flow for the "correction value" of the workpiece input to the machine tool 14b in STEPs 131 to 153 in Figures 5 and 6 above is different. In dimensional correction 2, after the software 10 requests the industrial robot 16a and machine tool 14b to write the workpiece number in STEPs 131 to 141, the software 10 causes the external device 12 to search the past history for the measurement value after the previous process based on the workpiece number (STEP 251a), and performs a composite calculation of the "correction value" of the workpiece based on the measurement value (*) after machining by the machine tool 14b in the most recent subsequent process (STEP 251b). Specifically, in STEP 291 to STEP 295 described later, the most recent data are extracted from the stored data in which the measurement positions of multiple points of the workpiece in the subsequent process by the machine tool 14b are linked to the measurement values (dimension values) at each position, and a composite calculation is performed on the data, taking into account the amount of machining error due to various factors such as tool wear and thermal variation of the machine tool 14b from statistics, to calculate a "correction value" (STEP 251b). In this way, the dimensional data after the past subsequent process is fed back, and the influence on the machining error in the machine tool 14b that performs the subsequent process is subjected to a composite calculation from the statistical data to calculate a "correction value" for the subsequent process to be performed in the future. Therefore, in Dimension Correction 1, which simply takes the average of the past history of dimensional measurement values after machining by the machine tool 14a in the upstream process as the "correction value" for the downstream process, the dimensional measurement error of the workpiece after the upstream process is reflected in the downstream process, but Dimension Correction 2 is more advanced in that it calculates the "correction value" by statistically considering the effects of tool wear and thermal deformation in the downstream process of the input workpiece from the past results when a workpiece with dimensions after the upstream process is input to the downstream process and processed. This software 10 can perform statistical processing using a past database that is difficult to execute with a CNC control device, and even if some dimensional error occurs in the upstream process by the machine tool 14a, it is possible to always process with accurate dimensional values by taking the dimensional error into account.
具体的に本ソフトウェア10は、STEP251bで外部装置12によりワークの「補正値」を複合演算させた後、その外部装置12にSTEP125で保存(記憶)されたワークNo.及び各計測位置における計測値と、「補正値」とを紐づけて、外部装置12に保存(記憶)する(STEP251c)。そして、本ソフトウェア10が「補正値」が予め設定した正常範囲内か否か判断し(STEP251d)、正常範囲外であり異常と判断された場合、外部装置12にエラー信号を出力し、出力されたエラー信号が前述の保存(記憶)されたワークNo.及び各計測位置における計測値に紐づけられて保存(記憶)される(STEP251d~STEP251e)。 Specifically, in STEP 251b, the software 10 performs a compound calculation of the "correction value" of the workpiece using the external device 12, and then links the "correction value" to the workpiece number and the measurement values at each measurement position saved (stored) in the external device 12 in STEP 125, and saves (stores) it in the external device 12 (STEP 251c). The software 10 then determines whether the "correction value" is within a preset normal range (STEP 251d), and if it is determined to be outside the normal range and abnormal, outputs an error signal to the external device 12, and the output error signal is saved (stored) in association with the previously saved (stored) workpiece number and the measurement values at each measurement position (STEP 251d to STEP 251e).
本ソフトウェア10が「補正値」を正常範囲内であり正常と判断した場合、本ソフトウェア10は外部装置12に保存(記憶)されている前工程後のワークNo.の計測値とその「補正値」をサーチさせ又はサーチさせた「補正値」の平均値を算出させ(STEP251f)、この「補正値」を工作機械14bのCNC制御装置に書き込み要求し、ワークの初期寸法として工作機械14bの変数領域に送信し、工作機械14bにNCプログラム上で「補正値」をオフセット入力させてNCプログラムを実行させる(STEP253:図14のNCプログラム参照)。上記STEP251a~STEP253が寸法補正2において寸法補正1のSTEP151~STEP153と異なる本ソフトウェア10のフローの1つである。 If this software 10 judges that the "correction value" is within the normal range and is normal, this software 10 searches for the measurement value of the workpiece number after the previous process stored (stored) in the external device 12 and its "correction value", or calculates the average value of the searched "correction values" (STEP 251f), requests that this "correction value" be written to the CNC control device of the machine tool 14b, sends it to the variable area of the machine tool 14b as the initial dimension of the workpiece, and causes the machine tool 14b to input the "correction value" as an offset in the NC program and execute the NC program (STEP 253: see NC program in Figure 14). The above STEPs 251a to 253 are one of the flows of this software 10 in dimension correction 2 that differ from STEPs 151 to 153 in dimension correction 1.
このような工作機械14bにおけるNCプログラムについて参考として図14で例示している。図14は工作機械14bにおいて寸法補正1を実行する工程のメインプログラムを示しており、寸法補正1と同じである工程1プログラム、サブプログラムについては図10~図13を参照する。また、図14においても図9~図13同様にNCプログラムやマクロ変数それぞれについての簡単な説明を括弧書き内に記載している。この図14のN01に示す工作機械14bにおけるNCプログラムのメインプログラムからも寸法補正2では、複合演算で算出される「補正値」は本ソフトウェア10が外部装置12に予め算出させており、工作機械14bのNCプログラムではオフセットに「補正値」を書き込んでいるだけの処理となっていることがわかる。 For reference, an example of an NC program for such a machine tool 14b is shown in Figure 14. Figure 14 shows the main program of the process that executes dimensional correction 1 in the machine tool 14b, and for the process 1 program and subprograms that are the same as dimensional correction 1, refer to Figures 10 to 13. Also in Figure 14, as in Figures 9 to 13, a brief explanation of each NC program and macro variable is written in parentheses. From the main program of the NC program for the machine tool 14b shown in N01 in Figure 14, it can be seen that in dimensional correction 2, the "correction value" calculated by the composite calculation is calculated in advance by the external device 12 by the software 10, and the NC program of the machine tool 14b simply writes the "correction value" to the offset.
再び本ソフトウェア10での実行フローに戻って工作機械14bの加工が終了すると、寸法補正1と同様に図4の加工ライン例に示すように工作機械14bからワークが取り外されて産業用ロボット16bが受け取り、図6のSTEP181同様に本ソフトウェア10は、後工程の工作機械16bによる加工後のワークNo.とともに産業用ロボット14bを取得し、そのワークNo.を産業用ロボット16aに伝達する。 Returning to the execution flow of this software 10, when the machining of the machine tool 14b is completed, the workpiece is removed from the machine tool 14b and received by the industrial robot 16b as shown in the example machining line of FIG. 4, just like in dimensional correction 1, and just like in STEP 181 of FIG. 6, this software 10 obtains the industrial robot 14b along with the workpiece number after machining by the machine tool 16b in the subsequent process, and transmits the workpiece number to the industrial robot 16a.
ここで寸法補正2では、次回の図4の加工ラインの工作機械14bによる後工程でフィードバックして前述のSTEP251bで工作機械14bの後工程のワーク寸法の「補正値」を複合演算し得るように、本ソフトウェア10は後工程の加工後のワークを産業用ロボット16bで複数点計測し、そのワークNo.とワークの計測位置(ロボット座標情報)と寸法の各計測値とを紐づけて外部装置12に保存(記憶)している。 In dimensional correction 2, the software 10 measures multiple points on the workpiece after processing in the subsequent process using the industrial robot 16b, and links the workpiece number, the measurement position of the workpiece (robot coordinate information), and each measurement value of the dimension to each other and stores (stores) them in the external device 12 so that the results can be fed back to the subsequent process using the machine tool 14b in the next processing line in Figure 4 and the "correction value" of the workpiece dimension in the subsequent process of the machine tool 14b can be calculated in STEP 251b described above.
具体的に本ソフトウェア10では、ワークNo.が書き込まれた産業用ロボット16bは後工程の工作機械14bから得たワークを移動させ、ワークの複数位置(計測点)が測定器(図示せず(以下、「測定器(他)」とも称する))で計測できるようにセッティングし、該測定器(他)で寸法計測する(STEP291)。測定器(他)での計測値は、外部装置12に送信され、保存(記憶)される。このとき各計測位置において本ソフトウェア10からはSTEP121同様に「産業用ロボット1002よりワークNo.及びロボット座標の情報(数値)を読み込む」という内容の読み込み要求が本ソフトウェア10の通信方式「関数(言語)σ」及びマクロ変数名「A1,A2,・・・等」でなされ、通信方式・変数対応表から産業用ロボット16b(機械番号1002:制御装置「E社ROBOT」)の通信言語「e」及びマクロ変数名「B1,B2,・・・等」)が判断されて、その通信言語及びマクロ変数名での指令を受けた産業用ロボット16bのロボット制御装置がNCプログラムからそのマクロ変数のロボット座標の応答数値を読み込み、ワークNo.とともに本ソフトウェア10が取得し、本ソフトウェア10の通信方式(言語)及びマクロ変数名に翻訳して通信方式・変数対応表に入力して外部装置12に保存する(STEP293)。 Specifically, in this software 10, the industrial robot 16b, to which the workpiece number has been written, moves the workpiece obtained from the downstream machine tool 14b, sets it up so that multiple positions (measurement points) of the workpiece can be measured with a measuring device (not shown (hereinafter also referred to as the "measuring device (etc.)")), and measures the dimensions with the measuring device (etc.) (STEP 291). The measurement values from the measuring device (etc.) are transmitted to the external device 12 and saved (stored). At this time, at each measurement position, the software 10 makes a read request to "read the workpiece number and robot coordinate information (numerical values) from the industrial robot 1002" in the communication method "function (language) σ" and macro variable name "A1, A2, ... etc." of the software 10, and the communication language "e" and macro variable name "B1, B2, ... etc." of the industrial robot 16b (machine number 1002: control device "E company ROBOT") are determined from the communication method / variable correspondence table, and the robot control device of the industrial robot 16b that receives the command in that communication language and macro variable name reads the response numerical value of the robot coordinate of that macro variable from the NC program, which is acquired by the software 10 together with the workpiece number, translated into the communication method (language) and macro variable name of the software 10, inputted into the communication method / variable correspondence table, and saved in the external device 12 (STEP 293).
その後、外部装置12に保存(記憶)されたワークNo.及び各計測位置でのロボット座標は、前述した外部装置12に保存(記憶)された各計測位置における測定器19の計測値と紐づけて、外部装置12に保存(記憶)する(STEP125)。この保存(記憶)されたワークNo.及び各計測位置での計測値は、次回以降の加工ラインにおいて前述のSTEP251bでフィードバックされて後工程の工作機械14bに投入されるワークの「補正値」の複合演算に用いられることとなる。 Then, the workpiece number and the robot coordinates at each measurement position stored (stored) in the external device 12 are linked to the measurement values of the measuring device 19 at each measurement position stored (stored) in the external device 12 described above, and are stored (stored) in the external device 12 (STEP 125). The stored (stored) workpiece number and the measurement values at each measurement position are fed back in the above-mentioned STEP 251b in the next and subsequent machining lines, and are used in the composite calculation of the "correction value" of the workpiece to be fed into the machine tool 14b in the subsequent process.
以上、本集中加工制御システムの一例としての実施形態を説明してきたが、本発明はこの構成に限定されるものではなく、当業者は特許請求の範囲の記載や思想から他の実施形態が存在することが容易に理解されよう。 The above describes an embodiment of the centralized processing control system as an example, but the present invention is not limited to this configuration, and those skilled in the art will easily understand that other embodiments exist from the description and concept of the claims.
10 集中加工制御手段
12 外部装置
14,14a,14b 工作機械
16,16a,16b 産業用ロボット
18,18a,18b その他の産業用CNC機械装置
19 測定器
10 Centralized machining control means 12 External device 14, 14a, 14b Machine tool 16, 16a, 16b Industrial robot 18, 18a, 18b Other industrial CNC machine device 19 Measuring instrument
Claims (5)
各機械装置及びCNC制御装置それぞれに対応するNCプログラムの通信方式及びマクロ変数名、並びに該集中加工制御システムに対応する統一的な通信方式及びマクロ変数名を示す通信方式・変数対応表が記憶及び更新されており、
任意の機械装置に対してその動作情報の読み込み要求がなされると、読み込み要求された内容及び機械装置に応じた通信方式及びマクロ変数名を前記通信方式・変数対応表から判定し、読み込み要求された機械装置のCNC制御装置に対して判定された通信方式を用いて判定されたマクロ変数を呼び出す指令を送信し、該指令を受信して呼び出されたマクロ変数における応答数値を前記通信方式・変数対応表から前記統一的な通信方式及びマクロ変数名における応答数値として出力する、を備えることを特徴とする集中加工制御システム。 A centralized machining control system that externally and in a unified manner monitors and manages the CNC control devices of various machines that operate according to various NC programs, regardless of the communication method or variables. The centralized machining control system comprises:
A communication method/variable correspondence table showing the communication method and macro variable name of the NC program corresponding to each machine device and CNC control device, and the unified communication method and macro variable name corresponding to the centralized machining control system is stored and updated;
when a request is made to read operation information of an arbitrary machine, the communication method and macro variable name corresponding to the requested content and the machine are determined from the communication method/variable correspondence table, a command is sent to a CNC control device of the machine from which the read request is made to call the determined macro variable using the determined communication method, and a response value for the macro variable called upon receiving the command is output from the communication method/variable correspondence table as a response value for the unified communication method and macro variable name.
任意の機械装置に対してその動作情報の書き込み要求がなされると、書き込み要求された内容及び機械装置に応じた通信方式及びマクロ変数名を前記通信方式・変数対応表から判定し、書き込み要求された機械装置のCNC制御装置に対して判定された通信方式で判定されたマクロ変数に数値を書き込む指令を送信し、該指令を書き込み要求された機械装置が許可又は拒否し、その応答信号を受信した場合は許可又は拒否された事実を前記通信方式・変数対応表における前記統一的な通信方式及びマクロ変数名として出力する、ことを特徴とする請求項1に記載の集中加工制御システム。 In the CNC management means,
2. The centralized machining control system according to claim 1, wherein, when a request for writing operation information is made to any machine, a communication method and a macro variable name corresponding to the requested content and the machine are determined from the communication method/variable correspondence table, a command is sent to a CNC control device of the machine to which the writing request is made to write a numerical value into the determined macro variable using the determined communication method, and the machine to which the writing request is made permits or rejects the command, and when a response signal is received, a fact of permission or rejection is output as the unified communication method and macro variable name in the communication method/variable correspondence table.
一の機械装置の動作の工程が終了すると、該一の機械装置及びその動作の工程及び被加工物及び加工後の被加工物の計測位置及びその計測値を紐づけて前工程計測データとして記憶しておき、
前記一の機械装置の動作の工程後に動作させる他の機械装置の動作をさせるときには、
前記前工程計測データとして記憶されている計測値を検索して算出された計測値に基づいて予め定めた又は選択した他の機械装置に対して被加工物の形状情報の補正又は加工条件の補正を前記書き込み要求として前記通信方式・変数対応表から該他の機械装置に応じた通信方式及び形状情報の補正又は加工条件の補正に関するマクロ変数名を判定し、該他の機械装置のCNC装置に対して判定された通信方式で判定されたマクロ変数に数値を書き込む指令を送信する、ことを特徴とする請求項2に記載の集中加工制御システム。 The centralized processing control system includes:
When the operation of a certain machine is completed, the operation of the certain machine, the workpiece, and the measurement positions and the measurement values of the workpiece after processing are linked to each other and stored as previous process measurement data;
When operating another machine device after the operation of the one machine device,
3. The centralized machining control system according to claim 2, further comprising: a command to search for measurement values stored as the previous process measurement data, to determine a communication method corresponding to the other machine and a macro variable name related to the correction of the shape information or the correction of the machining conditions as the write request for correcting the shape information of the workpiece or the correction of the machining conditions from the communication method/variable correspondence table, and to transmit a command to a CNC device of the other machine to write a numerical value into the determined macro variable using the determined communication method.
前記一の機械装置の動作の工程後に動作させる他の機械装置の動作をさせるときには、
前記前工程計測データから前工程の計測値を検索してその値を平均化した計測値に基づいて前記他の機械装置に対して被加工物の寸法の補正を前記書き込み要求として前記通信方式・変数対応表から該他の機械装置に応じた通信方式及び寸法の補正に関するマクロ変数名を判定し、該他の機械装置のCNC装置に対して判定された通信方式で判定されたマクロ変数名に数値を書き込む指令を送信する、ことを特徴とする請求項3に記載の集中加工制御システム。 The centralized processing control system includes:
When operating another machine device after the operation of the one machine device,
4. The centralized machining control system according to claim 3, further comprising: a command to write a dimensional correction of a workpiece to the other machine based on an averaged measurement value of the previous process measurement data, a communication method corresponding to the other machine and a macro variable name related to the dimensional correction from the communication method/variable correspondence table, and a command to write a numerical value to the macro variable name determined by the determined communication method to a CNC device of the other machine.
さらに、前記一の機械装置の動作の工程後に動作した他の機械装置の動作の工程が終了すると、該他の機械装置及びその動作の工程及び被加工物及び加工後の被加工物の計測位置及びその計測値を紐づけて後工程計測データとして記憶しておき、
前記一の機械装置の動作の工程後に動作させる他の機械装置の動作をさせるときには、
前記前工程計測データから前工程の計測値を検索し、直近の前記後工程計測データの統計的処理を実行して現状の他の機械装置の影響による誤差を補正値として算出し、
前記計測値及び前記補正値に基づいて前記他の機械装置に対して被加工物の寸法の補正を前記書き込み要求として前記通信方式・変数対応表から該他の機械装置に応じた通信方式及び寸法の補正に関するマクロ変数名を判定し、該他の機械装置のCNC装置に対して判定された通信方式で判定されたマクロ変数に数値を書き込む指令を送信する、ことを特徴とする請求項3に記載の集中加工制御システム。 The centralized processing control system includes:
Furthermore, when the operation of another machine that has been operated after the operation of the one machine is completed, the other machine, its operation, the workpiece, and the measurement positions and measurement values of the workpiece after processing are linked to each other and stored as post-process measurement data;
When operating another machine device after the operation of the one machine device,
A measurement value of a front-end process is searched for from the front-end measurement data, and a statistical process is performed on the most recent back-end measurement data to calculate an error due to the influence of other current machines and devices as a correction value;
4. The centralized machining control system according to claim 3, further comprising: a command to write a correction to the dimensions of the workpiece to the other machine device based on the measurement value and the correction value, the command determining a communication method corresponding to the other machine device and a macro variable name related to the correction of the dimensions from the communication method/variable correspondence table, and the command to write a numerical value to the determined macro variable using the determined communication method to the CNC device of the other machine device.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2023-117527 | 2023-07-19 | ||
JP2023117527 | 2023-07-19 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2025018417A1 true WO2025018417A1 (en) | 2025-01-23 |
Family
ID=94282357
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/JP2024/025988 WO2025018417A1 (en) | 2023-07-19 | 2024-07-19 | Centralized processing control system |
Country Status (1)
Country | Link |
---|---|
WO (1) | WO2025018417A1 (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS59200309A (en) * | 1983-04-27 | 1984-11-13 | Yaskawa Electric Mfg Co Ltd | Common frame synchronizing system for distributed numerical control system |
JPS6249402A (en) * | 1985-08-28 | 1987-03-04 | Fanuc Ltd | Information transfer system in numerical control of four-axes lathe |
JPH03196309A (en) * | 1990-07-30 | 1991-08-27 | Fanuc Ltd | Numerical controller |
JPH03206503A (en) * | 1990-07-30 | 1991-09-09 | Fanuc Ltd | Numerical controller |
JPH0443408A (en) * | 1990-06-08 | 1992-02-13 | Fanuc Ltd | Numerical controller system |
JP2000317775A (en) * | 1999-04-28 | 2000-11-21 | Mitsutoyo Corp | Machining system |
JP2020064399A (en) * | 2018-10-16 | 2020-04-23 | オムロン株式会社 | Control system, control device, terminal device, and program |
-
2024
- 2024-07-19 WO PCT/JP2024/025988 patent/WO2025018417A1/en unknown
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS59200309A (en) * | 1983-04-27 | 1984-11-13 | Yaskawa Electric Mfg Co Ltd | Common frame synchronizing system for distributed numerical control system |
JPS6249402A (en) * | 1985-08-28 | 1987-03-04 | Fanuc Ltd | Information transfer system in numerical control of four-axes lathe |
JPH0443408A (en) * | 1990-06-08 | 1992-02-13 | Fanuc Ltd | Numerical controller system |
JPH03196309A (en) * | 1990-07-30 | 1991-08-27 | Fanuc Ltd | Numerical controller |
JPH03206503A (en) * | 1990-07-30 | 1991-09-09 | Fanuc Ltd | Numerical controller |
JP2000317775A (en) * | 1999-04-28 | 2000-11-21 | Mitsutoyo Corp | Machining system |
JP2020064399A (en) * | 2018-10-16 | 2020-04-23 | オムロン株式会社 | Control system, control device, terminal device, and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8090557B2 (en) | Quality assurance method when operating an industrial machine | |
JP5143005B2 (en) | Methods for optimization of machining processes in machines | |
EP1048994A2 (en) | Manufacturing system and method | |
US11567470B2 (en) | Computer-aided optimization of numerically controlled machining of a workpiece | |
Martinova et al. | Practical aspects of ensuring accuracy of machining on CNC machine tools within framework of “smart manufacturing” | |
US20150261204A1 (en) | Interface system of industrial machine | |
JP4593142B2 (en) | System for manufacturing a workpiece under computer control and method for measuring a manufactured workpiece | |
JP2015043203A (en) | Device and method for automated configuration of monitoring function of industrial robot | |
CN118647949A (en) | Processing evaluation device, processing system and processing evaluation method | |
CN106886195B (en) | Machining control method, device and application thereof | |
WO2025018417A1 (en) | Centralized processing control system | |
JP7463505B2 (en) | Method for detecting rejects during machining of structurally identical workpieces and associated numerically controlled workpiece machining device - Patents.com | |
Schmucker et al. | Online parameterization of a milling force model using an intelligent system architecture and bayesian optimization | |
CN111316178B (en) | Method for operating a numerically controlled production system and its production system | |
WO2017101700A1 (en) | Computer aided manufacturing method, device and system in direct communication with numerical control system | |
Hasegawa et al. | Influences of geometric and dynamic synchronous errors onto machined surface in 5-axis machining center | |
CN112947301A (en) | System and method for deriving and applying computer numerical control global offsets | |
Shawky et al. | Model-based predictive control of workpiece accuracy in bar turning | |
Epureanu et al. | Reconfigurable machine tool programming–a new approach | |
CN108319229B (en) | Small straight line segment feeding speed control method for numerical control machining | |
WO2020008891A1 (en) | Numerical control device | |
Marek et al. | A quasi-online geometric errors compensation method on CNC machine tool | |
Monaro et al. | Evaluation of Dynamic Behavior of Machine Tools for Sculptured Surface Manufacturing | |
Amacher et al. | Software-based setpoint optimization methods for laser cutting machine tools | |
Kushwaha et al. | In-Process Virtual Quality Monitoring |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 24843205 Country of ref document: EP Kind code of ref document: A1 |