WO2018180004A1 - 工作機械の制御装置 - Google Patents

工作機械の制御装置 Download PDF

Info

Publication number
WO2018180004A1
WO2018180004A1 PCT/JP2018/005907 JP2018005907W WO2018180004A1 WO 2018180004 A1 WO2018180004 A1 WO 2018180004A1 JP 2018005907 W JP2018005907 W JP 2018005907W WO 2018180004 A1 WO2018180004 A1 WO 2018180004A1
Authority
WO
WIPO (PCT)
Prior art keywords
machining
program
storage unit
module
program storage
Prior art date
Application number
PCT/JP2018/005907
Other languages
English (en)
French (fr)
Inventor
修一 渡部
松本 仁
Original Assignee
シチズン時計株式会社
シチズンマシナリー株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by シチズン時計株式会社, シチズンマシナリー株式会社 filed Critical シチズン時計株式会社
Priority to KR1020197031551A priority Critical patent/KR102481220B1/ko
Priority to JP2019508761A priority patent/JP6924259B2/ja
Priority to ES18776610T priority patent/ES2939966T3/es
Priority to US16/497,645 priority patent/US11054809B2/en
Priority to EP18776610.0A priority patent/EP3582040B1/en
Priority to CN201880018387.XA priority patent/CN110431497A/zh
Publication of WO2018180004A1 publication Critical patent/WO2018180004A1/ja

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical 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/414Structure of the control system, e.g. common controller or multiprocessor systems, interface to servo, programmable interface controller
    • G05B19/4141Structure of the control system, e.g. common controller or multiprocessor systems, interface to servo, programmable interface controller characterised by a controller or microprocessor per axis
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23QDETAILS, COMPONENTS, OR ACCESSORIES FOR MACHINE TOOLS, e.g. ARRANGEMENTS FOR COPYING OR CONTROLLING; MACHINE TOOLS IN GENERAL CHARACTERISED BY THE CONSTRUCTION OF PARTICULAR DETAILS OR COMPONENTS; COMBINATIONS OR ASSOCIATIONS OF METAL-WORKING MACHINES, NOT DIRECTED TO A PARTICULAR RESULT
    • B23Q15/00Automatic control or regulation of feed movement, cutting velocity or position of tool or work
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23QDETAILS, COMPONENTS, OR ACCESSORIES FOR MACHINE TOOLS, e.g. ARRANGEMENTS FOR COPYING OR CONTROLLING; MACHINE TOOLS IN GENERAL CHARACTERISED BY THE CONSTRUCTION OF PARTICULAR DETAILS OR COMPONENTS; COMBINATIONS OR ASSOCIATIONS OF METAL-WORKING MACHINES, NOT DIRECTED TO A PARTICULAR RESULT
    • B23Q15/00Automatic control or regulation of feed movement, cutting velocity or position of tool or work
    • B23Q15/007Automatic control or regulation of feed movement, cutting velocity or position of tool or work while the tool acts upon the workpiece
    • B23Q15/14Control or regulation of the orientation of the tool with respect to the work
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23QDETAILS, COMPONENTS, OR ACCESSORIES FOR MACHINE TOOLS, e.g. ARRANGEMENTS FOR COPYING OR CONTROLLING; MACHINE TOOLS IN GENERAL CHARACTERISED BY THE CONSTRUCTION OF PARTICULAR DETAILS OR COMPONENTS; COMBINATIONS OR ASSOCIATIONS OF METAL-WORKING MACHINES, NOT DIRECTED TO A PARTICULAR RESULT
    • B23Q15/00Automatic control or regulation of feed movement, cutting velocity or position of tool or work
    • B23Q15/20Automatic control or regulation of feed movement, cutting velocity or position of tool or work before or after the tool acts upon the workpiece
    • B23Q15/22Control or regulation of position of tool or workpiece
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23QDETAILS, COMPONENTS, OR ACCESSORIES FOR MACHINE TOOLS, e.g. ARRANGEMENTS FOR COPYING OR CONTROLLING; MACHINE TOOLS IN GENERAL CHARACTERISED BY THE CONSTRUCTION OF PARTICULAR DETAILS OR COMPONENTS; COMBINATIONS OR ASSOCIATIONS OF METAL-WORKING MACHINES, NOT DIRECTED TO A PARTICULAR RESULT
    • B23Q39/00Metal-working machines incorporating a plurality of sub-assemblies, each capable of performing a metal-working operation
    • B23Q39/04Metal-working machines incorporating a plurality of sub-assemblies, each capable of performing a metal-working operation the sub-assemblies being arranged to operate simultaneously at different stations, e.g. with an annular work-table moved in steps
    • B23Q39/048Metal-working machines incorporating a plurality of sub-assemblies, each capable of performing a metal-working operation the sub-assemblies being arranged to operate simultaneously at different stations, e.g. with an annular work-table moved in steps the work holder of a work station transfers directly its workpiece to the work holder of a following work station
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical 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
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical 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/4155Numerical 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 characterised by programme execution, i.e. part programme or machine function execution, e.g. selection of a programme
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/33Director till display
    • G05B2219/33346Only memory of master module stores all position programs of slaves
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/34Director, elements to supervisory
    • G05B2219/34192Memory management
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/34Director, elements to supervisory
    • G05B2219/34418Scheduler for sequential control, task planning, control sequence
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/36Nc in input of data, input key till input tape
    • G05B2219/36304Divide into several machining processes, divide each also in several sub processes
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/50Machine tool, machine tool null till machine tool work handling
    • G05B2219/50008Multiple, multi tool head, parallel machining
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/50Machine tool, machine tool null till machine tool work handling
    • G05B2219/50171Machine, machining centre, center
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Definitions

  • the present invention relates to a machine tool control device that controls a workpiece machining operation based on a machining program.
  • modules processing units each integrally provided with a spindle for gripping a workpiece and a tool post for holding a tool for processing the workpiece gripped by the spindle are mounted on a bed.
  • a machine tool work processing device that performs processing while passing between two or more modules is known (for example, see Patent Document 1).
  • control systems for controlling a predetermined drive shaft of the machine tool, and control for operating the machine tool by executing a multi-system program consisting of a plurality of machining programs corresponding to each control system independently.
  • Devices are generally known. For this reason, it is conceivable that each control system of the control device is assigned to each module, and the operation of each module is controlled by executing each machining program of each control system corresponding to each module.
  • the workpiece is processed by sequentially transferring the workpiece between the plurality of modules. Products can be manufactured continuously and efficiently.
  • the first module executes the first processing step by the first system processing program in the first module, and the second module.
  • the second machining process can be executed by the second system machining program, and the third machining process can be executed by the third module by the third system machining program to complete the production of the product.
  • the third processing step of the first product by the third module.
  • the second module performs the second processing step for the second product and the first module performs the first processing step for the third product at the same time. It becomes possible to manufacture efficiently.
  • control device since the control device is premised on the replacement of the program in the entire multi-system program, a plurality of products having different shapes, for example, a product A, a product B, and a product C, are processed in a plurality of processing steps. For example, when manufacturing by three processing steps, the multi-system program different for each product is required. For example, during the execution of the third processing step of the product A by the third module, the products corresponding to the products B and C The system program cannot be replaced with the multi-system program corresponding to product A.
  • the second processing step of the product B by the second module and the first processing step of the product C by the first module are performed simultaneously.
  • the product A is waited for completion of the manufacture of the product A from the first module to the third module, and then to the product B.
  • the product B is manufactured from the first module to the third module by switching to the corresponding multi-system program, and then the product C is switched from the first module to the third module by switching to the multi-system program corresponding to the product C. Manufacturing needs to be done.
  • an object of the present invention is to provide a machine tool control device capable of continuously and efficiently producing a plurality of products having different shapes.
  • a machine tool control device includes a work holding means for holding a work and a work holding means for performing a predetermined work on the work held by the work holding means.
  • a machine tool provided with a plurality of modules integrally provided with the means holding unit, provided with a plurality of control systems for controlling a predetermined drive shaft of the machine tool, and corresponding to each control system independently
  • a machine tool control device for controlling the operation of the machine tool so as to perform machining of the workpiece based on a multi-system program composed of the machining program of the above, wherein the drive shaft of each module is provided for each module.
  • a multi-system program storage unit that stores a plurality of different multi-system programs that are assigned to different control systems and process the workpiece into different shapes.
  • a multi-system program dividing unit that divides each multi-system program into machining programs, a divided program storage unit that individually stores the divided machining programs, and a machining program corresponding to each control system.
  • a system-specific program storage unit that stores each system, and a predetermined machining program is selected from the divided program storage unit according to the machining process performed by each module, and the system-specific program storage unit for each predetermined control system
  • Each of the control system has a plurality of program storage means for each control system, and each of the two predetermined program storage means in each control system.
  • machining program selection unit selects and stores a machining program required for each control system from the divided program storage unit in the system-specific program storage unit, one program storage unit The machining program stored in the other program storage means is replaced with the machining program stored in the reference state.
  • each machining program constituting each multi-system program is individually stored in the divided program storage unit from a plurality of multi-system programs, and the machining process performed by each module is performed.
  • a plurality of program storage means included in the system-specific program storage unit that selects a predetermined machining program from the machining programs stored in the divided program storage unit and is provided for each control system.
  • the machining programs stored in the other program storage means are stored in order of machining steps in the reference state of the machining program stored in one program storage means.
  • Each control system sequentially refers to the divided programs stored in the two program storage means, so that each module Drive controlled based on any machining program Lumpur for each system, to reduce the loss of time due to replacement of the machining program, a plurality of products of different shapes can be produced continuously and efficiently.
  • the perspective view which shows the whole structure of the machine tool provided with the control apparatus which concerns on one Embodiment of this invention.
  • the block diagram which shows the control apparatus of the machine tool which concerns on one Embodiment of this invention.
  • the block diagram which shows the program management part of a control apparatus.
  • the figure which shows another example (product E) of the product of the predetermined shape manufactured with the machine tool of this embodiment The figure which shows an example of the manufacturing process of the product A shown to FIG. 5A.
  • the figure which shows an example of the manufacturing process of the product B shown to FIG. 5B The figure which shows an example of the manufacturing process of the product C shown to FIG. 5C.
  • a machine tool (automatic lathe device) 100 including a control device includes a bed 1 and four modules M1, M2, M3 on the bed 1.
  • M4 is mounted as a machining unit.
  • the axial direction of the main shaft 3 of the modules M1, M2, M3, and M4 is the Z-axis direction
  • the direction orthogonal to the Z-axis direction in the horizontal direction is the Y-axis direction
  • the vertical direction orthogonal to the Z-axis and Y-axis is the X-axis direction.
  • Each of the modules M1, M2, M3, and M4 has the same basic configuration.
  • a headstock 4 that supports the main shaft 3 and a tool 6 that processes a workpiece gripped by the main shaft 3 are held.
  • a tool post 7 is provided integrally.
  • a conventionally known built-in motor is formed between the spindle 3 and the spindle stock 4.
  • the main shaft 3 is driven to rotate about an axis line with a built-in motor as a drive unit.
  • the spindle 3 can detachably hold a workpiece by opening and closing operations of a chuck provided at the front end portion.
  • two guide rails 8 extending in the Z-axis direction are laid in parallel to the Y-axis direction.
  • the headstock 4 is slidably mounted on the guide rail 8.
  • the headstock 4 is screwed into a ball screw 9 provided between both guide rails 8.
  • the head stock 4 is driven to move in the Z-axis direction on the guide rail 8 integrally with the main shaft 3 by using the motor 11 for the ball screw 9 as a drive unit.
  • a support base 12 is fixed to the base 2 in front of the head stock 4.
  • the tool post 7 is mounted in front of the support base 12 so as to be movable in the X-axis and Y-axis directions.
  • the tool post 7 is driven to move in the X-axis direction and the Y-axis direction using the X-axis motor 13 and the Y-axis motor 14 as drive units.
  • the support 12 is formed in a gate shape having an opening 16.
  • the headstock 4 can pass through the opening 16.
  • the headstock 4 can be disposed so as to pass the opening 16 and the work gripped by the spindle 3 faces the tool rest 7.
  • the bed 1 has a notch 17 formed by notching one corner in a concave shape, and is formed in a substantially L shape in plan view.
  • two modules M1 and M3 are juxtaposed so that the Z-axis directions are parallel.
  • the base 2 of the two modules M1 and M3 is fixed on the bed 1.
  • Two guide rails 18 are juxtaposed in the Z-axis direction on the opposite side of both modules M1 and M3 and are laid on the bed 1.
  • the guide rail 18 extends in the Y-axis direction from the facing position of one module M1 to the facing position of the notch 17.
  • a slide body 18 a is slidably mounted on the guide rail 18.
  • the base 2 is fixed to the slide body 18a on the guide rail 18, respectively.
  • the modules M2 and M4 are mounted in parallel in the Y-axis direction on the guide rail 18 so that the Z-axis direction is parallel.
  • the modules M1, M2, M3, and M4 are arranged so that the Z-axis directions are parallel.
  • the modules M2 and M4 are provided so as to be capable of reciprocating along the guide rail 18.
  • ball screws 19 and 19 for the modules M 2 and M 4 are arranged coaxially in parallel with the two guide rails 18. Both ball screws 19, 19 are screwed into the base 2 side of each module M2, M4. Each ball screw 19 uses a drive motor 5 provided on the bed 1 side as a drive unit. Each ball screw 19 is connected to the drive motor 5 via the belt 10.
  • the modules M2 and M4 are independently reciprocated along the guide rail 18 in the Y-axis direction by rotationally driving each drive motor 5.
  • the modules M2 and M4 mounted on the guide rail 18 are referred to as “moving modules”, and the modules M1 and M3 fixed on the bed 1 are referred to as “fixed modules”.
  • One fixing module M3 is adjacent to the notch 17 and is disposed along the outer peripheral edge of the bed 1 on the notch side.
  • the other fixing module M1 is arranged on the opposite side of the notch with the fixing module M3 interposed therebetween, along the outer peripheral edge facing the notch 17 of the bed 1.
  • One moving module M4 moves so as to face the notch portion 17.
  • the other moving module M2 is opposed to both the fixing modules M1 and M3, and can move to a position where the spindle axes coincide with each other on a straight line.
  • the moving module M4 faces the fixed module M3 and can move to a position where the respective spindle axes coincide with each other.
  • Drive units such as the drive motors 5 of the modules M1 to M4 and the ball screws 19 are driven and controlled by the control device 20.
  • each drive unit rotates the spindle 3 and moves the spindle stock 4 in the Z-axis direction by the drive control by the control device 20 with the workpiece held by the spindle 3.
  • the movement of the tool post 7 in the X-axis direction and the Y-axis direction is controlled.
  • work can be processed into a predetermined shape, selecting the predetermined tool of a tool post.
  • the moving modules M2 and M4 are moved to opposite positions of the fixed module M1 or the fixed module M3 so that the spindle axes coincide with each other, and the spindle stock 4 is moved in the proximity direction. Thereby, workpieces can be exchanged between the moving modules M2 and M4 and the fixed modules M1 and M3.
  • the machine tool 100 is configured by combining a plurality of modules M1, M2, M3, and M4 that function as separate lathes.
  • the workpiece machining operations in the modules M1, M2, M3, and M4 are controlled by the controller 20 while the workpieces are sequentially transferred between the modules M1, M2, M3, and M4.
  • the work holding means that holds the work is composed of the spindle 3 that holds the work.
  • the working means for performing a predetermined work on the work held by the work holding means includes a tool 6 for machining the work held by the spindle 3.
  • the working means holding part for holding the working means is composed of a tool post 7 for holding the tool 6. That is, in the present embodiment, an example of a machine tool in which each module M1, M2, M3, M4 is a lathe module has been described. However, the module is not limited to a lathe module, and a predetermined module may be a machine tool that is a processing module that can perform grinding, milling, gear cutting, and the like.
  • the machine tool 100 includes a control device 20 and is driven and controlled by the control device 20.
  • the control device 20 includes a control unit (CPU) 21, an operation panel 22, a program input unit 23, a program management unit 24, a system control unit 25, and a schedule management unit 26.
  • the operations of the program input unit 23, the program management unit 24, the system control unit 25, the schedule management unit 26, and the like are performed in software or in accordance with a program stored in advance in the control device 20, hardware provided on the control device 20 side, or the like. It is done in hardware.
  • the control device 20 of the present embodiment includes four control systems (a first system m1, a second system m2, a third system m3, and a fourth system m4).
  • the drive shafts of the modules M1, M2, M3, and M4 are assigned to different control systems for each module.
  • the control device 20 Based on the multi-system program stored (stored) in the program management unit 24, the control device 20 performs drive control of the modules M1, M2, M3, and M4.
  • the multi-system program is one composed of a plurality of machining programs corresponding to a plurality of predetermined control systems among the control systems (first system m1, second system m2, third system m3, and fourth system m4). It can be configured as a workpiece machining program.
  • the multi-system program of this embodiment has four description areas $ 1, $ 2, $ 3, and $ 4 in which machining programs for each system can be described. As shown in FIG. 3, four description areas $ 1, $ 2, $ 3, $ 4 are arranged in parallel with each other, or each description area $ 1, $ 2, $ 3, $ 4 is arranged in series. It is configured as one workpiece machining program.
  • the machining program corresponding to the first system m1 is described.
  • a machining program corresponding to the second system m2 is described in the description area $ 2.
  • a machining program corresponding to the third system m3 is described.
  • the machining program corresponding to the fourth system m4 is described.
  • a plurality of machining programs described separately can be linked by a predetermined linking means or the like and linked to form a multi-system program. In this case, each machining program of each description area $ 1, $ 2, $ 3, $ 4 is described in each linked machining program.
  • the control unit 21 uses the control programs corresponding to each processing program (first system m1, second system m2, third system m3, and so on) according to each processing program constituting the multi-system program via the system control unit 25.
  • the fourth system m4) is driven and controlled independently of each other.
  • each drive shaft of the module M1 is assigned to the first system m1.
  • Each drive shaft of the module M2 including the drive motor 5 of the ball screw 19 is assigned to the second system m2.
  • Each drive shaft of the module M3 is assigned to the third system m3.
  • Each drive shaft of the module M4 including the drive motor 5 of the ball screw 19 is assigned to the fourth system m4.
  • the control unit 21 performs drive control of the module M1 by the first system m1.
  • Drive control including movement of the module M2 in the Y-axis direction is performed by the second system m2.
  • the drive control of the module M3 is performed by the third system m3.
  • Drive control including movement of the module M4 in the Y-axis direction is performed by the fourth system m4.
  • the control unit 21 controls the overall operation of the machine tool 100 and the workpiece machining operation by the modules M1, M2, M3, and M4.
  • the operation panel 22 includes a display unit 22 a that displays an operation state, an operation instruction, and the like of the machine tool 100, and operation buttons 22 b for inputting a desired operation to the machine tool 100.
  • a keyboard 22c and the like are included.
  • the program management unit 24 includes a multi-system program storage unit 30, a multi-system program division unit 31, a division program storage unit 32, a machining program selection unit 33, and a system-specific program storage unit 34. Yes.
  • the multi-system program created by operating an external personal computer or the operation panel 22 is stored (stored) in the multi-system program storage section 30 via the program input section 23.
  • a predetermined material for example, a predetermined material (work) is obtained by executing a first machining process by the module M1, a second machining process by the module M2, a third machining process by the module M3, and a fourth machining process by the module M4.
  • Control systems first system m1, second system m2, third system m3, fourth system m4 that control the operation of each module M1, M2, M3, M4 so that the manufacture of products of a predetermined shape is completed.
  • the multi-system program dividing unit 31 is configured to store (store) the multi-system program stored in the multi-system program storage unit 30 in the divided program storage unit 32 for each machining program constituting the multi-system program. ing. For example, each of the description areas $ 1, $ 2, $ 3, and $ 4 is divided into machining programs, and the divided machining programs are individually stored (stored) in the divided program storage unit 32.
  • the division program storage unit 32 includes each machining program that constitutes a divided multi-system program, and each machining program that constitutes a single system program that manufactures a predetermined product in one process of a predetermined module.
  • a plurality of first to n-th storage units that can be stored are stored, and each processing program is stored in each storage unit.
  • the program management unit 24 sends the input multi-system program to the multi-system program division unit 31.
  • different multi-system programs for manufacturing different products from workpieces are sequentially stored (stored) in the multi-system program storage section 30 to form different multi-system programs via the multi-system program dividing section 31.
  • the machining programs are individually stored in the divided program storage unit 32.
  • a multi-system program MP1 for manufacturing a product A as shown in FIG. 5A in the four steps (first processing step, second processing step, third processing step, fourth processing step) It is stored in the system program storage unit 30.
  • the machining program PA1 for the first system m1 described in the description area $ 1 of the multi-system program MP1 can be stored in the first storage unit.
  • the machining program PA2 for the second system m2 described in the description area $ 2 can be stored in the second storage unit.
  • the machining program PA3 for the third system m3 described in the description area $ 3 can be stored in the third storage unit.
  • the machining program PA4 for the fourth system m4 described in the description area $ 4 can be stored in the fourth storage unit.
  • the multi-system program MP2 (see FIG. 6B) for manufacturing the product B as shown in FIG. 5B in the two steps (first processing step, second processing step) is stored in the multi-system program storage unit 30.
  • the machining program PB1 for the first system m1 described in the description area $ 1 of the multi-system program MP2 can be stored in the fifth storage unit.
  • the machining program PB2 for the second system m2 described in the description area $ 2 can be stored in the sixth storage unit.
  • a multi-system program MP3 (see FIG. 6C) for manufacturing a product C as shown in FIG. 5C in two steps, a first processing step by the module M3 and a second processing step by the module M4, is provided. 30.
  • the machining program PC1 for the third system m3 described in the description area $ 3 of the multi-system program MP3 can be stored in the seventh storage unit.
  • the machining program PC2 for the fourth system m4 described in the description area $ 4 can be stored in the eighth storage unit.
  • a multi-system program MP4 (see FIG. 6D) for manufacturing a product D as shown in FIG. 5D in the three processes (first processing process, second processing process, and third processing process) is stored in the multi-system program storage unit 30.
  • the machining program PD1 for the first system m1 described in the description area $ 1 of the multi-system program MP4 can be stored in the ninth storage unit.
  • the machining program PD2 for the second system m2 described in the description area $ 2 can be stored in the tenth storage unit.
  • the machining program PD3 for the third system m3 described in the description area $ 4 can be stored in the eleventh storage unit.
  • the multi-system program storage unit 30 is allowed to input the single system program.
  • a single system program MP5 (see FIG. 6E) for manufacturing the product E as shown in FIG. 5E in one step of the machining process by the module M4 is stored in the multi-system program storage unit 30.
  • the multi-system program dividing unit 31 can store the machining program PE1 of the fourth system m4 described in the description area $ 4 of the single system program MP5 in the twelfth storage unit.
  • the schedule management unit 26 creates and manages operation schedule data for the machine tool 100.
  • the schedule management unit 26 includes an operation schedule data storage unit 27 that stores (stores) the generated operation schedule data.
  • the operation schedule data includes information that defines the execution order of machining programs to be executed for each control system.
  • the control device 20 sequentially executes the machining program in each control system based on the operation schedule data.
  • the workpiece machining operations in the modules M1, M2, M3, and M4 are executed in the order of execution of the machining program according to the operation schedule data.
  • the control device 20 measures the time (hereinafter referred to as “actually measured value”) related to the execution of each process in each machining program.
  • actually measured value the time related to the execution of each process in each machining program.
  • commands (codes) instructing measurement start and measurement stop may be set in advance at the beginning and end of the command group of each process (supply, processing, unloading). desirable. However, these commands do not necessarily have to be set, and the control device 20 may detect the start and end timings of each process and acquire measured values by analyzing the machining program or the like.
  • the schedule management unit 26 displays a schedule setting screen as shown in FIG. 7 on the display unit 22a.
  • the schedule setting screen for each product to be manufactured, the number of production, the flow of processing, the supply (loading) time of the workpieces in the modules M1 to M4, the processing time, the unloading (unloading) time, and the like are displayed as items.
  • Work Nos. 1, 2, 3, 4, and 5 shown in FIG. 7 indicate work identification numbers corresponding to, for example, product A, product B, product C, product D, and product E, respectively.
  • ⁇ Data corresponding to each item can be configured so that an operator (operator) can manually input data on the schedule setting screen.
  • the schedule management unit 26 analyzes each multi-system program stored in the multi-system program storage unit 30, calculates the supply time, the processing time and the unload time, and the processing flow for each product.
  • the supplied supply time, processing time, unloading time, and processing flow can be automatically displayed on the schedule setting screen.
  • it can also be set as the structure which an operator can input a number on a schedule setting screen.
  • the supply time, the machining time, and the unload time in each machining program on the schedule setting screen include the time manually input by the operator or The time automatically calculated by the schedule management unit 26 through program analysis (hereinafter referred to as “initial value”) is displayed.
  • the schedule setting screen is displayed after the machine tool 100 performs machining, the supply time, machining time, and carry-out time can be displayed as measured values measured by the control device 20.
  • the processing status (status) of each module M1 to M4 can be displayed in real time. For example, “operation” is displayed during machining, “completed” is displayed when machining is completed, and “stop” is displayed when operation is stopped. “Invalid” indicates that the product is not manufactured.
  • the schedule management unit 26 creates operation schedule data based on a predetermined algorithm in accordance with an input on the schedule setting screen, an initial value by program analysis, or an actual measurement value.
  • a schedule display screen as shown in FIG. 8 is displayed on the display unit 22a based on the created operation schedule data. By visually recognizing the schedule display screen, the operator can visually confirm the operation schedule of the machine tool 100.
  • MD1, MD2, MD3, and MD4 indicate schedules of machining programs executed by the modules M1, M2, M3, and M4, respectively.
  • the hatched part before and after each machining program represents the supply time and the carry-out time. Between the supply time and the unloading time represents the machining time.
  • the product number is displayed following the machining program ID (for example, “PA1”, “PA2”, etc.).
  • PA1-1 indicates a machining program for the first machining process of the first product A.
  • the supply time, the machining time, and the unloading time are displayed based on initial values by program analysis or the like. Further, when the schedule display screen is displayed after machining is performed on the machine tool 100, the supply time, the machining time, and the carry-out time are displayed based on the actual measurement values measured by the control device 20.
  • the schedule can be adjusted on the schedule display screen such as changing the order of the processing programs of the operation schedule data.
  • This schedule adjustment can be performed on a schedule display screen on which initial values before the start of machining are displayed, or on a schedule display screen on which actual values after machining are displayed.
  • the worker can manually adjust the schedule so as to execute the machining process of any workpiece using this idle time.
  • the first processing step by the module M3 of the first product C which is shorter than the free time, is executed before the third processing step of the first product A, and the second processing step by the module M4 of the product C is performed. Can be scheduled to be executed before the fourth processing step of product A.
  • FIG. 9 shows a schedule display screen after schedule adjustment.
  • the machining program selection unit 33 selects a storage unit in which a predetermined machining program is stored from the first storage unit to the n-th storage unit of the divided program storage unit 32 in cooperation with the schedule management unit 26. This selection is performed according to the processing steps performed by the modules M1, M2, M3, and M4 according to the operation schedule data created by the schedule management unit 26, that is, in the order in which the processing programs are executed.
  • the machining program selection unit 33 is configured to store (store) the machining program stored in any selected storage unit in the system-specific program storage unit 34 for each control system.
  • the system-specific program storage unit 34 of this embodiment includes eight program storage units according to four control systems (first system m1, second system m2, third system m3, and fourth system m4). Is done.
  • a first system first program storage unit 35a and a first system second program storage unit 35b are provided as program storage means for storing the machining program of the first system m1.
  • a second system first program storage unit 36a and a second system second program storage unit 36b are provided as program storage means for storing the machining program of the second system m2.
  • a third system first program storage unit 37a and a third system second program storage unit 37b are provided as program storage means for storing the machining program of the third system m3.
  • a fourth system first program storage unit 38a and a fourth system second program storage unit 38b are provided as program storage means for storing the machining program of the fourth system m4.
  • the system-specific program storage unit 34 has two program storage units, a first program storage unit and a second program storage unit, for each control system.
  • the machining program of each control system selected by the machining program selection unit 33 is stored in the first program storage unit and the second machining program storage unit of each control system.
  • the system control unit 25 of this embodiment controls each control system independently, corresponding to each of the four control systems (first system m1, second system m2, third system m3, and fourth system m4).
  • Four system control units first system control unit 25a, second system control unit 25b, third system control unit 25c, and fourth system control unit 25d).
  • the first, second, third, and fourth system control units 25a, 25b, 25c, and 25d are respectively associated with the system-specific program storage units 34 (first system first and second program storage units 35a, 35b, Stored in the second system first and second program storage units 36a and 36b, the third system first and second program storage units 37a and 37b, the fourth system first and second program storage units 38a and 38b), respectively.
  • the drive shafts assigned to the corresponding control systems (the first system m1, the second system m2, the third system m3, and the fourth system m4) are driven independently from each other for each control system.
  • the first system control unit 25a drives and controls the module M1 independently.
  • the second system control unit 25b controls the drive of the module M2 independently.
  • the third system control unit 25c drives and controls the module M3 independently.
  • the fourth system control unit 25d drives and controls the module M4 independently.
  • each system control unit 25a, 25b, 25c, 25d is read and stored by alternately referring to the machining programs stored in the corresponding first program storage unit and second machining program storage unit, respectively. Execute the machining program.
  • the first system control unit 25a first controls the module M1 based on the machining program stored in the first system first program storage unit 35a, and then the machining stored in the first system second program storage unit 35b. Control of the module M1 is repeated based on the program.
  • the second system control unit 25b reads the machining program stored in the second system first program storage unit 36a and the machining program stored in the second system second program storage unit 36b alternately with reference to each other, Control module M2.
  • the third system control unit 25c reads the module M3 by alternately referring to the machining program stored in the third system first program storage unit 37a and the machining program stored in the third system second program storage unit 37b.
  • the fourth system control unit 25d alternately reads the machining program stored in the fourth system first program storage unit 38a and the machining program stored in the fourth system second program storage unit 38b, and loads the module M4. Control.
  • the machining program selection unit 33 sequentially stores the machining programs in the first program storage unit and the second program storage unit corresponding to each control system according to the operation schedule data.
  • the machining program selection unit 33 replaces machining programs as follows. When the machining program stored in the second program storage unit is referenced and read in each control system, the machining program in the first program storage unit is replaced. When the machining program stored in the first program storage unit is referenced and read, the machining program in the second program storage unit is replaced.
  • the machining program selection unit 33 replaces the machining program stored in the other program storage unit in the reference state of the machining program stored in the one program storage unit.
  • the machining program corresponding to the first system m1 selected from the divided program storage unit 32 by the machining program selection unit 33 is stored in the first system first program storage unit 35a and the first system second program storage unit 35b.
  • the data are stored in order based on the driving schedule data.
  • the machining program PA1-1 and the first system second program storage unit 35b are stored in the first system first program storage unit 35a.
  • Each of PA1-2 is stored.
  • the first system control unit 25a of the first system m1 executes the machining program PA1-1 with reference to the first system first program storage unit 35a.
  • the machining program selection unit 33 sets the machining program in the first system first program storage unit 35a.
  • PA1-1 is replaced with the machining program PB1-1.
  • the machining program selection unit 33 stores the first system second program.
  • the machining program PA1-2 of the part 35b is replaced with the machining program PB1-2.
  • the machining program selection unit 33 uses the first system first program storage unit.
  • the machining program PB1-1 of 35a is replaced with the machining program PD1-1.
  • the machining program selection unit 33 uses the first system second program storage unit.
  • the machining program PB1-2 of 35b is replaced with the machining program PD1-2. That is, the module M1 is controlled by alternately referring to the machining program in the first system first program storage unit 35a and the machining program in the first system second program storage unit 35b, which are sequentially replaced by the machining program selection unit 33.
  • the machining program selection unit 33 replaces the machining program stored in the other program storage unit in the reference state of the machining program stored in the one program storage unit.
  • the second system first program storage unit 36a and the second system second program storage unit 36b have the second program selected from the divided program storage unit 32 by the machining program selection unit 33. Machining programs corresponding to the two systems m2 are alternately stored in the order of machining processes in the second system m2 based on the operation schedule data.
  • the machining program stored in one program storage unit is referred to and read by the second system control unit 25b of the second system m2, and the machining program stored in the other program storage unit is referenced.
  • the machining program in the other program storage unit is replaced by the machining program selection unit 33.
  • the machining programs in the second system first program storage unit 36a are replaced in the order of machining programs PA2-1, PB2-1, PD2-1.
  • the machining programs in the second system second program storage unit 36b are switched in the order of machining programs PA2-2, PB2-2, and PD2-2.
  • the machining program selection unit 33 replaces the machining program stored in the other program storage unit in the reference state of the machining program stored in the one program storage unit.
  • the machining program corresponding to the third system m3 selected from the divided program storage unit 32 by the machining program selection unit 33 is stored in the third system first program storage unit 37a and the third system second program storage unit 37b. Based on the operation schedule data, they are alternately stored in the order of the processing steps in the third system m3.
  • the machining program stored in one program storage unit is referred to and read by the third system control unit 25c of the third system m3, and the machining program stored in the other program storage unit is referenced.
  • the machining program in the other program storage unit is replaced by the machining program selection unit 33.
  • the machining programs in the third system first program storage unit 37a are replaced in the order of machining programs PC1-1, PA3-2, PC1-3, PC1-5, and PD3-2.
  • the machining programs in the third system second program storage unit 37b are changed in the order of machining programs PA3-1, PC1-2, PC1-4, and PD3-1.
  • the machining program selection unit 33 replaces the machining program stored in the other program storage unit in the reference state of the machining program stored in the one program storage unit.
  • the machining program corresponding to the fourth system m4 selected from the divided program storage unit 32 by the machining program selection unit 33 is stored in the fourth system first program storage unit 38a and the fourth system second program storage unit 38b. Based on the operation schedule data, they are alternately stored in the order of the machining steps in the fourth system m4.
  • the machining program stored in one program storage unit is referred to and read by the fourth system control unit 25d of the fourth system m4, and the machining program stored in the other program storage unit is referenced.
  • the machining program in the other program storage unit is replaced by the machining program selection unit 33.
  • the machining programs in the fourth system first program storage unit 38a are replaced in the order of machining programs PC2-1, PA4-2, PC2-3, and PC2-5.
  • the machining programs in the fourth system second program storage unit 38b are changed in the order of machining programs PA4-1, PC2-2, and PC2-4.
  • the machining programs in the first program storage unit and the second program storage unit of each control system are replaced by the machining program selection unit 33 when not being referenced in each control system. That is, when the machining program stored in one of the program storage units is being executed, the machining program in the other program storage unit is replaced with the machining program to be executed next. Similarly, when the machining program in the other program storage unit is referenced, the machining program in one program storage unit is replaced. Therefore, in each control system, after executing the machining program in one or the other program storage unit, the machining program can be executed with reference to the other or one program storage unit. Therefore, it is possible to eliminate time loss due to program replacement and efficiently execute the machining program in each control system.
  • the manufacture of the product A is performed by the first processing on the front side (first processing step (1)) in the module M1 and the first processing on the back side (first processing in the module M2). 2 processing steps (2)), the second front side processing in module M3 (third processing step (3)), and the second back side processing in module M4 (fourth processing step (4)). 4).
  • Each machining process includes a workpiece loading process and an unloading process for loading an unmachined workpiece, transferring a workpiece between the modules M1 to M4, or unloading a machined workpiece. The same applies to the processing steps of products B to E described below.
  • 6A to 6E show the machining processes for manufacturing the products A to E and the machining programs PA1 to PA4, PB1 to PB2, and PC1 to the workpiece machining programs PA, PB, PC, PD, and PE. Both of the configurations of PC2, PD1 to PD3, and PE1 are schematically represented. 6A to 6E, the loading program LD for the loading process is at the head of the machining programs PA1 to PA4, PB1 to PB2, PC1 to PC2, PD1 to PD3, and PE1, and the unloading for the unloading process is at the end.
  • the program ULD is schematically represented.
  • the manufacturing of the product B is performed by the first front side processing (first processing step (1)) in the module M1 and the back side processing (first processing in the module M2).
  • the two processing steps (2)) are performed in two steps.
  • the product C is manufactured by first processing on the front side in the module M3 (first processing step (1)) and processing on the back side in the module M4 (second processing step).
  • (2)) is performed in two steps.
  • the product D is manufactured by first processing on the front side in the module M1 (first processing step (1)) and first processing on the back side in the module M2 (first processing step). 2 processing steps (2)) and the second front side processing in module M3 (third processing step (3)).
  • the product E is manufactured in one step of the back surface side processing (first processing step (1)) in the module M4.
  • the multi-system programs MP1, MP2, MP3, MP4 and the single system program MP5 for producing the products A, B, C, D, and E shown in FIGS. 6A to 6E are created in the control device 20. Created by an external computer.
  • the control device 20 stores (stores) the multi-system programs MP1, MP2, MP3, MP4 and the single system program MP5 in the multi-system program storage unit 30 via the program input unit 23 (step S1).
  • the multi-system program division unit 31 divides each multi-system program for each machining program, Each is stored in the storage unit of the storage unit 32.
  • the machining program PA1 divided from the multi-system program MP1 is stored in the first storage unit of the divided program storage unit 32
  • the machining program PA2 is stored in the second storage unit
  • the processing program PA3 is stored in the third storage unit
  • the machining program PA4 is stored in the first storage unit.
  • Each of them is stored in the four storage units (step S2).
  • the multi-system program dividing unit 31 stores, for example, the machining program PB1 divided from the multi-system program MP2 in the fifth storage unit of the divided program storage unit 32 and the machining program PB2 in the sixth storage unit (step S3). ).
  • the multi-system program dividing unit 31 stores, for example, the machining program PC1 divided from the multi-system program MP3 in the seventh storage unit of the divided program storage unit 32 and the machining program PC2 in the eighth storage unit (step S4). )
  • the multi-system program dividing unit 31 includes, for example, the machining program PD1 divided from the multi-system program MP4 in the ninth storage unit of the division program storage unit 32, the machining program PD2 in the tenth storage unit, and the machining program PD3 in the ninth storage unit. 11 is stored in each storage unit (step S5).
  • the multi-system program division unit 31 stores, for example, the machining program PE1 from the single system program MP5 in the twelfth storage unit of the division program storage unit 32 (step S6).
  • the schedule management unit 26 displays a schedule setting screen on the display unit 22a automatically or in accordance with an instruction from the operation panel 22 (step S7).
  • the schedule setting screen for example, as shown in FIG. 7, the work supply times of the products A to E calculated by the schedule management unit 26 based on each multi-system program stored in the multi-system program storage unit 30, The processing time, unloading time, and processing flow are displayed.
  • the supply time, the machining time, and the unloading time of the schedule setting screen are measured values. Can be displayed.
  • the operator can also set the operation schedule data manually.
  • the operator can input or correct the number of products A to E produced, the supply time, the processing time, the unloading time, and the like.
  • the schedule management unit 26 creates operation schedule data based on the number of each product and the machining program for each system, and stores it in the operation schedule data storage unit 27.
  • operation schedule data is created based on the initial value of each process, the number of production, and the like by program analysis or manual input.
  • the operation schedule data can be created based on the actual measurement value and the number of production of each additional process.
  • the schedule management unit 26 displays a schedule display screen on the display unit 22a as shown in FIG. 8 (step S8).
  • the schedule display screen based on the existing operation schedule data is displayed in response to the click of the “Create” button or the like. The worker can visually confirm the driving schedule by visually recognizing the schedule display screen.
  • the worker can also adjust the schedule by moving a predetermined machining program to a free time or replacing the machining program on the schedule display screen. If schedule adjustment is performed on a schedule display screen, it will progress to step S9 and the schedule management part 26 will recreate operation schedule data. Based on the recreated operation schedule data, a schedule display screen as shown in FIG. 9 is redisplayed. If the schedule is not adjusted, step S9 is skipped.
  • Vacant time may already exist when the operation schedule data is created based on the initial value by analysis of each multi-system program. Alternatively, there is no idle time when creating the operation schedule data based on the initial value, but there is a case where the idle time occurs when the actual measurement value measured by the processing execution is reflected.
  • the schedule display screen makes it easy for the operator to check the existence of idle time and the order of the machining steps, and to easily adjust the schedule. By adjusting the schedule, the operation schedule data can be created efficiently, and the work efficiency and productivity in the machine tool 100 can be improved. In particular, since operation schedule data can be created based on the actual measurement value of each process in each machining program, the schedule adjustment can be performed with higher accuracy in accordance with the actual operation status of the machine tool 100, Work efficiency and productivity can be further improved.
  • the control device 20 When the creation of operation schedule data or re-creation by schedule adjustment is completed and an instruction to start machining is received, the control device 20 creates a machining program for each control system based on the operation schedule data edited (created) on the schedule display screen. Store and execute. At this time, the control apparatus 20 measures the execution time of each process in each machining program.
  • machining based on the corresponding machining programs P1 to P4 is sequentially executed in each of the modules M1 to M4.
  • processing in each of the modules M1 to M4 ("drive control of modules M1 to M4" shown in FIGS. 14A to 14E) is executed in parallel, so that a plurality of types of products A to E can be obtained.
  • a predetermined number can be manufactured.
  • the machining in the first machining process is continuously performed on the two workpieces corresponding to the product A.
  • the machining in the first machining process is continuously performed on the two workpieces corresponding to the product B.
  • work corresponding to the product D is performed continuously.
  • the machining program selection unit 33 first loads the machining program PA1 called from the first storage unit according to the operation schedule data, into the machining program PA1-1 for the first product A. Is stored in the first system first program storage unit 35a (step S11).
  • the machining program selection unit 33 stores the machining program PA1 called from the first storage unit in the first system second program storage unit 35b as the machining program PA1-2 for the second product A (step S12).
  • the first system control unit 25a of the system control unit 25 drives and controls the first system based on the machining program PA1-1 of the first system first program storage unit 35a. With this control, the module M1 performs the first machining process for the first product A on the supplied workpiece (step S13).
  • the first system control unit 25a determines the first system based on the machining program PA1-2 in the first system second program storage unit 35b. Drive control. With this control, the module M1 performs the first machining process of the second product A on the supplied workpiece. At this time, the machining program selection unit 33 stores the machining program PB1 called from the fifth storage unit in the first system first program storage unit 35a as the machining program PB1-1 for the first product B to be executed next. The machining program in the first system first program storage unit 35a is replaced (step S14).
  • the first system control unit 25a determines the first system based on the machining program PB1-1 in the first system first program storage unit 35a. Drive control. With this control, the module M1 performs the first machining process of the first product B on the supplied workpiece. Further, the machining program selection unit 33 stores the machining program PB1 called from the fifth storage unit in the first system second program storage unit 35b as the machining program PB1-2 of the second product B (step S15).
  • the first system control unit 25a determines the first system based on the machining program PB1-2 in the first system second program storage unit 35b. Drive control. By this control, the module M1 performs the first machining process of the second product B on the supplied workpiece. Further, the machining program selection unit 33 stores the machining program PD1 called from the ninth storage unit in the first system first program storage unit 35a as the machining program PD1-1 for the first product D (step S16).
  • the first system control unit 25a drives and controls the first system based on the machining program PD1-1 in the first system first program storage unit 35a. To do. With this control, the module M1 performs the first machining process of the first product D on the supplied workpiece. Further, the machining program selection unit 33 stores the machining program PD1 called from the ninth storage unit in the first system second program storage unit 35b as the PD1-2 of the second product D (step S17).
  • the first system control unit 25a determines the first system based on the machining program PD1-2 in the first system second program storage unit 35b. Drive control. With this control, the module M1 performs the first machining process for the second product D on the supplied workpiece (step S18). Thus, the machining process in the module M1 is completed.
  • the transfer of the workpiece A, which has been processed in the first processing step of the product A, to the module M1 and the processing of the second processing step of the product A for the received workpiece are performed twice in succession.
  • the transfer of the workpiece B to the module M1 of the workpiece for which the machining of the first machining process has been completed, and the machining of the product B for the received workpiece are performed twice in succession.
  • transfer to and from the module M1 of the workpiece for which the machining of the product D in the first machining process has been completed, and machining of the product D for the second machining process for the received workpiece are executed twice in succession.
  • the machining program selection unit 33 In order to execute the machining process in the module M2, in the drive control of the module M2 shown in the flowchart of FIG. 14C, the machining program selection unit 33 first uses the machining program PA2 called from the second storage unit as the first product.
  • a machining program PA2-1 is stored in the second system first program storage unit 36a (step S21).
  • machining program PA2 called from the second storage unit is stored in the second system second program storage unit 36b as the machining program PA2-2 of the second product A (step S22).
  • the second system control unit 25b of the system control unit 25 drives and controls the second system based on the machining program PA2-1 of the second system first program storage unit 36a.
  • the module M2 performs the second machining process for the first product A on the supplied workpiece (step S23).
  • the second system control unit 25b determines the second system based on the machining program PA2-2 in the second system second program storage unit 36b. Drive control. With this control, the module M2 performs the second machining step of the second product A on the supplied workpiece. Further, the machining program selection unit 33 stores the machining program PB2 called from the sixth storage unit in the second system first program storage unit 36a as the machining program PB2-1 for the first product B (step S24).
  • the second system control unit 25b determines the second system based on the machining program PB2-1 in the second system first program storage unit 36a. Drive control. With this control, the module M2 performs the second machining process of the first product B on the supplied workpiece. Further, the machining program selection unit 33 stores the machining program PB2 called from the sixth storage unit in the second system second program storage unit 36b as the machining program PB2-2 of the second product B (step S25).
  • the second system control unit 25b determines the second system based on the machining program PB2-2 in the second system second program storage unit 36b. Drive control. With this control, the module M2 performs the second processing step of the second product B on the supplied workpiece. Further, the machining program selection unit 33 stores the machining program PD2 read from the tenth storage unit in the second system first program storage unit 36a as the machining program PD2-1 for the first product D (step S26).
  • the second system control unit 25b drives and controls the second system based on the machining program PD2-1 in the second system first program storage unit 36a. To do. With this control, the module M2 performs the second machining process for the first product D on the supplied workpiece. Further, the machining program selection unit 33 stores the machining program PD2 called from the tenth storage unit in the second system second program storage unit 36b as the machining program PD2-2 of the second product D (step S27).
  • the second system control unit 25b determines the second system based on the machining program PD2-2 in the second system second program storage unit 36b. Drive control. With this control, the module M2 performs the second machining process for the second product D on the supplied workpiece (step S28). Thus, the processing process in the module M2 is completed.
  • the first machining process is performed on the workpiece corresponding to the product C.
  • transfer to and from the module M2 of the workpiece for which the machining of the product A in the second machining process is completed, and machining of the third machining process of the product A for the received workpiece are executed twice in succession.
  • the machining in the first machining process is continuously performed four times on the workpiece corresponding to the product C.
  • transfer to and from the module M2 of the workpiece for which the machining of the product D in the second machining process has been completed, and machining of the third machining process of the product D to the received workpiece are executed twice in succession.
  • the machining program PC1-1 of C is stored in the third system first program storage unit 37a (step S31).
  • the machining program selection unit 33 stores the machining program PA3 called from the third storage unit in the third system second program storage unit 37b as the machining program PA3-1 for the first product A to be executed next. (Step S32).
  • the third system control unit 25c drives and controls the third system based on the machining program PC1-1 in the third system first program storage unit 37a. With this control, the module M3 performs the first machining process for the first product C on the supplied workpiece (step S33).
  • the third system control unit 25c determines the third system based on the machining program PA3-1 in the third system second program storage unit 37b. Drive control. By this control, the third machining process of the first product A by the module M3 is performed on the supplied workpiece. Further, the machining program selection unit 33 stores the machining program PA3 called from the third storage unit in the third system first program storage unit 37a as the PA3-2 of the second product A (step S34).
  • the third system control unit 25c determines the third system based on the machining program PA3-2 in the third system first program storage unit 37a. Drive control. With this control, the module M3 performs the third machining process for the second product A on the supplied workpiece. Further, the machining program selection unit 33 stores the machining program PC1 read from the seventh storage unit in the third system second program storage unit 37b as PC1-2 of the second product C (step S35).
  • the third system control unit 25c determines the third system based on the machining program PC1-2 in the third system second program storage unit 37b. Drive control. By this control, the module M3 performs the first machining process of the second product C on the supplied workpiece. Further, the machining program selection unit 33 stores the machining program PC1 called from the seventh storage unit in the third system first program storage unit 37a as the third product C machining program PC1-3 (step S36).
  • the third system control unit 25c drives and controls the third system based on the machining program PC1-3 in the third system first program storage unit 37a. To do. With this control, the module M3 performs the first machining process of the third product C on the supplied workpiece. Further, the machining program selection unit 33 stores the machining program PC1 called from the seventh storage unit in the third system second program storage unit 37b as the fourth product C machining program PC1-4 (step S37).
  • the third system control unit 25c drives and controls the third system based on the machining program PC1-4 in the third system second program storage unit 37b. To do. With this control, the module M3 performs the first machining process of the fourth product C on the supplied workpiece. Further, the machining program selection unit 33 stores the machining program PC1 called from the seventh storage unit in the third system first program storage unit 37a as the fifth product C machining program PC1-5 (step S38).
  • the third system control unit 25c drives and controls the third system based on the machining program PC1-5 in the third system first program storage unit 37a. To do. With this control, the module M3 performs the first machining process of the fifth product C on the supplied workpiece. Further, the machining program selection unit 33 stores the machining program PD3 called from the eleventh storage unit in the third system second program storage unit 37b as the machining program PD3-1 of the first product D (step S39).
  • the third system control unit 25c drives and controls the third system based on the machining program PD3-1 in the third system second program storage unit 37b. To do. With this control, the module M3 performs the third machining process of the first product D on the supplied workpiece. Further, the machining program selection unit 33 stores the machining program PD3 called from the eleventh storage unit in the third system first program storage unit 37a as the PD3-2 of the second product D (step S40).
  • the third system control unit 25c determines the third system based on the machining program PD3-2 in the third system first program storage unit 37a. Drive control. With this control, the module M3 performs the third machining process for the second product D on the supplied workpiece (step S41). Thus, the machining process in the module M3 is completed.
  • the transfer of the workpiece C that has been processed in the first processing step of the product C to the module M3 and the processing of the second processing step of the product C for the received workpiece are executed.
  • transfer to and from the module M3 of the workpiece for which the machining of the third machining process of the product A has been completed, and machining of the fourth machining process of the product A for the received workpiece are executed twice in succession.
  • transfer to and from the module M3 of the workpiece for which the machining of the product C in the first machining process is completed, and machining of the product C in the second machining process for the received workpiece are executed four times in succession.
  • the C machining program PC2-1 is stored in the fourth system first program storage unit 38a (step S51).
  • the machining program selection unit 33 stores the machining program PA4 called from the fourth storage unit in the fourth system second program storage unit 38b as the first product A machining program PA4-1 (step S52).
  • the fourth system control unit 25d drives and controls the fourth system based on the machining program PC2-1 of the fourth system first program storage unit 38a. With this control, the module M4 performs the second machining process for the first product C on the supplied workpiece (step S53).
  • the fourth system control unit 25d determines the fourth system based on the machining program PA4-1 in the fourth system second program storage unit 38b. Drive control. With this control, the module M4 performs the fourth machining process for the first product A on the supplied workpiece. Further, the machining program selection unit 33 stores the machining program PA4 called from the fourth storage unit in the fourth system first program storage unit 38a as the PA4-2 of the second product A (step S54).
  • the fourth system control unit 25d determines the fourth system based on the machining program PA4-2 in the fourth system first program storage unit 38a. Drive control. With this control, the module M4 performs the fourth machining process of the second product A on the supplied workpiece. Further, the machining program selection unit 33 stores the machining program PC2 called from the eighth storage unit in the fourth system second program storage unit 38b as the PC 2-2 of the second product C (step S55).
  • the fourth system control unit 25d determines the fourth system based on the machining program PC2-2 in the fourth system second program storage unit 38b. Drive control. With this control, the module M4 performs the second machining process of the second product C on the supplied workpiece. Further, the machining program selection unit 33 stores the machining program PC2 called from the eighth storage unit as the third product C machining program PC2-3 in the fourth system first program storage unit 38a (step S56).
  • the fourth system control unit 25d drives and controls the fourth system based on the machining program PC2-3 of the fourth system first program storage unit 38a. To do. With this control, the module M4 performs the second machining process of the third product C on the supplied workpiece. Further, the machining program selection unit 33 stores the machining program PC2 called from the eighth storage unit in the fourth system second program storage unit 38b as the PC2-4 of the fourth product C (step S57).
  • the fourth system control unit 25d drives and controls the fourth system based on the machining program PC2-4 in the fourth system second program storage unit 38b. To do. With this control, the module M4 performs the second machining step of the fourth product C on the supplied workpiece. Further, the machining program selection unit 33 stores the machining program PC2 called from the eighth storage unit in the fourth system first program storage unit 38a as the PC 2-5 of the fifth product C (step S58).
  • the fourth system control unit 25d determines the fourth system based on the machining program PC2-5 in the fourth system first program storage unit 38a. Drive control. With this control, the module M4 performs the second machining step of the fifth product C on the supplied workpiece. (Step S59). Thus, the machining process in the module M4 is completed.
  • the schedule setting screen displays the operation state of each product and the number of completed productions in real time as shown in FIG.
  • a bar B indicating the machining program being executed and a status window W for displaying the status are displayed in real time. Therefore, the operator can confirm the progress state of processing.
  • the actual supply time, machining time, and unloading time in each process of each machining program are measured by the control device 20. Therefore, on the schedule display screen, the measured value is reflected and displayed in the supply time, machining time, and unloading time of the executed machining program.
  • the operator can change the operation schedule data by interrupting the machining program or changing the execution order for the operation schedule based on the actually measured values. This change can be made on a schedule setting screen or a schedule display screen.
  • the procedure for changing the operation schedule data will be described with reference to the schedule setting screen in FIG. 12, the schedule display screen in FIG. 13, and the flowchart in FIG.
  • the worker displays a schedule setting screen (see FIG. 12) on the display unit 22a by a predetermined operation (step S61).
  • the supply time, machining time, and unloading time based on the actual measurement values are displayed.
  • step S62 an input of the production number (three) of the product E by the operator is accepted (step S62).
  • the schedule management unit 26 processes the three products E after the second processing step (PC2-5) of the product C in the module M4.
  • the program (PE1-1, PE1-2, PE1-3) is newly set and the operation schedule data is recreated.
  • the schedule management unit 26 displays a schedule display screen as shown in FIG. 13 based on the re-created operation schedule data (step S63).
  • the worker can adjust the schedule by moving any machining program and changing the execution order on the schedule display screen as necessary. According to this schedule adjustment, the schedule management unit 26 recreates the operation schedule data. (Step S64).
  • the machining program for the three added products E is executed following the machining of the product C in the module M4.
  • the product E can be manufactured efficiently. Further, by adjusting the schedule by changing the execution order or the like, it is possible to shorten the operation time and increase the work efficiency.
  • the schedule adjustment for the interrupt operation as described above is performed by storing the machining program in the fourth system first program storage unit 38a or the fourth system second program storage unit 38b if the product C is being processed. This can be done without stopping the machine 100. On the other hand, the machining by the machine tool 100 may be stopped (interrupted) and then executed.
  • the control device 20 can stop the processing in each of the modules M1 to M4 at an appropriate time, for example, when the processing of the product once started is completed. For example, in each of the modules M1 to M4, the stop (interruption) of processing is instructed in the bar B shown in FIG.
  • the machining program up to the completion of machining of the product C is executed. Thereafter, the execution of the machining program is stopped, and the machining can be stopped (interrupted). After the machining is stopped, it is possible to adjust the schedule of the machining program after the thick dotted line, that is, to adjust the schedule of a machining program that has not yet been executed.
  • Measured values measured by the control unit 21 are reflected on the executed machining program. Therefore, the schedule adjustment of the machining program before execution can be performed with higher accuracy in accordance with the actual operation status of the machine tool 100.
  • the above embodiment is the control device 20 of the machine tool 100 including the two fixed modules M1 and M3 and the two moving modules M2 and M4, but is not limited thereto.
  • the present invention is similarly applied to a configuration including two fixed modules M1 and M3 and one moving module M2, or a configuration including one or three or more fixed modules and three or more moving modules. Can be applied.
  • the said embodiment although a several different product is processed continuously, it is not limited to this. The present invention can be applied even when processing one kind of product continuously.

