CN105676775A - Method based on double track cache regions for controlling rollback and machining continuing of original path of numerical control machining - Google Patents

Method based on double track cache regions for controlling rollback and machining continuing of original path of numerical control machining Download PDF

Info

Publication number
CN105676775A
CN105676775A CN201610019660.3A CN201610019660A CN105676775A CN 105676775 A CN105676775 A CN 105676775A CN 201610019660 A CN201610019660 A CN 201610019660A CN 105676775 A CN105676775 A CN 105676775A
Authority
CN
China
Prior art keywords
track
rollback
processing
buffer area
former
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.)
Granted
Application number
CN201610019660.3A
Other languages
Chinese (zh)
Other versions
CN105676775B (en
Inventor
黄海鹏
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.)
Xiamen Zhiyou Technology Co.,Ltd.
Original Assignee
Xiamen University of Technology
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 Xiamen University of Technology filed Critical Xiamen University of Technology
Priority to CN201610019660.3A priority Critical patent/CN105676775B/en
Publication of CN105676775A publication Critical patent/CN105676775A/en
Application granted granted Critical
Publication of CN105676775B publication Critical patent/CN105676775B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/19Numerical 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 positioning or contouring control systems, e.g. to control position from one programmed point to another or to control movement along a programmed continuous path

Landscapes

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

Abstract

The invention provides a method based on double track cache regions for controlling rollback and machining continuing of an original path of numerical control machining. The method comprises the following steps: S1, each path step A<n> is saved in a machining path cache region; S2, a rollback command and an original path machining continuing command are given, m is the number of rollback steps, and p is the number of original path machining continuing steps; S3, a path step A<n-x> is obtained, and the method goes to S4 when the path step A<n-x> is blank; S4, when rollback of the path step A<n-x> is completed, the method goes to S6, otherwise, to S5; S5, reverse interpolation is conducted for rollback, and the method goes to S4; S6, the path step A<n-x> is saved into a rollback path cache region, and the method goes to S7; S7, the method determines whether a specified rollback path step A<n-m> is reached, if so, the method goes to S8, and if not, the method repeats S3; S8, the method determines whether machining should be continued according to the original path, and if so, the method goes to S9; S9, a path step A<n-m+y> is obtained for machining, and the method goes to S10; S10, the path step A<n-m+y> is saved into the machining path cache region and deleted from the rollback path cache region, and the method goes to S11; and S11, the method determines whether the machining is completed according to required steps of the original path.

Description

