CN104741935A - Universal workpiece coordinate system conversion method for rotating table of numerically-controlled machine tool - Google Patents

Universal workpiece coordinate system conversion method for rotating table of numerically-controlled machine tool Download PDF

Info

Publication number
CN104741935A
CN104741935A CN201510064292.XA CN201510064292A CN104741935A CN 104741935 A CN104741935 A CN 104741935A CN 201510064292 A CN201510064292 A CN 201510064292A CN 104741935 A CN104741935 A CN 104741935A
Authority
CN
China
Prior art keywords
coordinate system
workpiece coordinate
subprogram
rotating table
conversion method
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.)
Pending
Application number
CN201510064292.XA
Other languages
Chinese (zh)
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.)
Supporting Co Ltd Of Ship Power In Anqing
Original Assignee
Supporting Co Ltd Of Ship Power In Anqing
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 Supporting Co Ltd Of Ship Power In Anqing filed Critical Supporting Co Ltd Of Ship Power In Anqing
Priority to CN201510064292.XA priority Critical patent/CN104741935A/en
Publication of CN104741935A publication Critical patent/CN104741935A/en
Pending legal-status Critical Current

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

Abstract

The invention discloses a universal workpiece coordinate system conversion method for a rotating table of a numerically-controlled machine tool. The conversion method includes the following steps that a subprogram which is converted into a novel workpiece coordinate system at any angle position from a given workpiece coordinate system is edited through system variables of a widely-applied numerical control system relative to the coordinate systems according to the geometrical relationship between the origin mechanical coordinates of the workpiece coordinate system and the rotating center mechanical coordinates of the rotating table; when the subprogram is used, the three variables of the serial number n2 of the novel workpiece coordinate system, the serial number n1 of the given workpiece coordinate system and the value of the rotating angle alpha of the novel workpiece coordinate system relative to the given workpiece coordinate system are given to the subprogram, and the novel workpiece coordinate system converted from the given workpiece coordinate system can be established after the subprogram operates. By the adoption of the method, all the problems of workpiece coordinate system conversion of the rotating table can be solved easily and conveniently through the universal subprogram for any numerically-controlled machine tool with the rotating table and the widely-applied numerical control system.

Description