Abstract

異なる形状の複数の製品を、連続的に効率よく製造することができる工作機械(100)の制御装置(20)を提供する。 各モジュール(M1,M2,M3)の駆動軸が、モジュール毎に各々別々の制御系統に割り当てられ、ワークを各々異なる形状に加工する各々異なる複数の多系統プログラムを格納する多系統プログラム格納部(30)、各多系統プログラムを、各々各加工プログラムに分割する多系統プログラム分割部(31)、分割された各加工プログラムを個別に格納する分割プログラム格納部(32)、各制御系統各々に対応する加工プログラムを各系統毎に格納する系統別プログラム格納部(34)、各モジュールで行う加工工程に応じて、分割プログラム格納部(32)から所定の加工プログラムを選択し、所定の制御系統毎に系統別プログラム格納部(34)の所定の2つのプログラム格納手段に各々交互に格納させる加工プログラム選択部(33)を備える。

Description

工作機械の制御装置
 本発明は、加工プログラムに基づいてワーク加工動作を制御する工作機械の制御装置に関する。
 従来より、ワークを把持する主軸及び該主軸に把持されたワークを加工する工具を保持する刃物台が一体的に設けられた複数のモジュール(加工ユニット)がベッド上に搭載されて、ワークを2つ以上のモジュール間で受け渡しながら加工する工作機械(ワーク加工装置)が知られている(例えば、特許文献1参照)。
 一方、工作機械の所定の駆動軸を制御する複数の制御系統を備え、前記各制御系統にそれぞれ独立して対応する複数の加工プログラムからなる多系統プログラムの実行によって、前記工作機械を作動させる制御装置が一般的に知られている。このため、前記制御装置の各制御系統を、前記各モジュールに割り当て、各モジュールの動作を、各モジュールに対応した各制御系統の各加工プログラムの実行によって制御することが考えられる。