Based on the control methods that the former track rollback of digital control processing and the continuation of dual trace buffer area are processed
Technical field
The present invention relates to the former track rollback of a kind of digital control processing based on dual trace buffer area and continue the control method of processing.
Background technology
Digit Control Machine Tool is the capital equipment of metal material processing, and user can pass through numerical programming processor and realize processing automatically.
Sometimes because the factors such as the inhomogeneities of machined material, machined parameters cause the uncertain section of situation occurring not meeting processing request in the course of processing; and in some course of processing; due to special control requirement, it is necessary to cutter is along machining locus rollback. When this happens, it is necessary to adopt the method for rollback processing that cutter is return back to appointment position along the former track of machining locus, and then start processing, continue processing along former machining locus. Owing to processor there may exist the problems such as instruction and radius compensation such as programming jump, circulation, subroutine call; it is extremely difficult for will realizing rollback processing according to program; existing digital control system is generally adopted the method for track storage and realizes rollback processing; that is: open up certain track buffer area in internal system and record the machining locus data performed; add the use in the man-hour path implementation backtracking by recording performing rollback, but this method there is problems in that
Owing to current former track rollback controls the method that technology generally all adopts single-track buffer area; therefore only realize single step rollback and whole track rollback, it is impossible to realize the former track carried out when not breaking working after arbitrarily walking track rollback and arbitrarily walking rollback and arbitrarily walk continuation processing.
Summary of the invention
The present invention provides the former track rollback of a kind of digital control processing based on dual trace buffer area and continues the control method of processing, including:
S1, by the often step track A of processingnAll being sequentially stored into machining locus buffer area and indicate, n is step number;
S2, issues back-off instruction and former track continues Machining Instruction, and wherein, m is rollback step number, and p is that former track continues processing step number, and m is be more than or equal to 1 and less than or equal to n;
S3, obtains A from described machining locus buffer arean-xThe track of step, and judge An-xWhether the track of step is empty, and wherein, x is 0,1,2,3... for order, no, enters step S4;
S4, it is judged that An-xWhether rollback is complete for the track of step, no, enters step S5, is, enters step S6;
S5, reverse interpolation carries out rollback, and enters step S4;
S6, by An-xThe track of step is stored in rollback track buffer area, and enters step S7;
S7, deletes A in described machining locus buffer arean-xThe track of step, and judge whether to regulation rollback track An-mStep, is enter step S8, no, repeats step S3;
S8, it may be judged whether continue processing according to former track, be, enters step S9, no, enters step S12;
S9, obtains A from described rollback track buffer arean-m+yThe track of step is processed, and wherein, y is 0,1,2,3... for order, and enters step S10;
S10, by An-m+yThe track of step is stored in described machining locus buffer area, and deletes A from described rollback track buffer arean-m+yThe track of step, and enter step S11;
S11, it may be judged whether the former track completion of processing of step number on request, is enter step S12, no, enters step S9;
S12, empties described rollback track buffer area, terminates former track and continues processing.
Further, in step s3, when described machining locus buffer area is empty, directly terminate.
Further, in the step s 7, when arriving regulation rollback track An-mDuring step, An-1Walk An-mThe track of step all orders are stored in described rollback track buffer area.
Further, in the step s 7, when arriving regulation rollback track An-mDuring step, An-1Walk An-mThe track of step all orders are deleted from described machining locus buffer area.
Further, in step s 11, when being worked into An-m+pDuring step, it is judged that the former track completion of processing of step number on request.
Further, when p is more than n, described former track is made to continue processing step number p equal to m.
Further, when being worked into AnDuring step, it is judged that the former track completion of processing of step number on request.
Further, in step s 11, when judging the former track completion of processing of step number on request, An-m+1Walk An-m+pThe track of step all orders are stored in described machining locus buffer area.
Further, in step s 11, when judging the former track completion of processing of step number on request, An-m+1Walk An-m+pThe track of step all orders are deleted from described rollback track buffer area.
Further, described control method is used for Digit Control Machine Tool.
The control method of the former track rollback of digital control processing provided by the invention and continuation processing; by arranging machining locus buffer area and rollback track buffer area; and flag bit is set, such that it is able to realize the former track that arbitrarily walks after arbitrarily walking former track rollback and realizing former track rollback to continue processing.
Accompanying drawing explanation
Fig. 1 for the embodiment of the present invention provide based on dual trace buffer area the former track rollback of digital control processing and continue the flow chart of control method of processing.
Detailed description of the invention
Below in conjunction with drawings and Examples, the present invention is described in further detail. It is understood that specific embodiment described herein is used only for explaining the present invention, but not limitation of the invention. It also should be noted that, for the ease of describing, accompanying drawing illustrate only part related to the present invention but not entire infrastructure.
Refer to the control method that Fig. 1, the former track rollback of a kind of digital control processing based on dual trace buffer area and continuation are processed, including:
S1, by the often step track A of processingnAll being sequentially stored into machining locus buffer area and indicate, n is step number.
S2, issues back-off instruction and former track continues Machining Instruction, and wherein, m is rollback step number, and p is that former track continues processing step number, and m is be more than or equal to 1 and less than or equal to n. When p is more than n, described former track is made to continue processing step number p equal to m.
S3, obtains A from described machining locus buffer arean-xThe track of step, and judge An-xWhether the track of step is empty, no, enters step S4, is then directly terminate.
S4, it is judged that An-xWhether rollback is complete for the track of step, no, enters step S5, is, enters step S6.
S5, reverse interpolation carries out rollback, and enters step S4;
S6, by An-xThe track of step is stored in rollback track buffer area, and wherein, x is order is the integer of 0,1,2,3..., and enters step S7;
S7, deletes A in described machining locus buffer arean-xThe track of step, and judge whether to regulation rollback track An-mStep, is enter step S8, no, repeats step S3 until returning back to regulation rollback track An-mStep. Further, in the step s 7, when arriving regulation rollback track An-mDuring step, An-1Walk An-mThe track of step all orders are stored in described rollback track buffer area. Further, in the step s 7, when arriving regulation rollback track An-mDuring step, An-1Walk An-mThe track of step all orders are deleted from described machining locus buffer area.
S8, it may be judged whether continue processing according to former track, be, enters step S9, no, enters step S12;
S9, obtains A from described rollback track buffer arean-m+yThe track of step is processed, and wherein, y is order is the integer of 0,1,2,3..., and enters step S10;
S10, by An-m+yThe track of step is stored in described machining locus buffer area, and deletes A from described rollback track buffer arean-m+yThe track of step, and enter step S11;
S11, it may be judged whether the former track completion of processing of step number on request, is enter step S12, no, enters step S9. In step s 11, when being worked into An-m+pStep or AnDuring step, it is judged that the former track completion of processing of step number on request. Further, when judging the former track completion of processing of step number on request, An-m+1Walk An-m+pThe track of step all orders are deleted from described rollback track buffer area, and by An-m+1Walk An-m+pThe track of step all orders are stored in described machining locus buffer area.
S12, empties described rollback track buffer area, terminates former track and continues processing.
The embodiment of the present invention provides, and described control method may be used for Digit Control Machine Tool.
Note, above are only presently preferred embodiments of the present invention and institute's application technology principle. It will be appreciated by those skilled in the art that and the invention is not restricted to specific embodiment described here, various obvious change can be carried out for a person skilled in the art, readjust and substitute without departing from protection scope of the present invention. Therefore, although the present invention being described in further detail by above example, but the present invention is not limited only to above example, when without departing from present inventive concept, other Equivalent embodiments more can also be included, and the scope of the present invention is determined by appended right.

