WO1999010790A1 - Numeric controller provided with teaching/playback function - Google Patents

Numeric controller provided with teaching/playback function Download PDF

Info

Publication number
WO1999010790A1
WO1999010790A1 PCT/JP1998/003735 JP9803735W WO9910790A1 WO 1999010790 A1 WO1999010790 A1 WO 1999010790A1 JP 9803735 W JP9803735 W JP 9803735W WO 9910790 A1 WO9910790 A1 WO 9910790A1
Authority
WO
WIPO (PCT)
Prior art keywords
tool
path
teaching
program
stored
Prior art date
Legal status (The legal status 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 status listed.)
Ceased
Application number
PCT/JP1998/003735
Other languages
English (en)
French (fr)
Japanese (ja)
Inventor
Satoru Shinozaki
Susumu Nagayama
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fanuc Corp
Original Assignee
Fanuc Corp
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 Corp filed Critical Fanuc Corp
Priority to EP98938951A priority Critical patent/EP0935179A1/en
Publication of WO1999010790A1 publication Critical patent/WO1999010790A1/ja
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • G—PHYSICS
    • G05—CONTROLLING; REGULATING
    • G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00—Program-control systems
    • G05B19/02—Program-control systems electric
    • G05B19/18—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of program data in numerical form
    • G05B19/4093—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of program data in numerical form characterised by part programming, e.g. entry of geometrical information as taken from a technical drawing, combining this with machining and material information to obtain control information, named part program, for the NC machine
    • G05B19/40937—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of program data in numerical form characterised by part programming, e.g. entry of geometrical information as taken from a technical drawing, combining this with machining and material information to obtain control information, named part program, for the NC machine concerning programming of machining or material parameters, pocket machining
    • G—PHYSICS
    • G05—CONTROLLING; REGULATING
    • G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00—Program-control systems
    • G05B2219/30—Nc systems
    • G05B2219/35—Nc in input of data, input till input file format
    • G05B2219/35252—Function, machine codes G, M
    • G—PHYSICS
    • G05—CONTROLLING; REGULATING
    • G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00—Program-control systems
    • G05B2219/30—Nc systems
    • G05B2219/35—Nc in input of data, input till input file format
    • G05B2219/35259—Divide program in machining division blocks, and name them
    • G—PHYSICS
    • G05—CONTROLLING; REGULATING
    • G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00—Program-control systems
    • G05B2219/30—Nc systems
    • G05B2219/35—Nc in input of data, input till input file format
    • G05B2219/35576—Data divided in blocks to be covered by small movement, to origin by large movement
    • G—PHYSICS
    • G05—CONTROLLING; REGULATING
    • G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00—Program-control systems
    • G05B2219/30—Nc systems
    • G05B2219/36—Nc in input of data, input key till input tape
    • G05B2219/36401—Record play back, teach position and record it then play back
    • G—PHYSICS
    • G05—CONTROLLING; REGULATING
    • G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00—Program-control systems
    • G05B2219/30—Nc systems
    • G05B2219/36—Nc in input of data, input key till input tape
    • G05B2219/36482—Recording of position and of command instructions
    • G—PHYSICS
    • G05—CONTROLLING; REGULATING
    • G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00—Program-control systems
    • G05B2219/30—Nc systems
    • G05B2219/36—Nc in input of data, input key till input tape
    • G05B2219/36492—Record position and orientation, posture of probe, tool
    • G—PHYSICS
    • G05—CONTROLLING; REGULATING
    • G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00—Program-control systems
    • G05B2219/30—Nc systems
    • G05B2219/36—Nc in input of data, input key till input tape
    • G05B2219/36495—Recording position and other parameters, current, tool diameter, voltage
    • Y—GENERAL 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
    • Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Definitions

  • the present invention relates to an improvement of a teaching control ⁇ numerical control device with a playback function.
  • a teaching function that saves the motion path taught via the numerical controller as an NC program in the numerical controller, and automatically re-executes the taught motion path according to the NC program.
  • a teaching device having a playback function and a numerical control device with a playback function are known.
  • FIG. 10 shows an example of the operation panel of a conventional teaching control device with a playback function. As shown in FIG. 10, on the operation panel 100, various switch groups as described below are prepared.
  • the exchange switch 105 is an operation that is not related to the movement of the blade, that is, a switch that achieves an auxiliary function operation, and is selected independently of the operation path of the machine.
  • the operating handles 108 and 109 are connected to manual pulse generators for the X and Z axes.
  • the blade mounted on the lathe or the like can be rotated in the X-axis (parallel to the spindle axis).
  • Direction and Z-axis (direction perpendicular to the X-axis).
  • the trajectory of the blade is the machine's path.
  • the teaching switch 106 sets the start and end points of the tool moved by the operation of the operation handles 108 and 109, that is, the position of the tool before the handle operation and the position after the handle operation.
  • the playback switch 107 is an operating means for causing the numerical control device to execute the above-mentioned NC program stored in the program memory by using the numerical controller and re-executing the teaching operation. .
  • the teaching operation involves operating the switch groups 101 to 105 that implement the auxiliary function operation and the operation handles 108 and 109 that implement the movement of the blade. Can be implemented.
  • the NC program saving process executed based on the operation of the teaching switch 106 supports only the actual movement of the blade by the operation of the handles 108 and 109. . That is, during teaching work, the spindle switch 101, the spindle stop switch 102, the coolant switch 103, the coolant stop switch 104 and the tool Even if one of the exchange switches 105 is operated to select the related auxiliary function operation, the selected auxiliary function operation may be performed by the operation of the teaching switch 106. It is not stored in the NC program.
  • the tee is operated each time the handles 108 and 109 are operated once. Since it is necessary to operate the switching switch 106 and save the movement between them as an operation path for one block, the teaching operation becomes troublesome.
  • the numerical controller responds to the operation of the teaching switch 106, and determines the start and end points of the movement path, that is, the position of the blade before the handle operation and the current position of the blade after the handle operation. Since the NC program of the motion path for one block is generated based on the relationship with, for example, the blade is moved from the position ((0, ⁇ ) through (x1, z1) to ( x2, z2), if you do not operate the teaching switch "! 06" at the position (x1, z1), the blade will go directly to the (X0, z2) position during playback. When moving from the position of (z 0) to the position of (x 2, z 2), a certain phenomenon occurs.
  • An object of the present invention is to perform teaching work simultaneously with the operation path of a machine, including auxiliary function operations such as spindle rotation and cooling ON / OFF, and frequently manually save the operation path. It is not necessary, and even if the operator does not select a teaching point in consideration of the operation path of the machine, teaching and numerical control with playback function do not cause problems such as tool interference during playback. Equipment.
  • the numerical controller with the playback function manually operates the machine via the numerical controller, and the teaching function that saves the operation path as an NC program in the numerical controller, and the teaching operation path described above
  • a detection means for detecting a selection operation of an auxiliary function operation that does not affect the operation path during the manual operation, and a detection means A command corresponding to the detected auxiliary function operation and a storage means for storing the operation path of the manual operation of the machine in a program memory as an NC program.
  • the operation path in the manual operation and the auxiliary function operation selected in the meantime are temporarily stored in a temporary storage storage means in a time series, and the temporary storage operation is performed at the final stage of the manual operation.
  • the contents of the storage means are collectively saved in the program memory as an NC program.
  • a change in the direction of the operation path in the manual operation is detected to divide the operation path, and each of the divided operation paths is stored as an independent operation block in the storage means for temporary storage.
  • Teaching according to the present invention ⁇ Numerical control device with playback function detects an auxiliary function operation selected during manual operation and saves it in program memory. Teaching work for auxiliary functions such as spindle rotation and coolant ONZOFF, which was not possible with the numerical control device, can be performed at the same time as teaching work for the machine operation path.
  • the operation path of the machine and the auxiliary function operation selected between them are temporarily stored in the automatic storage means in a time series, and the contents of the automatic storage means are collectively stored in the program memory at the final stage of the manual operation. Since it is stored as an NC program at the same time, the inconvenience of manually saving the operation path in block units is eliminated.
  • the motion path is automatically divided, and each of them is stored as an independent motion block in time series. This eliminates the need for the operator to determine the teaching point in consideration of the machine's motion path so that interference does not occur during playback, and the teaching work by the operator is greatly reduced. Simplified.
  • each block of the NC program stored in the program memory is displayed on the display using character strings and symbolic figures, and edited using the editor function of the numerical controller. This makes it easy to modify programs such as deleting and replacing unnecessary and duplicated operation paths created by teaching work, and playback. The most suitable NC program can be easily created.
  • Fig. 1 is a block diagram showing the teaching of one embodiment to which the present invention is applied.
  • FIG. 1 is a block diagram showing the teaching of one embodiment to which the present invention is applied.
  • FIG. 2 is a conceptual diagram showing an operation panel of the numerical controller according to the embodiment.
  • FIG. 3 is a conceptual diagram showing a display example of a display of the numerical controller according to the embodiment.
  • Fig. 4-Fig. 9 are a series of flowcharts showing the outline of the teaching process by the numerical controller of the embodiment.
  • Fig. 10 shows the conventional teaching 'numerical control device with playback function. It is a conceptual diagram which shows an example of an operation panel. Best mode for carrying out the invention
  • the processor 11 reads the system program stored in the ROM 12 via the node 21 and controls the numerical controller 10 as a whole according to the system program.
  • RAM 13 is a memory for temporary storage.
  • the CMOS memory 14 is backed up by a battery (not shown) and has a role of a non-volatile memory that retains a memory state even when the numerical controller 10 is turned off.
  • An external device 72 such as a paper tape reader or a paper tape puncher is connected to the interface 15 for the external device.
  • the NC program is read from the paper tape reader, and the NC program edited in the numerical controller 10 can be output to the paper tape puncher.
  • the programmable controller 16 controls the machine tool by a sequence program built in the numerical controller 10. That is, according to the functions specified by the NC program, these sequence programs convert the signals into the signals required on the machine tool side, and output the signals from the IZO unit 17 to the machine tool side. With this output signal, various actuators on the Rie machine are activated. In addition, it receives signals from the limit switch and the like on the machine tool side, performs necessary processing, and passes it to the processor 11. Image signals such as the current position of each axis, alarms, parameters, and image data are manually input with display.
  • the interface 18 Sent to the display screen and displayed.
  • the interface 18 receives data from the CRTZMDI unit 70 keyboard and passes it to the processor 11.
  • the interface 19 is connected to a manual pulse generator group 71 composed of three manual pulse generators for X-axis, Z-axis and guidance, and these manual pulses are connected. Receives pulse from generator.
  • the three manual pulse generators for X-axis, Z-axis and guidance are mounted on the operation panel 1 1 2 of the machine tool as shown in Fig. 2, and each manual pulse generator has X-axis operation handle 1 08, Z-axis operation handle 1 109, and guidance operation handle 1 1 1 are installed.
  • the operation panel 1 1 2 has a spindle switch 10 1, a spindle stop switch 10 2, a coolant switch 10 3, and a coolant, similarly to the conventional device shown in FIG. 10.
  • a stop switch 104, a tool change switch 105, a teaching switch 106, a playback switch 107 are provided, and the function of a guidance operation handle 111 is provided.
  • a selection switch 110 is provided for selecting the user. Signals from these switches are passed to processor 11 via IO unit 17 and programmable controller 16.
  • the axis control circuits 30 and 31 are connected to the X-axis from processor 11 And the movement command of the z-axis or the pulse from the manual pulse generator of the X-axis or the z-axis and outputs them to the servo amplifiers 40 and 41.
  • these servo amplifiers 40 and 41 drive the X-axis and Z-axis servo motors 50 and 51 in response to this command.
  • the X and Z axis servo motors 50 and 51 have built-in pulse coders (not shown) for position / velocity detection. Feedback signals from these pulse coders are fed to the axis control circuits 30 and 3. Feedback is returned to 1.
  • Each of the servo control CPUs built in the axis control circuits 30 and 31 performs each processing of the position loop, speed loop and current loop based on these feedback signals and the above-mentioned movement commands.
  • the current command for the final drive control is obtained for each axis, and the position and speed of the X and Z axis servo motors 50 and 51 are controlled.
  • the spindle control circuit 60 outputs a spindle speed signal to the spindle amplifier 61 in response to a spindle rotation command and a command such as spindle orientation.
  • the spindle amplifier 61 generates a spindle motor based on the spindle speed signal and a feedback signal from a detector (not shown) that detects the rotational speed and position of the spindle motor 62. 6 Turn 2 at the specified speed.
  • the rotational position of the spindle motor 62 is positioned at a predetermined position according to the orientation command.
  • step S1 It is determined whether or not the preparatory machining end signal has been input from the CRTZMDI unit 70 (step S1).
  • This preparatory machining end signal is input by the operator operating the CRTZMDI unit 70 when teaching operations for all machining processes such as roughing, semi-finishing, and finishing are completed. At the stage where the process is started, the preparatory machining end signal is not input.
  • the processor 11 initializes both the value of the write pointer and the value of the read pointer of the buffer 1 constituting the storage means for temporary storage (Step S2, Step S2). 3) Initialize the contents of buffer 2 for temporarily storing the shape data input by the operator (Step S4). Read the current position of the blade from the current position storage register of each axis and store the end point position Direction storage Set in register A and previous position storage Register B to store the direction of the operation path The register V 'is initialized (step S5).
  • each of the movement direction storage flag F1, the shape input storage flag F2, the approach storage flag F3, and the shape processing storage flag F4 is reset (step S6).
  • the processor 11 determines whether or not the teaching switch 106 of the operation panel 112 is operated (step S7), and the teaching switch 106 determines whether the teaching switch 106 is rough.
  • the teaching switch 106 is operated at this stage because the teaching operation for one machining process such as picking, semi-finishing, finishing, etc., is completed. There is nothing.
  • the processor 11 further includes a spindle switch 101, a spindle stop switch 102, a coolant switch 103, and a coolant stop switch 100. 4. It is determined whether or not a switch for auxiliary function operation such as a tool change switch 105 is operated (step S8).
  • step S8 which is the detection means of the auxiliary function operation selection
  • the processor 11 determines whether or not the movement direction storage flag F1 is set. That is, it is determined whether or not the motion path of the blade immediately before any of the auxiliary function operation switches 101 to 105 is operated is already stored in the buffer 1. (Step S19).
  • a change in the direction of the motion path of the blade is detected to divide the path, and the path is divided. Since each of them is stored as an independent motion block in the buffer 1 sequentially, the motion path of the blade is stored in the buffer 1 unless a change in the direction of the motion path is detected.
  • the moving direction storage flag F 1 is reset when the motion path for one block is newly stored in the buffer 1, while the moving direction of the blade is maintained in the same direction. During this time, the set state is maintained.
  • step S19 determines whether the spindle switch 101 and the spindle stop switch while the moving direction of the blade is maintained in the same direction.
  • auxiliary function operation switches such as 102, Coolant switch 103, Coolant stop switch 104, Tool change switch 105, etc.
  • the operation path of the blade corresponding to the section from the end point of the previous divided path to the current position of the blade at the time of the current operation of the auxiliary function operation switch is determined, and the operation of the auxiliary function operation switch is stored. It must be stored in buffer 1 at the previous stage.
  • step S19 when the determination result of step S19 becomes true, the processor 11 executes the processing of SUB (A) shown in step S20, and executes the processing from the end point position of the previous divided path.
  • the motion path of the blade corresponding to the current position of the blade at the time of operation of the auxiliary function operation switch is determined and stored in buffer 1.
  • FIG 8 shows the details of the SUB (A) processing.
  • the processor 11 first stores the current position of the blade stored in the immediately preceding position storage register B, which will be described later, and the end point position storage register A. Based on the relationship between the end point position of the previous divided path and the end point position of the previous divided path, the operation path of the blade equivalent to the current position B of the blade at the time of the operation of the auxiliary function operation switch is calculated. This operation path is stored in the buffer 1 in accordance with the address specified by the write pointer (step A1), and the contents of the end point position storage register A are stored in the immediately preceding position storage register B. Then, the divided path is updated to the end point position of the newly stored divided path (step A2). Then, the value of the write pointer is incremented and the write address of the next divided path or auxiliary function operation command in buffer 1 is stored (step A3). ), And resets the movement direction storage flag F1 (step A4).
  • the position of the blade corresponding to the switch operation time is determined.
  • the operation path of the blade is automatically divided, and the operation path of the blade from the end point of the previous division path to the current position of the blade at the time of operating the auxiliary function operation switch is automatically set (as the next division path). That is, it is memorized in the buffer 1.
  • step S19 If the movement direction storage flag F1 is reset and the determination result of step S19 is false, the operation path up to the time when the auxiliary function operation switch is operated is already set. Since this means the state stored in buffer 1, there is no need to execute step S20 again.
  • step S 19 or step S 20 the processor 11 executes the processing of SUB (B) shown in step S21, and executes the processing corresponding to the auxiliary function operation detected in the processing of step S8 described above. At the same time, the command corresponding to this auxiliary function operation is stored in buffer 1.
  • FIG 9 shows the details of the processing of SUB (B).
  • the processor 11 first issues a command corresponding to the selected auxiliary function operation switch, for example, ONZOFF of the spindle motor to the machine side (step B 1), and responds to this command.
  • the command is stored in buffer 1 in accordance with the address specification of the write pointer (step B2), the value of the write pointer is incremented, and the next division in buffer 1 is performed.
  • the path or the write address of the auxiliary function operation command is stored (step B3).
  • step S7 the processor 11 shifts to the process of step S7, and starts the detection process of the switch operation or the handle operation again in the same manner as described above.
  • step S8 If the switch operation for operating these auxiliary functions is not detected and the determination result of step S8 is false, the processor 11 further sets the shape input storage flag F2. It is determined whether or not a setting has been made, that is, whether or not the operator's shape input operation for the buffer 2 has already been executed at this stage (step S9).
  • the shape input storage flag F 2 is set. If not, the operator's shape input operation on buffer 2 will be permitted again.
  • the operator can use the CRTZMDI unit 70 keyboard to input numerical values, etc.
  • One of the contour of the shape, the contour of the semi-finished shape, the contour of the finished shape, etc. can be arbitrarily generated and set in the buffer 2.
  • the work to be performed is not an essential requirement in the teaching work on the lathe, and naturally the X-axis operation handle 108 and the Z-axis operation handle Although it is possible to achieve teaching work in all machining steps by operating only the dollar 109, it is possible to set the contour of the machining shape in buffer 2 in advance, It is possible to simplify part of the teaching work.
  • the operator wants to use this function select the shape input mode by operating the CRTZMDI unit 70 at any stage before bringing the tool into contact with the workpiece, and select the numerical value from the keyboard. Using input and the like, the outline of the rough shape, the outline of the semi-finished shape, the outline of the finished shape, etc. of the workpiece to be machined are set in the buffer 2.
  • step S10 determines whether the shape input mode is selected. If the shape input mode is selected, the determination result of step S10 is true (Y), and processor 11 accepts the operator's shape input operation and adds it to buffer 2. The outline of the shape is saved (step S11), and the shape input storage flag F2 is set (step S12).
  • the processor 11 further selects whether the approach operation function of the guidance operation window 1 11 1 is selected by the selection switch 110 or the shape machining operation function. That is, it is determined whether the operation has been performed (step S13, step S14).
  • the opening processor 11 sets the approach memory flag F3 and resets the shape processing memory flag F4 (Step S). 17, step S18). If the shape processing operation function is selected, the shape processing memory flag F4 is set and the approach memory flag F3 is reset (steps S15 and S16).
  • the contour data of the machined shape be stored in buffer 2, and this contour data is stored. If not, the processor 11 does not refer to the setting status of the selection switch 110 (step See S9). Therefore, the approach memory flag F 3 and the shape machining memory flag F 4 are set because the contour data of the machined shape is stored in the buffer 2 and the shape input memory flag F 2 is set. Only if
  • the contour setting of the machining shape for the buffer 2 can be performed.
  • Step S12, step S10 (judgment: N), step S14 (judgment: N), step S16 or step S18 have been completed.
  • the processor 11 determines whether or not the guidance operation handle 11 1 is being operated (step S22).
  • the guidance operation handle 1 1 1 is for performing an opening operation and a cutting feed operation of a cutting tool using the contour data of the processing shape stored in the buffer 2.
  • the processor 11 When the operation handle for guidance 11 is operated, the processor 11 first determines whether the approach storage flag F 3 is set (step S 23), and the shape processing storage flag. It is determined whether or not F4 is set (step S24). If the approach memory flag F3 is set, it is determined based on the contour data of the machining shape stored in the buffer 2. Find the vector in the normal direction (approach direction) of the workpiece, and compare it with the X-axis and Z-axis support motors 50 and 51. Calculates the distribution ratio of the movement command pulse to be performed, distributes the movement command pulse to the X-axis and Z-axis servo motors 50 and 51 according to the operation amount of the guidance operation handle 1 Approach the workpiece and cut (or separate it from the workpiece) (Step S30).
  • the processor 11 performs the processing based on the contour data of the processing shape stored in the buffer 2 and the current position of the blade on the contour data. Calculate the distribution ratio of the movement command pulse to the X-axis and Z-axis servo motors 50 and 51, and calculate the X-axis and Z-axis servo ratios according to the operation amount of the guidance operation handle 1 1 1. —Distribute the movement command pulses to the pomotors 50 and 51 and move the cutting tool along the contour data of the machining shape to cut (Step S31). Then, the current position of the blade on the contour data is updated (step S32).
  • the cutting tool always returns to the contour data of the processing shape. It will move along. Therefore, basically, the above-mentioned approach motion function is used, or the operation of the X-axis operation handle 108 or the Z-axis operation handle 109 is used to determine the current state of the blade in advance.
  • the position is contour data of the processed shape It is correct to select the shape processing operation function after making it coincide with the processing start point of, and to operate the guidance operation handle 1 1 1.
  • step S34 it is determined whether or not the Z-axis operation handle 109 has been operated (step S35), and if any of the operation handles has been operated, the operation amount corresponding to the operation amount is determined.
  • step S36 To move the cutter by distributing the movement command pulse to the X-axis or Z-axis servomotors 50 and 51 (step S36).
  • Step S24 (Judgment: N), Step S32, Step S30, Step S35 (Judgment: N) or Step S36 has been completed.
  • the processor 11 reads the current position of the blade from the current position storage register of each axis, compares it with the current value of each axis of the immediately preceding position register B, and executes steps S32 and S32. It is determined whether the blade has been moved by the processing of 30 or step 36 (step S25).
  • the processor 11 When the movement of the blade is detected by the discriminating process in step S25, the processor 11 firstly stores the current position and the immediately preceding position of the blade read from the current position storage register of each axis. Based on the current value of each axis of B, the direction vector of the movement direction V (X, Z) by this handle operation is obtained (step S26), and the value of the direction storage register V 'is obtained. In comparison, it is determined whether or not the two coincide with each other, that is, whether the moving direction of the blade by the current handle operation is the same as the moving direction of the blade by the previous handle operation. Judge (step S2f).
  • V and V 'match regardless of the value of V Will be considered As a result, such a discrimination mode occurs only when the handle is first moved.
  • the processor 11 sets the moving direction storage flag F1 and sets the previous moving direction storage flag F1.
  • the value of the direction storage register V ' is updated to the value of the direction storage register V
  • the value of the immediately preceding position storage register B is stored.
  • the current value of the axis is updated to the value of the current position storage register of each axis (step S29).
  • V ′ and the value of V are equal in the process in step S27.
  • the value of V ' is updated to V even though it is determined that the handle has been operated, because the direction of movement when the handle is first operated is stored in register V' and the initial value (0, 0 ).
  • step S27 If the moving direction V of the blade by this handle operation and the moving direction V 'of the blade by the previous handle operation do not match, and the determination result of step S27 is false, the blade Means that the moving direction of the blade has changed, the processor 11 executes the above-described process of SUB (A), and the position immediately before the blade read from the immediately preceding position storage register B and the position of the end point.
  • the operating path of the blade from the end point A of the previous divided path to the position immediately before the direction change point is obtained, and this The operation path is stored in buffer 1 according to the address specified by the write pointer, and the contents of the end point position storage register A are stored in the immediately preceding position storage register B (that is, the contents of the newly stored divided path At the end point) New to. Then, the value of the write pointer is incremented to store the next divided path in buffer 1 or the write address of the auxiliary function operation command, and to move the buffer.
  • the direction storage flag F1 is reset (step S33).
  • Step S34 the value of the direction storage register V ' is updated to the value of the direction storage register V, and the current value of each axis of the immediately preceding position storage register B is updated to the value of the current position storage register of each axis.
  • steps S26 to S29 and steps S33 to S34 are performed. Is not executed.
  • step S29 the processor 11 that has completed the processing of step S29, step S34, or step S25 (judgment: Y) shifts to the processing of step S7 again.
  • step S25 judgment: Y
  • the detection process such as the switch operation or the handle operation is started in the same manner as described above.
  • the spindle switch 101, the spindle stop switch 102, the coolant switch 103, the coolant stop switch 104, and the tool change switch 104 The operation of the various auxiliary function operation switches such as 5 is detected by the processor 11 by the discrimination processing of step S8, and the operation is performed by the processing of step S21, that is, the processing of SUB (B). To fa 1 It is memorized.
  • step S19 the determination process of step S8.
  • the processor 11 executes the auxiliary function operation switch by the processing of step S20, that is, SUB (A).
  • the operation path of the blade is automatically divided at the position of the blade at the time when the operation of the blade is detected, the operation path of the blade up to that point is stored in the buffer 1, and then the step S21 is performed. That is, the process of SUB (B) is executed, and the operations of the various auxiliary function operation switches are stored in the buffer 1.
  • the movement of the blade by operating the X-axis operation handle 108 and the Z-axis operation handle 109, and the movement of the blade by operating the guidance operation handle 111 are respectively status. Is detected in the discrimination process of step S25, and the processing direction of step S26 and step S27 causes the moving direction V of the blade by the current handle operation and the blade movement by the previous handle operation. The direction V 'is compared. Then, only when a change in the direction of movement of the blade is detected, the motion path of the blade is It is automatically divided at each change of direction, and the motion path from the end point of the previous divided path to the current position of the blade is obtained by the processing of step S33, that is, SUB (A). This is stored in buffer 1 as an operation path for one block.
  • the teaching switch 106 is operated to save the motion path for one block. There is no need for manual operation, and there is no need for the operator to determine the teaching point and divide the operating path of the blade in consideration of interference of the blade during playback. Further, teaching work relating to the operation of the auxiliary function operation switch, which was impossible with the conventional device, can be performed simultaneously with teaching of the operation path of the blade.
  • the detection of the movement of the blade by the handle operation and the storage processing of the accompanying motion path may be due to the operation of the X-axis operation handle 108 or the Z-axis operation handle 109. It is completely the same whether or not the operation of the guidance operation handle 1 1 1 has been performed. Steps S 25 to S 29 and steps S 33 to S 34 Will be processed.
  • the guidance operation handle 1 11 when the guidance operation handle 1 11 is operated in a state where the approach operation function is selected by the selection switch 110, the data is stored in the buffer 2. The tool moves in the normal direction of the workpiece based on the workpiece contour data. Even if it is moving (step S30), the guidance operation handle 1 11 is operated with the shape processing operation function selected by the selection switch 110. As a result, even if the blade moves along the contour data while referring to the workpiece contour data stored in the buffer 2
  • Step S 3 In addition, the operator may operate the X-axis operation handle 108 or the Z-axis operation handle 109 to move the blade.
  • Step S36 The operation path stored in the buffer 1 is the actual operation path of the actual blade.
  • step S33 This is because the data of the current position storage registers of the X and Z axes are always referred to when calculating the operation path in the processing of step S33 or step S20.
  • the data can be stored in file 1 or the contour data can be set in buffer 2 in advance, and the combination of the selection switch 110 and the operation handle 111 for guidance can be combined.
  • the semi-automatic operation obtained by the Yon, that is, the shape machining operation function and the approach operation function, and the complete manual operation by the X-axis operation handle 108 and the Z-axis operation handle 109 Any combination can be used to perform a teaching operation by making good use of these functions and store the operation path in the buffer 1.
  • the operator operates the spindle switch 101 to start the rotation of the spindle, that is, the work, and operates the coolant switch 103 to supply the lubricating coolant.
  • the coolant switch 103 starts the tool change, select the necessary tool, and press the tool change switch 105
  • the final approach operation is to select the 20 broaching operation function with the selection switch 110 and operate the guidance operation handle.
  • the final approach is limited to the normal direction of the workpiece.
  • the processing in steps S25 to S29 and steps S33 to S34 described above causes a change to the moving direction change point.
  • the operation path is automatically divided and stored in buffer 1 as the operation path of one block.
  • the operator adjusts the depth of cut when the approach is completed, and starts the actual cutting.
  • the operator When cutting is performed using both the shape processing operation function and the approach operation function, the operator operates the selection switch 110 when the above-described approach operation and cutting adjustment are performed (step S14), set flag F4 Then, the mode of the operation handle 1 1 1 for guidance is changed to the shape adding operation function (step S 15).
  • step S31 when the guidance operation handle 1 11 is operated in this state, the processing in step S31 is executed according to the operation amount, and the blade moves along the contour data of the workpiece. You will go. However, even if the blade is moved along the contour data of the work, the blade is moved along the contour data depending on the material shape of the work attached. In some cases, the difference between the contour data and the actual shape may cause the cutting depth to be too large or too small, which may hinder cutting.In addition, the first time the tool is moved, You may notice that there was an inadequate setting for the depth of cut.
  • the selector switch 110 is operated again to change the mode of the guidance operation handle 111 to the approach operation function (step S13), and Operate the guidance operation handle 1 1 1 and re-adjust the depth of cut by moving the blade into or out of the workpiece by the processing in step S30, and eliminate the excess or shortage of the depth of cut. Then, operate the selection switch 110 again to change the mode of the guidance operation handle 1111 to the shape machining operation function (step S14), and follow the contour data of the workpiece. To move the knife.
  • the approach operation function, the X-axis operation handle 108 and the Z-axis may be repeated using the operation handle 109 to readjust the cutting depth.
  • the X-axis operation handle as in the case of complete manual operation It is not necessary to coordinate the operation of the operation handle 108 and the Z-axis operation handle 109, and it is possible to select the approach operation function and adjust the operation handle 108, 1 according to the necessity such as adjusting the depth of cut. It is not only necessary to perform a slight error correction by manipulating 09, but this is particularly suitable when an operator with a low level of skill performs teaching work.
  • Steps S25 to S29 described above.
  • the operation path to the moving direction change point is automatically divided as the operation path of one block and stored in the buffer 1.
  • the cutting edge performed by the operator during the cutting operation. All movements and various switch operations are stored in buffer 1 in chronological order.
  • the operator operates the X-axis operation handle 108 or the Z-axis operation handle 10. 9.Or, operate the guidance operation handle 1 1 1 under the approach mode to retract the blade to a safe position, and operate the spindle stop switch 102. Stop the rotation of the lamp, and operate the coolant stop switch 104 to stop the supply of the lubricating coolant.
  • the retreating operation of the blade and the operation of the spindle stop switch 102 and the coolant stop switch 104 are also stored in the buffer 1 in time series in the same manner as described above.
  • step S7 the processor 11 performs this operation in the determination processing of step S7. Detected and based on the value of the read pointer initialized in the processing of step S3, the operation path of the blade for one block from the buffer 1 or the auxiliary function operation of one block Is read (step S37), the value of the read pointer is incremented, and the value of the next read address in buffer 1 is stored (step S38). . Then, the processor 11 serving as a storage means has an operation path or one block of the blade for one block read from the buffer 1 in the process of step S37. Command of auxiliary function operation of minute The program is saved in the program memory such as the CMOS memory 14 as an NC program for one block (step S39).
  • step S40 determines whether or not the value of the read pointer exceeds the final value of the write pointer (step S40), and if not, the step S37 is performed again. Then, the same processing as described above is repeated, and based on the value of the read pointer incremented in the processing of step S38, the buffer 1 shifts to the next 1 Reads the command of the auxiliary function operation, which is the operation path of the blade for the block, and sequentially stores it as an NC program for one block in the program memory such as CMOS memory 14 etc. Save and go.
  • step S40 the processor 11 completes the storage process of the teaching data corresponding to one machining process, and displays the data on the display of the CRTZMDI unit 70 for this one machining process. Display the corresponding NC program (step S41).
  • Figure 3 shows a display example of the NC program on the CRT / MDI unit 70 display.
  • the NC program display area 201 in the upper right of the display has T-coordinates that show the operation programs and auxiliary function operations for one block that constitutes the NC program.
  • Commands and M commands are displayed in character strings with line breaks one block at a time, and are executed by the block at the beginning of the operation program.
  • a symbolic figure, such as an up arrow or a left arrow, indicating the operating direction of the blade is displayed.
  • the position information display area 202 at the lower right of the display the current position of the blade is numerically displayed.
  • the movement path mp of the tool for one machining step is displayed in a bundle, and furthermore, the tool symbol ct indicating the current position of the tool and the tool position corresponding to the tool position.
  • An auxiliary operation function symbol cm and indicating the auxiliary operation function to be executed are displayed.
  • NC program generated in this way was obtained by directly reproducing the teaching operation by manual operation, it was not necessarily used as an NC program for automatic control. It is not optimized.
  • step S42 the editing function of the numerical controller is started (step S42), and the NC program display area and the operation path display area of the display described above are referred to.
  • the editing work is performed while doing so (step S43). For example, a block of useless reciprocating motion that continuously overlaps is deleted at once, or one block is replaced with it. Editing work is effective after inserting the operation program of the tool.
  • the processor 11 shifts to the processing of step S1 again, and determines whether or not the preparation processing end signal is input from the CRTZMDI unit 70. Become.
  • the operator operates the CRTMDI unit 70 at this stage to input a preparation machining end signal.
  • the preparation completion signal is not input at this stage, and the same as above is performed.
  • the processor 11 executes the initialization processing of the steps S2 to S6, the processing of the steps S7 to S36 is performed in the same manner as described above. Is executed repeatedly, and the initialized buffer 1 memorizes the operation path for the approach and cutting of the next machining step and the retraction of the cutting tool, and the command of the auxiliary operation function executed during that time Are stored in chronological order.
  • step S37 to S43 is repeated in the same manner as described above.
  • the program is executed, and the program of the machining process is saved as another new NC program in a program memory such as the CMOS memory 14. Also tea If there are other machining steps that require ching, the process from step S1 is repeated as described above, and an NC program is created for each required machining step. .
  • step S 44 the processor 11 Detects this operation in the discrimination processing of step S 1 and enters a standby state waiting for the operation of the plane switch 107 by the operator (step S 44) c playback switch 1
  • the processor 11 will perform one processing step from the program memory such as the CMOS memory 14 in accordance with the set processing steps such as roughing, semi-finishing, and finishing.
  • the NC program is read out, and the feed operation for one block along the operation path of approach, cutting, retreat, etc., the spindle ON / OFF, the coolant ON / OFF, and the tool are sequentially performed from the top block. Exchange, etc. To execute the command of various auxiliary functional operation.
  • the program display in the NC program display area 201 scrolls upward by one line each time one block of the NC program is executed.
  • the position information display area 202 at the lower right of the display the current position of each axis is updated and displayed according to the current position of the blade.
  • the motion path display area 203 on the display corresponds to the movement of the blade.
  • the tool symbol C t that is, the symbol of the taught tool command T 0101
  • moves, and the motion path that the tool has passed is displayed in a different color, and each time the auxiliary motion function is executed.
  • the auxiliary operation function symbol cm (that is, the teaching spindle command M03S250) is displayed next to the tool symbol, that is, corresponding to the current position of the cutter at that time.
  • the cylinder illustrated in Fig. 3 is a symbol of the auxiliary operation function corresponding to the spindle ON. (The above is the processing of step S45).
  • Such a break-back operation is performed not only immediately after the end of the teaching operation but also by specifying an NC program for a machining process such as roughing, semi-finishing, and finishing by selecting a program memory such as a CMOS memory 14. By calling it from memory, it is possible to re-execute at any time.

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Geometry (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Numerical Control (AREA)
PCT/JP1998/003735 1997-08-22 1998-08-24 Numeric controller provided with teaching/playback function Ceased WO1999010790A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
EP98938951A EP0935179A1 (en) 1997-08-22 1998-08-24 Numeric controller provided with teaching/playback function

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP9/240282 1997-08-22
JP9240282A JPH1165635A (ja) 1997-08-22 1997-08-22 ティーチング・プレイバック機能付数値制御装置

Publications (1)

Publication Number Publication Date
WO1999010790A1 true WO1999010790A1 (en) 1999-03-04

Family

ID=17057174

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP1998/003735 Ceased WO1999010790A1 (en) 1997-08-22 1998-08-24 Numeric controller provided with teaching/playback function

Country Status (3)

Country Link
EP (1) EP0935179A1 (enExample)
JP (1) JPH1165635A (enExample)
WO (1) WO1999010790A1 (enExample)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102005047489A1 (de) * 2005-10-04 2007-04-05 Ford Global Technologies, LLC, Dearborn Verfahren und System zur Programmierung von Arbeits- und Bewegungsabläufen von Robotern
JP6216656B2 (ja) * 2014-02-20 2017-10-18 株式会社アマダマシンツール 研削盤
JP5990662B2 (ja) * 2014-09-03 2016-09-14 ヤマザキマザック株式会社 加工プログラム編集支援装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0265946A (ja) * 1988-08-30 1990-03-06 Fanuc Ltd 工具交換位置教示方法
JPH0277904A (ja) * 1988-09-14 1990-03-19 Fanuc Ltd Ncデータ作成方法
JPH0440506A (ja) * 1990-06-06 1992-02-10 Murata Mach Ltd ロボットの教示装置
JPH0496806A (ja) * 1990-08-15 1992-03-30 Tokico Ltd 軌跡データの位置ずれ補正装置
JPH05297925A (ja) * 1992-04-22 1993-11-12 Fanuc Ltd 対話形数値制御装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0265946A (ja) * 1988-08-30 1990-03-06 Fanuc Ltd 工具交換位置教示方法
JPH0277904A (ja) * 1988-09-14 1990-03-19 Fanuc Ltd Ncデータ作成方法
JPH0440506A (ja) * 1990-06-06 1992-02-10 Murata Mach Ltd ロボットの教示装置
JPH0496806A (ja) * 1990-08-15 1992-03-30 Tokico Ltd 軌跡データの位置ずれ補正装置
JPH05297925A (ja) * 1992-04-22 1993-11-12 Fanuc Ltd 対話形数値制御装置

Also Published As

Publication number Publication date
JPH1165635A (ja) 1999-03-09
EP0935179A1 (en) 1999-08-11

Similar Documents

Publication Publication Date Title
US7899574B2 (en) Machine-tool controller
US6597142B2 (en) Apparatus and method for setting control parameters of machining apparatus
EP0116950B1 (en) Numerically controlled machining system
US20230060229A1 (en) Machine tool
US5327350A (en) Interactive type numerical control apparatus and method thereof
JP4580142B2 (ja) 数値制御旋盤、数値制御旋盤で使用する制御装置、数値制御旋盤の制御方法、及び数値制御旋盤における制御装置の加工プログラム記述方法
US5315503A (en) Numerical control apparatus having a teaching function and a method of teaching a machining program thereby
JPH0338041B2 (enExample)
KR0133198B1 (ko) 수치 제어 장치
EP0104542B1 (en) Numerically controlled machining method
EP0145934B1 (en) Tool display method and device for machining apparatus equipped with numerical control unit
JP3207125B2 (ja) タレット工具選択指令方法
JPH1165635A (ja) ティーチング・プレイバック機能付数値制御装置
JP3435229B2 (ja) Nc旋盤による加工方法及びバックアップ加工可能なnc旋盤
JPS5870314A (ja) シ−ケンス復帰方式
JP3532255B2 (ja) 対話型数値制御装置の入力データ表示方法
JP3440149B2 (ja) Nc旋盤の制御方法
JP3217329B2 (ja) Ncデータ確認装置
JP3313001B2 (ja) Nc旋盤の加工開始及び終了時の制御方法
JPH08112737A (ja) Nc旋盤の加工プログラム表示方法
JP2022047702A (ja) 加工プログラム最適化装置及びその方法
JPS6119380B2 (enExample)
JPH1165635A5 (enExample)
JP3487713B2 (ja) 早送り移動速度制御方法及びその装置
JPH11161313A (ja) 切り込み量制限機能付数値制御装置

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 CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE

WWE Wipo information: entry into national phase

Ref document number: 09284390

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 1998938951

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

Country of ref document: EP

WWW Wipo information: withdrawn in national office

Ref document number: 1998938951

Country of ref document: EP