A kind of omnipotent rotating table of numerical control machine workpiece coordinate system conversion method
Technical field
The invention belongs to machining Numeric Control Technology, the short-cut method of specifically a kind of omnipotent rotating table of numerical control machine workpiece coordinate system conversion.
Background technology
Numerical control horizontal machine tool is usually with the rotary table of one or more numerical control, and centre of gyration point X in the mechanical coordinate system of lathe of rotary table is that fixing but every platform lathe is different to the coordinate value with Z-direction.The part needing multiaspect to process needs repeatedly rotary work-table when once machining on rotary table, and the position of generally often rotating one action platform just needs to set up a workpiece coordinate system.Multiple workpiece coordinate system can be set up respectively.But when having strict geometrical relationship between each key element of multiaspect processing, must set up specific relation between multiple workpiece coordinate system, be in other words exactly the workpiece coordinate system being changed out other by a known workpiece coordinate system that can set up easily by certain geometrical relationship.Sometimes part rotates to certain angle, this angle part does not have can directly to set up workpiece coordinate system for the benchmark setting up coordinate system, also needs the workpiece coordinate system being changed out this angle position by a known workpiece coordinate system.Above-mentioned conversion calculates more loaded down with trivial details, and different lathes is not identical with different part transformation results, and a lot of digital control processing practitioner is difficult to grasp.
Summary of the invention
The object of the invention is to the problems of application solving the conversion of rotating table of numerical control machine workpiece coordinate system, a kind of omnipotent short-cut method changed at the Digit Control Machine Tool upper rotary workbench workpiece coordinate system of the digital control system adopting certain extensive use is provided.
Object of the present invention can be achieved through the following technical solutions:
A kind of omnipotent rotating table of numerical control machine workpiece coordinate system conversion method, the method comprises the following steps: according to the geometrical relationship between workpiece coordinate system initial point mechanical coordinate and rotary table centre of gyration mechanical coordinate, utilize the system variable of digital control system about coordinate system of certain extensive use, write an omnipotent subprogram being transformed into the new workpiece coordinate system of any angular position by a known workpiece coordinate system;
Described subroutine name is as L9852 (n2, n1, α), three variable n2 in bracket, n1, α are respectively " sequence number of new workpiece coordinate system ", " sequence number of known workpiece coordinate system ", " angle that new workpiece coordinate system rotates relative to known workpiece coordinate system " (i.e. rotary table rotate around its centre of gyration angle);
Adopt the Digit Control Machine Tool user of the digital control system of certain extensive use must give corresponding variable in described subprogram by the X value of the mechanical coordinate of this rotating table of numerical control machine centre of gyration and Z value before using described subprogram first, using during described subprogram only needs " sequence number of new workpiece coordinate system ", " sequence number of known workpiece coordinate system ", the value of " angle that new workpiece coordinate system rotates relative to known workpiece coordinate system " substitutes the n2 in described subprogram bracket respectively, n1, α, after running described subprogram, the new workpiece coordinate system changed by known workpiece coordinate system is just set up.
Beneficial effect of the present invention: the present invention, to the Digit Control Machine Tool of the band rotary table of the digital control system of any employing extensive use, uses described omnipotent subprogram can solve all problems of rotary table workpiece coordinate system conversion easily.
Accompanying drawing explanation
For the ease of it will be appreciated by those skilled in the art that the present invention is further illustrated below in conjunction with accompanying drawing.
Fig. 1 is known (can survey) workpiece coordinate system 1 instance graph;
Fig. 2 is new workpiece coordinate system 2 instance graph changed by workpiece coordinate system 1 after rotary table wraparound turns central rotation α angle.
In figure: 1, rotary table, 2, workpiece; 3, work table rotation center, 4, the initial point of workpiece coordinate system 1,5, the initial point of workpiece coordinate system 2.
Detailed description of the invention
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is described in more detail.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
A kind of omnipotent rotating table of numerical control machine workpiece coordinate system conversion method, first according to the geometrical relationship between workpiece coordinate system initial point mechanical coordinate and rotary table centre of gyration mechanical coordinate, utilize the system variable of digital control system about coordinate system of certain extensive use, write an omnipotent subprogram being transformed into the new workpiece coordinate system of any angular position by a known workpiece coordinate system, subroutine name is as L9852 (n2, n1, α), three variable n2 in bracket, n1, α is respectively " sequence number of new workpiece coordinate system ", " sequence number of known workpiece coordinate system ", " angle that new workpiece coordinate system rotates relative to known workpiece coordinate system ".
See figures.1.and.2, write following subprogram (the Chinese character content under every program is the explanation to program): _ N_L9852_SPF;
The subprogram PROC L9852 (INT ROTATED_WKS_NO, INT KNOWN_WKS_NO, REAL RT_ANG) of definition " L9852 " by name;
Band parameter call subprogram L9852, wherein " INT ROTATED_WKS_NO " and " INT KNOWN_WKS_NO " is integer type variable (postrotational) " sequence number of new workpiece coordinate system " and " sequence number of known workpiece coordinate system ", and " REAL RT_ANG " is Real-valued variable " angle that new workpiece coordinate system rotates relative to known workpiece coordinate system "
N10 DEF REAL TAB_RT_CEN_X,TAB_RT_CEN_Z,ROTATED_WKS_X0,ROTATED_WKS_Z0;
Definition Real-valued variable " work table rotation center mechanical coordinate X ", " work table rotation center mechanical coordinate Z ", (postrotational) " mechanical coordinate X of new workpiece coordinate system initial point " and (postrotational) " mechanical coordinate Z of new workpiece coordinate system initial point "
N20 G0G153Z0W0V0D0;
Cancel cutter to mend, machine tool chief axis is return fast
N30G90B=RT_ANG;
Workbench forwards the angle N40TAB_RT_CEN_X=******TAB_RT_CEN_Z=****** that new workpiece coordinate system rotates relative to known workpiece coordinate system fast to;
To machine tool rotary working table centre of gyration mechanical coordinate X and Z assignment, wherein " * * * * * * " is respectively the measured value of platen centre of gyration mechanical coordinate X and Z using this subprogram
N50ROTATED_WKS_X0=TAB_RT_CEN_X-(TAB_RT_CEN_X-$P_UIFR[KNOWN_WKS_NO,X,TR])×COS(-RT_ANG)-(TAB_RT_CEN_Z-$P_UIFR[KNOWN_WKS_NO,Z,TR])×SIN(-RT_ANG);
Calculate the value of the mechanical coordinate X of postrotational new workpiece coordinate system initial point, in formula
" $ P_UIFR [KNOWN_WKS_NO; X; TR] " and " $ P_UIFR [KNOWN_WKS_NO; Z; TR] " is respectively system variable " value of the mechanical coordinate X of known workpiece coordinate system initial point " and " value of the mechanical coordinate Z of known workpiece coordinate system initial point ", and " COS (-RT_ANG) " and " SIN (-RT_ANG) " is respectively cosine value and the sine value of the negative value of " angle that new workpiece coordinate system rotates relative to known workpiece coordinate system "
N60ROTATED_WKS_Z0=TAB_RT_CEN_Z-(TAB_RT_CEN_Z-$P_UIFR[KNOWN_WKS_NO,Z,TR])×COS(-RT_ANG)+(TAB_RT_CEN_X-$P_UIFR[KNOWN_WKS_NO,X,TR])×SIN(-RT_ANG);
Calculate the value of the mechanical coordinate Z of postrotational new workpiece coordinate system initial point
N70$P_UIFR[ROTATED_WKS_NO]=CTRANS(X,ROTATED_WKS_X0,Y,$P_UIFR[KNOWN_WKS_NO,Y,TR],Z,ROTATED_WKS_Z0);
Define postrotational new workpiece coordinate system, namely mechanical coordinate X, Y, Z assignment of new workpiece coordinate system initial point is given, in formula, " $ P_UIFR [n] " is system variable " definition of object co-ordinate systems ", wherein " n " sequence number that is workpiece coordinate system, " $ P_UIFR [KNOWN_WKS_NO; Y, TR] " is system variable " value of the mechanical coordinate Y of known workpiece coordinate system initial point "
N80M17;
End of subroutine
Adopt the Digit Control Machine Tool user of the digital control system of certain extensive use the X value of the mechanical coordinate of this rotating table of numerical control machine centre of gyration and Z value must be given respectively variable " TAB_RT_CEN_X " in described subprogram and " TAB_RT_CEN_Z " when using described subprogram first, only need by the sequence number of postrotational new workpiece coordinate system when using described subprogram, the sequence number of known workpiece coordinate system, the value of the angle that new workpiece coordinate system rotates relative to known workpiece coordinate system substitutes the n2 in described subprogram bracket respectively, n1, α, after running described subprogram, the new workpiece coordinate system changed by known workpiece coordinate system is just set up.
For the workpiece coordinate system conversion shown in accompanying drawing 1,2, suppose α=32 °, as long as runtime subroutine L9852 (2,1,32), the workpiece coordinate system 2 changed by known workpiece coordinate system 1 is just set up.
The foregoing is only one embodiment of the present invention; not in order to limit the present invention; character 9852 in described subroutine name can make any other numeral of not conflicting with program name intrinsic in lathe into; any one sequence number in the desirable system of variable n2 and n1 in workpiece coordinate system sequence number span; the span of variable α is ± 360; all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.