国際公開第2010/004961号
 上記した従来の複数のモジュールを有する工作機械では、例えば、同一形状の製品を複数の加工工程によって製造する場合、ワークを複数のモジュール間で順次受け渡すようにして加工することで、同一形状の製品を連続的に効率よく製造することができる。
 例えば、3つのモジュールを備えた自動旋盤によって、3回の加工工程で所定の形状の製品を製造する場合、第1モジュールで第1系統の加工プログラムによって第1加工工程を実行し、第2モジュールで第2系統の加工プログラムによって第2加工工程を実行し、第3モジュールで第3系統の加工プログラムによって第3加工工程を実行して製品の製造が完了するように設定することができる。
 この場合、1つ目の製品の第1加工工程及び第2加工工程を、第1モジュール及び第2モジュールによって連続的に実行した後は、第3モジュールによる1つ目の製品の第3加工工程の実行中に、第2モジュールにより2つ目の製品の第2加工工程を、第1モジュールにより3つ目の製品の第1加工工程を同時に実行することで、同一形状の製品を連続的に効率よく製造することが可能となる。
 しかしながら、前記制御装置では、前記多系統プログラム全体でプログラムの入れ替えを行うことが前提となっているため、各々異なる形状の複数の製品、例えば製品A,製品B,製品Cを複数の加工工程、例えば3回の加工工程によって製造する場合、各製品毎に異なる前記多系統プログラムが必要となり、例えば第3モジュールによる製品Aの第3加工工程の実行中は、製品Bや製品Cに対応する多系統プログラムを、製品Aに対応する多系統プログラムと入れ替えることができない。
 このため、第3モジュールによる製品Aの第3加工工程の実行中に、第2モジュールによる製品Bの第2加工工程や、第1モジュールによる製品Cの第1加工工程を同時に実行するようなことができず、異なる製品(例えば製品A,製品B,製品C)を順次連続して製造する場合、第1モジュールから第3モジュールに亘る製品Aの製造の完了を待って、次に製品Bに対応する多系統プログラムに入れ替えて第1モジュールから第3モジュールに亘って製品Bの製造を行い、その後製品Cに対応する多系統プログラムに入れ替えて第1モジュールから第3モジュールに亘って製品Cの製造を行う必要がある。
 以上のように、任意のモジュールが稼動停止状態となっている時間が長くなり、異なる形状の複数の製品を連続的に効率よく製造することができないという課題があった。
 そこで、本発明は、異なる形状の複数の製品を、連続的に効率よく製造することができる工作機械の制御装置を提供することを目的とする。
 前記目的を達成するために本発明に係る工作機械の制御装置は、ワークを保持するワーク保持手段と、前記ワーク保持手段に保持されたワークに対して所定の作業を行う作業手段を保持する作業手段保持部とが一体的に設けられたモジュールを複数備えた工作機械に設けられ、前記工作機械の所定の駆動軸を制御する制御系統を複数備え、各制御系統にそれぞれ独立して対応する複数の加工プログラムから構成される多系統プログラムに基づいて前記ワークの加工を行うように前記工作機械の動作を制御する工作機械の制御装置であって、各前記モジュールの駆動軸が、前記モジュール毎に各々別々の制御系統に割り当てられ、前記ワークを各々異なる形状に加工する各々異なる複数の多系統プログラムを格納する多系統プログラム格納部と、前記各多系統プログラムを、各々各加工プログラムに分割する多系統プログラム分割部と、分割された前記各加工プログラムを個別に格納する分割プログラム格納部と、各制御系統各々に対応する加工プログラムを各系統毎に格納する系統別プログラム格納部と、前記各モジュールで行う加工工程に応じて、前記分割プログラム格納部から所定の加工プログラムを選択し、所定の制御系統毎に前記系統別プログラム格納部に各々格納させる加工プログラム選択部とを備え、前記系統別プログラム格納部は、前記制御系統毎に複数のプログラム格納手段を有し、前記各制御系統で所定の2つの前記プログラム格納手段の各々に格納された前記加工プログラムを順に参照することによって、前記各モジュールで所定の加工工程を各系統別に行わせるように構成され、前記加工プログラム選択部は、前記系統別プログラム格納部に、各制御系統毎に必要な加工プログラムを前記分割プログラム格納部から選択して格納するときに、一方のプログラム格納手段に格納された前記加工プログラムの参照状態で、他方のプログラム格納手段に格納される前記加工プログラムを入れ替えるように構成されたことを特徴としている。
 本発明に係る工作機械の制御装置によれば、複数の多系統プログラムから、各多系統プログラムを構成している各加工プログラムが個別に分割プログラム格納部に格納され、各モジュールで行う加工工程に応じて、各制御系統毎に、分割プログラム格納部に格納されている加工プログラムのうちから所定の加工プログラムを選択し、制御系統毎に設けられた系統別プログラム格納部が有する複数のプログラム格納手段の所定の2つの前記プログラム格納手段の各々に、一方のプログラム格納手段に格納された前記加工プログラムの参照状態で、他方のプログラム格納手段に格納される前記加工プログラムを加工工程順に各々格納して、各制御系統が2つの前記プログラム格納手段に格納された分割プログラムを順に参照することで、各モジュールを各系統毎に任意の加工プログラムに基づいて駆動制御し、加工プログラムの入れ替えによる時間のロスを削減して、異なる形状の複数の製品を、連続的に効率よく製造することができる。