Claims (10)

1. the control method of the former track rollback of the digital control processing based on dual trace buffer area and continuation processing, it is characterised in that including:
S1, by the often step track A of processingnAll being sequentially stored into machining locus buffer area and indicate, n is step number;
S2, issues back-off instruction and former track continues Machining Instruction, and wherein, m is rollback step number, and p is that former track continues processing step number, and m is be more than or equal to 1 and less than or equal to n;
S3, obtains A from described machining locus buffer arean-xThe track of step, and judge An-xWhether the track of step is empty, and wherein, x is order is the integer of 0,1,2,3..., no, enters step S4;
S4, it is judged that An-xWhether rollback is complete for the track of step, no, enters step S5, is, enters step S6;
S5, reverse interpolation carries out rollback, and enters step S4;
S6, by An-xThe track of step is stored in rollback track buffer area, and enters step S7;
S7, deletes A in described machining locus buffer arean-xThe track of step, and judge whether to regulation rollback track An-mStep, is enter step S8, no, repeats step S3;
S8, it may be judged whether continue processing according to former track, be, enters step S9, no, enters step S12;
S9, obtains A from described rollback track buffer arean-m+yThe track of step is processed, and wherein, y is order is the integer of 0,1,2,3..., and enters step S10;
S10, by An-m+yThe track of step is stored in described machining locus buffer area, and deletes A from described rollback track buffer arean-m+yThe track of step, and enter step S11;
S11, it may be judged whether the former track completion of processing of step number on request, is enter step S12, no, enters step S9;
S12, empties described rollback track buffer area, terminates former track and continues processing.
2., as claimed in claim 1 based on the former track rollback of digital control processing of dual trace buffer area and the control method continuing processing, it is characterised in that in step s3, when described machining locus buffer area is empty, directly terminate.
3. as claimed in claim 1 based on the former track rollback of digital control processing of dual trace buffer area and the control method continuing processing, it is characterised in that in the step s 7, when arriving regulation rollback track An-mDuring step, An-1Walk An-mThe track of step all orders are stored in described rollback track buffer area.
4. as claimed in claim 1 based on the former track rollback of digital control processing of dual trace buffer area and the control method continuing processing, it is characterised in that in the step s 7, when arriving regulation rollback track An-mDuring step, An-1Walk An-mThe track of step all orders are deleted from described machining locus buffer area.
5. as claimed in claim 1 based on the former track rollback of digital control processing of dual trace buffer area and the control method continuing processing, it is characterised in that in step s 11, when being worked into An-m+pDuring step, it is judged that the former track completion of processing of step number on request.
6., as claimed in claim 5 based on the former track rollback of digital control processing of dual trace buffer area and the control method continuing processing, it is characterised in that when p is more than n, make described former track continue processing step number p equal to m.
7. as claimed in claim 6 based on the former track rollback of digital control processing of dual trace buffer area and the control method continuing processing, it is characterised in that when being worked into AnDuring step, it is judged that the former track completion of processing of step number on request.
8. as claimed in claim 1 based on the former track rollback of digital control processing of dual trace buffer area and the control method continuing processing, it is characterised in that in step s 11, when judging the former track completion of processing of step number on request, An-m+1Walk An-m+pThe track of step all orders are stored in described machining locus buffer area.
9. as claimed in claim 1 based on the former track rollback of digital control processing of dual trace buffer area and the control method continuing processing, it is characterised in that in step s 11, when judging the former track completion of processing of step number on request, An-m+1Walk An-m+pThe track of step all orders are deleted from described rollback track buffer area.
10. as claimed in claim 1 based on the former track rollback of digital control processing of dual trace buffer area and the control method continuing processing, it is characterised in that described control method is used for Digit Control Machine Tool.
CN201610019660.3A 2016-01-13 2016-01-13 A kind of digital control processing original track rollback and the control method for continuing processing Active CN105676775B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610019660.3A CN105676775B (en) 2016-01-13 2016-01-13 A kind of digital control processing original track rollback and the control method for continuing processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610019660.3A CN105676775B (en) 2016-01-13 2016-01-13 A kind of digital control processing original track rollback and the control method for continuing processing