Claims (2)

1. an omnipotent rotating table of numerical control machine workpiece coordinate system conversion method, it is characterized in that, this conversion method comprises the following steps:
According to the geometrical relationship between workpiece coordinate system initial point mechanical coordinate and rotary table centre of gyration mechanical coordinate, utilize the system variable of digital control system about coordinate system of certain extensive use, write one is transformed into the new workpiece coordinate system of any angular position subprogram by a known workpiece coordinate system;
Use during described subprogram and give three variable n2, the value of n1, α to described subprogram, the new workpiece coordinate system changed by known workpiece coordinate system after running described subprogram is just set up.
2. rotating table of numerical control machine workpiece coordinate system conversion method omnipotent according to claim 1, it is characterized in that, when using described subprogram first, corresponding variable in described subprogram must be given respectively by the X value and Z value that use the mechanical coordinate of the rotating table of numerical control machine centre of gyration of described subprogram.
CN201510064292.XA 2015-02-06 2015-02-06 Universal workpiece coordinate system conversion method for rotating table of numerically-controlled machine tool Pending CN104741935A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510064292.XA CN104741935A (en) 2015-02-06 2015-02-06 Universal workpiece coordinate system conversion method for rotating table of numerically-controlled machine tool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510064292.XA CN104741935A (en) 2015-02-06 2015-02-06 Universal workpiece coordinate system conversion method for rotating table of numerically-controlled machine tool

Publications (1)

Publication Number Publication Date
CN104741935A true CN104741935A (en) 2015-07-01

Family