本発明の一実施形態に係る制御装置を備えた工作機械の全体構成を示す斜視図。 本発明の一実施形態に係る工作機械の制御装置を示すブロック図。 記載エリア$1,$2,$3,$4毎に記載された加工プログラムによって構成された多系統プログラムの一例の一部分を示す図。 制御装置のプログラム管理部を示すブロック図。 本実施形態の工作機械によって製造される所定の形状の製品の一例(製品A)を示す図。 本実施形態の工作機械によって製造される所定の形状の製品の他の一例(製品B)を示す図。 本実施形態の工作機械によって製造される所定の形状の製品の他の一例(製品C)を示す図。 本実施形態の工作機械によって製造される所定の形状の製品の他の一例(製品D)を示す図。 本実施形態の工作機械によって製造される所定の形状の製品の他の一例(製品E)を示す図。 図5Aに示した製品Aの加工工程の一例を示す図。 図5Bに示した製品Bの加工工程の一例を示す図。 図5Cに示した製品Cの加工工程の一例を示す図。 図5Dに示した製品Dの加工工程の一例を示す図。 図5Eに示した製品Eの加工工程の一例を示す図。 加工例におけるスケジュール設定画面の一例を示す図。 加工例におけるスケジュール表示画面の一例を示す図。 運転スケジュールデータ調整後のスケジュール表示画面の一例を示す図。 加工プログラム実行中のスケジュール設定画面の一例を示す図。 加工プログラム実行中のスケジュール表示画面の一例を示す図。 割り込み運転時のスケジュール設定画面の一例を示す図。 割り込み運転時のスケジュール表示画面の一例を示す図。 加工例での制御装置によるモジュールの駆動制御を示すフローチャート。 制御装置によるモジュールM1の駆動制御を示すフローチャート。 制御装置によるモジュールM2の駆動制御を示すフローチャート。 制御装置によるモジュールM3の駆動制御を示すフローチャート。 制御装置によるモジュールM4の駆動制御を示すフローチャート。 割り込み運転を行う際の制御装置によるスケジュール調整制御を示すフローチャート。
 図1に示されるように、本発明の一実施形態に係る制御装置を備えた工作機械(自動旋盤装置)100は、ベッド1を備え、ベッド1上に4台のモジュールM1,M2,M3,M4を加工ユニットとして搭載している。以下、モジュールM1,M2,M3,M4の主軸3の軸線方向をZ軸方向、Z軸方向と水平方向において直交する方向をY軸方向、Z軸及びY軸と直交する上下方向をX軸方向とする。
 各モジュールM1,M2,M3,M4は、同一の基本構成を有し、ベース2上に、主軸3を支持する主軸台4と、主軸3に把持されたワークを加工する工具6が保持された刃物台7が一体的に設けられている。
 主軸3と主軸台4との間に従来公知のビルトインモータが形成されている。主軸3はビルトインモータを駆動部として、軸線を中心に回転駆動される。主軸3は、前端部に設けられたチャックの開閉動作により、ワークを着脱自在に把持することができる。各ベース2上には、Z軸の方向に延出するガイドレール8が、Y軸の方向に平行に2本敷設されている。
 主軸台4はガイドレール8上にスライド移動自在に装着されている。主軸台4は、両ガイドレール8の間に設けられるボールネジ9に螺合している。主軸台4は、ボールネジ9用のモータ11を駆動部として、主軸3と一体的にガイドレール8上をZ軸方向に移動駆動される。ベース2には、主軸台4の前方に支持台12が固定されている。
 刃物台7は、支持台12の前方に、X軸及びY軸方向に移動自在に装着されている。刃物台7は、X軸用のモータ13及びY軸用のモータ14を駆動部として、X軸方向及びY軸方向に移動駆動される。支持台12は、開口部16を有するゲート状に形成されている。主軸台4は開口部16を通過することができる。主軸台4は、開口部16を通過して、主軸3で把持したワークを刃物台7に臨ませて配置することができる。
 ベッド1は、一角を凹状に切り欠いてなる切欠部17を有し、平面視で略L字状に形成されている。ベッド1上に、2つのモジュールM1,M3が、Z軸方向が平行となるように並設されている。2つのモジュールM1,M3は、ベース2がベッド1上に固定されている。
 両モジュールM1,M3の対向側に、ガイドレール18が、Z軸方向に2本並設され、ベッド1上に敷設されている。ガイドレール18は、一方のモジュールM1の対向位置から、切欠部17の対向位置に亘ってY軸方向に延出している。ガイドレール18にはスライド体18aがスライド自在に装着されている。
 2つのモジュールM2,M4は、各々ベース2がガイドレール18上のスライド体18aに固定されている。モジュールM2,M4は、Z軸方向が平行となるように、ガイドレール18上においてY軸方向に並列に搭載されている。この構成により、各モジュールM1,M2,M3,M4は、Z軸方向が平行となるように配置される。モジュールM2,M4は、ガイドレール18に沿って往復移動自在に設けられる。
 両ガイドレール18の間には、各モジュールM2,M4用のボールネジ19,19が、両ガイドレール18と平行に同軸で配置されている。両ボールネジ19,19は、各モジュールM2,M4のベース2側と螺合している。各ボールネジ19は、各々ベッド1側に設けられた駆動モータ5を駆動部としている。各ボールネジ19は、各々駆動モータ5とベルト10を介して連結されている。
 各駆動モータ5を回転駆動することによってモジュールM2,M4がガイドレール18に沿ってY軸方向に各々独立して往復駆動される。以下、ガイドレール18に搭載されたモジュールM2,M4を「移動モジュール」、ベッド1上に固定されたモジュールM1,M3を「固定モジュール」と称する。
 一方の固定モジュールM3は、切欠部17に隣接し、ベッド1の切欠部側の外周縁に沿って配置されている。他方の固定モジュールM1は、固定モジュールM3を挟んで切欠部の反対側に、ベッド1の切欠部17に対向する外周縁に沿って配置されている。一方の移動モジュールM4が、切欠部17に対向するように移動する。これによって、他方の移動モジュールM2は、両固定モジュールM1,M3と対向し、互いに主軸軸線が一直線上に一致する位置に移動することができる。
 移動モジュールM2が固定モジュールM1と対向する位置に移動することによって、移動モジュールM4は、固定モジュールM3と対向し、互いの主軸軸線が一致する位置に移動することができる。各モジュールM1~M4及び各ボールネジ19の各駆動モータ5等の駆動部は、制御装置20によって駆動制御される。
 各モジュールM1,M2,M3,M4の各々において、主軸3によってワークを把持した状態で、制御装置20による駆動制御により、各駆動部が主軸3の回転、主軸台4のZ軸方向への移動、刃物台7のX軸方向及びY軸方向への移動を各々制御する。これにより、刃物台の所定の工具を選択しながらワークを所定の形状に加工することができる。
 移動モジュールM2,M4を、固定モジュールM1または固定モジュールM3の対向位置に、互いに主軸軸線が一致するように移動させ、互いの主軸台4を近接方向に移動させる。これにより、移動モジュールM2,M4と固定モジュールM1,M3との間でワークの授受を行うことができる。
 本工作機械100は、別々の旋盤として機能する複数のモジュールM1,M2,M3,M4が組み合わされて構成される。本工作機械100では、各モジュールM1,M2,M3,M4の間でワークを順次受け渡しながら、制御装置20によって各モジュールM1,M2,M3,M4でのワークの加工動作が制御される。
 なお、本実施形態においては、上述したように各モジュールM1,M2,M3,M4において、ワークを保持するワーク保持手段が、ワークを把持する主軸3から構成される。前記ワーク保持手段に保持されたワークに対して所定の作業を行う作業手段が、前記主軸3に把持されたワークを加工する工具6から構成される。前記作業手段を保持する作業手段保持部が、前記工具6を保持する刃物台7から構成される。つまり、本実施形態では、各モジュールM1,M2,M3,M4が、旋盤モジュールである工作機械の例について説明した。しかし、モジュールが旋盤モジュールに限定されることはなく、所定のモジュールを、研削、フライス、歯切り等を行うことができる加工モジュールとした工作機械とすることもできる。
 工作機械100は、制御装置20を備え、制御装置20によって駆動制御される。図2に示すように、制御装置20は、制御部(CPU)21、操作盤22、プログラム入力部23、プログラム管理部24、系統制御部25、スケジュール管理部26を備えている。プログラム入力部23、プログラム管理部24、系統制御部25、スケジュール管理部26等の動作は、制御装置20に予め記憶されるプログラムや、制御装置20側に設けられるハードウェア等によって、ソフトウェア的またはハードウェア的に行われる。
 本実施形態の制御装置20は、4つの制御系統(第1系統m1、第2系統m2、第3系統m3、第4系統m4)を備える。各モジュールM1,M2,M3,M4の駆動軸は、モジュール毎に各々別々の制御系統に割り当てられている。制御装置20によって、プログラム管理部24に格納(記憶)されている多系統プログラムに基づいて、各モジュールM1,M2,M3,M4の駆動制御が行われる。
 多系統プログラムは、各制御系統(第1系統m1、第2系統m2、第3系統m3、第4系統m4)のうち所定の複数の制御系統に対応する複数の加工プログラムから構成される1つのワーク加工用プログラムとして構成することができる。本実施形態の前記多系統プログラムは、系統毎の加工プログラムを記載することができる4つの記載エリア$1,$2,$3,$4を有する。図3に示されるように、4つの記載エリア$1,$2,$3,$4が互いに並列に配置、または各記載エリア$1,$2,$3,$4が直列に配置された1つのワーク加工用プログラムとして構成されている。
 記載エリア$1に、第1系統m1に対応する加工プログラムが記載される。記載エリア$2に、第2系統m2に対応する加工プログラムが記載される。記載エリア$3に、第3系統m3に対応する加工プログラムが記載される。記載エリア$4に、第4系統m4に対応する加工プログラムが記載される。なお、別々に記載された複数の加工プログラムを、所定の紐付け手段等によって紐付けして連係させて多系統プログラムを構成することもできる。この場合、連係された各加工プログラム各々に、各記載エリア$1,$2,$3,$4の各加工プログラムが記載される。
 制御部21は、系統制御部25を介して前記多系統プログラムを構成する各加工プログラムによって、各々の加工プログラムに対応する各制御系統(第1系統m1、第2系統m2、第3系統m3、第4系統m4)を互いに独立して駆動制御を行う。
 本実施形態においては、モジュールM1の各駆動軸が第1系統m1に割り当てられている。ボールネジ19の駆動モータ5を含むモジュールM2の各駆動軸が第2系統m2に割り当てられている。モジュールM3の各駆動軸が第3系統m3に割り当てられている。ボールネジ19の駆動モータ5を含むモジュールM4の各駆動軸が第4系統m4に割り当てられている。
 このため制御部21は、第1系統m1によってモジュールM1の駆動制御を行う。第2系統m2によってモジュールM2のY軸方向の移動を含む駆動制御を行う。第3系統m3によってモジュールM3の駆動制御を行う。第4系統m4によってモジュールM4のY軸方向の移動を含む駆動制御を行う。以上のような駆動制御により、制御部21は工作機械100の全体動作と、各モジュールM1,M2,M3,M4によるワーク加工動作とを制御する。
 操作盤22は、図2に示されるように、工作機械100の動作状態や動作指示等を表示する表示部22aと、工作機械100に対して所望の動作入力等を行うための操作ボタン22b、キーボード22cなどを有している。
 プログラム管理部24は、図4に示されるように、多系統プログラム格納部30、多系統プログラム分割部31、分割プログラム格納部32、加工プログラム選択部33、系統別プログラム格納部34を有している。
 外部のパソコンや操作盤22の操作等によって作成された多系統プログラムは、プログラム入力部23を介して多系統プログラム格納部30に格納(記憶)される。多系統プログラムとして、例えば、モジュールM1による第1加工工程と、モジュールM2による第2加工工程と、モジュールM3による第3加工工程と、モジュールM4による第4加工工程の実行によって所定の材料(ワーク)から所定形状の製品の製造が完了するように、各モジュールM1,M2,M3,M4の動作を制御する各制御系統(第1系統m1、第2系統m2、第3系統m3、第4系統m4)毎の加工プログラムによって構成されるものが考えられる。
 多系統プログラム分割部31は、多系統プログラム格納部30に格納された多系統プログラムを、該多系統プログラムを構成する加工プログラム毎に、分割プログラム格納部32に格納(記憶)させるように構成されている。例えば、記載エリア$1,$2,$3,$4毎に各加工プログラムに分割し、分割された各加工プログラムを各々個別に分割プログラム格納部32に格納(記憶)させる。
 分割プログラム格納部32は、分割等された多系統プログラムを構成する各加工プログラムや、所定の製品を所定の1つのモジュールによる加工工程の1工程で製造する単系統プログラムを構成する加工プログラムを各々格納することができる複数の第1格納部~第n格納部を有し、各格納部に各々の加工プログラムが格納される。
 多系統プログラム格納部30にプログラム入力部23から異なる多系統プログラムが入力されると、プログラム管理部24は、入力された多系統プログラムを多系統プログラム分割部31に送る。このため、各々異なる製品をワークから製造する異なる多系統プログラムを順次、多系統プログラム格納部30に格納(記憶)させることによって、多系統プログラム分割部31を介して各々異なる多系統プログラムを構成する加工プログラムが、各々個別に分割プログラム格納部32に格納される。
 例えば、図5Aに示すような製品Aを前記4工程(第1加工工程、第2加工工程、第3加工工程、第4加工工程)で製造する多系統プログラムMP1(図6A参照)を、多系統プログラム格納部30に格納する。これにより、多系統プログラムMP1の記載エリア$1に記載されている第1系統m1用の加工プログラムPA1を第1格納部に格納することができる。記載エリア$2に記載されている第2系統m2用の加工プログラムPA2を第2格納部に格納することができる。記載エリア$3に記載されている第3系統m3用の加工プログラムPA3を第3格納部に格納することができる。記載エリア$4に記載されている第4系統m4用の加工プログラムPA4を第4格納部に格納することができる。
 同様に、図5Bに示すような製品Bを前記2工程(第1加工工程、第2加工工程)で製造する多系統プログラムMP2(図6B参照)を、多系統プログラム格納部30に格納する。これにより、多系統プログラムMP2の記載エリア$1に記載されている第1系統m1用の加工プログラムPB1を第5格納部に格納することができる。記載エリア$2に記載されている第2系統m2用の加工プログラムPB2を第6格納部に格納することができる。
 この他、図5Cに示すような製品CをモジュールM3による第1加工工程と、モジュールM4による第2加工工程の2工程で製造する多系統プログラムMP3(図6C参照)を、多系統プログラム格納部30に格納する。これにより、多系統プログラムMP3の記載エリア$3に記載されている第3系統m3用の加工プログラムPC1を第7格納部に格納することができる。記載エリア$4に記載されている第4系統m4用の加工プログラムPC2を第8格納部に格納することができる。
 また、図5Dに示すような製品Dを前記3工程(第1加工工程、第2加工工程、第3加工工程)で製造する多系統プログラムMP4(図6D参照)を、多系統プログラム格納部30に格納する。これにより、多系統プログラムMP4の記載エリア$1に記載されている第1系統m1用の加工プログラムPD1を第9格納部に格納することができる。記載エリア$2に記載されている第2系統m2用の加工プログラムPD2を第10格納部に格納することができる。記載エリア$4に記載されている第3系統m3用の加工プログラムPD3を第11格納部に格納することができる。
 なお、多系統プログラム格納部30は、前記単系統プログラムの入力も許容されている。図5Eに示すような製品EをモジュールM4による加工工程の1工程で製造する単系統プログラムMP5(図6E参照)を、多系統プログラム格納部30に格納する。これにより、多系統プログラム分割部31が、単系統プログラムMP5の記載エリア$4に記載されている第4系統m4の加工プログラムPE1を第12格納部に格納することができる。
 スケジュール管理部26は、工作機械100の運転スケジュールデータを作成し管理する。スケジュール管理部26は、作成した運転スケジュールデータを格納(記憶)する運転スケジュールデータ格納部27を有している。運転スケジュールデータは、制御系統毎に実行される加工プログラムの実行順等を定めた情報を有する。制御装置20は、運転スケジュールデータに基づいて各制御系統で、加工プログラムを順次実行する。各モジュールM1,M2,M3,M4でのワーク加工動作は、運転スケジュールデータに従った加工プログラムの実行順に実行される。
 各加工プログラムの実行に伴って、制御装置20は、各加工プログラムにおける各工程の実行に係る時間(以下、「実測値」という。)を測定する。この実測値の取得を容易とするため、各工程(供給、加工、搬出)の命令群の最初と最後に、各々測定開始と測定停止を指示する命令(コード)を予め設定しておくことが望ましい。しかし、必ずしもこれらの命令を設定しておかなくてもよく、加工プログラムの解析等によって制御装置20が各工程の開始と終了のタイミングを検出して実測値を取得するものであってもよい。
 スケジュール管理部26は、表示部22aに図7に示すようなスケジュール設定画面を表示する。スケジュール設定画面には、製造する製品毎に、生産個数、加工の流れ、モジュールM1~M4でのワークの供給(ローディング)時間、加工時間、搬出(アンローディング)時間等が項目として表示される。図7に示されるワークNo1,2,3,4,5が、例えばそれぞれ製品A、製品B、製品C、製品D、製品Eに対応するワークの識別番号を示す。
 各項目に対応するデータを、スケジュール設定画面で作業者(オペレータ)が手動で入力することができる構成とすることもできる。また、スケジュール管理部26が、多系統プログラム格納部30に格納された各多系統プログラムを解析して、製品毎に、供給時間、加工時間及び搬出時間、加工の流れを算出して割り出し、割り出された供給時間、加工時間、搬出時間、加工の流れをスケジュール設定画面に自動で表示する構成とすることもできる。またスケジュール設定画面で、作業者が個数を入力することができる構成とすることもできる。
 なお、工作機械100が運用スケジュールデータに従って最初の加工を開始する前の初期状態では、スケジュール設定画面の各加工プログラムにおける供給時間、加工時間、搬出時間には、作業者が手動で入力した時間またはスケジュール管理部26がプログラム解析により自動で割り出した時間(以下、「初期値」という。)が表示される。工作機械100での加工の実行後にスケジュール設定画面を表示したときは、供給時間、加工時間、搬出時間は、制御装置20で測定した実測値での表示ができる。
 スケジュール設定画面の「状態」には各モジュールM1~M4での加工の状態(ステータス)をリアルタイムで表示させることができる。例えば、加工中なら「運転」、加工が完了したら「完了」、運転停止中なら「停止」のように表示される。「無効」は、当該製品の製造を行わないことを示している。
 スケジュール設定画面での入力やプログラム解析による初期値、若しくは実測値に従って、スケジュール管理部26は、所定のアルゴリズムに基づいて、運転スケジュールデータを作成する。作成した運転スケジュールデータに基づいて、図8に示されるようなスケジュール表示画面を表示部22aに表示する。スケジュール表示画面を視認することで、作業者は工作機械100の運転スケジュールを視覚的に確認することができる。
 図8中、MD1,MD2,MD3,MD4はそれぞれモジュールM1,M2,M3,M4で実行される各加工プログラムのスケジュールを示している。各加工プログラムの前後の斜線部分は、供給時間と搬出時間とを表している。供給時間と搬出時間との間が加工時間を表している。また、各加工プログラムには、加工プログラムのID(例えば「PA1」、「PA2」等)に続けて製品の番号を表示している。例えば「PA1-1」は、1個目の製品Aの第1加工工程の加工プログラムであることを示している。
 スケジュール表示画面においても、工作機械100での最初の加工開始前の初期状態では、供給時間、加工時間、搬出時間には、プログラム解析等による初期値に基づいて表示される。また、工作機械100での加工実行後にスケジュール表示画面が表示されたときは、供給時間、加工時間、搬出時間には、制御装置20により測定された実測値に基づいて表示される。
 また、本実施形態では、スケジュール表示画面上で、運転スケジュールデータの加工プログラムの順番を入れ替える等のスケジュール調整をすることもできる構成としている。このスケジュール調整は、加工開始前の初期値が表示されているスケジュール表示画面で行うこともできるし、加工実行後の実測値が表示されているスケジュール表示画面で行うこともできる。図8に示す例では、加工プログラムの開始から、モジュールM3とモジュールM4の加工プログラムが実際に開始されるまでの間に、所定時間以上の空き時間が存在する。この空き時間は、初期状態のスケジュール表示画面上で既に存在している場合もあるし、加工実行によって実測値が反映されたことで生じる場合もある。
 作業者は、この空き時間を利用して、いずれかのワークの加工工程を実行するようにスケジュール調整を手動で行うことができる。例えば、空き時間よりも短い1個目の製品CのモジュールM3による第1加工工程を、1個目の製品Aの第3加工工程の前に実行し、製品CのモジュールM4による第2加工工程を、製品Aの第4加工工程の前に実行するように、スケジュール調整することができる。
 具体的には、作業者は、マウスによるドロップ&ドラッグ操作により、図8に丸印で示す製品Cの加工プログラムPC1-1,PC2-1を、それぞれ製品Aの加工プログラムPA3-1,PA4-1の前に移動する。
 また、上記移動によって、モジュールM3とモジュールM4で行われる2個目以降の製品Cの第1、第2加工工程と、2つの製品Dの第1~第3加工工程を前にずらすことができる。よってこれらの工程の開始を時間的に早めることができる。図9に、スケジュール調整後のスケジュール表示画面を示す。スケジュール調整によって、モジュールM1~M4が加工をしていない空き時間を低減して、工作機械100の運転時間を全体的に容易に短縮することができる。スケジュール管理部26は、前記スケジュール表示画面の表示に応じた運転スケジュールデータを再作成(更新)する。
 加工プログラム選択部33は、スケジュール管理部26との連係により、分割プログラム格納部32の第1格納部~第n格納部のうちから所定の加工プログラムが格納された格納部を選択する。この選択は、スケジュール管理部26によって作成された運転スケジュールデータに従って、各モジュールM1,M2,M3,M4で行う加工工程に応じて、つまり加工プログラムの実行順に行われる。加工プログラム選択部33は、選択した任意の格納部に格納されている加工プログラムを、系統別プログラム格納部34に、制御系統毎に格納(記憶)させるように構成されている。
 本実施形態の系統別プログラム格納部34は、4つの制御系統(第1系統m1、第2系統m2、第3系統m3、第4系統m4)に応じて、8つのプログラム格納手段を備えて構成される。第1系統m1の加工プログラムを格納するプログラム格納手段として第1系統第1プログラム格納部35a及び第1系統第2プログラム格納部35bを備えている。第2系統m2の加工プログラムを格納するプログラム格納手段として第2系統第1プログラム格納部36a及び第2系統第2プログラム格納部36bを備えている。第3系統m3の加工プログラムを格納するプログラム格納手段として第3系統第1プログラム格納部37a及び第3系統第2プログラム格納部37bを備えている。第4系統m4の加工プログラムを格納するプログラム格納手段として第4系統第1プログラム格納部38a及び第4系統第2プログラム格納部38bを備えている。
 上記構成とすることで、系統別プログラム格納部34は、各制御系統毎に、第1プログラム格納部と第2プログラム格納部の2つのプログラム格納手段を有する構成となる。加工プログラム選択部33で選択された各制御系統の加工プログラムは、各制御系統の第1プログラム格納部と第2加工プログラム格納部にそれぞれ格納される。
 本実施形態の系統制御部25は、4つの制御系統(第1系統m1、第2系統m2、第3系統m3、第4系統m4)に各々対応して、各制御系統を各々独立して制御する4つの系統制御部(第1系統制御部25a、第2系統制御部25b、第3系統制御部25c、第4系統制御部25d)を有している。
 第1、第2、第3、第4系統制御部25a,25b,25c,25dは、各々に対応する各系統別プログラム格納部34(第1系統第1、第2プログラム格納部35a,35b、第2系統第1、第2プログラム格納部36a,36b、第3系統第1、第2プログラム格納部37a,37b、第4系統第1、第2プログラム格納部38a,38b)に各々格納された加工プログラムに基づいて、対応する各制御系統(第1系統m1、第2系統m2、第3系統m3、第4系統m4)に割り当てられた駆動軸を、制御系統毎に互いに独立して駆動制御する。本実施形態においては、第1系統制御部25aがモジュールM1を独立して駆動制御する。第2系統制御部25bがモジュールM2を独立して駆動制御する。第3系統制御部25cが、モジュールM3を独立して駆動制御する。第4系統制御部25dが、モジュールM4を独立して駆動制御する。
 本実施形態では、各系統制御部25a,25b,25c,25dは、各々対応する第1プログラム格納部と第2加工プログラム格納部に格納された加工プログラムを交互に参照して読み込み、格納された加工プログラムを実行する。第1系統制御部25aは、まず第1系統第1プログラム格納部35aに格納された加工プログラムに基づいて、モジュールM1を制御し、次に第1系統第2プログラム格納部35bに格納された加工プログラムに基づいて、モジュールM1を制御することを繰り返す。
 同様に、第2系統制御部25bは、第2系統第1プログラム格納部36aに格納された加工プログラムと第2系統第2プログラム格納部36bに格納された加工プログラムを交互に参照して読み込み、モジュールM2を制御する。第3系統制御部25cは、第3系統第1プログラム格納部37aに格納された加工プログラムと第3系統第2プログラム格納部37bに格納された加工プログラムを交互に参照して読み込み、モジュールM3を制御する。第4系統制御部25dは、第4系統第1プログラム格納部38aに格納された加工プログラムと第4系統第2プログラム格納部38bに格納された加工プログラムを交互に参照して読み込み、モジュールM4を制御する。
 加工プログラム選択部33は、運転スケジュールデータに従って、各制御系統に対応する第1プログラム格納部と第2プログラム格納部に対して順次加工プログラムを入れ替えて格納させる。加工プログラム選択部33は、加工プログラムの入れ替えを次のようにして行う。各制御系統で第2プログラム格納部に格納された加工プログラムが参照され読み込まれているときに、第1プログラム格納部の加工プログラムを入れ替える。第1プログラム格納部に格納された加工プログラムが参照され読み込まれているときに、第2プログラム格納部の加工プログラムを入れ替える。
 上記のように、加工プログラム選択部33が、一方のプログラム格納部に格納された加工プログラムの参照状態で、他方のプログラム格納部に格納される加工プログラムを入れ替える。これによって、第1系統第1プログラム格納部35a、第1系統第2プログラム格納部35bには、加工プログラム選択部33によって分割プログラム格納部32から選択された第1系統m1に対応する加工プログラムが、運転スケジュールデータに基づいて順に格納される。
 例えば、図9に示されるスケジュール表示画面に基づく運転スケジュールデータの場合、まず第1系統m1において第1系統第1プログラム格納部35aに加工プログラムPA1-1、第1系統第2プログラム格納部35bにPA1-2がそれぞれ格納される。そして、第1系統m1の第1系統制御部25aが、第1系統第1プログラム格納部35aを参照して加工プログラムPA1-1を実行する。次に第1系統制御部25aが第2プログラム格納部35bを参照して加工プログラムPA1-2を実行しているときに、加工プログラム選択部33は第1系統第1プログラム格納部35aの加工プログラムPA1-1を、加工プログラムPB1-1に入れ替える。次に、第1系統制御部25aがこの第1系統第1プログラム格納部35aを参照して加工プログラムPB1-1を実行しているときに、加工プログラム選択部33は第1系統第2プログラム格納部35bの加工プログラムPA1-2を、加工プログラムPB1-2に入れ替える。
 次いで、第1系統制御部25aがこの第1系統第2プログラム格納部35bを参照して加工プログラムPB1-2を実行しているときに、加工プログラム選択部33は第1系統第1プログラム格納部35aの加工プログラムPB1-1を、加工プログラムPD1-1に入れ替える。その後、第1系統制御部25aがこの第1系統第1プログラム格納部35aを参照して加工プログラムPD1-1を実行しているときに、加工プログラム選択部33は第1系統第2プログラム格納部35bの加工プログラムPB1-2を、加工プログラムPD1-2に入れ替える。つまり、加工プログラム選択部33によって順次入れ替えられる第1系統第1プログラム格納部35aの加工プログラムと第1系統第2プログラム格納部35bの加工プログラムを交互に参照して、モジュールM1が制御される。
 第2系統m2においても、加工プログラム選択部33が、一方のプログラム格納部に格納された加工プログラムの参照状態で、他方のプログラム格納部に格納される加工プログラムを入れ替える。これによって、第1系統の場合と同様に、第2系統第1プログラム格納部36a、第2系統第2プログラム格納部36bには、加工プログラム選択部33によって分割プログラム格納部32から選択された第2系統m2に対応する加工プログラムが、運転スケジュールデータに基づいて第2系統m2での加工工程順に交互に格納される。
 図9の例では、第2系統m2の第2系統制御部25bによって、一方のプログラム格納部に格納された加工プログラムが参照されて読み込まれ、他方のプログラム格納部に格納された加工プログラムが参照(実行)されていないときに、加工プログラム選択部33によって他方のプログラム格納部の加工プログラムが入れ替えられていく。具体的には第2系統第1プログラム格納部36aの加工プログラムが、加工プログラムPA2-1、PB2-1、PD2-1の順に入れ替えられていく。第2系統第2プログラム格納部36bの加工プログラムが、加工プログラムPA2-2、PB2-2、PD2-2の順に入れ替えられていく。
 第3系統m3においても、加工プログラム選択部33が、一方のプログラム格納部に格納された加工プログラムの参照状態で、他方のプログラム格納部に格納される加工プログラムを入れ替える。これによって、第3系統第1プログラム格納部37a、第3系統第2プログラム格納部37bには、加工プログラム選択部33によって分割プログラム格納部32から選択された第3系統m3に対応する加工プログラムが、運転スケジュールデータに基づいて第3系統m3での加工工程順に交互に格納される。
 図9の例では、第3系統m3の第3系統制御部25cによって、一方のプログラム格納部に格納された加工プログラムが参照されて読み込まれ、他方のプログラム格納部に格納された加工プログラムが参照(実行)されていないときに、加工プログラム選択部33によって他方のプログラム格納部の加工プログラムが入れ替えられていく。具体的には第3系統第1プログラム格納部37aの加工プログラムが、加工プログラムPC1-1、PA3-2、PC1-3、PC1-5、PD3-2の順に入れ替えられていく。第3系統第2プログラム格納部37bの加工プログラムが、加工プログラムPA3-1、PC1-2、PC1-4、PD3-1の順に入れ替えられていく。
 第4系統m4においても、加工プログラム選択部33が、一方のプログラム格納部に格納された加工プログラムの参照状態で、他方のプログラム格納部に格納される加工プログラムを入れ替える。これによって、第4系統第1プログラム格納部38a、第4系統第2プログラム格納部38bには、加工プログラム選択部33によって分割プログラム格納部32から選択された第4系統m4に対応する加工プログラムが、運転スケジュールデータに基づいて第4系統m4での加工工程順に交互に格納される。
 図9の例では、第4系統m4の第4系統制御部25dによって、一方のプログラム格納部に格納された加工プログラムが参照されて読み込まれ、他方のプログラム格納部に格納された加工プログラムが参照(実行)されていないときに、加工プログラム選択部33によって他方のプログラム格納部の加工プログラムが入れ替えられていく。具体的には第4系統第1プログラム格納部38aの加工プログラムが、加工プログラムPC2-1、PA4-2、PC2-3、PC2-5の順に入れ替えられていく。第4系統第2プログラム格納部38bの加工プログラムが、加工プログラムPA4-1、PC2-2、PC2-4の順に入れ替えられていく。
 各制御系統の第1プログラム格納部と第2プログラム格納部の加工プログラムは、各制御系統で参照されていないときに、加工プログラム選択部33により入れ替えられる。つまり両プログラム格納部の一方に格納された加工プログラムが実行されているとき、他方のプログラム格納部の加工プログラムが、次に実行される加工プログラムに入れ替えられる。同様に他方のプログラム格納部の加工プログラムが参照されているときに、一方のプログラム格納部の加工プログラムが入れ替えられる。そのため、各制御系統で、一方または他方のプログラム格納部の加工プログラムの実行後に、続けて他方または一方のプログラム格納部を参照して加工プログラムを実行することができる。したがって、プログラムの入れ替えによる時間のロスを解消して、各制御系統での加工プログラムの実行を効率的に行うことができる。
