[go: up one dir, main page]

WO1997037291A1 - Procede de correction des donnees de commande numerique par ordinateur - Google Patents

Procede de correction des donnees de commande numerique par ordinateur Download PDF

Info

Publication number
WO1997037291A1
WO1997037291A1 PCT/JP1997/001089 JP9701089W WO9737291A1 WO 1997037291 A1 WO1997037291 A1 WO 1997037291A1 JP 9701089 W JP9701089 W JP 9701089W WO 9737291 A1 WO9737291 A1 WO 9737291A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
point
processing
cnc
command
Prior art date
Application number
PCT/JP1997/001089
Other languages
English (en)
French (fr)
Inventor
Masao Kamiguchi
Susumu Maekawa
Original Assignee
Fanuc Ltd
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 Fanuc Ltd filed Critical Fanuc Ltd
Priority to EP97914563A priority Critical patent/EP0829791A4/en
Priority to US08/952,781 priority patent/US6167325A/en
Publication of WO1997037291A1 publication Critical patent/WO1997037291A1/ja

Links

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/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
    • 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/41Numerical 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 interpolation, e.g. the computation of intermediate points between programmed end points to define the path to be followed and the rate of travel along that path
    • G05B19/4103Digital interpolation
    • 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
    • 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/33099Computer numerical control [CNC]; Software control [SWC]
    • 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/34096Approximate, replace curve, surface with circle, linear segments, least error
    • 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/35Nc in input of data, input till input file format
    • G05B2219/35012Cad cam
    • 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/35Nc in input of data, input till input file format
    • G05B2219/35051Data exchange between cad systems, cad and cam
    • 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/36043Correction or modification of program
    • 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/36048Verify, probe workpiece, if position deviation edit, modify program
    • 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/41Servomotor, servo controller till figures
    • G05B2219/41363Excess in error, error too large, follow up error
    • 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/50057Compensation error by probing test, machined piece, post or pre process
    • 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 method for correcting NC data for performing high-precision machining.
  • the machining error due to the following delay is within the allowable range and does not cause a special problem.However, when performing extra-high-precision machining, the machining error due to the following delay becomes a problem. obtain. Therefore, conventionally, in order to reduce the processing error due to the following delay, a method has been adopted in which the processing speed is reduced to such an extent that the processing error due to the following delay is within an allowable range.
  • An object of the present invention is to provide a CNC data correction method for obtaining NC data capable of processing a workpiece with high accuracy.
  • the method for correcting CNC data of the present invention comprises the steps of (a) performing machining with a CNC machine tool based on the created NC machining data, and transmitting each block of the NC data from the CNC to the CNC machine tool; Obtaining actual machining position data corresponding to the command position at the start point or end point, and obtaining an error between the command position at the start point or end point of each block of the NC machining data and the actual load position; (b ) A step of obtaining a data correction amount based on the error, and (c) Starting from the command position of the start point or end point in the NC machining data, the command position of the start point or end point of the block and corresponding thereto.
  • the point advanced by the data correction amount obtained in (b) above in the direction opposite to the actual processing position on the straight line connecting the actual processing position Starting point of Other includes the steps of setting the command position of the corrected at the end point.
  • the above error itself becomes a data correction amount (i.e., with respect to the commanded position of the start or end point of one block, the commanded position obtained by correcting the actual machining position of the point and the position of the point target). Becomes a data correction amount (i.e., with respect to the commanded position of the start or end point of one block, the commanded position obtained by correcting the actual machining position of the point and the position of the point target). Becomes
  • the block of NC machining data is CAD
  • the straight line that connects the command position of the start point or end point in the NC data and the corresponding actual machining position in the NC data consists of a curve created using the curve as a continuous minute line. The normal to the above curve.
  • the current position of the movement command and the actual machining position are obtained during the distribution period of the movement command during the processing by the CNC machine tool, and the current position of the movement command obtained for each of the distribution periods is obtained.
  • One of them is selected as the command position at the start or end point of one block of NC data, and the actual machining position corresponding to the current position of the selected movement command is set to that block.
  • the load on the feed axis or the spindle at the start or end point of each block of the NC data is determined, and the data correction amount is determined based on the load and the above error. decide.
  • the present invention Since the present invention has the above configuration, it is possible to correct NC data in consideration of machining errors due to servo delay in advance. Therefore, if machining is performed using this corrected NC data, the actual delay of the servo system will be canceled by the correction amount, and as a result, the processed shape of the processed work will reach the target Will match with high precision.
  • FIG. 1 explains the relationship between CAD data and NC data.
  • FIG. 2 is an explanatory diagram of a method of generating NC data from CAD data overnight.
  • FIG. 3 is an explanatory diagram of CAD data and actual machining position data.
  • FIG. 4 is an explanatory diagram of the modified NC data according to the embodiment of the present invention.
  • FIG. 5 is an explanatory diagram of a table useful for command data, actual position data, and load data according to the embodiment of the present invention.
  • FIG. 6 is an explanatory diagram of a table for obtaining a modified NC data overnight according to the first embodiment of the present invention.
  • FIG. 7 is a processing flowchart for obtaining a modified NC data in the first embodiment of the present invention.
  • FIG. 8 is a configuration diagram of a communication network system to which the embodiment of the present invention is applied.
  • FIG. 9 is a flowchart showing an outline of the information input / output processing in the CNC device.
  • FIG. 10 is a flowchart showing an outline of the information transfer process in the CNC device.
  • FIG. 11 is a flowchart schematically showing another embodiment of the information transfer process in the CNC device.
  • FIG. 12 is a flowchart showing an outline of the processing of the RS232C / Ethernet converter.
  • Fig. 13 shows information input / output processing in the host computer. It is a flowchart showing the outline of the above.
  • NC data is created from a machining shape composed of a spline curve created by a CAD system. It is characterized in that the machining is performed more and the NC data is corrected using the machining error generated there. As a result, corrected NC data with extremely small machining errors is created.
  • a straight line connecting one point C j on the spline curve and the next point C j + 1 is a spline curve between the two points and a set value (for example,
  • C 1 is S 1
  • C 2 is S 2
  • C 4 is S 3
  • C 5 is S 4
  • C 6 is S 5
  • C 7 is S 6
  • C 7 is S 6 9
  • C 12 corresponds to S 8.
  • Figure 3 shows the actual tool position P i corresponding to the start point (end point) S i and the corresponding CAD data points
  • the corrected NC data is created using the CAD data, the amount of information is very large, so that the command data obtained from the numerical control device (CNC device) and the actual machining position data are obtained.
  • CNC device numerical control device
  • One night is sent to the host computer, and the NC data is corrected by this host computer to obtain NC data with high machining accuracy.
  • FIG. 8 is a conceptual diagram of a factory 'automation network system as a communication network to which the first embodiment of the present invention is applied. This will be described below with reference to FIG.
  • a plurality of host computers such as first and second host computers 1 and 2 are connected via an Ethernet 3 as a data transmission path. You.
  • CNC equipment such as multiple machine tools (Computerized Numerical Control) l er)
  • Each of the powers 4 to 7 is connected to the Ethernet via the RS-232C cable 10-13 and the RS232CZ Ethernet converter 14-17.
  • the second host computer 1.2 is a computer having different applications, for example, the first host computer 1 is a production management computer.
  • Computer 2 and a second tree computer 2 is a host computer for CADZCAM.
  • the RS232CZ Ethernet converters 14 to 17 function as transceivers having data transmission / reception and collision detection functions.
  • a CNC device 8 or a laser measuring device or a three-dimensional measuring device 9 having an interface for Ethernet the interface can be directly connected to the Ethernet. Therefore, there is no need to interpose an RS232C / Ethernet converter.
  • Many CNC devices are equipped with an interface for RS232C for compatibility with conventional data input / output devices such as tape reader / floppy drive, There are also laser measuring devices and CNC devices that are equipped with an interface for Ethernet from the beginning.
  • Each of the CNC devices 4 to 8 includes a keyboard having a key for manual data input, a character key, a cursor movement key, and the like, and a display screen for displaying information.
  • the display information transferred from the first and second host computers 1 and 2 that drive and control each part of the wire electric discharge machine, the injection molding machine, etc. to the CNC devices 4 to 8 is as follows. There are a menu selection screen for selecting processing operation items to be executed, a file search screen for searching various guide information, and a product floor plan.
  • a line is connected between the CNC device and the host computer via the RS232CZ Ethernet converter, and data is sent and received between the CNC device and the host computer.
  • the processing up to the execution of the process will be described with reference to FIGS. 9, 12, and 13 (the processes shown in the flowchart of FIG. 9 are executed by the CPUs of the CNC devices 4 to 8).
  • Information input / output processing Starts when a communication dedicated screen display command is input from CNC devices 4 to 8.
  • the process shown in the flowchart of FIG. 12 is a process continuously and constantly executed by the CPU unique to each of the RS232C / Ethernet converters.
  • the processing shown in the flowchart of Fig. 13 is the information input and output that is continuously and constantly executed by the CPUs of the first and second host computers 1 and 2. Processing.
  • the CNC device to be processed and the RS232C noise converter are assigned any one of the reference numbers 4 to 8 and 14 to 17 in the drawings. Since there is no need to specify this, the words of CNC equipment and RS232C / Ethernet converter are not given drawing reference numbers.
  • the CNC device that has started information input / output processing by operating the communication dedicated screen display request key establishes a communication line between the CNC device and the corresponding RS232CZ Ethernet converter. It is determined whether or not the RS232C / Ethernet converter has already initialized the port at this stage (step b1 in Fig. 9) (step b1 in Fig. 9). Step e 1. Processing immediately after the power is turned on), and the system is in a standby state waiting for the input of a host connection request signal from the CNC device (step e2). However, at this point, R The host connection request signal to the S232 CZ Ethernet converter is not output.
  • step b1 of FIG. 9 is N0.
  • the CNC device first stores the first host computer overnight 1 as the first connection target, and sends a host connection request signal to the RS232C / Ethernet converter.
  • Step b2 it is determined whether or not a line has been established between the CNC device and the RS232C / Ethernet converter (step b3). If the line has not been established, it is determined. The operation for establishing the line is repeated until the line is established or until a predetermined time elapses (step b15).
  • the discrimination processing in step b15 is an error avoidance processing for preventing the processing operation of the entire CNC device from being interrupted due to partial injuries such as a line abnormality.
  • the line between the CNC device and the RS232CZ Ethernet converter is established within the above-mentioned prescribed allowable time range, but step b due to cable connection mistakes etc. If the determination result of 15 is Yes, the line disconnection processing is performed as it is to complete the retrial operation for line connection (step b10), and the CNC device The overall function, for example, This prevents the drive control function of the entire machine tool from stopping.
  • the CNC device When a line is established between the CNC device and the RS232C / Ethernet converter, the CNC device connects the line to the host computer to be connected. And the initial menu selection screen request signal are output to the RS232C Ethernet converter (step b4), and the connection is made from the host computer to be connected. Wait for completion signal input detection. While waiting for the connection completion signal, the relay operation for establishing the line is repeated (step b16), but the connection from the host computer is completed even after waiting for the specified time. If no signal is input, disconnect the line (step b10) and stop the processing.
  • step b4 the initial menu selection screen request signal output from the CNC device to the RS232C / Ethernet converter in the processing of step b4 is converted to the RS232C noise Ethernet conversion.
  • the container is temporarily stored.
  • the RS232C / Ethernet converter which has detected the line connection command in the process of step e2 in FIG. 12, performs the first process corresponding to the process in step b2 in FIG.
  • the host computer 1 is selected as a connection target, and the line connection processing between the RS232CZ Ethernet converter and the host computer is started ( Step e 3) until the connection completion signal is input from the host computer (step e 4). (Step e11). If the connection completion signal is not input from the host computer even after the lapse of the predetermined time (step e11: Yes), the host computer side
  • the RS232CZ Ethernet converter requires a remote connection to establish a line, since the line is blocked for data transmission processing with other CNC devices. The operation is temporarily stopped, and the process shifts to the process of step e2 again, and enters a standby state waiting for input of a host connection request signal from the CNC device.
  • step f3 The initialization of the communication port has already been completed in the processing of step f1 in Fig. 13 (processing immediately after power-on), and the line connection request from the RS232CZ Ethernet converter has already been made at this point.
  • the host computer which has been waiting for a connection, detects a line connection request (see step e3) from the RS232C / Ethernet converter in the processing of step f2. Then, the line connection process between the RS232C / Ethernet converter is started (step f3), and until the line connection is successful (step f4), the line is established. Is repeated (step f9).
  • step f9 If the connection with the RS232C / Ethernet converter is not successful even after the lapse of a predetermined time (step f9) : Yes), the host computer stops the retrial operation, shifts to the processing of the step f2 again, and outputs the RS232C / A. To reenter the connection request signal from the sane Tsu Bok converter Enter the waiting state to wait.
  • connection completion signal is also transmitted to the CNC device side via the RS232CZ one-net converter, and is also detected in the process of step b5 on the CNC device side.
  • step f5 when the processing of step f5 is completed in the host computer to be connected, and in step e4 in the RS232C / Ethernet converter.
  • step b5 when the determination result in step b5 is Yes, a communication path between them is secured.
  • the RS232CZ Ethernet converter which has detected the connection completion signal from the host computer in the processing of step e4 in FIG. 12, then sends the host computer from the CNC device. It is determined whether or not there is data to be transmitted to the viewer (step e5). In this case, the request signal of the initial menu selection screen output from the CNC device in the processing of step b4 is stored in the RS232C Ethernet converter. The judgment result of 5 is Y es. Next, the RS232C noise converter determines whether or not this transmission data is a line disconnection request to the host computer. (Step e6).
  • step e6 the determination result of step e6 is N0, and the RS232C Ethernet converter uses a CNC.
  • the data from the device, that is, the request signal for the initial menu selection screen, is transferred to the host computer (step e7).
  • the host computer detects data input from the CNC device through the RS232CZ Ethernet converter, and requests the data.
  • the processing performed by the host computer in response to the above is collectively shown in step f6.
  • step f7 From the completion of the processing of step f5 to the input of the line disconnection request on the CNC device side (step f7), in short, the communication between the host computer and the CNC device While the line is established and not yet released, the host computer determines the request from the CNC device as soon as data is input from the CNC device, and responds to the request by using the various applications described above.
  • the processing of the case program will be executed in step f6.
  • the host computer since the initial menu selection screen request signal from the CNC device has been input, the host computer reads the first initial menu screen from the convenient device and reads this initial menu screen. This is output to the RS232 Ethernet converter of the CNC device that requested overnight.
  • the first initial menu selection screen is a work selection screen for selecting the work to be performed by the operator of the CNC device using the host computer. When this screen is displayed on the display screen of the CNC device and the operator operates the keyboard or the like of the CNC device and selects an item number corresponding to the desired operation, the item number is displayed. Further, when the enter key is operated, the value of the set item number is transmitted to the host computer via the SRS232CZ Ethernet converter.
  • various selection or setting screens are sequentially called via the initial menu selection screen, so that the operation on the CNC device side is performed.
  • the first operation is to select the first initial menu on the CNC device as the first operation. Must be displayed.
  • the host computer to be connected is always set to the first host computer 1 in the first access from the CNC device performed after turning on the power source.
  • the initial menu selection screen request signal is output from the CNC device together with the connection request to the first host computer 1 (see FIG. 9). See b2).
  • Step 8 Repeat step 8 and wait for data transfer from host computer. Then, when the RS232C / Ethernet converter detects the transmission of data from the host computer side in the processing in step e8, the RS232C / Ethernet converter detects these. (Step e 9) (Then , the CNC device performs the processing of Step b 6 in FIG. 9 to send the data from the RS232 Ethernet converter to the CNC device.) Detects data transfer, stores it, performs screen display processing, and then performs key input processing based on operator keyboard operations, etc., and performs specific input and output operations with the host computer.
  • Step b 7 The processing of this step b 7 is the same as the processing of step f 6 on the host computer side described above, and the operator power is 1 f It is continuously executed until the host computer switching key of the CNC device is operated. Market shares Lee Kuhan de state between the CNC device and the host co emissions Manipulator chromatography data is maintained.
  • step b8 the CNC apparatus first detects the switching via the RS232CZ Ethernet converter.
  • a line disconnection request is output to the host computer connected to the host computer, and the number of the host computer to be connected next (input in the processing of step b8) is output.
  • a line connection request is output to the corresponding host computer (step b13).
  • the RS232CZ Ethernet converter detects the line disconnection request from the CNC device in the processing of step e5 in Fig. 12 and sends this to the host computer disconnection request. Judgment is made (step e6), a line disconnection request is output (step e10) at the host console in the secret state, and step e is performed again. Return to step 2 and wait until there is data transfer from the CNC device. Then, upon receiving a line connection request to the next host computer again (the line connection request output in step b13), the CNC device is operated by the same line connection operation as described above.
  • step f8 the line disconnection request in the processing of stearyl-up f 7 of FIG 3 Is detected, and the connection to the RS232CZ Ethernet converter of the CNC device is cut off (step f8).
  • the system returns to the initial standby state.
  • the processing operations performed by the newly connected host computer are different with respect to the display of the menu screen and the configuration of the application program, the overall operation is different.
  • the basic processing and operation flow are the same as those of the host computer described above (the host computer that has been connected up to now). Is omitted.
  • the initial menu selection screen is provided for each host computer, and the initial menu selection screen for host computer 2 is a processing schedule user. Menus such as file reference, NC data request, machining instruction reference, and alarm guidance.
  • step b14 the information input / output processing is completed (step b14), and processing such as tool trace drawing and processing program editing performed on the CNC device side or processing control of the machine tool is started.
  • the screen number of the host computer When the screen number of the host computer is stored when moving to another screen, the screen number of the host computer displayed before that when the communication-only screen is selected again is stored. This is to return to the screen.
  • the CNC unit uses the RS232CZ Ethernet converter to display the screen number of the host computer before moving to the CNC dedicated screen (the one stored in the processing of step b14). ) (Step b11), which was detected in the discrimination processing of step e5 in Fig. 12, RS232C / Ethernet.
  • the cut converter outputs a screen transfer request to the host computer (step e7).
  • the host computer which has detected this request in the process of step f6 in FIG. 13 outputs the corresponding screen data to the RS232CZ Ethernet converter.
  • the RS232C noise converter detects this in the processing of step e8 and transfers this data to the CNC device (step e9).
  • the CNC device that receives this data displays the screen in the processing of step b12 and returns to the state before moving to the CC dedicated screen.
  • step b8 and step b9 in FIG. 9 become N0.
  • the end of the communication function is inevitably selected, and the CNC unit connects the host computer to the RS232CZ Ethernet converter. And the connection between the RS232C / Ethernet converter and the CNC device is cut off to return to the initial state (step b10), and all data input / output processing is completed. .
  • the CNC device of the machine tool calls the host computer 2, displays the initial menu screen, and requests the NC data to be displayed on the initial menu screen. If you select, a screen requesting NC data is sent from the host computer overnight 2 to the CNC device. Then, after this screen is displayed, enter the NC data number and the host Computer 2 transmits the NC data (machining program) corresponding to the requested NC data number to the CNC device. (The CNC device receives and saves the NC data, and then issues a command to execute the NC data. Upon receipt, processing is started based on the NC data.
  • a one-way connection from the CNC device to the host computer A transmission process is performed overnight, that is, a process of transmitting data relating to the state of the CNC device, operation information of the machine tool, and the like.
  • data on the status of the CNC device is detected at a comparatively long sampling period, for example, every 30 seconds, and is transferred from the CNC device to the host computer.
  • the execution information and non-execution of the operation information of the machine tool of the CNC device is controlled by a sampling start command and a sampling end command written in the machining program being executed. Sampling is repeated every fairly short sampling period, for example every millisecond.
  • the host computer that collects these transfer data must always be the same, for example, a second host computer for CADZCAM. For this reason, before starting the machining control by the CNC device, the host computer switching operation described above is performed in advance, and the CNC device is connected to a predetermined host computer. Make sure it is connected.
  • This predetermined host computer is It is a server for overnight collection as well as a host computer for sending emergency messages.
  • the data transfer process relating to the status of the CNC device will be described with reference to the flowchart of FIG.
  • the processing shown in FIG. 10 is repeatedly executed by the CPUs of the CNC devices 4 to 8 at a predetermined cycle (for example, in units of 30 seconds).
  • the CNC device that has started sampling and transferring data related to the status of the CNC device first connects the CNC device with the RS232CZ Ethernet converter and the RS232 Ethernet converter. It is determined whether or not the connection between the socket converter and the host computer has been established (step c1. Step c2). Of course, in this case, the CNC The device and the host computer are connected. If the CNC device is not connected to the host computer, the operator may have incorrectly switched the host or may be aware of the connection as the sampling is not necessary. Since data transfer is impossible in any case, data transfer is impossible in any case, and all subsequent processing will be cancelled.
  • step c 3 the CNC device determines whether or not an emergency message has been input from the host computer. Is determined (step c3), and if no emergency message has been input, it is necessary to further transfer the machining state data from the host computer. It is determined whether or not the input of the request or the machining state data transfer from the CNC device to the host computer has already been started (step c 4). ).
  • the request for transfer of state data is a command when the host computer requests the CNC device to transfer the operation data of the machine tool.
  • the CNC machine will execute the current processing mode, the number of the currently executing processing program, and the state of the currently executing processing.
  • Data from the internal memory such as the code type of the robot, the presence / absence of an alarm, the type of alarm, the signal input / output status, and the current position of each axis of the machine tool (step c5).
  • a flag for disabling the data transfer processing by the manual operation of the operator is set (step c6), and a command is issued in advance from the host computer.
  • the status data of the CNC device collected in the process of step c5 is set in a buffer and transferred to the host computer at once (step C7), resets the flag. Sorted Allow transfer processing of data by Ma two Yu A Le operations operator in (Step-up c 8). These data are stored together with the current time in a log file for each CNC device installed in the host computer.
  • step c4 if a processing state data transfer request is detected in the determination processing in step c4, or if the processing state data transfer If the transfer has been started, the processing in step c5 relating to the transfer of the status data of the CNC device is canceled, and the CNC device sets the transfer request flag and performs the process in this cycle.
  • the processing is terminated (step c9), and the transmission of the operating information of the machine tool is started or continued by the data transmission processing of the operating information of the CNC machine tool described later.
  • the process of transferring operation information of machine tools has a higher priority than the process of transferring status data of CNC devices.
  • the CNC device transmits the message data (display content) and the display information (emergency message). In this case, a code for changing the display color is also included, and a special color is displayed.)
  • the operation mode of the CNC device is read. Is determined, and it is determined whether or not the display screen of the display input device of the device is used for an important work (step c11). For example, in the program edit mode or the tool path drawing mode, the likelihood that the display screen is used for data input is high, and thus the importance of using the display screen is determined to be high.
  • the operator is close to the CNC device and is performing program editing work and checking the operation of the tool path. Also, if the initial screen for menu selection is simply displayed or the numerical data of each axis is displayed during automatic operation, the operator does not perform any operation. , Or, start and Otherwise, there is a high possibility that the machine tool operation is left to the CNC machine and the operation of the machine tool is left, so it is judged that the importance of using the display screen is low.
  • the CNC device gives priority to the function of the display screen of the CNC device used at that time, and reads the emergency read in step c10.
  • the operator is often close to the CNC device, so that even if the display of the emergency message is small, the operator can grasp the emergency message.
  • the text data (or the emergency information) of the emergency information is finally obtained. (Graphic data) can be opened to switch to the content display.
  • step c12 when the importance of the use of the display screen is low, the CNC device is not used by the operator because the function of the display screen of the CNC device is hardly used by the operator. Immediately expands the text data (or graphic data) of the emergency message read in step 10 and displays it in a large area on the entire display screen. In this case, since the operator is likely to be away from the CNC device, the larger the message display is, the more important it is to alert the operator and to pay attention to the emergency message. Good (step c12).
  • step c3 when an emergency message from the host computer is detected in the processing of step c3, the state data transfer processing of the CNC device (step c5) And the processing for setting the transfer request flag (step c9) to non-execution. After reading of the emergency message is completed, the host Data transfer to the evening is possible. Therefore, there is no necessity to end the processing after the execution of step c12. Naturally, the processing shifts to the processing of step c4 after the execution of step c12. It is also possible to continue the subsequent processing.
  • a sample is placed at the start block position of the section that requires a high-accuracy machining shape.
  • the M code of the ring start command is added to the machining program, and the sun position is added to the block position after the end of this section.
  • the initial value of the measurement state storage flag is initially set to “0” indicating that measurement is not being performed, and the values of the index i indicating the total number of samples and the index j indicating the number of transferred samples are 0. Initially set to
  • step d1 and step d2 are both No, and the currently read statement is the sample open even if the M code of the sample end command is used. If the M code of the start command is not set and the useful flag for measuring status is not set, then the CNC device sets the additional status data transfer request flag (see Fig. 10). It is determined whether or not it has been cut (step d8). If the transfer request flag has not been set, the CNC device terminates the operation information transfer process in this period as it is.
  • step d1 step d2
  • step d9 step d in the operation information transfer processing in each cycle. Repeating only the judgment processing of 8 It will be. If a processing state data transfer request is received from the host computer during this period, the processing after step d9 will be performed.
  • the driving information is empty data.
  • the processing state data transfer request it is determined whether or not the value of the index i is larger than 0, and only when the value is larger than 0, the processing after step d9 is performed. May be.
  • step d3 the CNC device increments the value of the index i indicating the total number of samplings by one (step d3), and calculates the current position calculated by the feedback signal from the machine tool.
  • the current position register value (actual cost) of each axis that indicates the current position P is added to the command value distributed to each axis and the command position is stored.
  • the value s before the addition and the current load value of each feed axis (the value estimated by the actual current or the observer) t are read (step d4), and the operation information storage file corresponding to the value of the index i is read. This data was harmed to the storage area of the file (see Figure 5). Tsu-flops d 5), the measurement state storage Flag cell Tsu Tosuru (Step-up d 6).
  • step d1 or step d6 is repeatedly executed, and the operation information storage file is stored.
  • the operating information for each sampling cycle is written in the area one after another. You will be absorbed.
  • the setting status of the machining status data transfer request flag is not checked, so even if a machining status data transfer request is input from the host computer, No processing related to the transfer of operating information is performed.
  • the flag setting for the machining state data transfer request is performed by the above-mentioned state data transfer process (Fig. 10), so the flag setting itself is possible.
  • the processing related to the transfer of driving information can be started after the completion of the sampling processing.
  • the M code for the sample start command and the M code for the sample end command can be written as a statement at any position in the machining program. It is possible to arbitrarily set the sampling section on the machining path, using the EB as the minimum unit.
  • the CNC device stores the measurement state storage flag.
  • the reset is performed (step d7), and it is determined whether or not a processing state data transfer request from the host computer has been input during the sampling process (step 8). If a machining state data transfer request has not been detected, there is no need to transfer the sampling data, and the CNC device keeps the data sampled so far in the useful file for driving information and performs the cycle. Terminates the operation information transfer processing. Therefore, in such a situation, When the M code of the sample start command is read again, the data of the next sampling section is continuously written from the storage area next to the current value of index i in the same manner as above. Will be.
  • step d9 the flag for setting the prohibition state is set (step d9), and the driving information is recorded in accordance with the data format commanded by the host computer in advance.
  • step d10 sets of data stored in the file are set in the knocker, transferred to the host computer (step d10), and the value of the index j is set. After incrementing by ⁇ and updating the value of the number of transferred data j (step d11), the flag is reset to allow manual operation of the operator. Then, the data transfer processing is permitted (step d12).
  • the CNC device determines whether or not all the data in the operation information storage file has been transferred to the host computer (whether or not j ⁇ i). If all data has been transferred, reset the machining status data transfer request and the value of index i and '' to clear the contents of the operation information storage file. (Step d 1), the operation information transfer process for the period is ended.
  • the number of data that can be transmitted is limited (for example, n) depending on the capacity of the transmission path. Since the above sampling interval may be quite long, there is no guarantee that all data can be transferred in one transfer operation.
  • step d10 when the data cannot be completely transferred in the processing of step d10, that is, when the determination result of step d13 is N0, the CNC device performs the block rotation.
  • the transmission request, the values of indices i and ⁇ , and the contents of the operation information storage file are kept as they are, and the remaining data is transferred in the processing after the next cycle.
  • step d1 2 is repeated and executed, and n sets of operation information are transferred to the host computer every processing cycle, and finally, all data transfer is completed.
  • step d14 the machining state data transfer request and the index i and "are reset to clear the contents of the operation information storage file.
  • the sampling data is written to the other driving information storage file while the file data is being transferred, a new sample can be started during the transmission of the driving information storage file. Even if the M code of the command is read, this can be dealt with.
  • the second host computer 2 has: Command current position (the value of the command current position register before the command value of the distribution cycle is added) si (X s to Y si, Z si), actual machine position (current position register value) P i ( X pi, Y pi. Z pi), load present value (actual current or value estimated by observer) ti (X ti, Y ti, Z ti) force Stored in table T 1 as shown in Fig. 5. Is done. Since this command current position data si is a position for each movement command distribution cycle, it always includes the start point (end point) S i of one block of NC data.
  • the host computer 2 When the NC data correction command is input to the second host computer 2, the host computer 2 starts the processing shown in FIG. 7 and outputs the CAD data corresponding to the NC data. Find the current command position s (command position for each distribution cycle) corresponding to each point C j of. As described above, the starting point and ending point S i of one block of NC data are set to any point C ”of the CAD data, so that the starting point and the ending point S i of the block can be obtained from the command current position s that is commanded for each distribution cycle. It can be.
  • step a 2 it is useful for table T 2 (step a 2).
  • the normal at the point S i on the spline curve of the CAD data is obtained from the CAD data, and the position S ′ i at which the actual position P ⁇ is substantially point-symmetric with respect to the point S i on this normal is obtained. .
  • point S ′ i at which the actual position P ⁇ is substantially point-symmetric with respect to the point S i on this normal is obtained.
  • this corrected NC data is sent to the CNC information of the machine tool using the communication method described above and processing is performed, the corrected NC data is taken into account as a data correction amount for the position error caused by the delay of the servo system. Since this correction is created, this correction amount and the delay of the actual servo system cancel each other, and the actual machining shape approaches the shape of the CAD data, and a highly accurate machining shape with few errors can be obtained. Furthermore, the absolute value t'i of the load ti (Xti, Yti, Zti) of the feed shaft, where
  • the above correction may be performed in consideration of the above.
  • the weight Q i for each point S i at the start point (end point) is obtained from the absolute value of the load t ′ i, and the weight Q i is multiplied by the error di to obtain an error d ′ i for correction. Then, the point S ′ i corrected in step S 3 is determined.
  • the division weight Q i is used, and this weight Q i is multiplied by the error di to obtain a correction error d ′ i.
  • a set value ⁇ (for example, a value approximately 0.5 to 2 times the average load value) is used. ) May be used to derive the weight Q i by dividing the absolute value t ⁇ of the load value at each point.
  • the load data may be obtained not as a load value for each axis but as a load value applied to the spindle, and the weight may be obtained based on the spindle load data.
  • the spindle load data may be used instead of the absolute value t'I of the load t i.
  • the modified CNC data is generated by calculating the data correction amount.
  • the processing speed may be changed according to the magnitude of the load.
  • the average value of the absolute value t'i of the load ti is obtained, and the machining speed is changed according to the magnitude of this average value (that is, if the average value is large, the machining speed May be modified to slow down the NC data).
  • the absolute value t'i of the load ti is displayed on a display device or the like, and the processing speed is reduced for blocks with a large load, and the processing speed is increased for blocks with a small load.
  • Modified CNC data may be generated by inputting a speed change command such as an age-variable command.
  • NC data is created from CAD data, and the created NC data is corrected for high-precision machining using the CAD data.
  • the NC data can be created from the CAD data, or the NC data can be corrected for high-precision machining without using the CAD data.
  • the NC data can be corrected for high-precision machining without using the CAD data.
  • an example in which such NC data is corrected without using CAD data will be described below as a second embodiment.
  • Command current position (before the command value of the distribution cycle is added)
  • an error di (Xdi, Ydi, Zdi) corresponding to the starting point (ending point) S i (X si, Y si, Z si) of each block is obtained (corresponding to step a 2).
  • the error is added for each axis to obtain a corrected point S'i (Xs'i. Ys'i, Zs'i) (corresponding to step a3). That is, by adding the error of each axis,
  • the corrected point S'i is obtained. If the error Xdi, Ydi, Zdi of each axis is positive, the corrected values of each axis Xs'i, Ys'i, ⁇ s'i are the starting point (end point) of each block. The value of each axis of S i is larger than X si, Y si. ⁇ si.
  • the corrected point S ′ i is a point symmetric position of the actual position P i with respect to the start point (end point) S i of each block.
  • corrected NC data is created based on the corrected points S ′ i (corresponding to step a4), machining errors will occur due to the delay of the servo system as in the first embodiment.
  • the command position of the NC data is corrected by the following delay, so that the delay of the servo system is canceled out, and the tool path becomes the same as that of the NC data before the correction. It is close to the block and has small machining errors.
  • the load value X ti is divided into weights X qi.
  • weight Y qi X ti / ⁇ (X ti + X t2 +... + X tn) / n ⁇
  • weight Y qi of each point on the Y axis weight Z qi of each point on the Z axis Is as follows.
  • the weights X qi, Y qi, and Z qi may be obtained by dividing the load values X ti, Y ti, and z ti at each point. .
  • the sampling of the operation information is stored in the host computer.
  • the processing shown in Fig. 7 above may be executed by the processor of the CNC device to create corrected NC data. No.
  • the CNC device since the CAD data is not used at least at the time of NC data correction, the CNC device itself does not need to perform the above-described NC data correction processing at the host computer. You may do so.
  • the command current position, actual position, and load value for each distribution cycle are obtained, and the start point (end point) of each block of the NC data is determined from the command current position.
  • the position was obtained, but only during the next distribution cycle after all the movement commands for one block have been output, the value of the command current value register before adding the distribution movement command (command current value ),
  • the actual position and the load value may be read and stored. In this case, since the actual position and load value of the start point (end point) of each block of the NC data can be obtained directly, the number of data to be processed is small.

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Computing Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Numerical Control (AREA)