Publications (2)

Publication Number Publication Date
CN105676775A true CN105676775A (en) 2016-06-15
CN105676775B CN105676775B (en) 2018-11-13

Family

ID=56300282

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610019660.3A Active CN105676775B (en) 2016-01-13 2016-01-13 A kind of digital control processing original track rollback and the control method for continuing processing

Country Status (1)

Country Link
CN (1) CN105676775B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108789415A (en) * 2018-07-27 2018-11-13 珠海格力智能装备有限公司 The storage method and device of robot and its motion trace data
CN110142880A (en) * 2019-05-23 2019-08-20 泉州华数机器人有限公司 A kind of real-time follow-up control method of rollback for cutting apparatus
CN111367234A (en) * 2018-12-26 2020-07-03 沈阳高精数控智能技术股份有限公司 Hand wheel trial cut rollback control method based on three-ring queue

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101178593A (en) * 2007-11-30 2008-05-14 上海奈凯电子科技有限公司 method for realizing retroact movement control in numerically controlled machine system
CN101846991A (en) * 2010-04-26 2010-09-29 成都华远焊割设备有限公司 Non-trailing quick rollback processing method for numerical control cutting machine
CN102591251A (en) * 2011-06-20 2012-07-18 如冈自动化控制技术(上海)有限公司 Implementation method for original path retroversion of numerical control (NC) processing based on part program reassembly completely
US20140288688A1 (en) * 2013-01-16 2014-09-25 Joseph-Francois HACHÉ System and method for manufacturing window frames
WO2015037429A1 (en) * 2013-09-13 2015-03-19 株式会社シグマ Tool path generation device, tool path generation method, program for delivering function as tool path generation device, and memory medium for recording program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101178593A (en) * 2007-11-30 2008-05-14 上海奈凯电子科技有限公司 method for realizing retroact movement control in numerically controlled machine system
CN101846991A (en) * 2010-04-26 2010-09-29 成都华远焊割设备有限公司 Non-trailing quick rollback processing method for numerical control cutting machine
CN102591251A (en) * 2011-06-20 2012-07-18 如冈自动化控制技术(上海)有限公司 Implementation method for original path retroversion of numerical control (NC) processing based on part program reassembly completely
US20140288688A1 (en) * 2013-01-16 2014-09-25 Joseph-Francois HACHÉ System and method for manufacturing window frames
WO2015037429A1 (en) * 2013-09-13 2015-03-19 株式会社シグマ Tool path generation device, tool path generation method, program for delivering function as tool path generation device, and memory medium for recording program

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
黄海鹏: "多轴联动电火花加工数控系统软件构建及其应用研究", 《中国博士学位论文全文数据库 工程科技Ⅰ辑》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108789415A (en) * 2018-07-27 2018-11-13 珠海格力智能装备有限公司 The storage method and device of robot and its motion trace data
CN111367234A (en) * 2018-12-26 2020-07-03 沈阳高精数控智能技术股份有限公司 Hand wheel trial cut rollback control method based on three-ring queue
CN111367234B (en) * 2018-12-26 2022-12-27 沈阳高精数控智能技术股份有限公司 Hand wheel trial cut rollback control method based on three-ring queue
CN110142880A (en) * 2019-05-23 2019-08-20 泉州华数机器人有限公司 A kind of real-time follow-up control method of rollback for cutting apparatus
CN110142880B (en) * 2019-05-23 2022-04-01 泉州华数机器人有限公司 Rollback real-time following control method for cutting equipment