(加工例)
 以下、工作機械100による加工例として、複数種類の異なる製品の加工を連続的に行う場合の一例を説明する。例えば、1つのワーク加工用プログラムで、各モジュールM1~M4によって、所定の材料(ワーク)から図5A~図5Eに示すような各々異なる所定の形状の製品A、製品B、製品C、製品D、製品Eを製造できるものとする。
 製品Aの製造を、例えば、図6Aに示すように、モジュールM1での1回目の正面側の加工(第1加工工程(1))と、モジュールM2での1回目の背面側の加工(第2加工工程(2))と、モジュールM3での2回目の正面側の加工(第3加工工程(3))と、モジュールM4での2回目の背面側の加工(第4加工工程(4))の4工程で行うものとする。各加工工程には、未加工ワークの搬入、モジュールM1~M4間でのワークの授受、或いは加工済みワークの搬出のためのワークのローディング工程とアンローディング工程が含まれている。以降で説明する製品B~製品Eの加工工程においても同様である。
 なお、図6A~図6Eは、各製品A~製品Eを製造するための各加工工程とワーク加工用プログラムPA,PB,PC,PD,PEの加工プログラムPA1~PA4,PB1~PB2,PC1~PC2,PD1~PD3,PE1の構成の両方を模式的に表現している。また、図6A~図6Eでは、加工プログラムPA1~PA4,PB1~PB2,PC1~PC2,PD1~PD3,PE1の先頭に、ローディング工程用のローディングプログラムLDを、末尾にアンローディング工程用のアンローディングプログラムULDを模式的に表現している。
 同様に、製品Bの製造を、例えば、図6Bに示すように、モジュールM1での1回目の正面側の加工(第1加工工程(1))と、モジュールM2での背面側の加工(第2加工工程(2))の2工程で行うものとする。製品Cの製造を、例えば、図6Cに示すように、モジュールM3での1回目の正面側の加工(第1加工工程(1))と、モジュールM4での背面側の加工(第2加工工程(2))の2工程で行うものとする。製品Dの製造を、例えば、図6Dに示すように、モジュールM1での1回目の正面側の加工(第1加工工程(1))と、モジュールM2での1回目の背面側の加工(第2加工工程(2))と、モジュールM3での2回目の正面側の加工(第3加工工程(3))の3工程で行うものとする。製品Eの製造を、例えば、図6Eに示すように、モジュールM4での1回の背面側の加工(第1加工工程(1))の1工程で行うものとする。
 次に、本加工例における運用スケジュールデータ作成と、この運用スケジュールデータに基づいたモジュールM1~M4の駆動制御の一例を、図14A~図14Eに示すフローチャートを参照して説明する。
 まず、運用スケジュールデータ作成の処理の流れを、図14Aのフローチャートを参照しながら説明する。図6A~図6Eに示す製品A、製品B、製品C、製品D、製品Eを製造する多系統プログラムMP1、MP2、MP3、MP4、及び単系統プログラムMP5は、制御装置20において作成される他、外部のパソコン等によって作成される。
 制御装置20は、多系統プログラムMP1,MP2,MP3、MP4及び単系統プログラムMP5を、プログラム入力部23を介して多系統プログラム格納部30に格納(記憶)する(ステップS1)。
 多系統プログラム格納部30に多系統プログラムMP1、MP2、MP3、MP4及び単系統プログラムMP5が格納されると、多系統プログラム分割部31は、各多系統プログラムを加工プログラム毎に分割し、分割プログラム格納部32の格納部に各々格納する。例えば、多系統プログラムMP1から分割した加工プログラムPA1を分割プログラム格納部32の第1格納部に、加工プログラムPA2を第2格納部に、加工プログラムPA3を第3格納部に、加工プログラムPA4を第4格納部に各々格納する(ステップS2)。
 また、多系統プログラム分割部31は、例えば、多系統プログラムMP2から分割した加工プログラムPB1を分割プログラム格納部32の第5格納部に、加工プログラムPB2を第6格納部に各々格納する(ステップS3)。
 また、多系統プログラム分割部31は、例えば、多系統プログラムMP3から分割した加工プログラムPC1を分割プログラム格納部32の第7格納部に、加工プログラムPC2を第8格納部に各々格納する(ステップS4)
 また、多系統プログラム分割部31は、例えば、多系統プログラムMP4から分割した加工プログラムPD1を分割プログラム格納部32の第9格納部に、加工プログラムPD2を第10格納部に、加工プログラムPD3を第11格納部に各々格納する(ステップS5)。
 更に、多系統プログラム分割部31は、例えば、単系統プログラムMP5からの加工プログラムPE1を分割プログラム格納部32の第12格納部に格納する(ステップS6)。
 次に、スケジュール管理部26が自動で、または操作盤22からの指示によりスケジュール設定画面を表示部22aに表示させる(ステップS7)。スケジュール設定画面には、例えば、図7に示すように、多系統プログラム格納部30に格納された各多系統プログラムに基づいてスケジュール管理部26が割り出した製品A~製品Eのワークの供給時間、加工時間及び搬出時間、加工の流れが表示される。このとき、工作機械100による加工が既に実行され、供給時間、加工時間、搬出時間の実行時間が測定されている場合は、スケジュール設定画面の供給時間、加工時間、搬出時間は、実測値での表示ができる。
 図7に示される例では、製品Aが2個、製品Bが2個、製品Cが5個、製品Dが2個の生産個数が入力されているものとする。ここでは、製品Eは製造しないため、生産個数は「0」であり、「状態」には「無効」が表示されている。
 作業者が手動で運転スケジュールデータの設定を行うこともできる。この場合、例えばスケジュール設定画面で、作業者が製品A~製品Eの生産個数、供給時間、加工時間、搬出時間等を入力したり、修正したりすることができる。
 次に、作業者がスケジュール設定画面で「作成」ボタンのクリック等を行って、スケジュール作成を指示する。この指示を受付けると、スケジュール管理部26は、各製品の個数及び各系統の加工プログラムに基づいて、運転スケジュールデータを作成し、運転スケジュールデータ格納部27に格納する。工作機械100による最初の加工の開始前の初期状態では、プログラム解析や手動入力による各工程の初期値と生産個数等に基づいて運転スケジュールデータが作成される。工作機械100による加工が既に行われ、各工程の実行時間が測定されている場合は、各加工程の実測値と生産個数等に基づいて運転スケジュールデータの作成ができる。スケジュール管理部26は、作成した運転スケジュールデータに基づいて、図8に示されるようにスケジュール表示画面を表示部22aに表示する(ステップS8)。運転スケジュールデータの設定や個数の変更が行われない場合は、「作成」ボタンのクリック等を受けて、既存の運転スケジュールデータに基づいたスケジュール表示画面を表示する。作業者は、スケジュール表示画面を視認することで、運転スケジュールを視覚的に確認することができる。
 作業者は、スケジュール表示画面上で、所定の加工プログラムを空き時間に移動したり、加工プログラムを入れ替えたりして、スケジュール調整を行うこともできる。スケジュール表示画面上でスケジュール調整がされると、ステップS9に進み、スケジュール管理部26は、運転スケジュールデータを再作成する。再作成した運転スケジュールデータに基づいて、図9に示されるようなスケジュール表示画面を再表示する。スケジュール調整がされなかった場合は、ステップS9をスキップする。
 図8の例では、1個目の製品Aの第3加工工程「PA3-1」と、第4加工工程「PA4-1」の前に、所定時間以上の空き時間が存在していた。そのため、図9に示すように、1個目の製品Cの第1加工工程「PC1-1」と、第2加工工程「PC2-2」が、1個目の製品Aの第3加工工程「PA3-1」、第4加工工程「PA4-1」の前に手動で移動された。また、この移動により、2~5個目の製品Cの第1、第2加工工程と、2個の製品Dの第1~第3加工工程の開始時間が自動的に繰り上げられた。
 空き時間は、各多系統プログラムの解析等による初期値に基づいて運用スケジュールデータを作成したときに、既に存在する場合がある。または、この初期値に基づいた運用スケジュールデータ作成時には空き時間がなかったが、加工実行によって測定された実測値が反映されたときに、空き時間が生じる場合がある。本実施形態では、スケジュール表示画面によって、作業者が空き時間の存在や加工工程の順番を確認し易く、スケジュール調整を行い易い。スケジュール調整によって、運用スケジュールデータを効率的に作成することができ、工作機械100における作業効率や生産性を向上させることができる。特に、各加工プログラムにおける各工程の実測値に基づいて運用スケジュールデータを作成することができるため、工作機械100の現実の稼働状況に即して、スケジュール調整をより高精度に行うことができ、作業効率や生産性をより向上させることができる。
 運用スケジュールデータの作成やスケジュール調整による再作成が完了し、加工開始の指示を受付けると、制御装置20はスケジュール表示画面によって編集(作成)された運転スケジュールデータに基づいて、制御系統毎の加工プログラムの格納と実行を行う。このとき、制御装置20は、各加工プログラムにおける各工程の実行時間を測定する。
 これにより、各モジュールM1~M4で、順次対応する加工プログラムP1~P4に基づいた加工が実行される。これに伴って、各モジュールM1~M4での加工(図14A~図14Eに示す「モジュールM1~M4の駆動制御」)が並列して実行されることによって、複数種類の製品A~製品Eを所定数製造することができる。
 モジュールM1では、まず製品Aに対応する2つのワークに対して第1加工工程の加工が連続して実行される。次に製品Bに対応する2つのワークに対して第1加工工程の加工が連続して実行される。次に製品Dに対応する2つのワークに対する第1加工が連続して実行される。
 図14Bのフローチャートに示すモジュールM1の駆動制御では、加工プログラム選択部33は、運転スケジュールデータに従って、まず第1格納部から呼び出した加工プログラムPA1を、1個目の製品Aの加工プログラムPA1-1として第1系統第1プログラム格納部35aに格納する(ステップS11)。
 また、加工プログラム選択部33は第1格納部から呼び出した加工プログラムPA1を、2個目の製品Aの加工プログラムPA1-2として第1系統第2プログラム格納部35bに格納する(ステップS12)。
 そして、系統制御部25の第1系統制御部25aが、第1系統第1プログラム格納部35aの加工プログラムPA1-1に基づいて第1系統を駆動制御する。この制御により、供給されたワークに対してモジュールM1が1個目の製品Aの第1加工工程を行う(ステップS13)。
 そして、モジュールM1による1個目の製品Aのワークに対する第1加工工程完了後に、第1系統制御部25aが第1系統第2プログラム格納部35bの加工プログラムPA1-2に基づいて第1系統を駆動制御する。この制御により、供給されたワークに対してモジュールM1が2個目の製品Aの第1加工工程を行う。このとき加工プログラム選択部33は第5格納部から呼び出した加工プログラムPB1を、次に実行される1個目の製品Bの加工プログラムPB1-1として第1系統第1プログラム格納部35aに格納し、第1系統第1プログラム格納部35a内の加工プログラムを入れ替える(ステップS14)。
 次にモジュールM1による2個目の製品Aのワークに対する第1加工工程完了後に、第1系統制御部25aが第1系統第1プログラム格納部35aの加工プログラムPB1-1に基づいて第1系統を駆動制御する。この制御により、供給されたワークに対してモジュールM1が1個目の製品Bの第1加工工程を行う。また、加工プログラム選択部33は第5格納部から呼び出した加工プログラムPB1を、2個目の製品Bの加工プログラムPB1-2として第1系統第2プログラム格納部35bに格納する(ステップS15)。
 そして、モジュールM1による1個目の製品Bのワークに対する第1加工工程完了後に、第1系統制御部25aが第1系統第2プログラム格納部35bの加工プログラムPB1-2に基づいて第1系統を駆動制御する。この制御により、供給されたワークに対してモジュールM1が2個目の製品Bの第1加工工程を行う。また、加工プログラム選択部33は第9格納部から呼び出した加工プログラムPD1を、1個目の製品Dの加工プログラムPD1-1として第1系統第1プログラム格納部35aに格納する(ステップS16)。
 モジュールM1による2個目の製品Bのワークに対する第1加工工程完了後に、第1系統制御部25aが第1系統第1プログラム格納部35aの加工プログラムPD1-1に基づいて第1系統を駆動制御する。この制御により、供給されたワークに対してモジュールM1が1個目の製品Dの第1加工工程を行う。また、加工プログラム選択部33は第9格納部から呼び出した加工プログラムPD1を、2個目の製品DのPD1-2として第1系統第2プログラム格納部35bに格納する(ステップS17)。
 最後にモジュールM1による1個目の製品Dのワークに対する第1加工工程完了後に、第1系統制御部25aが第1系統第2プログラム格納部35bの加工プログラムPD1-2に基づいて第1系統を駆動制御する。この制御により、供給されたワークに対してモジュールM1が2個目の製品Dの第1加工工程を行う(ステップS18)。以上により、モジュールM1での加工工程が完了する。
 一方、モジュールM2では、まず製品Aの第1加工工程の加工が完了したワークのモジュールM1との間の授受と、受け取ったワークに対する製品Aの第2加工工程の加工が、連続して2回実行される。次に製品Bの第1加工工程の加工が完了したワークのモジュールM1との間の授受と、受け取ったワークに対する製品Bの第2加工工程の加工が、連続して2回実行される。次に製品Dの第1加工工程の加工が完了したワークのモジュールM1との間の授受と、受け取ったワークに対する製品Dの第2加工工程の加工が、連続して2回実行される。
 上記モジュールM2での加工工程の実行のため、図14Cのフローチャートに示すモジュールM2の駆動制御では、加工プログラム選択部33は、まず第2格納部から呼び出した加工プログラムPA2を、1個目の製品Aの加工プログラムPA2-1として第2系統第1プログラム格納部36aに格納する(ステップS21)。
 また、第2格納部から呼び出した加工プログラムPA2を、2個目の製品Aの加工プログラムPA2-2として第2系統第2プログラム格納部36bに格納する(ステップS22)。
 そして、系統制御部25の第2系統制御部25bが、第2系統第1プログラム格納部36aの加工プログラムPA2-1に基づいて第2系統を駆動制御する。この制御により、供給されたワークに対してモジュールM2が1個目の製品Aの第2加工工程を行う(ステップS23)。
 そして、モジュールM2による1個目の製品Aのワークに対する第2加工工程完了後に、第2系統制御部25bが第2系統第2プログラム格納部36bの加工プログラムPA2-2に基づいて第2系統を駆動制御する。この制御により、供給されたワークに対してモジュールM2が2個目の製品Aの第2加工工程を行う。また、加工プログラム選択部33は第6格納部から呼び出した加工プログラムPB2を、1個目の製品Bの加工プログラムPB2-1として第2系統第1プログラム格納部36aに格納する(ステップS24)。
 次にモジュールM2による2個目の製品Aのワークに対する第2加工工程完了後に、第2系統制御部25bが第2系統第1プログラム格納部36aの加工プログラムPB2-1に基づいて第2系統を駆動制御する。この制御により、供給されたワークに対してモジュールM2が1個目の製品Bの第2加工工程を行う。また、加工プログラム選択部33は第6格納部から呼び出した加工プログラムPB2を、2個目の製品Bの加工プログラムPB2-2として第2系統第2プログラム格納部36bに格納する(ステップS25)。
 そして、モジュールM2による1個目の製品Bのワークに対する第2加工工程完了後に、第2系統制御部25bが第2系統第2プログラム格納部36bの加工プログラムPB2-2に基づいて第2系統を駆動制御する。この制御により、供給されたワークに対してモジュールM2が2個目の製品Bの第2加工工程を行う。また、加工プログラム選択部33は第10格納部から読み出した加工プログラムPD2を、1個目の製品Dの加工プログラムPD2-1として第2系統第1プログラム格納部36aに格納する(ステップS26)。
 モジュールM2による2個目の製品Bのワークに対する第2加工工程完了後に、第2系統制御部25bが第2系統第1プログラム格納部36aの加工プログラムPD2-1に基づいて第2系統を駆動制御する。この制御により、供給されたワークに対してモジュールM2が1個目の製品Dの第2加工工程を行う。また、加工プログラム選択部33は第10格納部から呼び出した加工プログラムPD2を、2個目の製品Dの加工プログラムPD2-2として第2系統第2プログラム格納部36bに格納する(ステップS27)。
 最後にモジュールM2による1個目の製品Dのワークに対する第2加工工程完了後に、第2系統制御部25bが第2系統第2プログラム格納部36bの加工プログラムPD2-2に基づいて第2系統を駆動制御する。この制御により、供給されたワークに対してモジュールM2が2個目の製品Dの第2加工工程を行う(ステップS28)。以上により、モジュールM2での加工工程が完了する。
 また、モジュールM3では、まず製品Cに対応するワークに対して第1加工工程の加工が実行される。次に製品Aの第2加工工程の加工が完了したワークのモジュールM2との間の授受と、受け取ったワークに対する製品Aの第3加工工程の加工が、連続して2回実行される。次に製品Cに対応するワークに対して第1加工工程の加工が、連続して4回実行される。次に製品Dの第2加工工程の加工が完了したワークのモジュールM2との間の授受と、受け取ったワークに対する製品Dの第3加工工程の加工が、連続して2回実行される。
 上記モジュールM3での加工工程の実行のため、図14Dのフローチャートに示すモジュールM3の駆動制御では、加工プログラム選択部33は、まず第7格納部から呼び出した加工プログラムPC1を、1個目の製品Cの加工プログラムPC1-1として第3系統第1プログラム格納部37aに格納する(ステップS31)。
 また、加工プログラム選択部33は第3格納部から呼び出した加工プログラムPA3を、次に実行される1個目の製品Aの加工プログラムPA3-1として第3系統第2プログラム格納部37bに格納する(ステップS32)。
 そして、第3系統制御部25cが、第3系統第1プログラム格納部37aの加工プログラムPC1-1に基づいて第3系統を駆動制御する。この制御により、供給されたワークに対してモジュールM3が1個目の製品Cの第1加工工程を行う(ステップS33)。
 そして、モジュールM3による1個目の製品Cのワークに対する第1加工工程完了後に、第3系統制御部25cが第3系統第2プログラム格納部37bの加工プログラムPA3-1に基づいて第3系統を駆動制御する。この制御により、供給されたワークに対してモジュールM3による1個目の製品Aの第3加工工程を行う。また、加工プログラム選択部33は第3格納部から呼び出した加工プログラムPA3を、2個目の製品AのPA3-2として第3系統第1プログラム格納部37aに格納する(ステップS34)。
 次にモジュールM3による1個目の製品Aのワークに対する第3加工工程完了後に、第3系統制御部25cが第3系統第1プログラム格納部37aの加工プログラムPA3-2に基づいて第3系統を駆動制御する。この制御により、供給されたワークに対してモジュールM3が2個目の製品Aの第3加工工程を行う。また、加工プログラム選択部33は第7格納部から読み出した加工プログラムPC1を、2個目の製品CのPC1-2として第3系統第2プログラム格納部37bに格納する(ステップS35)。
 そして、モジュールM3による2個目の製品Aのワークに対する第3加工工程完了後に、第3系統制御部25cが第3系統第2プログラム格納部37bの加工プログラムPC1-2に基づいて第3系統を駆動制御する。この制御により、供給されたワークに対してモジュールM3が2個目の製品Cの第1加工工程を行う。また、加工プログラム選択部33は第7格納部から呼び出した加工プログラムPC1を、3個目の製品Cの加工プログラムPC1-3として第3系統第1プログラム格納部37aに格納する(ステップS36)。
 モジュールM3による2個目の製品Cのワークに対する第1加工工程完了後に、第3系統制御部25cが第3系統第1プログラム格納部37aの加工プログラムPC1-3に基づいて第3系統を駆動制御する。この制御により、供給されたワークに対してモジュールM3が3個目の製品Cの第1加工工程を行う。また、加工プログラム選択部33は第7格納部から呼び出した加工プログラムPC1を、4個目の製品Cの加工プログラムPC1-4として第3系統第2プログラム格納部37bに格納する(ステップS37)。
 モジュールM3による3個目の製品Cのワークに対する第1加工工程完了後に、第3系統制御部25cが第3系統第2プログラム格納部37bの加工プログラムPC1-4に基づいて第3系統を駆動制御する。この制御により、供給されたワークに対してモジュールM3が4個目の製品Cの第1加工工程を行う。また、加工プログラム選択部33は第7格納部から呼び出した加工プログラムPC1を、5個目の製品Cの加工プログラムPC1-5として第3系統第1プログラム格納部37aに格納する(ステップS38)。
 モジュールM3による4個目の製品Cのワークに対する第1加工工程完了後に、第3系統制御部25cが第3系統第1プログラム格納部37aの加工プログラムPC1-5に基づいて第3系統を駆動制御する。この制御により、供給されたワークに対してモジュールM3が5個目の製品Cの第1加工工程を行う。また、加工プログラム選択部33は第11格納部から呼び出した加工プログラムPD3を、1個目の製品Dの加工プログラムPD3-1として第3系統第2プログラム格納部37bに格納する(ステップS39)。
 モジュールM3による5個目の製品Cのワークに対する第1加工工程完了後に、第3系統制御部25cが第3系統第2プログラム格納部37bの加工プログラムPD3-1に基づいて第3系統を駆動制御する。この制御により、供給されたワークに対してモジュールM3が1個目の製品Dの第3加工工程を行う。また、加工プログラム選択部33は第11格納部から呼び出した加工プログラムPD3を、2個目の製品DのPD3-2として第3系統第1プログラム格納部37aに格納する(ステップS40)。
 最後にモジュールM3による2個目の製品Dのワークに対する第3加工工程完了後に、第3系統制御部25cが第3系統第1プログラム格納部37aの加工プログラムPD3-2に基づいて第3系統を駆動制御する。この制御により、供給されたワークに対してモジュールM3が2個目の製品Dの第3加工工程を行う(ステップS41)。以上により、モジュールM3での加工工程が完了する。
 モジュールM4では、まず製品Cの第1加工工程の加工が完了したワークのモジュールM3との間の授受と、受け取ったワークに対する製品Cの第2加工工程の加工が実行される。次に製品Aの第3加工工程の加工が完了したワークのモジュールM3との間の授受と、受け取ったワークに対する製品Aの第4加工工程の加工が、連続して2回実行される。次に製品Cの第1加工工程の加工が完了したワークのモジュールM3との間の授受と、受け取ったワークに対する製品Cの第2加工工程の加工が、連続して4回実行される。
 上記モジュールM4での加工工程の実行のため、図14Eのフローチャートに示すモジュールM4の駆動制御では、加工プログラム選択部33は、まず第8格納部から呼び出した加工プログラムPC2を、1個目の製品Cの加工プログラムPC2-1として第4系統第1プログラム格納部38aに格納する(ステップS51)。
 また、加工プログラム選択部33は第4格納部から呼び出した加工プログラムPA4を、1個目の製品Aの加工プログラムPA4-1として第4系統第2プログラム格納部38bに格納する(ステップS52)。
 そして、第4系統制御部25dが、第4系統第1プログラム格納部38aの加工プログラムPC2-1に基づいて第4系統を駆動制御する。この制御により、供給されたワークに対してモジュールM4が1個目の製品Cの第2加工工程を行う(ステップS53)。
 そして、モジュールM3による1個目の製品Cのワークに対する第2加工工程完了後に、第4系統制御部25dが第4系統第2プログラム格納部38bの加工プログラムPA4-1に基づいて第4系統を駆動制御する。この制御により、供給されたワークに対してモジュールM4が1個目の製品Aの第4加工工程を行う。また、加工プログラム選択部33は第4格納部から呼び出した加工プログラムPA4を、2個目の製品AのPA4-2として第4系統第1プログラム格納部38aに格納する(ステップS54)。
 次にモジュールM4による1個目の製品Aのワークに対する第4加工工程完了後に、第4系統制御部25dが第4系統第1プログラム格納部38aの加工プログラムPA4-2に基づいて第4系統を駆動制御する。この制御により、供給されたワークに対してモジュールM4が2個目の製品Aの第4加工工程を行う。また、加工プログラム選択部33は第8格納部から呼び出した加工プログラムPC2を、2個目の製品CのPC2-2として第4系統第2プログラム格納部38bに格納する(ステップS55)。
 そして、モジュールM4による2個目の製品Aのワークに対する第4加工工程完了後に、第4系統制御部25dが第4系統第2プログラム格納部38bの加工プログラムPC2-2に基づいて第4系統を駆動制御する。この制御により、供給されたワークに対してモジュールM4が2個目の製品Cの第2加工工程を行う。また、加工プログラム選択部33は第8格納部から呼び出した加工プログラムPC2を、3個目の製品Cの加工プログラムPC2-3として第4系統第1プログラム格納部38aに格納する(ステップS56)。
 モジュールM4による2個目の製品Cのワークに対する第2加工工程完了後に、第4系統制御部25dが第4系統第1プログラム格納部38aの加工プログラムPC2-3に基づいて第4系統を駆動制御する。この制御により、供給されたワークに対してモジュールM4が3個目の製品Cの第2加工工程を行う。また、加工プログラム選択部33は第8格納部から呼び出した加工プログラムPC2を、4個目の製品CのPC2-4として第4系統第2プログラム格納部38bに格納(ステップS57)。
 モジュールM4による3個目の製品Cのワークに対する第2加工工程完了後に、第4系統制御部25dが第4系統第2プログラム格納部38bの加工プログラムPC2-4に基づいて第4系統を駆動制御する。この制御により、供給されたワークに対してモジュールM4が4個目の製品Cの第2加工工程を行う。また、加工プログラム選択部33は第8格納部から呼び出した加工プログラムPC2を、5個目の製品CのPC2-5として第4系統第1プログラム格納部38aに格納する(ステップS58)。
 最後にモジュールM4による4個目の製品Cのワークに対する第2加工工程完了後に、第4系統制御部25dが第4系統第1プログラム格納部38aの加工プログラムPC2-5に基づいて第4系統を駆動制御する。この制御により、供給されたワークに対してモジュールM4が5個目の製品Cの第2加工工程を行う。(ステップS59)。以上により、モジュールM4での加工工程が完了する。
 このように、各々異なる所定の形状の製品A、製品B、製品C、製品Dをワークから製造する場合に、4つのモジュールM1,M2,M3,M4で上記した加工工程を並行して行う。これにより、モジュールM1,M2,M3,M4が稼動停止状態となっている時間を抑制することができる。
 また、各モジュールM1~M4での上記一連の加工を、系統別プログラム格納部34での加工プログラムの入れ替えによる時間のロスを削減して効率よく行うため、加工プログラム選択部33によって、各加工プログラムが制御系統毎の第1プログラム格納部35a,36a,37a,38aと第2プログラム格納部35b,36b,37b,38bとに交互に格納されて実行される。したがって、異なる製品A、製品B、製品C、製品Dを連続的に効率よく製造することができる。
 また、工作機械100の運転中は、スケジュール設定画面には、図10に示されるように各製品の運転の状態及び生産完了個数がリアルタイムに表示される。スケジュール表示画面には、図11に示されるように実行中の加工プログラムを示すバーBと、ステータスを表示するステータスウィンドウWがリアルタイムに表示される。そのため、作業者は加工の進捗状態を確認することができる。このとき、各加工プログラムの各工程における実際の供給時間、加工時間、搬出時間が制御装置20によって測定されている。そのため、スケジュール表示画面において、実行済みの加工プログラムの供給時間、加工時間、搬出時間には、実測値が反映されて表示される。
 また、上記加工工程の途中で、実測値に基づいた運転スケジュールに対して、加工プログラムを割り込ませたり、実行順を変更したりして、作業者が運転スケジュールデータを変更することもできる。この変更は、スケジュール設定画面やスケジュール表示画面で行うことができる。以下、運転スケジュールデータの変更手順を、図12のスケジュール設定画面、図13のスケジュール表示画面、図15のフローチャートを参照しながら説明する。
 ここでは、3個の製品Eの製造を追加して、いわゆる割り込み運転を行う場合について説明する。まず、作業者は所定の操作によって、スケジュール設定画面(図12参照)を表示部22aに表示させる(ステップS61)。このとき、実行済みの加工プログラムについては、実測値に基づいた供給時間、加工時間、搬出時間が表示される。
 図12に破線で示したように、スケジュール設定画面において、作業者による製品Eの生産個数(3個)の入力を受付ける(ステップS62)。この入力を受けて、スケジュール管理部26は、製品EがモジュールM4において加工可能な場合、モジュールM4の製品Cの第2加工工程(PC2-5)の後ろに、3個分の製品Eの加工プログラム(PE1-1,PE1-2,PE1-3)を新たに設定して運転スケジュールデータを再作成する。スケジュール管理部26は、再作成した運用スケジュールデータに基づいて、図13に示されるように、スケジュール表示画面を表示する(ステップS63)。
 また、作業者は、必要に応じてスケジュール表示画面上で、いずれかの加工プログラムを移動して実行順を変更する等して、スケジュール調整をすることができる。このスケジュール調整に従って、スケジュール管理部26は、運用スケジュールデータを再作成する。(ステップS64)。
 割り込み運転やスケジュール調整による運転スケジュールデータの再作成が完了すると、モジュールM4での製品Cの加工に続けて、追加した3つの製品Eの加工プログラムが実行される。製品Cの製造に連続して、製品Eを効率よく製造することができる。また、実行順の変更等によるスケジュール調整によって、運転時間の短縮や作業の効率化を図ることができる。
 上述のような割り込み運転のためのスケジュール調整は、製品Cの加工中であれば、第4系統第1プログラム格納部38aまたは第4系統第2プログラム格納部38bへの加工プログラムの格納によって、工作機械100を停止することなく行うことができる。一方、工作機械100による加工を停止(中断)させてから実行することもできる。加工の停止指示を受けると、制御装置20は、いったん加工が開始された製品の加工が完了したときなど、適宜の時点で各モジュールM1~M4での加工を停止させることができる。例えば、各モジュールM1~M4で、図13に示したバーBにおいて加工の停止(中断)を指令する。これにより、太点線によって示されるように、いったん加工が開始された製品の加工を完了させるよう、モジュールM1及びモジュールM2によって加工される製品Bの加工の完了、及びモジュールM3及びモジュールM4によって加工される製品Cの加工の完了までの加工プログラムまでを実行する。その後の加工プログラムの実行を停止して、加工を停止(中断)させることができる。加工の停止後、太点線よりも後の加工プログラムのスケジュール調整、つまり、まだ実行されていない加工プログラムのスケジュール調整を行うことができる。
 実行済みの加工プログラムに関しては、制御部21で測定した実測値が反映されている。そのため、実行前の加工プログラムのスケジュール調整を、工作機械100の現実の稼働状況に即して、より高精度に行うことができる。
 各モジュールM1~M4での加工停止後、例えば作業者が図12のスケジュール設定画面で製品Eの個数を入力し、「作成」ボタンをクリックすることで、運転スケジュールデータが再作成される。また、必要に応じて加工プログラムの移動等のスケジュール調整をすることもできる。運転スケジュールデータの再作成またはスケジュール調整が完了し、工作機械100の運転を再開することで、図13の太点線以降の加工プログラムが実行されるとともに、追加した製品Eの加工プログラムも続けて実行される。これらの加工プログラムにおける各工程の実行時間が、制御装置20によって測定され、運用スケジュールデータに反映されていく。そのため、工作機械100の現実の稼働状況に即した加工が可能となり、加工の作業効率が向上して、製品の生産性を向上させることができる。
 以上、本発明の実施形態を図面により詳述してきたが、上記実施形態は本発明の例示にしか過ぎないものであり、本発明は上記実施形態の構成にのみ限定されるものではない。