Description

明 細 害
C N C データ補正方法
技 術 分 野
本発明は、 高精度な加工を行うための N C データの補 正方法に関する。
背 景 技 術
C データ に基づいて工作機械の各軸を駆動するサー ボモータへの移動指令がサーボ系に指令された後、 サー ボ系でサーボ処理がなされ、 各軸のサーボモータは駆動 され、 加工が実行される。 しか し、 高精度な加工を行う 場合にはサーボ系の遅れが問題になる。 サ一ボ系の遅れ のため、 実際の工具軌跡は N Cデータで指令された加工 ブロ ッ クのパスと は異なる軌跡とな り、 加工誤差が生 じ る。
通常の加工ではこの追従遅れによ る加工誤差は許容範 囲内にあ って格別問題とはならないが、 特別高精度な加 ェを行う場合には、 この追従遅れによる加工誤差は問題 とな り得る。 そこで、 従来は、 この追従遅れの加工誤差 を少な く するために、 追従遅れによ る加工誤差が許容範 囲になる程度まで加工速度を下げて加工を行う方法が採 用されている。
しか し、 加工速度を低下させれば当然に加工時間が長 く な り、 また、 適切な加工速度を試行錯誤で探すとする とかな り の時間がかかるなどの問題があ って、 高精度で かつ高能率な加工を実行させるため N C プログラム中の データを適切に修正する こ とは容易ではなかっ た。
発 明 の 開 示
本発明の目的は、 加工対象物の加工を高精度にでき る N C データを得る C N C データの修正方法を提供する こ と にある。
上記目的を達成するため、 本発明の C N C データ修正 方法は、 (a ) 作成された N C加工データのも とで C N C 工作機械で加工を行っ て、 C N C から上記 N C デー夕の 各ブロ ッ クの始点または終点における指令位置に対応す る実際の加工位置データを得て、 その N C加工データの 各ブロ ッ クの始点または終点における指令位置と実際加 ェ位置との誤差を求める段階と、 (b ) その誤差に基づい てデータ補正量を求める段階と、 (c ) 上記 N C加工デー 夕 における上記始点または終点の指令位置を起点と して、 上記ブロ ッ クの始点または終点の指令位置とそれに対応 する実際の加工位置とを結ぶ直線上を、 上記実際の加工 位置とは逆の方向に、 上記(b ) で求めたデータ補正量だ け進んだ点を、 上記 N C加工データの当該ブロ ッ クの始 点または終点における修正後の指令位置に設定する段階 とを含む。
好ま し く は、 上記誤差そのものがデータ補正量となる ( すなわち、 1 ブロ ッ クの始点または終点の指令位置に関 してその点の実際の加工位置と点対象の位置が補正され た指令位置となる。
好ま し く は、 N C加工データのブロ ッ ク は、 C A D を 利用 して作成された曲線を連続する微小直線と したもの からな リ、 N C データにおける上記始点または終点の指 令位置とそれに対応する実際の加工位置とを結ぶ直線は. その始点または終点での上記曲線の法線とする。
好ま し く は、 C N C工作機械で加工を行う間に移動指 令の分配周期每に移動指令の現在位置と実際の加工位置 とを求め、 これら分配周期毎に求めた移動指令の現在位 置のう ちの 1 つを、 N C データの 1 ブロ ッ クの始点また は終点における指令位置と して選択 し、 かつその選択さ れた移動指令の現在位置に対応する実際の加工位置を、 そのブロ ッ クの始点または終点における実際の加工位置 データ とする。
さ らに好ま し く は、 さ らに、 N Cデータの各ブロ ッ ク の始点または終点における送り軸または主軸にかかる負 荷を求めて、 この負荷と上記誤差とに基づいてデータ補 正量を決定する。
本発明は以上の構成を備えるので、 サーボ遅れによる 加工誤差をあらか じめ考慮 した N C データの修正が可能 である。 したがっ て、 この修正された N C データを用い て加工を行えば、 実際のサーボ系の遅れはその修正量で も って打ち消されて、 その結果、 加工されたワ ークの加 ェ形状は目標とする形状に高い精度で一致する こ と と な る。
図 面 の 簡 単 な 锐 明
図 1 は C A D データ と N Cデータの関係を説明する説 明図である。
図 2 は C A Dデ一夕よ り N Cデータを生成する方法の 説明図である。
図 3 は C A Dデータと実際の加工位置データとの説明 図である。
図 4 は本発明の実施の形態による修正 N Cデータの説 明図である。
図 5 は本発明の実施の形態における指令データ、 実際 の位置データ及び負荷データを記慷するテーブルの説明 図である。
図 6 は本発明の第 1 の実施の形態における修正 N Cデ 一夕を得るためのテーブルの説明図である。
図 7 は本発明の第 1 の実施の形態における修正 N Cデ 一夕を得るための処理フ ローチ ヤ一 卜である。
図 8 は本発明の実施の形態を適用 した通信ネッ 卜ヮー ク システムの構成図である。
図 9 は C N C装置における情報入出力処理の概略を示 すフ ローチ ヤ一 卜である。
図 1 0 は C N C装置における情報転送処理の概略を示 すフ ロ ー チ ャ ー トである。
図 1 1 は C N C装置における情報転送処理の他の実施 形態の概略を示すフ ロ ーチ ヤ一 卜である。
図 1 2 は R S 2 3 2 C /イ ーサネ ッ 卜変換器の処理の 概略を示すフ ロ ー チ ヤ一 卜である。
図 1 3 はホス ト コ ン ピュ ータにおける情報入出力処理 の概略を示すフ ロ ー チ ヤ一 卜である。
発明を実施す る た めの最良の形態
A. 第 1 実施形態の説明
本発明の第一の実施の形態は、 C A D システムによ つ て作成されたスプライ ン曲線で構成される加工形状から N C データを作成する こ と、 さ らに、 こ の作成された N C データによ り加工を実行 し、 そこで生 じた加工誤差を 用いてその N C データを修正する こ とを特徴とする。 そ の結果、 加工誤差が極めて小さい修正済み N C データが 作成される。
( a ) N C データの修正方法の原理の説明
本発明の第 1 実施形態による N C データの修正方法の 原理を以下に説明する。
N Cデータを作成するための C A Dデータは、 図 1 に 示すよ う に、 スプラ イ ン曲線の点群 C j ( X cj, Y cj, Z cj) ( j = 1 , 2, 3 ……) でも って定義される。 N Cデータは、 このスプラ イ ン曲線を微小長さの直線 (後 述する よ うに、 図 2 において、 点 S i と点 S i + 1 とをつ な ぐ線分) の連続 したものと定義する こ とによ り、 作成 される。
スプライ ン曲線上の 1 点 C j とその次の点 C j + 1 とを 結ぶ直線が両点間のスプラ イ ン曲線と設定値 (例えば、
1 μ m ) 以上の偏差 ε を有するかどうか判断する。 も し 設定値以上の偏差 ε がなければ、 さ らに、 上記点 C j と さ らにその次の点 C j +2 とを結ぶ直線がこれら両点間の スプライ ン曲線と設定値以上の上の偏差 ε を有するかど うか判断する。 それでも設定値以上の偏差 ε がなければ、 さ らに、 上記点 C j とさらにその次の点 C j + 3 とを結ぶ 直線がこれら両点間のスプライ ン曲線と設定値以上の上 の偏差 ε を有するかどうか判断する。 こう してついに、 図 2 に示すように、 上記点 C j と点 C j + k とを直線で結 んだとき、 その直線がは じめてこれら両点間のスプライ ン曲線とに設定値以上の偏差 ε が生じたとき、 これら点 C j 及び C j + k - 1 を N Cデータの 1 パス ( 1 ブロ ッ ク) の始点及び終点とする。
以上説明したように、 N Cデータの 1 ブロ ッ クを形成 する始点及び終点 S i ( X s i、 Y s i , Z s i ) ( i = 1 . 2 , 3 ……) はスプライ ン曲線上の点 C 」 から選ばれる。 図 1 で示す例では、 C 1 は S 1 に、 C 2 は S 2 に、 C 4 は S 3 に、 C 5 は S 4 に、 C 6 は S 5 に、 C 7 は S 6 に、 C 9 は S 7 に、 C 1 2 は S 8 に、 それぞれ対応している。
このように作成された N Cデータを C N C工作機械で 実際に加工を行ったとき、 始点 (終点) S i に対応する 実際の工具位置 P i を求め、 さらにこの指令位置の始点 (終点) S i と実際の位置 P i との誤差 d ( = S i 一
P i ) を求める。 図 3 に始点 (終点) S i に対応する実 際の工具位置 P i とこれに対応する C A Dデータの点
C j ( = S i ) を表している。 そ して、 始点 (終点)
S i に対応する C A Dデータの対応する点 C j ( = S i ) における法線を C A Dデータから求め、 この法線上にお いて点 P i が点じ 】 ( = S i ) に対 して略点対象となる 点 S ' i (点 C 」 から法線上で P i とは逆方向であ り誤 差 d 分移動 した点) を求めこの点 S ' i によ って修正さ れた N C データ とする。 図 4 にこの修正された点 S ' i の点列を示す。 この修正された N Cデータは、 サーボ系 の遅れによる誤差を C A Dデータの各点の法線上におい て逆方向に補正 した点によ って構成されているから、 こ の修正された N Cデータで加工を行う とサーボ系の遅れ によ って修正 した誤差分遅れ、 結局 C A D データのスプ ラ イ ン曲線に近い高精度の加工形状を得る こ とができる ( 以上のよう に、 本発明の第 1 の実施形態では、 C A D データを用いて修正 N C データを作成する こ とから情報 量が非常に多 く なる。 そのため、 数値制御装置 ( C N C 装置) から得られた指令データ、 及び実際の加工位置デ 一夕をホス 卜 コ ン ピュ ータに送信 し、 このホス 卜 コ ン ビ ユ ー夕で N C データの補正処理を行って加工精度の高い N Cデータを得る よう に している。
( 1 ) 通信ネ ッ ト ワーク についての説明
本発明の第 1 実施形態が適用される通信ネ ッ 卜 ワーク と してのフ ァ ク ト リ ー ' オー ト メ ー シ ョ ン · ネ ッ ト ヮー ク シ ス テムを、 図 8 の概念図を用いて以下に説明する。 第 1 , 第 2 のホス ト コ ン ピュ ータ 1 , 2 等の複数のホ ス 卜 コ ン ピュ ータがデータ伝送路と してのイ ーサネ ッ ト ( Ethernet) 3 を介 して接続される。 更に、 複数の工作 機械等の C N C装置 ( Computer i zed Numer ical Control l er) 4 ~ 7 の各々力、'、 夫々の R S 2 3 2 C ケーブル 1 0 - 1 3 および R S 2 3 2 C Zイ ーサネ ッ 卜変換器 1 4〜 1 7 を介 して、 イ ーサネ ッ ト 3 に接続される。 第 1 . 第 2 のホス ト コ ン ピ ュ ータ 1 . 2 は各々用途の異なる コ ン ピ ュ ー夕であ って、 例えば、 第 1 のホス ト コ ン ピ ュ ータ 1 は生産管理用のコ ン ピュ ータであ り、 第 2 の木ス 卜 コ ン ピュ ータ 2 は C A D Z C A M用のホス ト コ ン ピュ ータ である。
R S 2 3 2 C Zイ ーサネ ッ 卜変換器 1 4 ~ 1 7 は、 デ 一夕の送受信および衝突検出機能を備えた ト ラ ン シーバ と して機能する。 なお、 イ ーサネ ッ ト用のイ ンターフ エ ィ スを備えた C N C装置 8や レーザ測定器または 3 次元 測定器 9 においては、 そのイ ンターフ ヱ イ スを直接ィ ー サネ ッ 卜 に接続する こ とができ るので、 R S 2 3 2 C / イ ーサネ ッ ト変換器を介在させる必要はない。 テープ リ ーダゃフ ロ ッ ピー ドラ イ ブ等の従来のデータ入出力機器 との互換のために R S 2 3 2 C用のイ ン タ ー フ ェ イ スを 備えた C N C装置が多いが、 イ ーサネ ッ ト用のイ ンター フ エ イ スを初めから備えた レーザ測定器や C N C装置も ある。
C N C装置 4〜 8 は、 手動データ入力のためのテ ンキ 一や文字キーおよびカ ー ソ ル移動キー等を有するキーボ ー ドと情報表示のための表示画面とを備え、 該 C N C装 置 4〜 8 内に内蔵された C P U (マイ ク ロプロ セ ッ サ) や R O M, R A M等によ って、 制御対象となる工作機械, ワイ ヤ放電加工機、 射出成形機等の各部を駆動制御する 第 1 , 第 2 のホス 卜 コ ン ピュ ータ 1 , 2 から C N C装 置 4 〜 8 に転送される表示情報と しては、 実行対象とな る処理操作の項目を選択するためのメ ニ ュ ー選択画面や 各種のガイ ド情報を検索するためのフ ァ イ ル検索画面、 製品見取 り図等がある。
これらのメ ニ ュ ー選択画面ゃフ ア イ ル検索画面および 製品見取り図等を表示 した りするために必要と される作 業手続きの一部は、 第 1 , 第 2 のホス ト コ ン ピュ ータ 1 , 2 にアプ リ ケー シ ョ ンプログラムと して保存されている ( これらのアプ リ ケーシ ョ ンプロ グラムが C N C装置 4 〜 8 の要求によ り起動されることで、 既存のメ ニ ュ ー選択 画面や製品見取り図等を転送 した り、 更には、 第 1 , 第 2 のホス ト コ ン ピ ュ ータ 1 , 2 内の記憶装置を検索 し、 必要なデータを収集 した後で所定の処理手続きに従って バーグラ フ等を生成した り して、 これを C N C装置 4 〜 8 に転送 した り する。
( 2 ) C N C装置とホス ト コ ン ピ ュ ータ との間のデー 夕の送受までの処理
C N C装置とホス ト コ ン ピュ ータ とが R S 2 3 2 C Z イ ーサネ ッ ト変換器を介 して回線が接続され、 C N C装 置とホス ト コ ン ピュ ー夕 との間のデータの送受を行う ま での処理を、 図 9、 図 1 2 及び図 1 3 を用いて説明する ( 図 9 のフ ロ ーチ ャ ー ト に示す処理は、 C N C 装置 4 〜 8 の C P U によ り 実行される情報入出力処理であ っ て、 C N C装置 4 ~ 8 から通信専用画面表示指令が入力され る と開始する。
図 1 2 のフ ロ ーチヤ一 卜 に示す処理は、 R S 2 3 2 C /イ ーサネ ッ ト変換器の各々に固有の C P U によ って定 常的に継続して実行される処理である。
図 1 3 のフ ロ ーチ ャ ー ト に示す処理は、 第 1 、 第 2 の ホス ト コ ン ピ ュ ータ 1、 2 の C P U によ り 定常的に継続 して実行される情報入出力処理である。
なお、 以下に説明では、 処理の対象になる C N C装置 及び R S 2 3 2 C ノイ ーサネ ッ ト変換器が図面参照番号 の 4乃至 8、 1 4 乃至 1 7 のいずれを付されたものであ るかを特定する必要がないので、 C N C装置及び R S 2 3 2 C /イ ーサネ ッ ト変換器の語には図面参照番号を付 さない。
( a ) C N C装置とホス 卜 コ ン ピ ュ ータ と間の通信経 路が確立されるまで
まず、 通信専用画面表示要求キーの操作によ り情報入 出力処理を開始 した C N C装置は、 該 C N C装置と対応 の R S 2 3 2 C Zイ ーサネ ッ 卜変換器との間の通信回線 が確立しているか否かを判別する (図 9 のステップ b 1 ) , 既にこの段階で対応の R S 2 3 2 C /イ ーサネ ッ ト変 換器はポー 卜の初期化を完了 し (図 1 2 のステ ッ プ e 1 . 電源投入直後の処理) 、 C N C装置からのホス ト接続要 求信号の入力を待つ待機状態に入っ ている ( ステ ッ プ e 2 ) 。 しか し、 この時点では、 まだ、 C N C装置から R S 2 3 2 C Zイ ーサネ ッ ト変換器へのホス 卜接続要求信 号は出力されていない。
したがって、 R S 2 3 2 C /イ ーサネ ッ ト変換器と該 C N C装置との間の通信回線は閉鎖の状態 (接続 してい ない状態) にあるため、 C N C装置とホス 卜 コ ン ビユ ー 夕 との接続も行われていない。 よ って、 図 9 のステ ッ プ b 1 における判別結果は N 0 となる。
そこで、 C N C装置は、 まず、 第 1 のホス 卜 コ ン ビ ュ 一夕 1 を最初の接続対象と して記憶 し、 R S 2 3 2 C / イ ーサネ ッ 卜変換器にホス ト接続要求信号を出力する
(ステ ッ プ b 2 ) 。 そ して、 該 C N C装置と R S 2 3 2 C /イ ーサネ ッ 卜変換器との間の回線が確立したか否か を判別するが (ステッ プ b 3 ) 、 回線が確立していなけ れば、 この回線が確立する力、、 または、 所定時間が経過 するまでの間 (ステ ッ プ b 1 5 ) 、 回線確立のための動 作を繰り返す。
なお、 ステ ッ プ b 1 5 の判別処理は回線異常等の部分 的な陣害によ って C N C装置全体の処理動作が滞って し ま うのを防止するためのエラ ー回避処理である。 通常、 前述の所定許容時間の範囲で C N C装置と R S 2 3 2 C Zイ ーサネ ッ ト変換器との間の回線が確立されるが、 ケ 一ブルの接続ミ ス等の理由でステ ッ プ b 1 5 の判別結果 が Y e s となった場合には、 そのま ま回線切断処理を行 つて回線接続のための リ ト ライ アル動作を完了 させ (ス テ ツ プ b 1 0 ) 、 C N C装置の全体的な機能、 例えば、 工作機械全般の駆動制御機能が停止するのを防止する。
C N C装置と R S 2 3 2 C /イ ーサネ ッ 卜変換器との 間の回線が確立する と、 C N C装置は、 接続対象となる ホス ト コ ン ピ ュ ー夕 との間で回線を接続するための指令 と初期メ ニ ュ ー選択画面要求信号と を R S 2 3 2 C ィ ーサネ ッ ト変換器に出力 し (ステ ッ プ b 4 ) 、 接続対象 となるホス ト コ ン ピュ ー夕からの接続完了信号の入力の 検出を待つ。 接続完了信号を待つ間は回線確立のための リ 卜 ラ イ アル動作を繰 り返すが ( ス テ ッ プ b 1 6 ) 、 所 定時間待ってもホス ト コ ン ピュ ータからの接続完了信号 が入力され来なければ、 回線を切断 して (ステ ッ プ b 1 0 ) 処理を停止する。
なお、 ステ ッ プ b 4 の処理で C N C装置から R S 2 3 2 C /イ ーサネ ッ 卜変換器に出力された初期メ ニ ュ ー選 択画面要求信号は R S 2 3 2 Cノイ ーサネ ッ 卜変換器が 一時的に保存する。
( b ) R S 2 3 2 C ノイ ーサネ ッ ト変換器がホ ス ト コ ン ピュ ー夕 と回線接続するまで
図 1 2 のステ ッ プ e 2 の処理で回線接続指令を検出 し た R S 2 3 2 C /イ ーサネ ッ ト変換器は、 図 9 の ス テ ツ プ b 2 の処理に対応 して第 1 のホス 卜 コ ン ピュ ータ 1 を 接続対象と して選択 し、 該 R S 2 3 2 C Zイ ーサネ ッ ト 変換器とホス ト コ ン ピュ ー夕 との間の回線接続処理を開 始 し ( ステ ッ プ e 3 ) 、 ホス ト コ ン ピュ ータからの接続 完了信号が入力される まで (ステ ッ プ e 4 ) 回線確立の ための動作を繰 り返す (ステ ッ プ e 1 1 ) 。 なお、 所定 の時間が経過 してもホス ト コ ン ピ ュ ータからの接続完了 信号が入力されないと きは (ステ ッ プ e 1 1 : Y e s ) ホス ト コ ン ピ ュ ータ側の回線が他の C N C装置との間の データ伝送処理のために塞がっているこ とを意味するの で、 R S 2 3 2 C Zイ ーサネ ッ ト変換器は、 回線確立の ための リ 卜 ラ イ アル動作を一旦中止 して再びステ ッ プ e 2 の処理へと移行 し、 C N C装置からのホス 卜接続要求 信号の入力を待つ待機状態に入る。
( c ) ホス ト コ ン ピュ ータが R S 2 3 2 C /イ ーサネ ッ 卜変換器との接続を開始するまで
図 1 3 のステ ッ プ f 1 の処理で既に通信ポー ト の初期 化を完了 し (電源投入直後の処理) 、 既にこの時点で R S 2 3 2 C Zイ ーサネ ッ ト変換器からの回線接続要求を 待機していたホス ト コ ン ピュータ は、 ステ ッ プ f 2 の処 理で R S 2 3 2 C /イ ーサネ ッ 卜変換器からの回線接続 要求 (ステ ッ プ e 3 参照) を検出 して、 R S 2 3 2 C / イ ーサネ ッ ト変換器との間の回線接続処理を開始 し ( ス テ ツ プ f 3 ) 、 回線の接続が成功する まで (ステ ッ プ f 4 ) 回線確立のための動作を繰 り返す (ステ ッ プ f 9 ) , なお、 所定の時間が経過 しても R S 2 3 2 C /イ ーサネ ッ 卜変換器との接続が成功 しなければ (ステ ッ プ f 9 : Y e s ) , ホス 卜 コ ン ピュ ータは リ ト ライ アル動作を中 止 して再びステ ッ プ f 2 の処理へと移行 し、 R S 2 3 2 C /イ ーサネ ッ 卜変換器からの接続要求信号の再入力を 待つ待機状態に入る。
そ して、 ホス ト コ ン ピュ ータ側における回線接続処理 が成功すると、 ホス 卜 コ ン ピュ ータ は、 R S 2 3 2 C Z イ ーサネ ッ ト変換器に接続完了信号を出力する ( ステ ツ プ f 5 ) 。 また、 この接続完了信号は R S 2 3 2 C Zィ 一サネ ッ 卜変換器を介 して C N C装置の側にも伝達され、 C N C装置側のステ ッ プ b 5 の処理でも検出される。
つま り、 接続対象となるホス 卜 コ ン ピュ ータにおいて はステ ッ プ f 5 の処理が完了 した時点、 また、 R S 2 3 2 C /イ ーサネ ッ ト変換器においてはステ ッ プ e 4 の判 別結果が Y e s となっ た時点、 また、 C N C装置におい てはステ ッ プ b 5 の判別結果が Y e s とな っ た時点で、 相互間の通信経路が確保されたこ とになる。
( d ) C N C装置が初期メ ニ ュ ー選択画面の要求信号 をホス ト コ ン ピュ ータ に転送する まで
図 1 2 のステ ッ プ e 4 の処理でホス ト コ ン ピ ュ ータか らの接続完了信号を検出 した R S 2 3 2 C Zイ ーサネ ッ ト変換器は、 次いで、 C N C装置からホス ト コ ン ビュ 一 夕への送信データがあるか否かを判別する (ステ ップ e 5 ) 。 この場合、 ステ ップ b 4 の処理で C N C装置から 出力された初期メ ニ ュ ー選択画面の要求信号が R S 2 3 2 C イ ーサネ ッ ト変換器に記憶されているので、 ステ ッ プ e 5 の判別結果は Y e s となる。 次いで、 R S 2 3 2 C ノイ ーサネ ッ ト変換器は、 この送信データがホス 卜 コ ン ピュ ータ に対する回線切断要求であるか否かを判別 する (ステ ッ プ e 6 ) 。 無論、 初期メ ニ ュ ー選択画面要 求信号は回線切断要求ではないので、 ステ ッ プ e 6 の判 別結果は N 0 と な り、 R S 2 3 2 C イ ーサネ ッ ト変換 器は、 C N C装置からのデータ、 つま り、 初期メ ニ ュ ー 選択画面の要求信号をホス ト コ ン ピ ュ ー夕 に転送する こ と になる (ステ ッ プ e 7 ) 。
( e ) ホス ト コ ン ピュ ータが初期メ ニ ュ ー選択画面を C N C装藿に転送するまで
図 1 3 のフ ロ ー チ ャ ー ト においては、 R S 2 3 2 C Z イ ーサネ ッ ト変換器を介 して C N C装置から入力された データをホス 卜 コ ン ピュータが検出 し、 該データの要求 に応 じてホス ト コ ン ピュ ータが実施する処理をステ ッ プ f 6 で一括 して示 している。 ステ ッ プ f 5 の処理が完了 してから C N C装置側の回線切断要求が入力されるまで の間 (ステ ッ プ f 7 ) 、 要するに、 ホス 卜 コ ン ピュ ータ と C N C装置との間の回線が確立されてまだ解除されて ない間、 ホス ト コ ン ピュータは C N C装置からのデータ 入力があ り しだい、 C N C装置からの要求を判別 し、 そ の要求に応じ、 前述 した様々なアプ リ ケー シ ョ ンプロ グ ラムの処理をステ ップ f 6 で実行する こ とになる。 この 場合、 C N C装置からの初期メ ニ ュ ー選択画面要求信号 が入力されているので、 ホス 卜 コ ン ピュ ータは、 その記 慷装置から最初の初期メ ニ ュ ー画面を読み込み、 このデ 一夕を要求 した C N C装置の R S 2 3 2 イ ーサネ ッ 卜変換器にこれを出力する。 最初の初期メ ニ ュ ー選択画面は、 C N C 装置側のオペ レー夕がホス 卜 コ ン ピュ ータを利用 して実施する作業を 選択するための作業選択画面である。 この画面が C N C 装置側の表示画面に表示された状態で、 オペ レータが C N C装置側のキーボー ド等を操作 して所望する作業に応 じた項目番号を選択する と、 その項目番号が表示され、 更に、 実行キーを操作する と、 設定された項目番号の値 力 S R S 2 3 2 C Zイ ーサネ ッ 卜変換器を介 してホス ト コ ン ピュ ー夕に送信される よ うになる。 第 1 の実施形態 は、 以上説明 したよ う に、 初期メ ニ ュ ー選択画面を介 し て各種の選択または設定画面を階厣的に呼び出すよ う に しているため、 C N C装置側のオペ レータが第 1 , 第 2 のホス 卜 コ ン ピュ ータ 1 , 2 を用いて何らかの作業を行 う ためには、 まず、 最初の操作と して C N C装置に最初 の初期メ ニ ュ ー選択画面を表示させる必要がある。 この ため、 髦源投入後に行われる C N C装置からの最初のァ クセスでは接続対象となるホス 卜 コ ン ピュ ータが常に第 1 のホス 卜 コ ン ピ ュ ータ 1 に設定されるよ う にな ってお り、 第 1 のホス ト コ ン ピュ ータ 1 に対する接続要求と共 に初期メ ニ ュ ー選択画面要求信号が C N C装置から出力 される よ う に している (図 9 のステ ッ プ b 2 参照) 。
( ) C N C装置とホス 卜 コ ン ピ ュ ータ との間のデー 夕の授受
一方、 前述 した図 1 2 のステ ッ プ e 7 の処理で C N C 装置からのデータをホス 卜 コ ン ピュ ータ に転送 し、 その 一時記憶を消去 した R S 2 3 2 C Zイ ーサネ ッ ト変換器 は、 その後、 ステ ップ e 8 — ステ ッ プ e 5 — ステ ッ プ e
8 の処理を繰り返 し実行してホ ス ト コ ン ピ ュ ー夕か らのデータ転送を待つ。 そ して、 R S 2 3 2 C /イ ーサ ネ ッ ト変換器は、 ホス ト コ ン ピュ ー タ側からのデータの 送 り 出 しをステ ッ プ e 8 の処理で検出する と、 これらの データを直ちに C N C装置へ転送する (ステ ッ プ e 9 ) ( そ して、 C N C装置の側では、 図 9 のステ ッ プ b 6 の 処理で R S 2 3 2 イ ーサネ ッ 卜変換器からのデータ 転送を検出 してこれを記憶する と共に画面表示処理を行 う。 その後、 オペ レータのキーボー ド操作等に基いてキ 一入力処理を行い、 ホス ト コ ン ピュ ータ との間の具体的 な連携作業を開始する (ステ ップ b 7 ) 。 このステ ッ プ b 7 の処理は、 前述 したホス 卜 コ ン ピュ ー タ側のステ ツ プ f 6 の処理と同様、 オペ レータ力1 f C N C装置のホス 卜 コ ンピュ ータ切 り 替えキーを操作するまで継続 して実行 され、 この間、 該 C N C装置とホス ト コ ン ピュ ータとの シ ェ イ クハン ド状態が維持される。
( 3 ) ホス 卜 コ ン ピュ ータの切 り換え
C N C装置は、 ホス ト コ ン ピュ ータの切 り替えを図 9 のステ ッ プ b 8 の判別処理で検出する と、 まず、 R S 2 3 2 C Zイ ーサネ ッ 卜変換器を介 してこれまで接続 して いたホス ト コ ン ピ ュータに対して回線切断要求を出力す る と共に、 次に接続すべきホス ト コ ン ピュ ータの番号 (ステ ッ プ b 8 の処理で入力済) を参照 して、 これに対 応するホス 卜 コ ン ピュ ータに対して回線接続要求を出力 する (ステ ッ プ b 1 3 ) 。
R S 2 3 2 C Zイ ーサネ ッ 卜変換器は、 図 1 2 のス テ ッ プ e 5 の処理で C N C装置からの回線切断要求を検出 し、 これをホス ト コ ン ピュ ータの切断要求と判断 し (ス テ ツプ e 6 ) 、 シ ヱ イ クハ ン ド状態にあるホス ト コ ン ビ ユ ー夕に回線切断要求を出力 し ( ステ ッ プ e 1 0 ) 、 再 びステ ッ プ e 2 に戻って該 C N C装置からのデータ転送 があるまで待つ。 そ して再び次のホス 卜 コ ン ピュ ータへ の回線接続要求を受けて ( ステ ッ プ b 1 3 で出力された 回線接続要求) 、 前記と同様の回線接続操作によ り この C N C装置を選択対象のホス ト コ ン ピュ ー夕に接続する c 一方、 これまでこの C N C装置に接続されていたホス 卜 コ ン ピュータ は、 図 1 3 のステ ッ プ f 7 の処理でこの 回線切断要求を検出 し、 前述の C N C装置の R S 2 3 2 C Zイーサネッ 卜変換器との接続を切り (ステップ f 8 ) . 初期の待機状態へと復埽する。 なお、 新たに接続された ホス ト コ ン ピ ュ ー夕によ って行われる処理操作はメ ニ ュ 一画面の表示やアプ リ ケー シ ョ ンプログラムの構成に関 して相違する ものの、 全体的な処理や操作の流れに関 し ては前述のホス ト コ ン ピ ュ ータ (これまで接続されてい たホス 卜 コ ン ピ ュ ータ) の場合と同一であるので、 これ 以上の説明は省略する。 なお、 初期メ ニ ュ ー選択画面は 各ホス ト コ ン ピ ュ ータ毎に設けられており、 ホス 卜 コ ン ピ ュ ー夕 2 の初期メ ニ ュ ー選択画面は、 加工スケジ ユ ー ル参照、 N C データ要求、 加工指示参照、 ア ラ ームガイ ダンス等のメ ニ ュ ーである。
( 4 ) 画面の切 り換え、 その他
また、 ホス ト コ ン ピュ ータの切 り 替えではな く、 他の 作業のための画面への切 り換えのためのキーの操作、 つ ま り、 工具軌跡の描画や加工プロ グラム編集画面等の C N C専用画面への切 り換えが図 9 のステ ッ プ b 9 の判別 処理で検出される と、 C N C装置は、 ホス 卜 コ ン ビ ュ 一 夕の画面番号を記憶 して一旦 C N C装置の情報入出力処 理を終了 し ( ステ ッ プ b 1 4 ) 、 C N C装置側で行われ る工具轨跡の描画や加工プログラム編集等の処理または 工作機械の加工制御を開始する。
他の画面に移動する時にホス ト コ ン ピ ュ ー夕の画面番 号を記憶するのは、 再び通信専用画面が選択された時に, その前に表示されていたホス ト コ ン ピュ ー夕の画面に復 帰するためである。
通信専用画面からホス ト コ ン ピュ ー夕の画面に復帰す る場合では、 この C N C装置とホス ト コ ン ピュ ータ との 間の回線は既に確保されているので、 通信専用画面要求 キーが操作され次第ステ ッ プ b 1 の判別結果は Y e s と なる。 従って、 C N C装置は R S 2 3 2 C Zイ ーサネ ッ 卜変換器に C N C専用画面に移動する前のホス ト コ ン ピ ユ ー夕の画面番号 (ステ ッ プ b 1 4 の処理で記憶 したも の) を耘送 し (ステ ッ プ b 1 1 ) 、 これを図 1 2 のステ ッ プ e 5 の判別処理で検出 した R S 2 3 2 C /イ ーサネ ッ 卜変換器は画面の転送要求をホス ト コ ン ピュ ータに出 力する (ステ ッ プ e 7 ) 。 それから、 図 1 3 のステ ッ プ f 6 の処理でこの要求を検出 したホス 卜 コ ン ピ ュ ータは、 対応する画面データを R S 2 3 2 C Zイ ーサネ ッ ト変換 器に出力する。 する と、 R S 2 3 2 C ノイ ーサネ ッ ト変 換器はステ ッ プ e 8 の処理でこれを検出 して、 C N C装 置にこのデータを転送する (ステ ッ プ e 9 ) 。 一方、 こ のデータを受け取った C N C装置は、 ステ ップ b 1 2 の 処理で画面を表示 して、 C C専用画面へ移動する前の 状態に復帰する。
また、 ホス ト コ ン ピュ ータの切 り替えでも他の画面へ の移動キーの操作でもな く 図 9 のステ ッ プ b 8 およびス テ ツ プ b 9 の判別結果が共に N 0 となつた場合は、 必然 的に、 通信機能の終了が選択されている こ とを意味する ので、 C N C装置は、 ホス 卜 コ ン ピュ ータ と R S 2 3 2 C Zイ ーサネ ッ 卜変換器との接続および R S 2 3 2 C / イ ーサネ ッ ト変換器と該 C N C装置との間の接続を断つ て初期の状態に復帰し (ステ ッ プ b 1 0 ) 、 データの入 出力に関する処理を全て終了する。
上述 した方法で、 工作機械の C N C装置は、 ホス ト コ ン ピ ュ ータ 2 を呼出 し、 初期メ ニ ュ ー画面を表示させて、 この初期メ ニ ュ ー画面に表示される N C データ要求を選 択すれば、 N C データを要求する画面がホス ト コ ン ピ ュ 一夕 2 から C N C装置に送られる。 そこで、 この画面が 表示された後、 N Cデータ番号を入力すれば、 ホ ス ト コ ン ピュ ータ 2 は、 要求された N C データ番号に対応する N Cデータ (加工プログラム) を C N C装置に送信する ( C N C装置は、 この N C データを受け取っ て保存 した後, この N C データの実行指令を受け取ると該 N C データ に 基づいて加工を開始する こ と になる。
一方、 C N C装置とホス 卜 コ ン ピュ ータ との間では、 相互のデータの入出力が必要と される前述の各処理に加 え、 C N C装置からホス ト コ ン ピュ ータへの一方的なデ 一夕の送信処理、 つま り、 C N C装置の状態や工作機械 の運転情報等に関するデータの送信処理が行われる。
この内、 C N C装置の状態に関するデータは比較長い サンプ リ ング周期、 例えば、 3 0秒毎のサンプ リ ング周 期で検出されて、 C N C装置からホス 卜 コ ン ピ ュ ータに 転送される。 C N C装置の工作機械の運転情報は、 実行 中の加工プログラム中に書き込まれているサンプ リ ング 開始指令およびサンプ リ ング終了指令によ り その実行ノ 非実行が制御される。 サンプリ ングは、 相当に短いサン プ リ ング周期例えばミ リ 秒毎に繰り返される。 無論、 こ れらの転送データを収集するホス 卜 コ ン ピュ ータは常に 同 じもの、 例えば、 C A D Z C A M用の第 2 のホス ト コ ン ピュ ー夕 2 等である必要がある。 このため、 C N C装 置による加工制御を開始する前の段階で、 予め、 前述の ホス ト コ ンピ ュ ータの切り替え操作を行い、 予め定めら れたホス ト コ ン ピュ ータに C N C装置を接続 しておく よ う にする。 この予め定められたホス ト コ ン ピュ ータはデ 一夕収集用のサーバである と同時に、 緊急メ ッ セージ送 出用のホス 卜 コ ン ピュ ータでもある。
( 5 ) C N C装置の状態に関するデータ転送処理
C N C 装置の状態に関するデータの転送処理を図 1 0 のフ ロ ー チ ャ ー ト によ り 説明する。 図 1 0 に示す処理は 所定周期 (例えば 3 0 秒単位) で各々の C N C装置 4 〜 8 の C P U によ っ て繰り返 し実行される。
C N C装置の状態に関するデータのサンプ リ ングおよ び転送処理を開始 した C N C装置は、 まず、 該 C N C装 置と R S 2 3 2 C Zイ ーサネ ッ ト変換器との接続および R S 2 3 2 イ ーサネ ッ ト変換器とホス 卜 コ ン ビユ ー 夕 との間の接続が確立 しているか否かを判別するが (ス テ ツ プ c 1 . ステ ップ c 2 ) 、 当然、 この場合には C N C装置とホス ト コ ン ピュ ータとが接続されている箬であ る。 C N C装置とホス 卜 コ ン ピ ュ ータ とが接続されてい ない場合はオペ レータがホス 卜の切 り替え操作を誤っ て いるか、 または、 サンプ リ ングの要な しと してその接続 を意識的に切断しているのであ り、 いずれにせよデータ の転送は不可能であるから、 以降の処理は全てキ ャ ンセ ルされる こと になる。
—方、 ステ ッ プ c 1 , ステ ッ プ c 2 の処理で接続が確 認された場合、 C N C装置は、 ホス ト コ ン ピュ ータから の緊急メ ッ セー ジが入力されているか否かを判別 し ( ス テ ツ プ c 3 ) 、 緊急メ ッ セージが入力されていなければ、 更に、 ホ ス 卜 コ ン ピュ ータからの加工状態データ転送要 求が入力されている力、、 も し く は、 該 C N C装置からホ ス ト コ ン ピュ ータへの加工状態データ転送が既に開始さ れているか否かを判別する (ステ ッ プ c 4 ) 。 なお、 加 ェ状態データ転送要求と はホス ト コ ン ピュ ー夕が C N C 装置に工作機械の運転データの転送を求める時の指令で ある。
そ して、 緊急メ ッ セージも加工状態データ転送要求も 入力されていなければ、 C N C装置は、 現在の処理モー ド, 現在実行 している加工プロ グラムの番号, 実行中の ス テー ト メ ン ト のコ ー ドの種別, アラーム発生の有無や アラームの種別, 信号の入出力状態, 工作機械の各軸現 在位置等のデータを内部メ モ リ から検出 し (ステ ッ プ c 5 ) 、 オペレータのマニ ュ アル操作によ るデータの転送 処理を禁止状態とするためのフラグをセ ッ 卜 して ( ス テ ッ プ c 6 ) 、 予めホス ト コ ン ピ ュ ータから指令されてい るデータフ ォ ーマ ツ 卜 に従い、 ステ ップ c 5 の処理で収 集 した C N C装置の状態データをバッ フ ァ にセ ッ 卜 して ホス ト コ ン ピュ ータに一括 して転送 した後 (ステ ップ c 7 ) 、 前記フラグを リ セ ッ ト してオペ レータのマ二 ユ ア ル操作によるデータの転送処理を許可する (ステ ッ プ c 8 ) 。 なお、 これらのデータはホス ト コ ン ピュ ータに設 けられた C N C装置毎の ログフ ァ イ ルにカ レ ン 卜 タイ ム と共に記憶される。
また、 ステ ッ プ c 4 の判別処理で加工状態データ転送 要求が検出された場合、 または、 既に加工状態データ転 送が開始されている場合は、 C N C装置の状態データの 転送に関わる ステ ッ プ c 5 の処理はキ ャ ンセルされ、 C N C装臛は、 転送要求フラ グをセ ッ ト してこの周期の処 理を終了 し (ステ ッ プ c 9 ) 、 後述する C N C工作機械 の運転情報のデータ送信処理によ り、 工作機械の運転情 報の転送を開始または継続する こ と になる。 つま り、 ェ 作機械の運転情報の転送処理は C N C装置の状態データ 転送処理に比べて優先度が高いと いう こ とである。
また、 ステ ッ プ c 3 の処理でホス 卜 コ ン ピュ ータから の緊急メ ッ セージが検出された場合、 C N C装置はこの メ ッ セー ジデータ (表示内容) と表示情報 (緊急メ ッ セ ー ジの場合表示色を変える コ ー ドも含まれており、 特別 な色で表示させる よ う にな つている) とを読み込んだ後 ( ステ ッ プ c 1 0 ) 、 該 C N C装置の運転モー ドを判別 して、 該装置の表示入力装置の表示画面が重要な作業に 使用されているか否かを判定する (ステ ッ プ c 1 1 ) 。 例えば、 プロ グラム編集モー ドや工具軌跡の描画モー ド 等では表示画面がデータ入力用と して利用されている可 能性が高いので、 表示画面の利用に関する重要度が高い と判定される。 この場合、 当然、 オペ レータは C N C装 置の間近にいてプログラムの編集作業や工具軌跡の動作 確認等を行っ ている こ と になる。 また、 単純にメ ニ ュ ー 選択の初期画面が表示されていた り、 自動運転時の各軸 データの数値表示が行われている よ うな場合では、 オペ レー夕が何等の作業も行っていない、 または、 開始 して いないと力、、 工作機械の運転を C N C装置に任せてその 場を離れている と いっ た可能性が高いので、 表示画面の 利用に関する重要度が低いと判定される こ とになる。
そこで、 表示画面の利用に関する重要度が高い場合に は、 C N C装置は、 その場で使用されている C N C装置 の表示画面の機能を優先 して、 ステ ッ プ c 1 0 で読み込 んだ緊急メ ッ セー ジのアイ コ ンを表示画面の片隅に小さ く 表示 し、 緊急メ ッ セージの表示がオペ レータの作業を 妨げるのを防ぐ。 一般に、 このよ うな状況下では才ペ レ 一夕が C N C装置の間近にいる こ とが多いので、 緊急メ ッ セー ジの表示が小さ く てもオペ レータによ って把握さ れ得る。 なお、 この実施形態ではカーソルでアイ コ ンを ピ ッ ク してこのフ ァ イ ルを開く ためのコ マン ドを入力す る こ と によ り、 最終的に、 緊急情報のテキス トデータ (またはグラ フ ィ ッ クデータ) を開いて内容表示に切 り 替える こ とができるよ う になつている。
反対に、 表示画面の利用に関する重要度が低い場合に は、 C N C装置の表示画面の機能が殆どオペ レータによ つ て利用されていないといった状況下にあるので、 C N C装置は、 ステ ッ プ c 1 0 で読み込んだ緊急メ ッ セー ジ のテキス トデータ (またはグラフ ィ ッ クデータ) を直ち に展開 して、 表示画面の全体に大き く 表示する。 この場 合、 オペ レータが C N C装置から離れている公算が高い ので、 オペ レータの注意を喚起 して緊急メ ッ セー ジに目 を向けさせるためにも、 メ ッセージ表示は大き い方が都 合がよい (以上、 ステ ッ プ c 1 2 ) 。
なお、 この実施形態においてはステ ッ プ c 3 の処理で ホス ト コ ン ピ ュ ータからの緊急メ ッ セー ジが検出された 場合に C N C装置の状態データ転送処理 (ステ ッ プ c 5 ) と転送要求フ ラグのセ ッ 卜 に関する処理 (ステ ッ プ c 9 ) を非実行にする よ う に している力 緊急メ ッ セー ジの読 み込み完了後であれば C N C装置からホス 卜 コ ン ビユ ー 夕へのデータ転送は可能である。 従って、 ステ ッ プ c 1 2 の実行後にこの処理を終了させなければならないと い つた必然性はな く、 当然、 ステ ッ プ c 1 2 の実行後にス テ ツ ブ c 4 の処理に移行 して以降の処理を継続させるよ う にする こと も可能である。
( 6 ) 工作機械の運転情報に関するサンプリ ングとその 運転情報の転送
工作機械の運転情報に閱するサ ンプリ ング処理とその 運転情報の転送に関わる C N C装置側の処理を図 1 1 の フ ローチ ヤ 一を用いて説明する。 C N C装置は、 移動指 令を各軸のサーボ回路へ分配周期毎に繰り返 し分配して いる。 図 1 1 に示す処理はその移動指令の分配周期毎に 行われる。
まず、 高精度な加工形状を得る必要がある と き に N C データを補正するためのデータを取得する際には、 高精 度の加工形状を必要とする区間の開始ブロ ッ ク位置にサ ンプ リ ング開始指令の Mコー ドを加工プロ グラムに付加 し、 さ らにこの区間の終了 した後のブロ ッ ク位置にサン プ リ ング終了指令の M コ ー ドをプロ グラム してお く。 そ こで、 実行中の加工プログラムから、 現時点で読み 込まれている ステ一 ト メ ン 卜がサンプル終了指令の Mコ ー ドであるか否かを判別 し (ステ ッ プ d 1 ) 、 サンプル 終了指令でなければ、 更に、 このステー ト メ ン トがサン プル開始指令の M コ ー ドある力、、 または、 測定状態記憶 フ ラグがセ ッ 卜 されているか否かを判別する (ステ ッ プ d 2 ) o
また、 測定状態記憶フラグの初期値は非測定中である こ とを示す 「 0 」 に初期設定され、 また総サンプ リ ング 数を示す指標 i と転送済みサンプル数を示す指標 j の値 は 0 に初期設定されている。
そ して、 ステ ッ プ d 1 およびステ ップ d 2 の判別結果 が共に N o であっ て、 現時点で読み込まれている ステ ー 卜 メ ン 卜がサンプル終了指令の Mコ ー ドでもサンプル開 始指令の Mコ ー ドでもな く、 しかも、 測定状態記慷フ ラ グがセ ッ 卜 されていなければ、 次いで、 C N C装置は加 ェ状態データ転送要求フラグ (図 1 0 参照) がセ ッ 卜 さ れているか否かを判別する (ステ ッ プ d 8 ) 。 転送要求 フ ラグがセ ッ ト されていなければ、 C N C 装置はこの周 期の運転情報転送処理をそのまま終了する。
従っ て、 加工プログラムから最初のサンプル開始指令 の M コ ー ドが読み込まれるまでの間、 C N C装置は周期 毎の運転情報転送処理においてステ ップ d 1 , ステ ッ プ d 2 , ステ ッ プ d 8 の判別処理のみを繰り返し実行する こ とになる。 も し、 この期間内にホス ト コ ン ピ ュ ータか らの加工状態データ転送要求が受信されればステ ッ プ d 9 以降の処理が行われる こ とになるが、 この場合に転送 される運転情報は空データである。 加工状態データ転送 要求を検出 した時点で指標 i の値が 0 よ り も大き いか否 かを判別 し、 0 よ り も大きい場合に限ってステ ッ プ d 9 以降の処理を実施させる よ う に しても よい。
このよ うに してステ ッ プ d 1 , ステ ッ プ d 2, ステ ツ プ d 8 の判別処理のみを繰り返 し実行する間に加工プロ グラムからサンプル開始指令の M コ ー ドが読み込まれる と、 C N C装置は総サンプ リ ング数を示す指標 i の値を 1 イ ンク リ メ ン ト し (ステ ッ プ d 3 ) 、 工作機械からの フ ィ一 ドバッ ク信号によ リ算出された現在位置を表す各 軸の現在位置 レ ジ ス タ の値 (実位費) P、 各軸に分配さ れた指令値を加算 し指令位置を記憶する指令現在位置 レ ジス夕の当該周期の指令値を加算する前の値 s、 および 各送り軸の負荷現在値 (実電流またはオブザーバによ り 推定された値) t を読み込み (ステ ップ d 4 ) 、 指標 i の値に対応する運転情報記憶フ ァ イ ル (図 5 参照) の記 憶領域にこれらのデータを害き込んで (ステ ッ プ d 5 ) 、 測定状態記憶フ ラ グをセ ッ トする (ステ ッ プ d 6 ) 。
測定状態記憶フ ラグがセ ッ 卜 される結果、 以降の処理 周期においてはステ ッ プ d 1 ない しステ ッ プ d 6 の処理 のみが繰り返 し実行され、 運転情報記憶フ ァ イ ルの記憶 領域にはサンプ リ ング周期毎の前記運転情報が次々 と書 き込まれて行く こ とになる。 また、 この間は加工状態デ 一夕転送要求フ ラ グの設定状態の確認が行われないので, ホス ト コ ン ピュ ータ側から加工状態データ転送要求が入 力された場合であ っても、 運転情報の転送に関わる処理 は一切行われない。 なお、 加工状態データ転送要求のフ ラグのセ ッ テ ィ ングは前述の状態データ転送処理 (図 1 0 ) によ って行われているので、 フ ラグのセ ッ テ ィ ング 自体は可能であ り、 サンプ リ ング処理の完了後に運転情 報の転送に関わる処理を開始する こ とができ る。 サ ンプル開始指令の M コ ー ドゃサンプル終了指令の M コ ー ドは加工プログラム中のどの位置にでもステー ト メ ン 卜 と して書き込むこ とができるので、 円弧補間や直線補間 等の 1 加エブ口 ッ クを最小の単位と して、 加工経路上に サンプリ ング区間を任意に設定する ことが可能である。
そ して、 このよ う に してサンプ リ ング処理を繰り返 し て行く 間に加工プログラムからサ ンプル終了指令の Mコ ー ドが読み込まれる と、 C N C装置は、 測定状態記憶フ ラ グを リ セ ッ ト し (ステ ッ プ d 7 ) 、 このサンプ リ ング 処理中にホス 卜 コ ン ピュ ータからの加工状態データ転送 要求が入力されていたか否かを判別する (ステップ 8 ) , 無論、 加工状態データ転送要求が検出されていなければ, サンプ リ ングデータを転送する必要はな く、 C N C装置 はこれまでにサンプリ ングしたデータを運転情報記慷フ ア イ ルに保持 したまま当該周期の運転情報転送処理を終 了する。 従って、 このよ う な状況下で力 ェプロ グラムか ら改めてサンプル開始指令の Mコ ー ドが読み込まれた場 合では、 指標 i の現在値の次の記憶領域から前記と同様 に して、 次のサンプリ ング区間のデータが継続 して書き 込まれる ことになる。
そ して、 最終的にホス ト コ ン ピ ュ ータからの加工状態 データ転送要求が検出されると、 C N C装置は、 才ペ レ 一夕のマニ ュ アル操作によ るデータの転送処理を禁止状 態とするためのフ ラグをセ ッ ト し ( ステ ッ プ d 9 ) 、 予 めホス 卜 コ ン ピ ュ ータから指令されているデータフ ォ ー マ ッ ト に従い、 運転情報記慷フ ァ イ ルに記憶されている 最初の n 組のデータをノ ッ プ ア にセ ッ 卜 してホス ト コ ン ピ ュ ー夕に転送 し (ステ ッ プ d 1 0 ) 、 指標 j の値を π だけイ ンク リ メ ン ト して、 転送済みデータ数 j の値を更 新 した後 (ステ ッ プ d 1 1 ) 、 前記フラ グを リ セ ッ 卜 し てオペ レータのマニ ュ アル操作によ るデータの転送処理 を許可する ( ステ ップ d 1 2 ) 。
次いで、 C N C装置は、 運転情報記憶フ ァ イ ルの全デ 一夕がホス ト コ ン ピュ ータに転送されているか否か ( j ≥ i となっているか否か) を判別 し (ステ ッ プ d 1 3 ) 、 全データの転送が完了 していれば、 加工状態データ転送 要求と指標 i および 』 の値を リ セ ッ 卜 して運転情報記憶 フ ァ イ ルの内容をク リ ア し (ステ ッ プ d 1 ) 、 当該周 期の運転情報転送処理を終了する。
しか し、 伝送路の容量によ って送信できるデータの数 には制限があ り (例えば n 個) 、 また、 加工プロ グラム 上のサンプ リ ング区間が相当に長いよ う な場合もあるの で、 必ず しも 1 回の転送作業で全てのデータを転送でき る という保証はない。
そこで、 ステ ッ プ d 1 0 の処理でデータを転送 し切れ なかっ た場合、 つま り、 ステ ッ プ d 1 3 の判別結果が N 0 となっ た場合においては、 C N C装置は、 ブロ ッ ク転 送要求と指標 i および 〗 の値と運転情報記憶フ ァ イルの 内容をそのまま保持し、 次周期以降の処理で残り データ の転送処理を行う こ と になる。
以下、 運転情報記憶フ ァ イ ルの全データがホス 卜 コ ン ピュ ー夕 に転送されて j ≥ i となる までの間、 C N C装 纛は前記と同様に してステ ップ d 9 ない しステ ップ d 1 2 の処理を繰り返 し実行 し、 1 処理周期毎に n 組の運転 情報をホス ト コ ン ピュ ータ に転送 し、 そ して、 最終的に 全データの転送が完了する と、 ステ ッ プ d 1 4 の処理に よ り、 加工状態データ転送要求と指標 i および 」 を リ セ ッ 卜 して運転情報記憶フ ァ イ ルの内容をク リ アする。 但 し、 これは運転情報記憶フ ァ イ ルが 1 組 しかない場合の こ とで、 これと同 じ運転情報記憶フ ァ イ ルをも う 1 組用 意 し、 一方の運転情報記憶フ ァ イ ルのデータを転送 して いる間にも う一方の運転情報記憶フ ア イ ルにサンプ リ ン グデータを書き込むよ うにすれば、 運転情報記憶フ ア イ ルの転送作業中に新たなサンプル開始指令の Mコ ー ドが 読み込まれた場合でも、 これに対処する こ とができる。
以上のよ う に して、 第 2 ホス 卜 コ ン ピ ュ ータ 2 には、 指令現在位置 (当該分配周期の指令値が加算される前の 指令現在位置 レジスタの値) s i ( X sに Y si, Z s i ) 、 機械の現実の位置 (現在位置 レジスタの値) P i ( X pi, Y pi. Z p i ) 、 負荷現在値 (実電流またはオブザーバに よ り推定された値) t i ( X t i, Y ti, Z t i ) 力 図 5 で示すよ う にテーブル T 1 に記憶される。 この指令現在 位置データ s i は移動指令の分配周期毎の位置であるか ら、 N C データの 1 ブロ ッ クの始点 (終点) S i を必ず 含む。
( 7 ) N C データの修正処理
次にこの収集 したデータ (図 5 ) に基づいて第 2 のホ ス 卜 コ ン ピュ ータが実施する N Cデータの修正処理につ いて図 7 を用いて説明する。
第 2 のホス 卜 コ ン ピュ ータ 2 に N Cデータの修正指令 が入力される と、 ホス ト コ ン ピュ ータ 2 は、 図 7 に示す 処理を開始 し、 当該 N C データに対応する C A D データ の各点 C j に対応する指令現在位置 s (分配周期毎の指 令位置) を求める。 前に述べたよ う に、 N Cデータの 1 ブロ ッ クの始点及び終点 S i は、 C A Dデータのいずれ かの点 C 」 に設定されるので、 分配周期ごと指令される 指令現在位置 s から知る こ とができ る。
検出された 1 ブロ ッ クの始点 (終点) S i に対応する 現実の位置 P i 、 及びその時の負荷データ t i の値を図 6 に示すテーブル T 2 のよ う に C A Dデータの C j に対 応させて記憶する (ステ ッ プ a 1 ) 。 図 6 では C A D デ —夕 C 1 が 1 ブロ ッ クの始点 (終点) S 1 に、 C 2力1 f S 2 に、 C 4力1 f S 3 に、 C 5 力1 f S 4 に、 C 6 力 < S 5 に、 C 7 が S 6 に、 C 9 力1 «' S 7 に、 C 1 2 力 s' S 8 に、 C j が S i に、 それぞれ対応する ものと した例を記載している。 次に、 1 ブロ ッ クの始点 (終点) S i から対応する現 実の位置 P i を減 じて誤差 d i を
d i = [ ( X s i - X pi ) 2 + ( Y s i — Y pi ) 2 +
( Z s i - Z pi ) 2 ]
でも って求め、 テーブル T 2 に記慷する (ステップ a 2 ) 。
C A D データのスプラ イ ン曲線上の点 S i における法 線を C A Dデータ よ り求め、 この法線上において点 S i に対 して現実の位置 P ί が略点対称となる位置 S ' i を 求める。 即ち、 法線上において点 P i と は逆方向に点
S i から誤差 d ί 分移動 した点 S ' i ( X c' i .
丫 1 , 2 1 ) を求める (ステ ップ 3 3 ) (図 4 参 照) 。 この点 S ' i が補正されたデータであ り、 この補 正されたデータ S ' i によ って修正 N C データを生成 し 記慷する (ステ ッ プ a 4 ) 。
この修正 N Cデータを上述 した通信方法で工作機械の C N C装霾に送り、 加工を行えば、 サーボ系の遅れによ つ て生 じる位置誤差をデータ補正量と して考慮 して補正 N C データが作成されているから、 この補正量と実際の サーボ系の遅れが相殺 し実際の加工形状は C A D データ の形状に近付き、 誤差の少ない高精度の加工形状を得る こ とができる。 さらに、 上記送り軸の負荷 t i ( X t i , Y t i, Z t i ) の絶対値 t ' i , ただし、
t ' i = ( X ti 2 + Y ti ? + Z t i z ) , / 2
をも考慮して上記補正を行ってもよい。 この場合には、 始点 (終点) の各点 S i に対する重み Q i を負荷の絶対 値 t ' i よ り求め、 この重み Q i を誤差 d i に乗じて、 補正用の誤差 d ' i と し、 ステ ップ S 3 で補正された点 S ' i を求めるようにする。
例えば、 負荷の絶対値 t ' i を全区間 ( i = 1 ~ n ) 加算しサンプリ ング数 n で除して平均値を求め、 この平 均値で各点の負荷の絶対値 t ' i を割り重み Q i と し、 この重み Q i を誤差 d i に乗じて、 補正用の誤差 d ' i とする。
Q i = t ' i / { ( t ' 1 + t ' 2 + t ' 3 + …
+ t ' n ) / n ) }
d ' i = d i · Q i
なお、 負荷の平均値で各点の負荷値の絶対値 t ' i を 割って重み Q i を求める代わり に、 設定所定値 α (例え ば負荷の平均値の 0. 5 ~ 2倍程度の値) で各点の負荷 値の絶対値 t ' ί を割って重み Q i を求めてもよい。
また、 負荷データを各軸毎の負荷値ではなく 主軸にか かる負荷値を求め、 この主軸負荷データによ って、 上記 重みを求めてもよい。 この場合、 上記負荷 t i の絶対値 t ' I の代わり に主軸負荷データを用いればよい。
さらに、 上記実施の形態では、 負荷の大きさに応じて データ補正量を求めて、 修正 C N C データを生成する よ う に したが、 このデータ補正量を求める代わり に、 負荷 の大き さに応 じて加工速度を変えるよ う に しても よい。 この場合には、 負荷 t i の絶対値 t ' i の平均値を求め、 この平均値の大き さに応 じて加工速度を変更 して (すな わち、 平均値が大きい場合には加工速度を遅く するよ う に変更 して) N C データを修正するよ う に しても よい。 また、 負荷 t i の絶対値 t ' i を表示装置等に表示して、 負荷が大きいブロ ッ クでは加工速度を落と し、 反対に負 荷が小さいブロ ッ クでは加工速度を上げるよ う な、 才ー バラ イ ド指令等の速度変更指令を入れて修正 C N Cデー タを生成する よ う に しても よい。
上述 した第一の実施の形態では、 C A Dデータから N Cデータを作成 し、 その作成された N C データを C A D データを用いて高精度の加工のために修正 している。
し力 \し、 N C データは C A Dデータから作成 しても、 その N C データを高精度の加工のために修正するのに C A Dデータを用いな く ても可能である。 勿論、 N Cデー 夕を C A Dデータから作成 しても、 その N Cデータを高 精度の加工のために修正するのに C A Dデータを用いな く ても可能である。 そこで、 このよ うな、 C A D データ を用いる こ とな く N C データの修正を行う例を第 2 実施 形態と して以下に説明する。
B. 第 2 実施形態の説明
指令現在位置 (当該分配周期の指令値が加算される前 の指令現在位置レジスタの値) s i ( X si, Y si , Z s i ) 、 機械の現実の位置 (現在位置 レジ スタの値) P i ( X p i, Y pi , Z p i ) 、 負荷現在値 (実電流またはオブザーバに よ り推定された値) t i ( X t i, Y t i, Z t i ) を求めて、 図 5 のテーブル T 1 を作成するまでは上記第 1 の実施の 形態と同一である。 そ して、 各ブロ ッ クの始点 (終点) S i に対応する指令現在位置 s ( X s . Y s , Z s ) を テーブル T 1 よ り求め、 この対応する指令現在位置 s = S i ( X si, Y si , Z s i ) に対応する現実の位置 (現在 位置 レジ スタの値) P i ( X pi, Y pi, Z pi ) 及び負荷 現在値 t i ( X t i, Y t i , Z t i ) を求め、 図 6 のテープ ル T 2 と同 じよ う なテーブルを作成する ( ステ ッ プ a 1 に対応) 。 この場合、 C A Dデータ は使用されない。
次に、 各ブロ ッ クの始点 (終点) S i ( X s i, Y s i , Z s i ) に対応する誤差 d i ( X di, Y di , Z di ) を求め る (ステ ッ プ a 2 に対応) 。 そ してこの誤差を各軸毎加 算 し補正された点 S ' i ( X s' i . Y s' i , Z s' i ) を求める (ステ ッ プ a 3 に対応) 。 即ち、 各軸每誤差を 加算して、 すなわち、
X s' i = X si + X di、
Y s' i = Y s i + Y di、
Z s' i = Z s i + Z di
の演算を して、 補正された点 S ' i を求める。 各軸の誤 差 X di, Y di, Z diが正であれば、 補正された各軸の値 X s' i , Y s' i , Ζ s' i は各ブロ ッ クの始点 (終点) S i の各軸の値 X s i , Y si. Ζ s iよ り大き い値とな り、 逆に誤差が負であれば小さな値となる。
その結果、 図 4 に示すよ う に、 補正された点 S ' i は、 各ブロ ッ クの始点 (終点) S i に対 して現実の位置 P i の点対称位置となる。 この補正された点 S ' i によ っ て 修正 N C データを作成すれば (ステ ッ プ a 4 に対応) 、 第 1 の実施の形態と同様にサーボ系の遅れによ り加工誤 差が生 じる位置においては、 その追従遅れ分だけ N C デ 一夕の指令位置が補正されている こ とになるから、 この サーボ系の遅れを相殺 して、 工具軌跡は補正前の N Cデ 一夕のブロ ッ クに近付き、 加工誤差が小さ く な リ 高精度 の加工を行う ことができる。
また、 この場合においても負荷 t i ( X t i, Y ti, Z ti ) を考慮 して上記補正を行う とすると、 この場合には、 各点 S i において各軸毎の誤差 X dし Y di, Z diに対す る各軸毎の重み X qi, Y qi, Z qiを各軸毎の負荷値 X t i, Y ti, Z t iよ り求め、 この重みを誤差 ( X dし Y di, Z di ) に乗 じて、 補正用の誤差と し、 補正された点 C ' i を求める よ う にする。
例えば X軸について述べる と、 X軸の負荷 X t iを全区 間 ( i := 1 〜 n ) 加算 してサンプ リ ング数 n で除 して平 均値を求め、 この平均値で各点の負荷値 X t iを割り重み X qiとする。
X qi = X t i / { ( X ti + X t2+ ··· + X tn) / n } 同様に、 Y軸の各点の重み Y q i、 Z軸の各点の重み Z q i は次のよ う になる。
Y qi = Y t i / { ( Y tl + Y t2+ ··· + Y tn) π } Z qi = Z t i / { ( Z t1 + Z t2+ - + Z tn) n } そ して、 補正された点 S ' i ( X s' i . Y s' i
Z s' i ) は次のよ う になる。
X s' i = X si + X qi - X di
Y s' i = Y si + Y qi - Y di
Z s' i = Z si + Z qi * Z di
なお、 この場合も、 各軸の負荷のそれぞれの平均値で 各点の負荷値 X t i、 Y t i、 Z t iを割って重み X q i、 Y q i、 Z qiを求める代わり に、 設定所定値 α (例えば負荷の平 均値の 0. 5 〜 2 倍程度の値) で各点の負荷値 X t i、 Y ti、 z tiを割っ て重み X qi、 Y qi、 Z qiを求めてもよ い。
なお、 この第 1 、 第 2 の実施形態では、 C N C装置の メ モ リ 容量が C A Dデータ等を記憶するには小さいこ と から、 ホス 卜 コ ン ピュ ータに運転情報のサンプ リ ングデ 一夕を送信し、 ホス ト コ ン ピ ュ ータで補正 N C データを 作成する よ う に したが、 C N C装置のメ モ リ 容量を十分 に大きなものにすれば、 ホス 卜 コ ン ピュ ータに運転情報 のサ ンプ リ ングデータを送信する こ とな く、 C N C装置 のプロ セ ッサによ って上記図 7 に示 した処理を実行 し補 正 N C データを作成するよ う に してもよ い。 特に第 2 の 実施形態では、 C A Dデータを少な く と も N C データ修 正時には使用 しないこ とから、 ホス 卜 コ ン ピュ ータで上 記 N C データ修正処理を行う こ とな く C N C装置自体で ラよ う に してもよい。
また、 上記第 1 、 第 2 の実施形態では、 分配周期毎の 指令現在位置、 実際の位置及び負荷値を求め、 この指令 現在位置の中から N Cデータの各ブロ ッ クの始点 (終点) の位置を求めたが、 1 ブロ ッ クの全ての移動指令を出力 し終えた後の次の分配周期時のみ、 分配移動指令を加算 する前の指令現在値レ ジ ス タ の値 (指令現在値) を読み 込むと共に、 実際の位置及び負荷値を読み取り記憶する ように してもよい。 この場合には、 N Cデータの各ブロ ッ クの始点 (終点) に対する実際の位置及び負荷値を直 接得ることになるから、 処理するデータ数が少なく てす む。

Claims

請 求 の 範 囲
1 . (a) 作成された N C加工データのも とで C N C工作 機械で加工を行って、 じ 〇から上記 1\1 〇 データの各 ブロ ッ クの始点または終点における指令位置に対応す る実際の加工位置データを得て、 その N C加工データ の各ブロ ッ クの始点または終点における指令位置と実 際加工位置との誤差を求め、
(b) その誤差に基づいてデータ補正量を求め、
( c ) 上記 N C加工データ における上記始点または終 点の指令位置を起点と して、 上記ブロ ッ クの始点また は終点の指令位置とそれに対応する実際の加工位置と を結ぶ直線上を、 上記実際の加工位置とは逆の方向に、 上記(b) で求めたデータ補正量だけ進んだ点を、 上記 N C加工データの当該プロ ッ クの始点または終点にお ける修正後の指令位置に設定する、
C N C データの補正方法。
2. 上記(b) では上記誤差をデータ補正量とする、 請求 の範囲第 1 項記載の C N C データの補正方法。
3. 上記 N C加工データのブロ ッ ク は、 C A D を利用 し て作成された曲線を連続する微小直線と したものから な り、 上記( b ) の N C データ における上記始点または 終点の指令位置とそれに対応する実際の加工位置とを 結ぶ直線は、 その始点または終点での上記曲線の法線 とする、 請求の範囲第 1 項記載の C N C データの補正 方法。
4 . C N C工作機械で加工を行う間に移動指令の分配周 期毎に移動指令の現在位置と実際の加工位置とを求め, これら分配周期每に求めた移動指令の現在位置のう ちの 1 つを、 上記(a ) の N Cデータの 1 ブロ ッ クの始 点または終点における指令位置と して選択 し、 かつそ の選択された移動指令の現在位置に対応する実際の加 ェ位置を、 そのブロ ッ クの始点または終点における実 際の加工位置データ とする、
請求の範囲第 1 項または第 3 項記載の C N C データの 補正方法。
5 . 上記( a ) ではさ らに、 N C データの各ブロ ッ クの始 点または終点における送 リ軸または主軸にかかる負荷 を求め、
上記(b ) では、 上記(a ) で求めた誤差と上記負荷と に基づいてデータ補正量を決定する、 請求の範囲第 1 項または第 3 項記載の C N Cデータの補正方法。
6 . 作成された N C加工データの加工速度を、 上記求め た負荷の値に応 じて変更する、 請求の範囲第 1 項また は第 3 項記載の C N C データの補正方法。
7 . 上記( a ) の N C データのブロ ッ クの始点または終点 における指令位置及びそれに対応する実際の加工位置 は送 り軸毎の位置データの集合によ って定義され、 したがって、 上記(a ) の指令位置と実際加工位置との 誤差も送リ軸每のデータの集合によ って定義され、 そ の結果、 上記(b ) でのデータ補正量も各送り軸毎のデ 一夕から成る、 請求の範囲第 1 項記載の C N C データ の補正方法。
8. 上記( a ) で C N Cが得た N C データの各ブロ ッ クの 始点または終点における指令位置に対応する実際の加 ェ位置データは、 C N Cから通信回線を介 してコ ン ビ ユ ー夕 に送られ、 このコ ン ピ ュ ータによ り その N C力!] ェデータの各ブロ ッ クの始点ま たは終点における指令 位置と実際加工位置との誤差が計算されてから、 さ ら に上記(b) 及び ) の処理がされる、 請求の範囲第 1 項記載の C N C データの補正方法。
9. C N C工作機械と C A D Z C A M機能をもつコ ン ビ ユ ー夕 とを通信回線でつなぎ、
上記 C N C工作機械は、
N Cデータに基づいて運転中の加工情報を所定周 期ごとサンプリ ングするサンプ リ ング手段と、
指令に応 じて、 上記サンプ リ ング手段で得た加工 情報を上記通信回線を介 して上記コ ン ピュ ータ に転送 するデータ転送手段とを備え、 また、
上記コ ン ピ ュ ータは、
上記 N C データの各ブロ ッ クの始点または終点に 対応する C A D データの点ごと に、 その点に対応する N C データ中の指令位置とその点に対応する上記加工 情報とを対応させて記憶する記憶手段と、
上記記憶手段に記憶された各点ごとの指令位置と 加工情報との対から、 その点での N C データの補正量 を計算する補正量計算手段と、
上記 C A Dデータの点の法線を計算する法線計算 手段と、
上記 N Cデータの各ブロ ッ クの始点または終点に 対応する C A Dデータの点ごとに、 その法線及び補正 量を上記法線計算手段及び補正量計算手段で求め、 そ の求めた法線及び補正量を使って上記 N Cデータの各 ブロ ッ クの始点または終点の修正指令位置を決定する 補正データ作成手段と、 さらに、
指令に応じて、 上記補正データ作成手段で修正さ れた N Cデータを上記通信回線を介して C N C工作機 械側に転送する修正データ転送手段とを
を備える、
C N Cデータの補正シ ス テム。
PCT/JP1997/001089 1996-03-29 1997-03-28 Procede de correction des donnees de commande numerique par ordinateur WO1997037291A1 (fr)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP97914563A EP0829791A4 (en) 1996-03-29 1997-03-28 METHOD FOR CORRECTING DATA FROM A NUMERIC COMPUTER CONTROLLER
US08/952,781 US6167325A (en) 1996-03-29 1997-03-28 CNC data correction method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP8/103172 1996-03-29
JP8103172A JPH09269808A (ja) 1996-03-29 1996-03-29 Cncデータ補正方法

Publications (1)

Publication Number Publication Date
WO1997037291A1 true WO1997037291A1 (fr) 1997-10-09

Family

ID=14347096

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP1997/001089 WO1997037291A1 (fr) 1996-03-29 1997-03-28 Procede de correction des donnees de commande numerique par ordinateur

Country Status (4)

Country Link
US (1) US6167325A (ja)
EP (1) EP0829791A4 (ja)
JP (1) JPH09269808A (ja)
WO (1) WO1997037291A1 (ja)

Families Citing this family (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6879874B2 (en) * 2001-09-03 2005-04-12 Siemens Aktiengesellschaft Evaluating excessive tolerances in NC parts programs
DE10157577A1 (de) * 2001-11-23 2003-12-24 Heidenhain Gmbh Dr Johannes Vorrichtung und Verfahren zur Erstellung und/oder Änderung von NC-Programmen oder NC-Tabellen
DE10157964B4 (de) * 2001-11-26 2011-06-22 Siemens AG, 80333 Verfahren zur Optimierung einer Oberflächengüte eines zu fertigenden Werkstücks anhand von CNC-Programmdaten
US7853351B2 (en) * 2002-02-21 2010-12-14 Gary John Corey CNC machine tool and integrated machine tool controller incorporating 3D and up to 8-axes real time interactive tool compensation
US6982731B2 (en) * 2002-09-16 2006-01-03 Shopbot Tools, Inc. Method and system for remotely providing user-defined cutting files for CNC robotic tools
US8473092B2 (en) * 2004-08-06 2013-06-25 Horkos Corporation Complete round working method and complete round working device in NC machine tool
JP4137909B2 (ja) * 2005-04-13 2008-08-20 ファナック株式会社 ロボットプログラム補正装置
US7652668B1 (en) * 2005-04-19 2010-01-26 Adobe Systems Incorporated Gap closure in a drawing
JP4800873B2 (ja) * 2006-08-04 2011-10-26 オークマ株式会社 近似点群データからの近似曲線生成プログラム及び方法
AT505004B1 (de) * 2007-07-23 2008-10-15 Gruenberger Thomas Dr Verfahren und einrichtung zur einstellung einer bearbeitungsposition
JP2009122852A (ja) * 2007-11-13 2009-06-04 Fanuc Ltd パステーブル運転時の運転履歴を記憶する数値制御装置
JP5108662B2 (ja) * 2008-07-07 2012-12-26 株式会社森精機製作所 加工プログラム処理装置
JP2010152550A (ja) * 2008-12-24 2010-07-08 Canon Inc 作業装置及びその校正方法
TWI426364B (zh) * 2010-11-25 2014-02-11 Inst Information Industry 工具機資料擷取裝置及方法
WO2012069284A1 (de) * 2010-11-25 2012-05-31 Komet Group Gmbh Server eines computernetzwerks
DE112012006342B4 (de) 2012-07-17 2019-05-09 Mitsubishi Electric Corporation Numerische Steuervorrichtung und numerisches Steuersystem
EP2853354B1 (de) * 2013-09-27 2018-05-16 Siemens Aktiengesellschaft Lageregelung mit Kollisionsvermeidung und Anpassung eines Maschinenmodells an die reale Maschine
CN106233213B (zh) 2014-04-16 2018-12-21 三菱电机株式会社 指令值生成装置
US10414051B2 (en) * 2014-11-18 2019-09-17 Ged Integrated Solutions, Inc. File translator system
JP6860843B2 (ja) * 2017-02-20 2021-04-21 株式会社安川電機 ロボットシステム、ロボット制御装置、及びロボット制御方法
JP6646027B2 (ja) 2017-10-30 2020-02-14 ファナック株式会社 ポストプロセッサ装置、加工プログラム生成方法、cnc加工システム及び加工プログラム生成用プログラム
JP6740199B2 (ja) 2017-10-30 2020-08-12 ファナック株式会社 数値制御装置、cnc工作機械、数値制御方法及び数値制御用プログラム
JP7061013B2 (ja) * 2018-05-08 2022-04-27 株式会社Ihi 経路補正方法及び多軸加工機の制御装置
JP7148421B2 (ja) 2019-01-22 2022-10-05 ファナック株式会社 工作機械の予防保全システム
JP7277152B2 (ja) * 2019-01-22 2023-05-18 ファナック株式会社 工作機械の工具管理システム
WO2021007022A1 (en) 2019-07-05 2021-01-14 Moore Nanotechnology Systems, LLC System and method for correcting machining error during a precision jig grinding process
CN115906298A (zh) * 2021-08-27 2023-04-04 中信戴卡股份有限公司 基于制图工具的曲线拟合方法、装置及设备

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58129606A (ja) * 1982-01-29 1983-08-02 Toyoda Mach Works Ltd 群管理システムにおけるデ−タ転送方法
JPS6294248A (ja) * 1985-10-17 1987-04-30 Mitsubishi Electric Corp 数値制御装置
JPS63118606U (ja) * 1987-01-22 1988-08-01
JPH03164811A (ja) * 1989-11-22 1991-07-16 Nippon Seiko Kk サーボモータの送り補正方法
JPH04111003A (ja) * 1990-08-30 1992-04-13 Nikon Corp Nc装置
JPH08185211A (ja) * 1994-12-28 1996-07-16 Nippondenso Co Ltd 加工制御方法

Family Cites Families (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3917930A (en) * 1974-11-25 1975-11-04 Cincinnati Milacron Inc Method and apparatus for adaptively positioning a machine element
EP0068765B1 (en) * 1981-06-20 1987-06-03 Fanuc Ltd. Numerical control method
JPS5976720A (ja) * 1982-10-27 1984-05-01 Inoue Japax Res Inc 放電加工装置
JPS60107106A (ja) * 1983-11-15 1985-06-12 Mitsubishi Electric Corp 曲線補間装置
JPH07113856B2 (ja) * 1985-03-20 1995-12-06 東芝機械株式会社 追従誤差制御装置
JPS6222107A (ja) * 1985-07-22 1987-01-30 Fanuc Ltd Ncデ−タ作成方法
JPS63118606A (ja) * 1986-04-30 1988-05-23 Nkk Corp ロ−ル芯の測定方法
CA1282142C (en) * 1986-10-21 1991-03-26 Sony Corporation Method for generating offset surface data
JPH01205929A (ja) * 1988-02-15 1989-08-18 Fanuc Ltd Ncデータ作成方法
JPH02148109A (ja) * 1988-11-29 1990-06-07 Fanuc Ltd Cnc制御方式
US5005135A (en) * 1989-03-22 1991-04-02 Cincinnati Milacron, Inc. Dynamic correction of servo following errors in a computer-numerically controlled system and fixed cycle utilizing same
DE69028041T2 (de) * 1989-05-17 1997-01-09 Fujitsu Ltd Profilsteuerungssystem für Roboter
JPH03260708A (ja) * 1990-03-09 1991-11-20 Toshiba Mach Co Ltd 位置誤差補正方法
JP2801064B2 (ja) * 1990-03-20 1998-09-21 東芝機械株式会社 Nc装置
DE69124133T2 (de) * 1990-05-11 1997-08-21 Hitachi Keiyo Eng Automatisierte Produktionsstrasse
ES2083409T3 (es) * 1990-09-25 1996-04-16 Heidenhain Gmbh Dr Johannes Procedimiento para determinar el contorno de trayectoria de herramientas para maquinas de control numerico.
JP3327655B2 (ja) * 1993-12-27 2002-09-24 ブラザー工業株式会社 Nc工作機械の変位補正装置
JP2706420B2 (ja) * 1993-12-27 1998-01-28 村田機械株式会社 Nc工作機械の工具刃先位置補正方法及びその装置
JPH08132332A (ja) * 1994-11-04 1996-05-28 Fanuc Ltd 工作機械における位置ずれ補正方法
EP0770445B1 (de) * 1995-10-06 2001-11-07 Elpatronic Ag Verfahren zum Kontrollieren und Positionieren eines Strahls zum Bearbeiten von Werkstücken

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58129606A (ja) * 1982-01-29 1983-08-02 Toyoda Mach Works Ltd 群管理システムにおけるデ−タ転送方法
JPS6294248A (ja) * 1985-10-17 1987-04-30 Mitsubishi Electric Corp 数値制御装置
JPS63118606U (ja) * 1987-01-22 1988-08-01
JPH03164811A (ja) * 1989-11-22 1991-07-16 Nippon Seiko Kk サーボモータの送り補正方法
JPH04111003A (ja) * 1990-08-30 1992-04-13 Nikon Corp Nc装置
JPH08185211A (ja) * 1994-12-28 1996-07-16 Nippondenso Co Ltd 加工制御方法

Non-Patent Citations (1)

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

Also Published As

Publication number Publication date
US6167325A (en) 2000-12-26
EP0829791A1 (en) 1998-03-18
EP0829791A4 (en) 2000-04-19
JPH09269808A (ja) 1997-10-14

Similar Documents

Publication Publication Date Title
WO1997037291A1 (fr) Procede de correction des donnees de commande numerique par ordinateur
WO1997034207A1 (fr) Procede d&#39;affichage/entree de donnees pour appareil a commande numerique par calculateur utilise comme terminal en ligne
US6397111B1 (en) Numerically controlled machine tool and method
US20110046773A1 (en) Tool vector display apparatus for a machine tool with rotational axes
US8862251B2 (en) Controller for machine tool and machining-related data processing system provided therewith
AU602996B2 (en) Control systems of an industrial robot
KR20160037230A (ko) 수치 제어 머신 툴의 동작을 제어하기 위한 제어 시스템 및 이러한 시스템에서 이용하기 위한 백 엔드 및 프론트 엔드 제어 디바이스들
WO2002042853A1 (en) Method and apparatus for programming
US12372945B2 (en) Numerical control system
CN108818095B (zh) 一种换刀方法及数控机床
CN112147949B (zh) 参数管理装置及其管理系统
EP2677379A1 (en) Control method, control program and controller of numerical control machine tool
US11899428B2 (en) Work resume system, manufacturing method, and program
EP2104013B1 (en) Numerical controller with machining restart function
US7774088B2 (en) Numeric control apparatus and numeric control machine controlling a number of systems
CN1189818C (zh) 一种数控系统下位机的软件实现方法
CN101329561A (zh) 具有应急处理功能的自动化码头设备作业控制系统及方法
CN104126154A (zh) 技术设备的控制技术的自动规划
JP2003202910A (ja) 数値制御工作機械用パラメータ設定装置
Tanaya et al. Holonic machine controller: A study and implementation of holonic behaviour to current NC controller
WO2017101700A1 (zh) 与数控系统直接通讯的计算机辅助制造方法及装置和系统
CN112612245A (zh) 轴运动控制方法、装置、终端设备及计算机可读存储介质
JP7495499B2 (ja) 数値制御システム
JP3442922B2 (ja) プラント監視制御装置
EP3832415A1 (en) Automation system, tracking device of said automation system, and method for controlling the same

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): US

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): AT BE CH DE DK ES FI FR GB GR IE IT LU MC NL PT SE

WWE Wipo information: entry into national phase

Ref document number: 08952781

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 1997914563

Country of ref document: EP

121 Ep: the epo has been informed by wipo that ep was designated in this application
WWP Wipo information: published in national office

Ref document number: 1997914563

Country of ref document: EP

WWW Wipo information: withdrawn in national office

Ref document number: 1997914563

Country of ref document: EP