ID=53582493

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510064292.XA Pending CN104741935A (en) 2015-02-06 2015-02-06 Universal workpiece coordinate system conversion method for rotating table of numerically-controlled machine tool

Country Status (1)

Country Link
CN (1) CN104741935A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107991994A (en) * 2017-11-24 2018-05-04 中国航发沈阳黎明航空发动机有限责任公司 A kind of processing method for clamping of not feeling relieved
CN112506135A (en) * 2020-11-23 2021-03-16 崴立机电(苏州)有限公司 Method capable of quickly defining workpiece coordinates of randomly placed workpiece

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030120376A1 (en) * 2001-10-16 2003-06-26 Fanuc Ltd. Numerical controller
CN101913103A (en) * 2010-08-19 2010-12-15 上海理工大学 Method for measuring angular errors of rotating table of numerical control machine
CN103645676A (en) * 2013-12-09 2014-03-19 航天科工哈尔滨风华有限公司 Method of realizing workpiece zero point following based on macroprogram
CN103862326A (en) * 2014-03-11 2014-06-18 南京高传四开数控装备制造有限公司 Cutter point control method for rotating tool of double-rotating-work-table five-shaft machine tool

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030120376A1 (en) * 2001-10-16 2003-06-26 Fanuc Ltd. Numerical controller
CN101913103A (en) * 2010-08-19 2010-12-15 上海理工大学 Method for measuring angular errors of rotating table of numerical control machine
CN103645676A (en) * 2013-12-09 2014-03-19 航天科工哈尔滨风华有限公司 Method of realizing workpiece zero point following based on macroprogram
CN103862326A (en) * 2014-03-11 2014-06-18 南京高传四开数控装备制造有限公司 Cutter point control method for rotating tool of double-rotating-work-table five-shaft machine tool

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
唐先俊: "卧式加工中心工作台旋转坐标转换及应用", 《机械制造技术》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107991994A (en) * 2017-11-24 2018-05-04 中国航发沈阳黎明航空发动机有限责任公司 A kind of processing method for clamping of not feeling relieved
CN112506135A (en) * 2020-11-23 2021-03-16 崴立机电(苏州)有限公司 Method capable of quickly defining workpiece coordinates of randomly placed workpiece

Similar Documents

Publication Publication Date Title
CN104460516B (en) One kind is based on the axle Cutter Radius Compensation Method of postpositive disposal five
CN101710236B (en) Numerical-control processing method of multi-space hole welding groove on large-scale spherical space curved surface
CN106181576B (en) A kind of center positioning method and device of machining center rotary table
CN205817105U (en) A kind of error-compensating apparatus for five axle laser cutting machine tools
CN103645676A (en) Method of realizing workpiece zero point following based on macroprogram
CN104460515B (en) One kind is based on the axle tool length compensation method of postpositive disposal five
CN105302070A (en) Post-processing method for non-orthogonal swing head rotary table type five-axis machine tool
ES213045U (en) A turning machine. (Machine-translation by Google Translate, not legally binding)
CN105268999A (en) Machining method for turning non-circular deformed section through digital controlled lathe in follow-up mode
CN109648368A (en) A kind of workpiece coordinate system setting method for eliminating numerical control processing work table rotation error
CN103197601B (en) Cutter shaft swings five-coordinate numerally controlled machine tool pendulum length assay method
CN104741935A (en) Universal workpiece coordinate system conversion method for rotating table of numerically-controlled machine tool
CN107088788A (en) A kind of Reference Transforming processing method
CN108919749B (en) Method for realizing coordinate origin tracking in five-axis machine tool without tool position origin tracking
CN204321229U (en) Gearbox protecgulum end face clamp for machining
CN101859124B (en) Program control method of pentahedron of numerical control plano milling machine
CN108788208A (en) A kind of method for boring hole for processing angle of cut box body hole system
CN105759721A (en) Machining method of four-axis numerical control machine tool
CN107491039B (en) A kind of processing method guaranteeing servo valve body inner bore concentricity
CN112045443A (en) Machining method for eccentric clamping workpiece of four-axis machine tool
CN106238771A (en) The method of boring and milling machine rotary table processing multi-angle umbilicus
CN205363386U (en) CNC four -axis barrel special fixture
CN104439448A (en) Numerical control machining method for part with non-open structure
CN206305829U (en) A kind of CNC clamp tools for being provided with multiple locating pieces
CN104400506B (en) A kind of positioning tool beating inclined hole in special-shaped structural part cambered surface

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150701