本発明の要旨を逸脱しない範囲の設計の変更等があっても、本発明に含まれる。
 例えば、上記実施形態は、2つの固定モジュールM1,M3及び2つの移動モジュールM2,M4を備えた工作機械100の制御装置20であったが、これに限定されることはない。例えば、2つの固定モジュールM1,M3及び1つの移動モジュールM2を備えた構成、或いは固定モジュールを1つあるいは3つ以上備え、移動モジュールを3つ以上備えた構成の場合においても同様に本発明を適用することができる。また、上記実施形態では、複数の異なる製品の加工を連続的に行っているが、これに限定されることはない。1種類の製品の加工を連続的に加工する場合においても本発明を適用することができる。
[関連出願への相互参照]
 本出願は、2017年3月30日に日本国特許庁に出願された特願2017-068650に基づいて優先権を主張し、その全ての開示は完全に本明細書で参照により組み込まれる。

Claims (6)

  1.  ワークを保持するワーク保持手段と、前記ワーク保持手段に保持された前記ワークに対して所定の作業を行う作業手段を保持する作業手段保持部とが一体的に設けられたモジュールを複数備えた工作機械に設けられ、
     前記工作機械の所定の駆動軸を制御する制御系統を複数備え、前記各制御系統にそれぞれ独立して対応する複数の加工プログラムから構成される多系統プログラムに基づいて前記ワークの加工を行うように前記工作機械の動作を制御する工作機械の制御装置であって、
     前記各モジュールの駆動軸が、前記モジュール毎に各々別々の前記制御系統に割り当てられ、前記ワークを各々異なる形状に加工する各々異なる複数の多系統プログラムを格納する多系統プログラム格納部と、
     前記各多系統プログラムを、各々各加工プログラムに分割する多系統プログラム分割部と、
     分割された前記各加工プログラムを個別に格納する分割プログラム格納部と、
     前記各制御系統各々に対応する前記加工プログラムを各系統毎に格納する系統別プログラム格納部と、
     前記各モジュールで行う加工工程に応じて、前記分割プログラム格納部から所定の加工プログラムを選択し、所定の制御系統毎に前記系統別プログラム格納部に各々格納させる加工プログラム選択部とを備え、
     前記系統別プログラム格納部は、前記制御系統毎に複数のプログラム格納手段を有し、前記各制御系統で所定の2つの前記プログラム格納手段の各々に格納された前記加工プログラムを順に参照することによって、前記各モジュールで所定の加工工程を各系統別に行わせるように構成され、
     前記加工プログラム選択部は、前記系統別プログラム格納部に、前記各制御系統毎に必要な加工プログラムを前記分割プログラム格納部から選択して格納するときに、一方のプログラム格納手段に格納された前記加工プログラムの参照状態で、他方のプログラム格納手段に格納される前記加工プログラムを入れ替えるように構成されたことを特徴とする工作機械の制御装置。
  2.  前記プログラム格納手段が、第1プログラム格納部と第2プログラム格納部とから構成され、前記第1プログラム格納部と前記第2プログラム格納部は、各々格納された前記加工プログラムが交互に参照されることを特徴とする請求項1に記載の工作機械の制御装置。
  3.  前記モジュールは、少なくとも並設された2つの固定モジュールと、前記固定モジュールの対向側に該固定モジュールの並び方向に移動可能で、かつ前記固定モジュールとの間で前記ワークの受け渡しが可能な少なくとも1つの移動モジュールとを備えていることを特徴とする請求項1または2に記載の工作機械の制御装置。
  4.  前記ワークから加工される所定の製品に対して、所定の前記モジュールの間で前記ワークを順次受け渡して加工を完了するように、前記製品の加工工程を、前記各モジュール毎の加工工程に分割し、各加工工程を前記各モジュールに割り当て、前記各モジュール毎の前記加工工程が、複数種類の前記製品各々の前記各モジュールに対応する加工工程が連続的に配置されて構成され、
     前記各製品に対応する前記各ワークの加工工程が複数の前記モジュールで並行して実行されて複数種類の前記製品の加工が行われるように制御することを特徴とする請求項1~3のいずれか一項に記載の工作機械の制御装置。
  5.  前記モジュール毎に、前記ワークに対する所定の加工工程の開始の前に、所定時間以上の空き時間があるときに、前記空き時間よりも短い他の加工工程を、前記所定の加工工程の前に移動して、先に加工が行われるように制御することを特徴とする請求項1~4のいずれか一項に記載の工作機械の制御装置。
  6.  前記モジュール毎に、前記ワークに対する所定の加工工程の実行中に、該加工工程よりも後に、所定の製品の加工工程を追加し、追加した前記加工工程を、前記所定の加工工程に連続して行うように制御することを特徴とする請求項1~5のいずれか一項に記載の工作機械の制御装置。