Also Published As

Publication number Publication date
CN105676775B (en) 2018-11-13

Similar Documents

Publication Publication Date Title
CN105676775A (en) Method based on double track cache regions for controlling rollback and machining continuing of original path of numerical control machining
WO2003077067A3 (en) Investable hedge fund index fund
CN106737676A (en) It is a kind of based on script can secondary development industrial robot programing system
CN101334653A (en) Sequence program editing apparatus
KR102229859B1 (en) Operation management method, apparatus and system using machine learning and transfer learning
CN105975252A (en) Method and device for realizing flow line of processing instructions and processor
CN104376073A (en) Database recovery method and device
CN105302544A (en) Machining time estimating device for estimating machining time after modification of nc program
CN109667075A (en) A kind of quilter broken string, recovery after power cut processing processing method
CN113093748A (en) Robot elevator taking control method and device
JP4247264B2 (en) Machine tool controller
CN105911964A (en) Numerical Controller
JP6485950B2 (en) Numerical control system
CN104199381A (en) Method and device for cutter compensation control of numerical control system
US10048678B2 (en) Numerical controller
CN105844166B (en) A kind of sensitive data recognition methods and device
CN103309863A (en) Method and device for processing tasks of electronic maps
CN108021091B (en) Trapezoid figure program library management device
CN104570921A (en) Numerical controller temporarily stopping for a program call and numerical control method thereof
US20040034443A1 (en) Numerical controller
CN111223477B (en) Method and device for topic upward movement during man-machine interaction
CN112733245B (en) Numerical control machining method, numerical control machining device, computer equipment and storage medium
CN102436486A (en) Data bidirectional replication method based on database session variables
EP4098408A1 (en) Path teaching data creation device, path teaching data creation method, and program
KR102035464B1 (en) Program creation apparatus and program creation method in program creation apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20210514

Address after: 502, No. 512, Chunbo Road, Xiamen Torch hi tech Zone (Xiang'an) Industrial Zone, Xiamen City, Fujian Province, 361000

Patentee after: Xiamen Zhiyou Technology Co.,Ltd.

Address before: 361024 No. 600, science and engineering road, Jimei District, Fujian, Xiamen

Patentee before: XIAMEN University OF TECHNOLOGY

TR01 Transfer of patent right