PCT/JP2018/005907 2017-03-30 2018-02-20 工作機械の制御装置 WO2018180004A1 (ja)

Priority Applications (6)

Application Number Priority Date Filing Date Title
KR1020197031551A KR102481220B1 (ko) 2017-03-30 2018-02-20 공작기계의 제어장치(control device for work machine)
JP2019508761A JP6924259B2 (ja) 2017-03-30 2018-02-20 工作機械の制御装置
ES18776610T ES2939966T3 (es) 2017-03-30 2018-02-20 Dispositivo de control para máquina de trabajo
US16/497,645 US11054809B2 (en) 2017-03-30 2018-02-20 Control device for machine tool
EP18776610.0A EP3582040B1 (en) 2017-03-30 2018-02-20 Control device for work machine
CN201880018387.XA CN110431497A (zh) 2017-03-30 2018-02-20 机床的控制装置

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2017068650 2017-03-30
JP2017-068650 2017-03-30

Publications (1)

Publication Number Publication Date
WO2018180004A1 true WO2018180004A1 (ja) 2018-10-04

Family

ID=63674740

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2018/005907 WO2018180004A1 (ja) 2017-03-30 2018-02-20 工作機械の制御装置

Country Status (8)

Country Link
US (1) US11054809B2 (ja)
EP (1) EP3582040B1 (ja)
JP (1) JP6924259B2 (ja)
KR (1) KR102481220B1 (ja)
CN (1) CN110431497A (ja)
ES (1) ES2939966T3 (ja)
TW (1) TWI753130B (ja)
WO (1) WO2018180004A1 (ja)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114318956A (zh) * 2021-12-31 2022-04-12 珠海格力智能装备有限公司 模塑设备的控制结构、编程方法以及非易失性存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56101206A (en) * 1980-01-17 1981-08-13 Nachi Fujikoshi Corp Control device for robot
JP2009125920A (ja) * 2007-11-28 2009-06-11 Mitsubishi Electric Corp ロボットの作業動作最適化装置
WO2010004961A1 (ja) 2008-07-10 2010-01-14 シチズンマシナリー株式会社 ワーク加工装置及びワーク加工方法
WO2016056504A1 (ja) * 2014-10-07 2016-04-14 シチズンホールディングス株式会社 工作機械の制御装置
WO2016194748A1 (ja) * 2015-06-02 2016-12-08 シチズン時計株式会社 工作機械

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100645129B1 (ko) * 2003-07-04 2006-11-10 미쓰비시덴키 가부시키가이샤 자동 프로그래밍 방법 및 자동 프로그래밍 장치
JP4247264B2 (ja) * 2006-10-06 2009-04-02 ファナック株式会社 工作機械の制御装置
JP4465012B2 (ja) * 2008-01-31 2010-05-19 ファナック株式会社 搬入/搬出ロボットと協調動作する加工ラインシステム
JP4814365B2 (ja) * 2009-10-20 2011-11-16 ファナック株式会社 加工プログラムやバイナリデータが記憶されているメモリの領域を分割・結合することが可能な数値制御装置
CN102640112B (zh) * 2009-12-28 2015-05-13 三菱电机株式会社 程序制作支援装置
CN101794147A (zh) * 2010-02-25 2010-08-04 北京理工大学 一种基于扰动事件驱动的车间作业动态调度方法
US10295976B2 (en) * 2013-02-22 2019-05-21 Mitsubishi Electric Corporation System development device, system development method, and system development program
JP6122048B2 (ja) * 2015-02-20 2017-04-26 ファナック株式会社 待ち合わせ相手の制御系を判別する数値制御装置
JP6709210B2 (ja) * 2015-03-13 2020-06-10 シチズン時計株式会社 工作機械
CN104965745B (zh) * 2015-07-10 2018-10-19 四川长虹电器股份有限公司 空调器系统程序更新装置和方法
JP6616164B2 (ja) * 2015-11-13 2019-12-04 Dmg森精機株式会社 数値制御装置および数値制御装置を備える工作機械
WO2018138871A1 (ja) * 2017-01-27 2018-08-02 三菱電機株式会社 選択装置、選択方法及びプログラム

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56101206A (en) * 1980-01-17 1981-08-13 Nachi Fujikoshi Corp Control device for robot
JP2009125920A (ja) * 2007-11-28 2009-06-11 Mitsubishi Electric Corp ロボットの作業動作最適化装置
WO2010004961A1 (ja) 2008-07-10 2010-01-14 シチズンマシナリー株式会社 ワーク加工装置及びワーク加工方法
WO2016056504A1 (ja) * 2014-10-07 2016-04-14 シチズンホールディングス株式会社 工作機械の制御装置
WO2016194748A1 (ja) * 2015-06-02 2016-12-08 シチズン時計株式会社 工作機械

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3582040A4

Also Published As

Publication number Publication date
KR20190134679A (ko) 2019-12-04
ES2939966T3 (es) 2023-04-28
EP3582040A4 (en) 2020-12-16
EP3582040B1 (en) 2023-01-11
CN110431497A (zh) 2019-11-08
US20200209835A1 (en) 2020-07-02
TW201843548A (zh) 2018-12-16
US11054809B2 (en) 2021-07-06
EP3582040A1 (en) 2019-12-18
KR102481220B1 (ko) 2022-12-23
JPWO2018180004A1 (ja) 2020-02-06
TWI753130B (zh) 2022-01-21
JP6924259B2 (ja) 2021-08-25

Similar Documents

Publication Publication Date Title
KR101949623B1 (ko) 공작 기계의 제어 장치
US20120258647A1 (en) Gear cutting machine
KR102066583B1 (ko) Plc 셋팅 제어를 이용한 자동 호빙머신
JP2004058227A (ja) 数値制御旋盤における工具選択方法及び制御装置
KR100809106B1 (ko) 자동 선반, 자동 선반 제어 방법 및 자동 선반 제어 장치
WO2018180004A1 (ja) 工作機械の制御装置
TW200604404A (en) Stepped embroidery machine
CN111095142B (zh) 机床
JPH03196310A (ja) 数値制御装置の表示方式
US6909939B1 (en) Numerical control method and numerical control device
WO2016194748A1 (ja) 工作機械
US7136718B2 (en) Numerical control apparatus
JP7084906B2 (ja) 工作機械及び工作機械の制御方法

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: 18776610

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2019508761

Country of ref document: JP

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2018776610

Country of ref document: EP

Effective date: 20190910

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 20197031551

Country of ref document: KR

Kind code of ref document: A