TW201126294A - Numerical control device and production system - Google Patents

Numerical control device and production system Download PDF

Info

Publication number
TW201126294A
TW201126294A TW099129623A TW99129623A TW201126294A TW 201126294 A TW201126294 A TW 201126294A TW 099129623 A TW099129623 A TW 099129623A TW 99129623 A TW99129623 A TW 99129623A TW 201126294 A TW201126294 A TW 201126294A
Authority
TW
Taiwan
Prior art keywords
path
command
tool
compression
compressed
Prior art date
Application number
TW099129623A
Other languages
Chinese (zh)
Inventor
Naoki Nakamura
Tomonori Sato
Shinya Nishino
Original Assignee
Mitsubishi Electric 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
Priority claimed from PCT/JP2010/050829 external-priority patent/WO2010140390A1/en
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Publication of TW201126294A publication Critical patent/TW201126294A/en

Links

Abstract

A numerical control device includes a machining program read section (2) which reads a command (11) commanded by a machining program (1), a command path storing section (3) which stores a command path before compression (12) to a buffer (20) for command path before compression, a compression processing section (4) which creates a new compressed command path (13) by connecting the start point and the end point of plural successive command paths, a movement data forming section (5) which corrects the compressed command path (13) into a tool moving path and forms a tool movement data (15) needed for carrying out interpolation of the tool moving path, and an interpolation processing section (6) which carries out interpolation of a tool moving path of the case that command paths are not compressed by the compression processing section (4) by using both of the command path before compression (12) stored by the command path storing section (3) and the tool movement data (15) of compressed tool moving path formed by the movement data forming section (5) so as to acquire a tool position (16).

Description

201126294 六、發明說明: 【發明所屬之技術領域】 本發明係關於對工作機械進行數值控制(Numerical Control : NC)之數值控制裝置以及生產系統,尤其關於依 照包含有連續的複數個指令路徑之加工程式來控制工具相 對於加工工件的移動之數值控制裝置以及生產系統。 【先前技術】 在搭載有數值控制裝置之工作機械進行三維形狀的加 φ 工時,有依照以連續的複數個指令路徑來趨近於自由曲面 之加工程式而進行加工之情形。若為簡單的形狀,雖有以 人工方式來作成加工程式之情形,但加工形狀為含有自由 曲面之三維形狀的時候,通常都是利用與數值控制裝置不 同之外部裝置上的 CAM(Computer Aided Manufacturing: 電腦輔助製造)等來作成加工程式。 利用CAM來作成加工程式之際,為了儘可能正確地表 現自由曲面,有必要使一個指令路徑的長度(以下,稱為路 鲁径長)縮短。不過,一定時間内可處理的指令路徑數會受數 值控制裝置的資料處理能力所限制,所以路徑長變短,一 定時間内之工具可移動的距離,亦即工具的進給速度就會 受到限制。 因此,以往的數值控制裝置,係將在同一直線區間之 連續的複數個指令路徑置換(壓縮)為—個指令路徑,以此 方式使路徑長變長,來進行高速加工(例如專利文獻^。 322038R01 4 201126294 (專利文獻) 專利文獻1:日本特許(專利)第3459155號公報 【發明内容】 (發明所欲解決之課題) 然而,根據上述的先前技術,在是否在同一直線區間 之判斷上設定有容許誤差範圍。因此,將連續的複數個指 令路徑置換為一個指令路徑,就會發生因壓縮而產生的路 徑誤差,而有加工精度降低之問題。 φ 此外,根據上述的先前技術,為了使因壓縮而產生的 路徑誤差變小,若使是否在同一直線區間之判斷中使用的 容許誤差範圍縮小,就會有由於壓縮而產生的高速處理效 果變小,而難以進行高速加工之問題。 本發明係鑑於上述的課題而完成者,其目的在獲得即 使在使用包含有路徑長度短的複數個指令路徑之加工程式 之情況,也可不使加工精度降低而達成加工的高速化之數 值控制裝置以及生產系統。 ® (解決課題之手段) 為了解決上述課題,達成上述目的,本發明之數值控 制裝置具備有:製作由連續的複數個壓縮前指令路徑的起 點與終點予以連結而成的壓縮後指令路徑之壓縮處理部; 根據針對前述壓縮後指令路徑之路徑修正暨動作資料而將 前述壓縮後指令路徑修正到工具移動路徑,並製作對前述 工具移動路徑進行插值(interpolation)所要用到的工具 移動資料之移動資料作成部;以及求出在前述壓縮前指令 5 322038R01 201126294 路徑之移動量,且根據前述移動資料作成部所製作的工具 移動資料,以使工具在未對指令路徑進行壓縮之情況的^ 具移動路徑上移動的方式修正前述移動量,而求出工具位 置之插值處理部。 (發明之效果) 根據本發明,即使在使用包含有路徑長度短的複數個 指令路徑之加工程式的情況,也會產生不使加工精度降低 亦可達成加工的高速化之效果。 φ 【實施方式】 以下,根據圖式來詳細說明本發明之數值控制裝置及 生產系統的實施形態,惟本發明並不受此實施形態所限定。 實施形態1 弟i圖係顯不本發明貫施形態!之數值控制裝置的概 略構成之方塊圖。第:1圖中,數值控制裝置1〇〇可依 含有連績的複數個指令路徑之加工程式 加工工件的移動進行數值控制。 相對於 數值控制裝置1〇〇中,設有:结 的命令11之加工程式讀取部2,·將力: 1所指示 取到的壓縮㈣令路徑12取部2所讀 ㈣㈣2〇之指令路徑保存部3 令路徑緩衝器 縮前指令路徑12的起點與終點予續的複數個· 壓縮後指令㈣13之壓 /紅而成的-個新的 修正到工具移動 # 4,將麗縮後指令路徑13 要用到的工具移動^ f5 具移動路徑進行插值所 夕動貝料作成部5;以及對工 322038R01 6 201126294 具移=路獲進行插值以求出工具位置16之插值處理部6。 田加I程式丨所指示的命令u輸人到數值控制裝置 ’就將該命令u輸出到加工程式讀取部2。 :工|呈式讀取部2讀取到加工程幻所指示 u =理=縮前指令路徑12輸_齡路絲存部3及㈣ 處理/4,並將路徑修正暨動作資料14輸出到壓縮處理部 户此純修正暨動作資料14可包含用來將加工程式ι所 二路徑12修正到工具移動路徑之資訊、以 缩日⑵12之進給速度及動作模式等之決定麼 縮路徑12的移動中的動作所必需之資訊。 保存部3從加工程式讀取部2接收到義前 令:= = :指令路徑縮前指 麼縮’塵縮處理部4從加工程式讀取部2接收到 、别^路徑12,就製作由連續的複數㈣縮前指令路 :二=广Γ予以連結而成的新的-個_令 U3輕之輸出到移動資料作成部5。另外 1^4亦將針對壓縮後指令路徑13之路徑修正暨動作資= 正^動成部5。麗縮處理部4可不對路徑修 -乍讀14不同之各壓縮前指令 而且,針對壓縮後指令路413之路#修正 可為懲縮後指令路徑13 「-動作貝料14’ 之路徑修正暨動作資料7包3的所有壓縮前指令路徑12 _1”料作成部5 ’根據路徑修正暨動作資料 322038R01 7 201126294 之 14將_處理部4所製作的漏後指 具移動路徑,且製作在工具移動路徑上進^修正到 工具移動㈣15,並將之輸㈣插值處理〇值所必需 該工具移動資料15,係表示進行插值 動的路徑及動作之資料,㈣μ 的工具移 之各軸的起點及終點、從起點到終點之路徑=工具t置 路㈣單位方向向量、指令饋給速度、依工工具私動 •定之容許速度等之決定工具移動路徑及工 •工作機械的動作所必需之資訊。另外,可將^度專之 部5從μ維姑社人Α / 、移動 > 料作成 4紅令職13修正過來之工具移201126294 VI. Description of the Invention: [Technical Field] The present invention relates to a numerical control device for numerical control of a working machine (Numerical Control: NC) and a production system, and more particularly to processing according to a plurality of instruction paths including continuous A numerical control device and a production system that control the movement of the tool relative to the machined workpiece. [Prior Art] When a three-dimensional shape is added to a machine tool equipped with a numerical controller, there is a case where machining is performed in accordance with a machining program in which a plurality of command paths are successively approached to a free-form surface. In the case of a simple shape, although a machining program is manually created, when the machining shape is a three-dimensional shape including a free-form surface, it is usually a CAM (Computer Aided Manufacturing) on an external device different from the numerical control device. : Computer-aided manufacturing), etc. to create a processing program. When using CAM to create a machining program, in order to express the free-form surface as accurately as possible, it is necessary to shorten the length of one command path (hereinafter referred to as the path length). However, the number of command paths that can be processed in a certain period of time is limited by the data processing capability of the numerical control device, so the path length becomes shorter, and the distance that the tool can move within a certain period of time, that is, the feed rate of the tool is limited. . Therefore, the conventional numerical control device performs high-speed machining by replacing (compressing) a plurality of consecutive command paths in the same straight line section into one command path, thereby increasing the path length (for example, Patent Document). [Patent Document 1] Japanese Patent Application Laid-Open No. 3459155 (Draft of the Invention) (Problems to be Solved by the Invention) However, according to the above prior art, whether or not the determination is made in the same straight line section There is a tolerance range. Therefore, if a continuous plurality of command paths are replaced by one command path, a path error due to compression occurs, and there is a problem that the machining accuracy is lowered. φ Further, in accordance with the prior art described above, The path error due to compression is reduced, and if the allowable error range used for the determination of the same straight line section is reduced, the high-speed processing effect due to compression becomes small, and it is difficult to perform high-speed machining. The invention is completed in view of the above problems, and the object of the invention is to obtain even In the case of a processing program including a plurality of command paths having a short path length, it is possible to achieve a high-speed numerical control device and a production system without reducing the machining accuracy. ® (Means for solving the problem) A numerical control device according to the present invention includes: a compression processing unit that creates a compressed command path that is connected by a plurality of consecutive pre-compression pre-command path paths; and a path correction for the compressed command path Correcting the compressed command path to the tool movement path, and creating a movement data creation unit for moving the tool to be used for interpolation of the tool movement path; and obtaining the pre-compression instruction 5 322038R01 201126294 The amount of movement of the path, and based on the tool movement data created by the movement data creation unit, the tool is corrected by moving the tool on the movement path without compressing the command path. Position interpolation processing unit. Advantageous Effects of Invention According to the present invention, even when a machining program including a plurality of command paths having a short path length is used, an effect of speeding up processing can be achieved without lowering the machining accuracy. φ [Embodiment] Hereinafter, embodiments of the numerical control device and the production system of the present invention will be described in detail with reference to the drawings, but the present invention is not limited to the embodiment. Embodiment 1 shows a numerical value of the present invention. A block diagram of a schematic configuration of the control device. In Fig. 1, the numerical control device 1 can numerically control the movement of the workpiece by a machining program including a plurality of command paths having a continuous performance. In the middle, there is a processing program reading unit 2 of the command 11 of the knot, a force: 1) The compression obtained by the instruction (4) The path 12 is read by the unit 2 (4) (4) 2) The command path storage unit 3 causes the path buffer to shrink. The start and end points of the pre-command path 12 are continued. The compressed command (four) 13 pressure/red is formed - a new correction to the tool movement # 4, the post-reduction command path 13 The tool to be used moves (f5) with the moving path for interpolation, and the interpolation processing unit 6 for calculating the tool position 16 by shifting the path to the work 322038R01 6 201126294. The command u, which is instructed by the Tianjia I program, is input to the numerical controller ’, and the command u is output to the machining program reading unit 2. : The work | presentation reading unit 2 reads the addition of the engineering instruction u = rational = pre-reduction command path 12 loss _ age road line storage unit 3 and (4) processing / 4, and the path correction cum action data 14 is output to The compression processing unit and the pure correction and motion data 14 may include information for correcting the path 12 of the processing program to the path of the tool movement, determining the feed speed of the shrinking day (2) 12, and the operation mode, etc. Information necessary for the action in motion. The storage unit 3 receives the pros and cons from the machining program reading unit 2: == : the command path is reduced to the front. The dust reduction processing unit 4 receives the other path 12 from the machining program reading unit 2, and creates The continuous plural (four) pre-reduction command road: two = the new one that is connected by the Γ 令 令 U U U U U U U U U U U U U U U U U U U U U U U U U In addition, 1^4 will also correct the path of the compressed command path 13 and the action component. The condensing processing unit 4 may not correct the path before the 14 different pre-compression commands, and the path correction for the compressed command path 413 may be the path correction of the punctured command path 13 "-action bead 14" All the pre-compression command paths 12 _1" of the action data 7 pack 3 "the material creation unit 5' is based on the path correction cum action data 322038R01 7 201126294 14 _ processing unit 4 created after the leaking finger movement path, and made in the tool movement The path is corrected to the tool movement (4) 15, and it is input (4). The tool is required to move the data 15 to indicate the path and motion of the interpolation. (4) The tool starts to move to the start and end of each axis. The path from the starting point to the end point = tool t setting (4) unit direction vector, command feed speed, permissible tool movement, and permissible speed, etc., which are necessary for determining the tool movement path and the operation of the work machine. In addition, you can use the section 5 of the 度 姑 从 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、

未圖不之模擬處理部,以進行檢杳 輸出J 擬處理,並輸出至未圖示的顯示較。㈣1的動作之模 具^值^理部6,接收到移動資料作成部5所製作之工 於2 就從壓縮前指令路徑緩衝器20將壓縮前 二徑12讀出。然後,根據移動資料作成部5所製作之 移^動資料15 ’將壓縮前指令路徑12業經修正的工具 工^㈣行插值,以求出卫具位置16。然後,將求出的 部…置16輸出至未圖不的加減速處理部及伺服控制 ’?尤可驅動未圖示之各軸的可動部。 說明接著’針對此實施形態1之數值控制裝置的動作進行 &式4取部、指令路徑保存部、壓縮處理部之動作〉 的二=:缩處理部4輸罐縮後指令路徑13 32203 8R01 8 201126294 指令第1圖的壓縮處理部4輪出的壓縮後 路L 13的製作處理順序的一個 將指令路徑編號i(加工 二 /、中’ 指令路徑12矣-士 μ,.、 θ不第1個)的壓縮前The analog processing unit, which is not shown, performs the inspection and output processing, and outputs it to the display ratio not shown. (4) The operation mode of the first operation unit 6 receives the work created by the mobile data creation unit 5, and reads the compressed two-path 12 from the pre-compression command path buffer 20. Then, based on the movement data 15 ’ created by the movement data creation unit 5, the tool path (4) corrected by the pre-compression command path 12 is interpolated to obtain the guard position 16. Then, the obtained portion 16 is output to the unaccompanied acceleration/deceleration processing unit and the servo control ’, and the movable portion of each of the axes (not shown) can be driven. In the following, the operation of the numerical controller of the first embodiment is performed, and the operation of the equation 4, the command path storage unit, and the compression processing unit is performed. 2. The reduction processing unit 4 is the canned instruction path 13 32203 8R01 8 201126294 The command processing route number i (process 2/, medium ' command path 12矣-士μ, ., θ is not the first in the sequence of the processing of the compressed rear path L 13 in the compression processing unit 4 of Fig. 1 1) before compression

⑴而心厂 將壓縮複數㈣縮前指令路徑N 後r路徑編號j⑹個)的壓縮後指令路 壓^ 為表示朗前指令路徑N⑴金 廢縮後指令路㈣,⑴的關係的—個例子之圖。()” 二圖:,在步驟S1由加工程式讀取部2判斷加工程 i壓缩乂::否為第一次’若為第一次則前進到步驟S2, =:,路徑N⑴的指令路徑編號i初始化為。,使 "路徑N (j)的壓縮後指令路麵號j初始化為 並非、=關步㈣。另一方面,若加工程式ι的執行 、第人,則直接前進到步驟S3。 化。步驟% ’進行累積指令路徑長L师的初始 /、 S 7路控長Lprg係表示壓縮後指令路徑N,(j)中 所含的,縮前指令路㈣⑴的路徑長的累積值。 ,者’在步驟S4,由加工程式讀取部2使指令路徑編 加卜然後在步驟S5從加工程式丨所指示的命令u 凟取壓縮前指令路徑N(i)。 接著j在步驟S6,由壓縮處理部4判斷累積指令路徑 Lprg是否$ 〇 ’亦即判斷是否—次壓縮處理也沒進行 ,,並在累積指令路徑長Lprg為Q之情況(第—次進行壓 :处理之It况)則進到步驟S7,將壓縮前指令路徑N⑴的 起點設定給壓縮後指令路飼,⑴的起點。 32203 8R01 9 201126294 然後,=驟S9,由壓縮處理部4將壓縮前指令路徑 N i的終點“給朗後指令路徑ν,⑴的終點 : ::壓縮前指令路㈣⑴的路徑長加到累積指'= W接1=驟S11 ’由指令路徑保存部3將壓縮前指 令路徑N(1)保存龍縮前指令路徑緩衝請,然、後回到; 驟S4之加工程式讀取部2的處理。保存到磨縮前指令路= 緩衝器2G之資料,係表關縮前指令路徑n⑴之形狀^ 料’具體而言’係包含壓縮前指令路徑犯)的起點、 及路徑長。 到此為止之處理進行的是:壓縮後指令路徑的 作成以及壓縮前指令路徑N(i)之往壓縮前指令路徑緩衝器 20之保存3外,在步驟S6之判斷為前進到步驟幻之^ 況,壓縮後指令路徑Ν’α)與壓縮前指令路徑N(i)為相^ 的指令路徑。 接著針對回到步驟S4之後的處理的流程再進行一點 說明。 在從步驟S11回來後之步驟S4,使指令路徑編號i加 1,然後在步驟S5從加工程式1所指示的命令u讀取壓縮 前指令路徑N(i)。此處,讀取的是在步驟S5讀取的前次 322038R01 10 201126294 的塵縮前指令路㈣(Η)之後㈣縮前指 接著’步驟S6之判斷中,因為在前次的心sl〇 : 將=的I縮前指令路徑N(H)的路徑長 八= 役長Lprg,所以前進到步驟邡。 累積路 …然後,在步驟S8,由屢縮處理部4判斷壓 徑N (j)及壓縮前指令路徑 二曰7 前進到步驟S9,職後指令路徑:二= 丨 ⑴的终點。之後重複進行步驟二】 = :::將複數個㈣前指令路徑加,而成之 面,若不可壓制結絲縮處理,接著在㈣(1) The heart-plant will compress the complex number (four) before the pre-short command path N and the r-path number j (6)). The compressed command path pressure ^ is an example of the relationship between the command path (4) and (1) after the pre-routing command path N(1) gold is shrunk. Figure. ()" Two diagrams: In step S1, the machining program reading unit 2 determines that the addition engineering i is compressed:: No is the first time 'If it is the first time, then proceeds to step S2, =:, the command path of the path N(1) The number i is initialized to , and the path number j after the compression of the path N (j) is initialized to not, = step (4). On the other hand, if the execution of the program ι is first, the process proceeds directly to step S3. Step % 'Accumulate command path Long L division's initial /, S 7 control length Lprg system indicates the cumulative value of the path length of the pre-reduction command path (4) (1) contained in the compressed command path N, (j) In step S4, the machining program reading unit 2 compiles the command path and then extracts the pre-compression command path N(i) from the command u indicated by the machining program in step S5. Then j is in step S6. When the compression processing unit 4 determines whether or not the cumulative command path Lprg is $ 〇 ', that is, whether or not the secondary compression processing is not performed, and the cumulative command path length Lprg is Q (the first time the pressure is processed: the case of the processing) Then, proceeding to step S7, the starting point of the command path N(1) before compression After the compression is commanded, the road feed is commanded, starting point of (1). 32203 8R01 9 201126294 Then, at step S9, the compression processing unit 4 sets the end point of the pre-compression command path N i to the end point of the command path ν, (1): :: Before the compression, the path length of the command path (4) (1) is added to the accumulation finger '= W to 1 = step S11'. The command path storage unit 3 saves the pre-compression command path N(1) before the pre-shrink instruction path buffer, and then returns. The processing of the processing program reading unit 2 in step S4. The data stored in the pre-friction command path = buffer 2G is the starting point of the command path n(1) before the closing of the table, and the path length is specified by the command path. The processing up to this point is: the creation of the command path after the compression and the storage of the command path buffer 20 before the compression of the pre-compression command path N(i), and the determination in step S6 is to proceed to the step phantom ^ In the case, the compressed instruction path Ν 'α) is the same as the instruction path of the pre-compression instruction path N(i). Next, a description will be given again for the flow back to the processing after step S4. In step S4 after returning from step S11, the command path number i is incremented by 1, and then the pre-compression command path N(i) is read from the command u indicated by the machining program 1 in step S5. Here, the reading is the previous 322038R01 10 201126294 before the dust reduction command line (four) (Η) read in step S5 (four) before the shrinking finger followed by the 'step S6 judgment, because in the previous heart sl〇: The path of the pre-compensation command path N(H) of == is the length of the eight = the length Lprg, so proceed to step 邡. Accumulation path ... Then, in step S8, the contraction processing unit 4 determines that the pressure path N (j) and the pre-compression command path 2曰 advance to step S9, and the post-service command path: two = 终点 (1). Then repeat step 2] = ::: add a number of (four) pre-command paths, and then make the surface, if you can not suppress the knotting process, then in (4)

犯將心令路徑編號i減丨,以及將壓縮後指令路徑 加1 ° J 然後’在步,驟S13,求出所製作的壓縮後指令路徑N,⑴ 的路徑長Lcmp以及單位方向向量u(此處的單位方向向量u 係為從壓縮後指令路徑N,⑴的起點朝向終點之方向的單 位向量)’並將之連同累積指令路徑長Lprg 一起設定到路 徑修正暨動作㈣14,然後進人到移動資料作成部5。 本實施形態1中,在步驟S12係將指令路徑編號丨減 1 ’而且在此之後便不使用經判斷為不可壓縮之壓縮前指令 路徑N(1),但亦可將讀入的指令路徑保存起來,然後在下 一次的步驟S5的處理中不使用從加工程式丨讀入者,而使 用保存的指令路徑。 在此,針對步驟S8之可否壓縮的判斷處理進行說明。 322038R01 11 201126294 步驟S8可在壓縮後指令路徑N,(j)與壓縮前指令路徑N(i) 的路徑修正暨動作資料14不同之情況、或者在壓縮後指令 路徑N (]·)或愿縮前指令路徑N(i)為必須在終點減速停止 的指令路控之情況、或者在壓縮後指令路徑Ν’(j)或壓縮 則指令路控N( i)處於在各指令路徑的終點使速度減低而停 止的動作模式中之情況判斷為不可壓縮。 必須在終點減速停止的指令路徑,包含定位指令(G00 指令)及完全停止(exact st〇p)指令(g〇9指令、G61指令), 春在各指令路徑的終點使速度減低而停止的動作模式,包含 每次執行一個指令路徑之單程序段(single M〇ck)運轉模 式以及藉由輸入外部訊號而在各指令路徑的終點執行減速 檢查之錯誤檢測模式(error detect m〇(je)。 除此之外,還可採用以壓縮路徑數(壓縮後指令路徑中 所含的壓縮前指令路徑的條數)是否超過預定的最大值、或 者因壓縮而產生的路徑誤差是否超過預定的容許誤差、或 籲者壓縮後指令路徑的路徑長是否超過預定的容許長度而判 斷是否可壓縮之方法,來作為可否壓縮之判斷方法。 〈移動資料作成部之動作〉 _接著,在移動資料作成部5,係根據路徑修正暨動作 -貝料14而將壓縮處理部4所製作之壓縮後指令路徑ι3進 行路徑修正到工具移動路徑。此路徑修正包含工具長度偏 移(tool length offset)及工件偏移(w〇rk 〇ffset)等之平 行移動、指令路徑整體之放大縮小、以及座標旋轉等之座 標轉換。第4圖係表示壓縮後指令路徑13與工具移動路徑 322038R01 12 201126294 的關係的一個例子之圖。 然後,移動資料作成部5製作在路徑修正所得的工具 移動路徑上進行插值所必需的工具移動資料15。本實施形 態1中,並不是由連結工具移動路徑的起點與終點而成之 路徑長Lt,而是將從路徑修正暨動作資料14的累積指令 路徑長Lprg (壓縮後指令路徑13中所含的壓縮前指令路 徑12的路徑長的累積值)求出的路徑長,當作工具移動路 徑的路徑長L’而設定到工具移動資料15中。具體而言, φ 係將工具移動路徑的路徑長L’表示成:若累積指令路徑長 設為Lprg,壓縮後指令路徑13的路徑長設為Lcmp,連結 工具移動路徑的起點與終點而成之路徑長設為Lt,則如式 (1)所示之將伴隨著壓縮後指令路徑13的座標轉換而產生 之路徑長倍率(連結工具移動路徑的起點與終點而成之路 徑的路徑長Lt相對於壓縮後指令路徑13的路徑長Lcmp之 比)乘以累積指令路徑長Lprg而得之值。 [數式1] # L-LprgxS5 …⑴ 此處求出的工具移動路徑的路徑長L’,係為壓縮處理 部4並未對壓縮前指令路徑12進行壓縮之情況(壓縮前) 的工具移動路徑的累積路徑長。第5圖係表示此實施形態 1中之各路徑長的關係的一個例子之圖。 利用壓縮後指令路徑13來製作工具移動資料15,可 縮短移動資料作成部5的處理時間。具體而言,若將壓縮 13 322038R01 201126294 路徑數(壓縮後指令路徑13中所含的壓縮前指令路徑12的 條數)設為k,則能以未進行壓縮之情況的Ι/k的處理時間 進行路徑修正以及工具移動資料15之製作。 〈插值處理部之動作〉 接著,插值處理部6 —併使用在指令路徑保存部3所 保存起來之壓縮前指令路徑緩衝器2 0内的壓縮前指令路 徑12以及移動資料作成部5所製作之工具移動資料15, 在壓縮處理部4並未對指令路徑進行壓縮之情況(壓縮前) φ 的工具移動路徑上進行插值,而製作工具位置16。 第6圖係表示此實施形態1中之插值處理部6的處理 順序的一個例子之流程圖。第6圖中,步驟S61係從指令 饋給速度求出每一插值周期的移動量FAT。 然後,在步驟S62,以工具移動路徑的路徑長L’為基 準使每一插值周期的移動量FAT標準化,而求出標準化移 動量FAT’。標準化移動量FAT’係如式(2)所示表示成: 每一插值周期的移動量FAT相對於工具移動路徑的路徑 ®長L,之比。 [數式2] ΡΔΓ=£ΔΤ …⑵ 然後,以累積指令路徑長Lprg為基準使儲存於壓縮前 指令路徑緩衝器20内的壓縮前指令路徑12的路徑長標準 化而得到標準化路徑長,再利用此標準化路徑長來求出指 令路徑編號。第7圖係表示此實施形態1中之指令路徑編 14 32203 8R01 201126294 號的一個算出例子之圖。其中, 工裎式1鮮社 衣不和令路把編號i(加 示的第i個)之壓縮前指令路後,h,⑴表示 路徑N⑴之標準化路徑長,n,⑴表 個壓縮前指令路徑N(i)予以壓縮而得到第、 令路徑。而且,在第7圖中,係將二 縮前指令純N, +,另外,就第7圖而 °累積私々路徑長Lprg係如式(3)所示,表示点.厭始 後指令路徑N,(j)中所含的壓缩i扣 ’ .土縮 h⑴的總和 ^指令路^⑴的路徑長 [數式3] ⑶ LP^glm(1+k) · 士另外’將壓縮前指令路徑N⑴的路徑長表示為、⑴ =準化路徑長1m,⑴係如式⑷所示,表示成:壓縮 路㈣⑴的路徑長lm⑴相對於累積指令路徑長 Lprg之比。 [數式4] lm(i) ⑷The penalty number i is reduced, and the compressed command path is incremented by 1 ° J. Then, in step S13, the prepared compressed command path N, (1) path length Lcmp and unit direction vector u ( Here, the unit direction vector u is a unit vector from the start point of the compressed command path N, (1) toward the end point) and is set together with the cumulative command path length Lprg to the path correction and action (4) 14, and then enters The data creation unit 5 is moved. In the first embodiment, the command path number is decremented by 1 ' in step S12, and the pre-compression command path N(1) determined to be incompressible is not used thereafter, but the read command path can also be saved. Then, in the processing of the next step S5, the slave program reader is not used, and the saved command path is used. Here, the determination processing of the compressibility of step S8 will be described. 322038R01 11 201126294 Step S8 may be performed after the compressed command path N, (j) is different from the path correction and action data 14 of the pre-compression command path N(i), or the compressed command path N (]·) or the contraction The pre-command path N(i) is the command path that must be decelerated to stop at the end point, or the command path Ν'(j) or the compressed command path N(i) is at the end of each command path after compression. The situation in the action mode of the decrease and stop is judged to be incompressible. The command path that must be decelerated and stopped at the end point includes the positioning command (G00 command) and the complete stop (exact st〇p) command (g〇9 command, G61 command), and the spring stops at the end of each command path. The mode includes a single block operation mode in which one command path is executed each time, and an error detection mode (error detect m〇(je)) that performs a deceleration check at the end of each command path by inputting an external signal. In addition, whether the number of compression paths (the number of pre-compression instruction paths included in the command path after compression) exceeds a predetermined maximum value or whether the path error due to compression exceeds a predetermined tolerance may be employed. The method of judging whether or not the path length of the command path exceeds a predetermined allowable length and determining whether it is compressible or not is used as a method of judging whether or not the compression is possible. <Operation of the mobile data creation unit> _ Next, the mobile data creation unit 5 Path correction is performed on the compressed command path ι3 created by the compression processing unit 4 based on the path correction and action-bean material 14. To the tool movement path. This path correction includes parallel movement of tool length offset and workpiece offset (w〇rk 〇ffset), zooming and reduction of the entire command path, and coordinate conversion such as coordinate rotation. 4 is a diagram showing an example of the relationship between the compressed command path 13 and the tool movement path 322038R01 12 201126294. Then, the movement data creation unit 5 creates a tool movement data 15 necessary for interpolation on the tool movement path obtained by the path correction. In the first embodiment, the path length Lt formed by connecting the start point and the end point of the tool movement path is not the cumulative command path length Lprg of the path correction/operation data 14 (included in the command path 13 after compression) The path length obtained by the cumulative value of the path length of the pre-compression command path 12 is set to the tool movement data 15 as the path length L' of the tool movement path. Specifically, φ is the path of the tool movement path. The length L' is expressed as follows: if the cumulative command path length is set to Lprg, the path length of the command path 13 after compression is set to Lcmp, and the link tool is moved. When the path length from the start point and the end point of the path is set to Lt, the path length multiplication ratio (the start point and the end point of the link tool movement path) are generated along with the coordinate conversion of the command path 13 after the compression as shown in the equation (1). The ratio of the path length Lt of the path to the path length Lcmp of the compressed command path 13 is multiplied by the cumulative command path length Lprg. [Expression 1] # L-LprgxS5 (1) The tool obtained here The path length L' of the moving path is the cumulative path length of the tool moving path when the compression processing unit 4 does not compress the pre-compression command path 12 (before compression). Fig. 5 shows the first embodiment. A diagram of an example of the relationship of each path length. By using the compressed command path 13 to create the tool movement data 15, the processing time of the moving data creation unit 5 can be shortened. Specifically, if the number of paths of the compressed 13 322038R01 201126294 (the number of pre-compression command paths 12 included in the compressed command path 13) is k, the processing time of Ι/k in the case where compression is not performed can be performed. Path correction and tool movement data 15 are produced. <Operation of Interpolation Processing Unit> Next, the interpolation processing unit 6 uses the pre-compression command path 12 and the movement data creation unit 5 in the pre-compression command path buffer 20 stored in the command path storage unit 3. The tool movement data 15 is interpolated on the tool movement path of the case where the compression processing unit 4 does not compress the command path (before compression) φ, and the tool position 16 is created. Fig. 6 is a flow chart showing an example of the processing procedure of the interpolation processing unit 6 in the first embodiment. In Fig. 6, step S61 calculates the movement amount FAT for each interpolation period from the command feed speed. Then, in step S62, the movement amount FAT of each interpolation period is normalized based on the path length L' of the tool movement path, and the normalized movement amount FAT' is obtained. The normalized movement amount FAT' is expressed as the ratio of the movement amount FAT of each interpolation period to the path of the tool movement path ® length L as shown in the formula (2). [Expression 2] ΡΔΓ=£ΔΤ (2) Then, the path length of the pre-compression command path 12 stored in the pre-compression command path buffer 20 is normalized based on the cumulative command path length Lprg to obtain a standardized path length, and reused. This standardized path is long to find the instruction path number. Fig. 7 is a view showing a calculation example of the command path number 14 32203 8R01 201126294 in the first embodiment. Among them, the work type 1 fresh clothing and the order number i (the i-th addition) before the compression of the command path, h, (1) represents the standardized path length of the path N (1), n, (1) table pre-compression instructions The path N(i) is compressed to obtain the first and the order path. Moreover, in Fig. 7, the pre-constriction command is pure N, +, and, in addition, in Fig. 7, the cumulative private path length Lprg is as shown in equation (3), indicating the point. N, (j) contains the compression i buckle '. The sum of the soil shrink h (1) ^ command path ^ (1) the path length [Expression 3] (3) LP ^ glm (1 + k) · Shi also 'will compress the pre-command path The path length of N(1) is expressed as (1) = the normalization path length is 1 m, and (1) is expressed as the ratio of the path length lm(1) of the compression path (4) (1) to the cumulative command path length Lprg as shown in the equation (4). [Expression 4] lm(i) (4)

Lprg 、以下,根據第7圖來具體說明指令路徑編號之算出方 法。此處,為求簡化⑽設現在駐具位置位在 起點。 γ第,7圖中係判斷標準化移動量FAT,是否比標準化路 徑長lm’⑴大。在標準化移動量FAT,較小之情況,所要 32203 8R01 15 201126294 异出之指令路徑編號即為i(壓縮後指令路徑N,〇)中 的現在的工具位置之後之最初的壓縮前指令路徑 : 令路徑編號)。 ’的才曰 另-方面,於標準化移動量FAT,較大之情況中 進行將標準化㈣量ΡΔΓ減去lm,⑴所得的 △Lprg and the following, the method of calculating the command path number will be specifically described based on Fig. 7. Here, for the sake of simplicity (10), the current station position is set at the starting point. In γ, in Fig. 7, it is judged whether or not the normalized movement amount FAT is larger than the normalized path length lm'(1). In the case of a standardized movement amount FAT, the command path number of the desired 32203 8R01 15 201126294 is the initial pre-compression command path after the current tool position in i (compressed command path N, 〇): Path number). In addition, in the case of a large-scale normalized movement amount FAT, the normalized (four) quantity ΡΔΓ is subtracted from lm, (1).

T’’與lni’mD之大小比較。 ㈣I FA ❿ 然後,在相減所得的移動量FAT,,較小之 ^之指令路徑編號即為⑼)。重複以上的步驟,而= ==在第的例子中,所算出的指令路:編 …、、將异出的指令路徑編號表示為m。 令路砰’係叙设現在的工具位置位在壓縮後指 算出者,但在現在的1具位置不在 二:二=「ν⑴的起點之情”,則只要令現在的 /、位置所麵Μ㈣指令路徑Ν⑴的指令 令路徑Ν(1)的剩餘路徑長(從現在的工Ϊ 令路徑Ν(1)的終點之沿著路徑的長度)為 料,在H 祕㈣縣算㈣令雜編號m。 口要使用奸縮後指令路徑N,⑴的終點之情況,則 以要使用該k點之剩餘的標準化移動量 來的I縮後指令路徑W+D T ’進入接下 餘的FAT,變為〇即可。 複同樣的順序直到剩 此外,在本實施形態丨中, 前指令路役的指令轉魏 而輪出,並將之顯示於未圖示的顯示中的程式行數 322038R01 16 201126294 p .、接著,在步驟S63,首先,從壓縮前指令路徑N(m)的 示準化路徑長lm’(m)與自魏射旨令路徑 起的移動量,,之比率,求出厂堅縮前指令路徑^上; 座標值Pt。具體而言,若以ρ0ιΜ)代錢縮前指令路經 /的起點座標值,以p(m)代表終點座標值,則座標值扒 ::式⑸:斤示,先將麗縮前指令路徑N⑷之從起點到終 旦、移動量乘以自堡縮前指令路徑_)的起點算起的移動 罝F,τ’ ’相對於I综前指令路徑N⑷的標準化路徑長 梦备旦之比率而㈣自I縮前指令路徑N(m)的㈣算起的 =里β再將此自&gt;1縮前指令路徑N(m)的起點算起的移動 置加到&gt;1縮前指令路徑N(m)的起點座標值而算出。 [數式5 ] P㈣㈣+_-P(m.^g …⑸ 讨,座標值pt減去現在的指令路徑上的座標值 Pt ’而Μ在壓縮後指令路飼,⑴之各轴的移動量心。 量△=,S64,將在壓縮後指令路徑r⑴之移動 為在工具移動路徑之移動量Δρ,,再加上現在 =具位置即,而算出接受路徑修正之座標旋轉前的工具 〆Ρ、、體而言,係如式⑻所示,先將在麗縮 路控r⑴之移動量心乘以伴隨著_ y 的座標轉換而產生之路徑長的倍率(連結路動 起點與終點之路徑長Lt相斟#多動路仫的T'' is compared with the size of lni'mD. (4) I FA ❿ Then, in subtracting the obtained movement amount FAT, the smaller command path number is (9)). Repeat the above steps, and === In the first example, the calculated command path: edit, and the instruction path number of the different output is expressed as m. Let Lulu's current tool position be calculated after compression, but in the current position is not two: two = "the starting point of ν (1)", as long as the current /, position is facing (four) The instruction path Ν(1) command makes the remaining path length of the path Ν(1) (from the current work order, the end of the path Ν(1) along the length of the path), and counts in the H secret (four) county (four) . If the port is to use the end point of the command path N, (1), the I-reduced command path W+DT ' to use the remaining normalized movement amount of the k point is entered into the remaining FAT, and becomes 〇 Just fine. In the same embodiment, in the present embodiment, the command of the pre-command road is rotated and displayed on the display line number 322038R01 16 201126294 p. In step S63, first, from the ratio of the display path length lm'(m) of the pre-compression command path N(m) and the amount of movement from the Wei-Jing order path, the ratio of the pre-contraction command path is obtained. ; Coordinate value Pt. Specifically, if the value of the starting point of the command path is reduced by ρ0ιΜ), and p(m) represents the value of the end point coordinate, then the coordinate value 扒:: (5): the pin indicates the path of the pre-shrinking command N(4) is the ratio of the movement 罝F, τ' ' from the starting point to the end of the day, the movement amount multiplied by the starting point of the command path _), and the ratio of the normalized path of the I pre-command command path N(4) (4) From the (fourth) of the pre-compensation command path N(m) = 里 β and then shift the movement from the start of the pre-contracted instruction path N(m) to the >1 pre-contracted instruction path The starting point coordinate value of N(m) is calculated. [Expression 5] P(4)(4)+_-P(m.^g ...(5) Discuss, the coordinate value pt is subtracted from the coordinate value Pt' on the current command path, and the road feed is commanded after compression, and the amount of movement of each axis of (1) The quantity Δ=, S64, the movement of the command path r(1) after the compression is the movement amount Δρ in the tool movement path, and the current position is calculated, and the tool before the coordinate rotation of the acceptance path correction is calculated. In other words, as shown in the equation (8), the moving amount center of the r=1) is multiplied by the coordinate of the path length generated by the coordinate conversion of _y (the path connecting the start point and the end point of the road) Long Lt phase 斟#多动路仫

Ic卹之比)而卡^ 縮後指令路徑的路徑長 P t)而求出在工具移動路徑之移動量△〆,然後加 32203SR01 17 201126294 上現在的工具位置pn而算出。如此,就可吸收由於移動資 料作成部5的路徑修正而產生之放大或縮小。 [數式6 ] ρ'=ρη+Δρχ ⑹The ratio of the length of the Ic shirt) and the length of the path of the command path after the contract is shortened, and the movement amount Δ〆 in the tool movement path is obtained, and then the current tool position pn on 32203SR01 17 201126294 is added and calculated. Thus, the enlargement or reduction caused by the path correction of the moving material creating portion 5 can be absorbed. [Expression 6] ρ'=ρη+Δρχ (6)

LtLt

Lcmp 接著,在步驟S65,依據壓縮後指令路徑Ν’(j)的單位 方向向量u與工具移動路徑的單位方向向量u’的所有成分 是否都相同,來判斷是否由於移動資料作成部5的路徑修 正而使得座標旋轉了,並在未使得座標旋轉(單位方向向量 u,u’相同)之情況,將接受路徑修正之座標旋轉前的工具 位置P’當作工具位置16而輸出。另一方面,在使得座標 旋轉了(單位方向向量u,u’不同)之情況,則前進到步驟 S66。 然後,在步驟S66,求出用來將壓縮後指令路徑Ν’(j) 的單位方向向量U轉換到工具移動路徑的單位方向向量u’ 之轉換矩陣T。轉換矩陣T可從兩個向量所夾的角度來求 出。例如,若單位方向向量u’為使單位方向向量u繞著Y 軸旋轉角度Θ而成之向量,則轉換矩陣T可以式(7)加以表 示。此處,所舉的雖為在二維旋轉的例子,但即使是在三 維旋轉的情況,也只要更改繞各軸旋轉之行列的積而設定 成轉換矩陣T就可同樣地進行處理。 [數式7] cos0 0 sin0 T= 0 1 0 …⑺ -sin Θ 〇 cos 0 _ 18 322038R01 201126294 然後,在步驟S67,如式(8)所示,利用轉換矩 座標旋轉前的工具位置進行座標轉換:: 衣出接党路徑修正之座標旋轉後的工具位置p,,, 當作工具位置16而輸出。 、字之 [數式8] p&quot;=T.n' Ρ Ρ · · ·⑻ 態”’係蝴縮前指令路經 叙〜』+ 4 表現之處具㈣徵。—般而言,移 ^ =作成縣藉由齡路㈣放大、料、旋轉等來終 二路從,但藉由使·縮前指令路徑们 相 =缩後指令路徑Ν,(她徑長(累⑽ 徑的==:與放大、縮小、旋轉等之指令路 直接用原本的資料來達立厭給〜ι縮别“令路控,可 令路徑之對、,、别心令路徑相對於1 縮後指 點之對應_(從壓縮後指令路徑 點异起之路徑長)到屢縮前指令路 置(3其起 舁起之路徑長)之對應關係 (或I、起點 效率良好地崎純處理。 而㈣少的計算量 此外’本實施形態!亦可將 各轴的移動量係將現在執行中的如别所述, 點座標值換算為在工具移動路二=徑,)的終 行令的路徑之各轴的後以現在執 尤、續不在未圖示的顯示 322038R01 19 201126294 裝置。 再者,本實施形態1亦可將現在執行中的下一個壓縮 前指令路徑N(m+1)的終點座標值及起點座標值換算為在工 具移動路徑上的終點座標值及起點座標值,然後將在工具 移動路徑上的終點座標值減去在工具移動路徑上的起點座 標值所得到的移動量予以輸出,並以現在執行中的下一個 工具移動路徑的移動距離之形態顯示在未圖示的顯示裝 置。 # &lt;效果〉 如以上所述,根據此實施形態1,即可在將複數個壓 縮前指令路徑予以壓縮而成之壓縮後指令路徑上進行往工 具移動路徑之路徑修正以及工具移動資料之製作。因此, 即使在往工具移動路徑之路徑修正、工具移動資料之作成 以及插值處理之處理的負荷很高之情況,也可減輕資料處 理量,使處理高速化變為可能,所以可實現高速加工。 再者,根據此實施形態1,一併使用壓縮前指令路徑 及壓縮後的工具移動路徑的工具移動資料,可對未將壓縮 前指令路徑予以壓縮之情況的工具移動路徑進行插值而求 出工具位置。因此,可一邊使工具在未對指令路徑進行壓 縮之情況的工具移動路徑上移動,一邊使壓縮後的工具移 動路徑的工具移動資料生成,且能夠抑制壓縮所致的路徑 誤差之發生,而防止因壓縮而導致之加工精度的降低。 另外,根據此實施形態1,在指令路徑係為必須在終 點減速停止之指令路徑的情況中,可不用對壓縮後指令路 20 322038R01 201126294 ==前指令路徑進行壓縮,而使單-的壓縮前 t徑成為壓縮後指令路徑。因此,可執行複數個連螬 :;:::::::!::::::::::::£ -點==據此實施形態卜在處於要在各指令路徑的 •、二占使速度減低而停止的動作模式中之情況,可不 _指令路徑及下—個壓縮前指令路徑進行壓縮,而使單 一=壓縮前指令職成為㈣後指令路徑。因此,即使 依照作業員所操作的外部訊號的狀態而變更了動作模式之 纽,也可即時(real time)判斷是否可壓縮,而進行㈣ 員所希望的動作。 另外,根據此實施形態1,可使用以工具移動路秤的 累積路徑長基準將每一插值周期的工具移動量予以標^ 而成之標準化移動量、以及以累積指令路徑長(壓縮後指八 路徑中所含的I缩前指令路徑的路徑長的累積值)基準: 麗縮前,令路㈣路徑好以標準化而成之標準化路徑 長,來算出工具位置的指令路徑編號。因此,可進行路徑 不同之工具移動路徑上的移動量與壓縮前的指令路: 大小比較,而可算出工具位置的指令路徑編號,進而可在 未對壓縮前指令路徑進行壓縮之情況的工具移動路徑上進 行插值。 另外,根據此實施形態1,可使用壓縮後指令路徑業 經路徑修正的壓縮後的工具移動路徑,來進行對加工程式 322038R01 21 201126294 的動作進行檢查之模擬。因此,模擬處理中所要處理的路 徑的條數會變少,而可使模擬的描繪更新速度變快。 另外,根據此實施形態1,可使用加工程式所指示的 指令路徑來求出:顯示裝置中要顯示之執行中程式行數顯 示、執行中路徑的各軸的剩餘距離顯示、以及現在執行中 的下一個路徑的各軸的移動距離顯示。因此,可藉由使本 來的加工程式其原本的資訊顯示於顯示裝置,而使作業員 .能夠在不會察覺壓縮所造成的不協調感之情況下進行操 馨作。 實施形態2 第8圖係顯示本發明實施形態2之生產系統的概略構 成之方塊圖。如第8圖所示,移動資料演算裝置101具備 有:將移動資料作成部5所輸出的工具移動資料15保存到 工具移動資料緩衝器21之移動資料保存部7、以及加工程 式讀取部2、指令路徑保存部3、壓縮處理部4、移動資料 作成部5。數值控制裝置102具備有插值處理部6。第8圖 ® 中,在可達成與第1圖所示之顯示實施形態1的概略構成 圖之方塊圖的構成要素相同的機能之構成要素標註相同的 號碼而省略重複的說明。 接著,針對實施形態2的動作進行說明。 相對於實施形態1之如第1圖所示之以數值控制裝置 100來進行所有加工程式讀取部2、指令路徑保存部3、壓 縮處理部4、移動資料作成部5、插值處理部6的處理,實 施形態2係如第8圖所示,藉由具備有加工程式讀取部2、 22 32203 8R01 201126294 指令路徑保存部3、壓縮處理部4、移動資料作成部5、移 動資料保存部7及工具移動資料緩衝器21之移動資料演算 裝置101在加工前預先將壓縮前指令路徑12及工具移動資 料15保存到壓縮前指令路徑緩衝器20及工具移動資料緩 衝器21。然後,數值控制裝置102在插值處理部6中根據 保存於工具移動資料缓衝器21之工具移動資料15,即時 對壓縮前指令路徑12業經修正的工具移動路徑進行插 值,而求得工具位置16。 本實施形態2雖然將壓縮前指令路徑12及工具移動資 料15保存在不同的缓衝器,但亦可如第9圖所示的例子 般,以將壓縮前指令路徑12及工具移動資料15兩者合併 之形態進行兩者的保存。 〈效果〉 藉由使加工程式讀取部2、指令路徑保存部3、壓縮處 理部4、移動資料作成部5的處理在移動資料演算裝置101 中進行,除了實施形態1的效果之外,還可減輕數值控制 裝置102之即時處理的負荷,可不使加工精度降低而更進 一步實現高速加工。 實施形態3 第10圖係顯示本發明實施形態3之生產系統的概略構 成之方塊圖。如第10圖所示,壓縮後形狀演算裝置103具 備有:將壓縮處理部4所輸出的壓縮後指令路徑13保存到 壓縮後指令路徑緩衝器22之壓縮後指令路徑保存部8、將 壓縮處理部4所輸出的路徑修正暨動作資料14保存到路徑 23 32203 8R01 201126294 修正暨動作資料缓衝器23之路 :、以及加工程式讀取部2、指令路二 ;4。數值控制裝置104具備有移動資料作成部=理 處^部6。第1〇圖中,在可達成與P圖所示^及插值 =的概略構成圖之方塊圖的構成要素相同的機:::: 成要素標註相同的號碼而省略_的說明。機此之構 接著,針對實施形態3的勒作進行說明。 置=於實施形態2之如第δ圖所示之藉由 …t進行加工程式讀取部2、指令路徑保存部3:严= 處理部4及移動資料作成部5 I3壓縮 10圖所示,藉由具備有加 e / L 3係如第 Α Λ 辁式讀取部2、指今牧卜 仆壓縮處理部4、壓縮後指 從保存 令路經緩衝ϋ 22、路郷正,保存Μ、壓縮後指 正響動作資㈣作資料保存部9及路徑修 ::作貝㈣益23之壓縮後形狀演 二 壓縮前指令路徑12、壓縮後指令路徑13=: 縮後㈣令^緩衝器扣二 23。^路㈣衝器22及路徑修正暨動作資料緩衝器 錢’數值控制裝置⑽在移動資料作成部5中根據 =於路徑修正暨動作資料緩衝ϋ 23之路徑修正暨動作 , ’以即時方式將保存於壓縮後指令路徑緩衝器Μ 之壓縮後指令路徑13修正到工具移動路徑並製作對工具 =動,徑進行插值所要用到的工具移動資料,以及在插值 15理部6根據移動資料作成部5所作成之工具移動資料 Μ即時方式對於壓縮前指令路徑12業經修正的工具移 24 322038R01 201126294 動路徑進行插值,以求出工具位置16。 本實施形態3雖然將壓縮前指令路徑12、壓縮後指令 路徑13及路徑修正暨動作資料14保存到不同的緩衝器, 但亦可如第11圖所示的例子般,以將壓縮前指令路徑12、 壓縮後指令路徑13及路徑修正暨動作資料14合併之形態 進行保存。 〈效果〉 藉由以壓縮後形狀演算裝置103來進行加工程式讀取 擧部2、指令路徑保存部3、壓縮處理部4之處理,除了實施 形態1的效果之外,還可減輕數值控制裝置104之即時處 理的負荷,可不使加工精度降低而更進一步實現高速加 工。再者,藉由以即時方式進行移動資料作成部5之處理, 即使在加工中工具折損而更換成預備工具進行加工之情 況,也只要依據更換後的工具資料來計算出工具移動資料 15,就可直接使用加工前預先計算出的壓縮前指令路徑 12、壓縮後指令路徑13及路徑修正暨動作資料14。 (產業上之可利用性) 如以上所述之本發明之數值控制裝置,可在壓縮複數 個指令路徑而成的壓縮後指令路徑上進行往工具移動路徑 之路徑修正及工具移動資料之製作,而且可在未對指令路 徑進行壓縮之情況的工具移動路徑上求出工具位置,適用 於即使在使用包含有路徑長度短的複數個指令路徑之加工 程式的情況,也不會使加工精度降低而實現加工的高速化 之方法。 25 322038R01 201126294 【圖式簡單說明】 第1圖係顯示本發明實施形態1之數值控制裝置的概 略構成之方塊圖。 第2圖係表示根據本發明實施形態1之數值控制裝置 的壓縮後指令路徑作成順序之流程圖。 第3圖係本發明實施形態1中之壓縮後指令路徑的說 明圖。 第4圖係本發明實施形態1中之工具移動路徑的說明 鲁圖。 第5圖係本發明實施形態1中之各路徑長的說明圖。 第6圖係表示根據本發明實施形態1之數值控制裝置 的插值處理順序之流程圖。 第7圖係本發明實施形態1中之指令路徑編號算出的 說明圖。 第8圖係顯示本發明實施形態2之生產系統的概略構 成之方塊圖。 第9圖係本發明實施形態2之一併保存壓縮前指令路 徑及工具移動資料之保存形式例。 第10圖係顯示本發明實施形態3之生產系統的概略構 成之方塊圖。 第11圖係本發明實施形態3之一併保存壓縮前指令路 徑、壓縮後指令路徑、及路徑修正暨動作資料之保存形式 例。 【主要元件符號說明】 26 32203 8R01 201126294 1 加工程式 2 加工程式讀取部 3 指令路徑保存部 4 壓縮處理部 5 移動資料作成部 6 插值處理部 7 移動資料保存部 8 壓縮後指令路徑保存部 9 路徑修正暨動作資料保存部 11 命令 12 壓縮前指令路徑 13 壓縮後指令路徑 14 路徑修正暨動作資料 15 工具移動資料 16 工具位置 20 壓縮前指令路徑緩衝器 21 工具移動資料緩衝器 22 壓縮後指令路徑緩衝器 23 路徑修正暨動作資料緩衝器 100、102、104數值控制裝置 101移動資料演算裝置 103壓縮後形狀演算裝置Lcmp Next, in step S65, it is determined whether or not the path of the unit direction vector u of the tool movement path and the unit direction vector u' of the tool movement path are the same according to whether or not all the components of the unit direction vector u' of the tool movement path are the same. The correction causes the coordinates to be rotated, and when the coordinates are not rotated (the unit direction vectors u, u' are the same), the tool position P' before the rotation of the coordinates subjected to the path correction is output as the tool position 16. On the other hand, when the coordinates are rotated (the unit direction vector u, u' is different), the process proceeds to step S66. Then, in step S66, a conversion matrix T for converting the unit direction vector U of the compressed instruction path Ν'(j) to the unit direction vector u' of the tool movement path is obtained. The transformation matrix T can be found from the angle between the two vectors. For example, if the unit direction vector u' is a vector obtained by rotating the unit direction vector u around the Y axis by the angle ,, the conversion matrix T can be expressed by the equation (7). Here, although the example is rotated in two dimensions, even in the case of three-dimensional rotation, the conversion matrix T can be set in the same manner by changing the product of the rows and columns rotating around the respective axes. [Expression 7] cos0 0 sin0 T= 0 1 0 (7) -sin Θ 〇cos 0 _ 18 322038R01 201126294 Then, in step S67, as shown in equation (8), the coordinates of the tool before rotation are used to coordinate Conversion:: The position of the tool after the rotation of the coordinates of the seat of the party is corrected, and is output as the tool position 16. , [[Equation 8] p&quot;=Tn' Ρ Ρ · · · (8) State "' is the command of the front of the butterfly to circumnavigate ~" + 4 Where the performance is (four) sign. - Generally speaking, shift ^ = create The county uses the age road (4) to enlarge, feed, rotate, etc. to end the second way, but by making the pre-reduction command path phase = shrink the command path Ν, (she is long (tired (10) diameter ==: and enlarged The instruction road of reduction, rotation, etc. directly uses the original information to reach the ugly "make the road control, which can make the path correct, and the heart of the path is relative to the corresponding reference of the 1 _ _ After the compression, the path length of the command path is different) to the corresponding relationship between the command path (3 path length from the start) (or I, the starting point is efficient and purely processed. And (4) the amount of calculation is small' In the present embodiment, the amount of movement of each axis may be converted to the axis of each of the paths of the final order of the tool movement path (the tool path 2 = diameter, as described elsewhere). The display is not shown in the figure 322038R01 19 201126294. Further, in the first embodiment, the next one in execution can be performed. The end point coordinate value and the starting coordinate value of the pre-contracted command path N(m+1) are converted to the end point coordinate value and the starting coordinate value on the tool moving path, and then the end point coordinate value on the tool moving path is subtracted from the tool movement. The amount of movement obtained by the starting point coordinate value on the path is outputted and displayed on a display device (not shown) in the form of the moving distance of the next tool moving path that is currently being executed. # &lt;Effect> As described above, according to In the first embodiment, the path correction to the tool movement path and the tool movement data can be performed on the compressed command path obtained by compressing the plurality of pre-compression command paths. Therefore, even in the path to the tool movement path In the case where the load of the correction, the movement of the tool movement data, and the processing of the interpolation processing is high, the amount of data processing can be reduced, and the processing speed can be made high, so that high-speed machining can be realized. Further, according to the first embodiment, And using the tool before the compression command path and the tool of the compressed tool to move the path to move the data, The tool movement path in the case where the path is compressed is interpolated to obtain the tool position. Therefore, the tool movement of the compressed tool movement path can be moved while moving the tool on the tool movement path without compressing the command path. Data generation can suppress the occurrence of path errors due to compression, and prevent the processing accuracy from being reduced due to compression. Further, according to the first embodiment, the command path is a command path that must be decelerated and stopped at the end point. In the middle, the compressed command path 20 322038R01 201126294 == the previous command path may be compressed, and the single-compressed pre-t path becomes the compressed instruction path. Therefore, a plurality of links can be executed: ;::::: ::!::::::::::::£ -point==According to this implementation mode, it is in the action mode that is to be stopped at the speed of the • and the second occupation speed of each command path. The _ instruction path and the next-pre-compression instruction path are compressed, so that the single=compressed pre-command becomes the (four) post-command path. Therefore, even if the operation mode is changed in accordance with the state of the external signal operated by the operator, it is possible to determine whether or not the compression is possible in real time, and to perform the operation desired by the (four) member. Further, according to the first embodiment, the normalized movement amount obtained by standardizing the tool movement amount for each interpolation period with the cumulative path length reference of the tool movement road scale, and the cumulative instruction path length (after compression) can be used. The cumulative value of the path length of the I pre-contracted command path included in the path.) Reference: Before the refinement, the path of the path (four) is normalized to the normalized path length to calculate the command path number of the tool position. Therefore, it is possible to perform the movement of the tool on the path of the different path and the command path before the compression: the size comparison, and the command path number of the tool position can be calculated, and the tool movement can be performed without compressing the command path before compression. Interpolation on the path. Further, according to the first embodiment, the simulation of the operation of the machining program 322038R01 21 201126294 can be performed by using the compressed tool movement path after the compressed command path is corrected. Therefore, the number of paths to be processed in the simulation processing is reduced, and the simulation drawing update speed can be made faster. Further, according to the first embodiment, the command path indicated by the machining program can be used to obtain the number of execution line numbers to be displayed on the display device, the remaining distance display of each axis of the execution path, and the current execution. The moving distance of each axis of the next path is displayed. Therefore, by displaying the original information of the original processing program on the display device, the operator can perform the operation without perceiving the sense of discomfort caused by the compression. (Embodiment 2) Fig. 8 is a block diagram showing a schematic configuration of a production system according to a second embodiment of the present invention. As shown in FIG. 8, the mobile material calculation device 101 includes a movement data storage unit 7 that stores the tool movement data 15 output from the movement data creation unit 5 in the tool movement data buffer 21, and a machining program reading unit 2 The command path storage unit 3, the compression processing unit 4, and the mobile data creation unit 5. The numerical controller 102 is provided with an interpolation processing unit 6. In the eighth embodiment, the same components as those in the block diagram of the schematic configuration diagram of the first embodiment shown in Fig. 1 are denoted by the same reference numerals, and the description thereof will not be repeated. Next, the operation of the second embodiment will be described. With respect to the first embodiment, as shown in FIG. 1, all of the machining program reading unit 2, the command path storage unit 3, the compression processing unit 4, the movement data creation unit 5, and the interpolation processing unit 6 are performed by the numerical controller 100. In the second embodiment, as shown in FIG. 8, the processing program reading unit 2, 22 32203 8R01 201126294 command path storage unit 3, compression processing unit 4, mobile data creation unit 5, and mobile data storage unit 7 are provided. The moving material calculation device 101 of the tool movement data buffer 21 stores the pre-compression command path 12 and the tool movement data 15 in advance to the pre-compression command path buffer 20 and the tool movement data buffer 21 before processing. Then, the numerical controller 102 interpolates the tool movement path corrected by the pre-compression command path 12 in the interpolation processing unit 6 based on the tool movement data 15 stored in the tool movement data buffer 21, and obtains the tool position 16 . In the second embodiment, the pre-compression command path 12 and the tool movement data 15 are stored in different buffers. However, as in the example shown in FIG. 9, the pre-compression command path 12 and the tool movement data 15 may be used. The merged form preserves both. <Effects> The processing of the machining program reading unit 2, the command path storage unit 3, the compression processing unit 4, and the movement data creation unit 5 is performed in the mobile material calculation device 101, and in addition to the effects of the first embodiment, The load of the immediate processing of the numerical controller 102 can be reduced, and the high-speed machining can be further realized without lowering the machining accuracy. (Embodiment 3) Fig. 10 is a block diagram showing a schematic configuration of a production system according to Embodiment 3 of the present invention. As shown in FIG. 10, the compressed shape calculation device 103 includes the compressed command path 13 outputted by the compression processing unit 4 and stored in the compressed command path storage unit 8 after compression, and the compression processing is performed. The path correction and action data 14 outputted by the unit 4 is stored in the path 23 32203 8R01 201126294 Correction and action data buffer 23: and the program read unit 2 and the command path 2; The numerical controller 104 is provided with a movement data creation unit = a treatment unit 6. In the first diagram, the same components as those of the block diagram of the schematic configuration diagram of the P diagram and the interpolation diagram are shown:::: The same elements are denoted by the same reference numerals, and the description of _ is omitted. The configuration of the third embodiment will be described below. In the second embodiment, as shown in the δth diagram, the processing program reading unit 2, the command path storage unit 3: the strict processing unit 4 and the mobile data creation unit 5, I3 compression 10, By providing an e/L 3 system such as a Α Λ 读取 reading unit 2, a 牧 卜 压缩 压缩 压缩 压缩 压缩 压缩 压缩 、 、 、 、 、 、 保存 保存 保存 保存 保存 保存 保存 保存 保存 保存 保存 保存 保存 保存 保存 保存 保存After compression, the correct action ring (4) is used as the data storage unit 9 and the path repair:: for the shell (four) benefit 23 after the compression, the shape of the second compression before the command path 12, the compressed command path 13 =: after the shrink (four) order ^ buffer buckle two twenty three. ^Road (four) punch 22 and path correction and motion data buffer money 'numerical control device (10) in the mobile data creation unit 5 according to the path correction and action in the path correction and motion data buffer ϋ 23, 'Save in an instant manner After the compression, the compressed command path 13 of the command path buffer 修正 is corrected to the tool movement path and the tool movement data to be used for interpolation of the tool=movement and path is created, and the interpolation unit 15 is based on the movement data creation unit 5. The created tool moves the data in an immediate manner by interpolating the modified tool path 24 322038R01 201126294 moving path to obtain the tool position 16. In the third embodiment, the pre-compression command path 12, the compressed command path 13, and the path correction/operation data 14 are stored in different buffers. However, as in the example shown in Fig. 11, the pre-compression command path may be used. 12. The compressed command path 13 and the path correction and action data 14 are combined and saved. <Effects> The processing of the machining program reading unit 2, the command path storage unit 3, and the compression processing unit 4 by the compressed shape calculation device 103 can reduce the numerical control device in addition to the effects of the first embodiment. The immediate processing load of 104 can further realize high-speed machining without reducing the machining accuracy. Further, by performing the processing of the moving data creating unit 5 in an instant manner, even if the tool is broken and replaced with a preliminary tool for processing during processing, the tool moving data 15 is calculated based on the replaced tool data. The pre-compression command path 12, the post-compression command path 13, and the path correction and motion data 14 which are calculated in advance before processing can be directly used. (Industrial Applicability) The numerical control device of the present invention as described above can perform path correction to the tool movement path and tool movement data on the compressed command path obtained by compressing a plurality of command paths. Moreover, the tool position can be obtained on the tool movement path when the command path is not compressed, and it is suitable for the case where the machining program including a plurality of command paths having a short path length is used, and the machining accuracy is not lowered. A method of achieving high speed processing. [Brief Description of the Drawings] Fig. 1 is a block diagram showing a schematic configuration of a numerical controller according to a first embodiment of the present invention. Fig. 2 is a flow chart showing the procedure for creating a compressed command path in the numerical controller according to the first embodiment of the present invention. Fig. 3 is an explanatory diagram of a post-compression command path in the first embodiment of the present invention. Fig. 4 is a view showing the movement path of the tool in the first embodiment of the present invention. Fig. 5 is an explanatory diagram of each path length in the first embodiment of the present invention. Fig. 6 is a flow chart showing the procedure of interpolation processing of the numerical controller according to the first embodiment of the present invention. Fig. 7 is an explanatory diagram showing the calculation of the command path number in the first embodiment of the present invention. Fig. 8 is a block diagram showing a schematic configuration of a production system according to a second embodiment of the present invention. Fig. 9 is a view showing an example of the storage format of the command path and the tool movement data before the compression according to the second embodiment of the present invention. Fig. 10 is a block diagram showing the schematic configuration of a production system according to a third embodiment of the present invention. Fig. 11 is a view showing an example of the storage mode of the pre-compression command path, the compressed command path, and the path correction and motion data stored in one of the third embodiments of the present invention. [Description of main component symbols] 26 32203 8R01 201126294 1 Machining program 2 Machining program reading unit 3 Command path storage unit 4 Compression processing unit 5 Moving data creation unit 6 Interpolation processing unit 7 Moving data storage unit 8 Compressed command path storage unit 9 Path correction and motion data storage unit 11 Command 12 Pre-compression command path 13 Post-compression command path 14 Path correction and motion data 15 Tool movement data 16 Tool position 20 Pre-compression command path buffer 21 Tool movement data buffer 22 Compressed command path Buffer 23 path correction and motion data buffers 100, 102, 104 numerical control device 101 mobile data calculation device 103 compressed shape calculation device

27 322038R0127 322038R01

Claims (1)

201126294 七 1. 申請專利範圍: -種數值控制裝置,具備有: 的起理部’製作由連續的複數個壓縮前指令路徑 、點予以連結而成的壓縮後指令路徑; 私動資料作成部’根據針對前述壓 路徑修正翏動作咨4^时_ Α __ 趸相7路徑之 工呈移祕料r&quot;將㈣壓縮後指令路徑修正到 對前述工具移動路徑進行插_ j的工具移動資料;以及 旦,值處理部,求出在前述塵縮前指令路徑之 :’根據前述㈣資料作成部所製作的 路徑進行壓縮之情 置。《動之方式修正前述移動量,而求出工具位 2·:申請專利範圍第i項之數值控制裝置,其中’還具備 加工程式讀取部,從包含有連續的複數個指令路徑 工㈣所指㈣命令讀取前述壓縮前 路徑修正暨動作資料;以及 位 指令路徑保存部,料述加^切取部所讀取到 的壓縮前指令路徑保存到壓縮前指令路徑緩衝器。 3.如申請專利範圍第2項之數值控㈣置,其中,^述塵 縮處理部係在必須於前述壓縮前指令路捏的終 停止之情況、或者歧在各壓縮前指令路麵終點使速 度減低而停止的動作模式中之情況,將單一的壓縮前指 322038R01 28 201126294 令路徑當作壓縮後指令路徑。 4. 如申請專利範圍第2項之數值控制裝置,其中,前述插 值處理部係根據以未進行壓縮之情況的工具移動路徑 的累積路徑長基準將每一插值周期的工具移動量予以 標準化而成之標準化移動量、以及以累積指令路徑長基 準將儲存於前述壓縮前指令路徑缓衝器之壓縮前指令 路徑的路徑長予以標準化而成之標準化路徑長,來進行 前述工具移動路徑與壓縮前指令路徑的對應關係之建 馨 立。 5. 如申請專利範圍第2或3項之數值控制裝置,其中,根 據前述移動資料作成部從前述壓縮後指令路徑修正過 來的工具移動路徑,而進行前述加工程式的動作檢查。 6. 如申請專利範圍第2或3項之數值控制裝置,其中,根 據於前述指令路徑保存部所保存之壓縮前指令路徑,而 進行執行中程式行數顯示、執行中路徑的各軸的剩餘距 離顯示、以及現在執行中的路徑的下一個路徑的各軸的 移動距離顯示。 7. —種數值控制裝置,具備有: 插值處理部,其係根據對於由連續的複數個壓縮前 指令路徑的起點與終點予以連結而成的壓縮後指令路 徑業經修正的工具移動路徑進行插值所要用到的工具 移動資料,而對於前述壓縮前指令路徑業經修正的工具 移動路徑進行插值,以求出工具位置。 8. —種數值控制裝置,具備有: 29 322038R01 201126294 社Α Γ動^料作成部,根據針對由連續的複數個選縮前 才&quot;路輕的起點與終點予以連結而成㈣縮後指令路 歡路徑修正_作#料,而將前述壓縮錢令路雜 路徑,並製作對前述卫具移動路獲進行摘 值斤要用到的工具移動資料;以及 具移動資料作成部所製作的工 攻知 對於則从“指令路徑業經修正的工且 9. 軸路徑進行插值,以求出工具位置。 、 =種=系統,具備有移動資料演算裝置及數值控制裝 月·j述移動資料演算裝置具備有: 工具移動路徑,並製作對前述 μ正到 要用到的工具移動資料;錢“動路徑進行插值所 工具移動資料保存部,將前 作的工具㈣資職存敎具移崎部所製 :述數值控制裝置具備有 :’ Μ移動資料’對於前述壓縮前指 15根據“ 具移動路徑進行插值,以求 彳二業經修正的工 &lt;N £15工具位置, 前述移動資料演算裝置係 &amp; 具移動資料保存到前述工且 °工則預先將前述工 -移動-貝料緩衝器,前述數值 32203 8R01 30 201126294 控制裝置係根據保存於前述工具移動資料緩衝器之前 述工具移動資料,對於前述壓縮前指令路徑業經修正的 工具移動路徑進行插值,而求出前述工具位置。 10. —種生產系統,具備有壓縮後形狀演算裝置及數值控制 裝置,其中, 前述壓縮後形狀演算裝置具備有: 壓縮處理部,製作由連續的複數個壓縮前指令路徑 的起點與終點予以連結而成的壓縮後指令路徑; 參 壓縮後指令路徑保存部,將前述壓縮後指令路徑保 存到壓縮後指令路徑緩衝器;以及 路徑修正暨動作資料保存部,將針對前述壓縮處理 部所製作的前述壓縮後指令路徑之路徑修正暨動作資 料保存到路徑修正暨動作資料緩衝器, 前述數值控制裝置具備有: 移動資料作成部,根據前述路徑修正暨動作資料, 將前述壓縮後指令路徑修正到工具移動路徑,並製作對 ® 前述工具移動路徑進行插值所要用到的工具移動資 料;以及 插值處理部,根據前述移動資料作成部所製作的工 具移動資料,對於前述壓縮前指令路徑業經修正的工具 移動路徑進行插值,以求出工具位置, 前述壓縮後形狀演算裝置係在加工前預先將前述 壓縮後指令路徑及前述路徑修正暨動作資料分別保存 到前述壓縮後指令路徑緩衝器及前述路徑修正暨動作 31 322038R01 201126294 資料緩衝器, 前述數值控制裝置係根據保存於前述路徑修正簪 動作資料缓衝器之前述路徑修正暨動作資料及保存: 前述堡縮後指令路徑緩肺之前述壓縮後指令路 製作工具移動資料,且根據前述工具移動資料而對 述壓縮前指令路徑業經修正的工具移動路徑進行插 值,而求出工具位置。 如中請專利範圍第9或10項之生產系統,其中,前述 參 I縮處理部係在必須於前述壓縮前指令路獲的終點^ 速停止之情況、或者處於在各壓縮前指令路徑的終點使 速度減低而停止的動作模式中之情況,將單一的壓縮前 指令路徑當作壓縮後指令路徑。 百月J 12.如申請專利範圍第9或1〇項之生產系統,其中,前述 插值處理部係根據以未進行壓縮之情況的工具移動= 徑的累積路徑長基準將每一插值周期的工具移動量予 • 以標準化而成之標準化移動量、以及以累積指令路徑長 基準將儲存於前述壓縮前指令路徑緩衝器之壓縮前指 „的路徑長予以標準化而成之標準化路徑K‘ 仃别述工具移動路徑與壓縮前指令路徑的對應關係之 建立。 &quot;’、 13’ $申请專利範圍第1〇或u項之生產系統,其中,根據 則述移動資料作成部從前述壓縮後指令路徑修正過來 的工具移動路徑,而進行前述加工程式的動作檢查。 14·如申請專利範圍第10或11項之生產系統,其中,根據 322038R01 32 201126294 於指令路徑保存部所保存之壓縮前指令路徑,而進行執 行中程式行數顯示、執行中路徑的各軸的剩餘距離顯 示、以及現在執行中的下一個路徑的各轴的移動距離顯 示。201126294 VII 1. Patent application scope: - A kind of numerical control device, which has: a starting part of the 'manufacturing part of a compressed number of compressed pre-compression command paths and points to be connected; a private data preparation part' According to the above-mentioned pressure path correction 翏 咨 咨 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Then, the value processing unit obtains the situation in which the pre-dusting command path is 'compressed according to the path created by the fourth (4) data creation unit. "Moving the method to correct the amount of movement, and obtaining the tool position 2: The numerical control device of the i-th patent application scope, wherein 'there is also a machining program reading unit, which includes a plurality of consecutive instruction path workers (four) And (4) command to read the pre-compression path correction and motion data; and the bit command path storage unit, wherein the pre-compression command path read by the addition/cutting unit is saved to the pre-compression instruction path buffer. 3. For example, the numerical control (4) of the second application of the patent scope, wherein the dust reduction processing section is required to command the end of the road before the compression, or to command the speed of the road before the compression. In the case of the reduced and stopped action mode, a single compressed front finger 322038R01 28 201126294 makes the path a compressed command path. 4. The numerical control device according to claim 2, wherein the interpolation processing unit normalizes the amount of tool movement for each interpolation period based on an accumulated path length reference of the tool movement path without compression. The normalized movement amount and the standardized path length standardized by the path length of the pre-compression command path stored in the pre-compression pre-compression path buffer based on the cumulative command path length reference to perform the aforementioned tool movement path and pre-compression instruction The correspondence of the paths is established. 5. The numerical control device according to claim 2, wherein the operation check of the machining program is performed based on a tool movement path corrected by the movement data creation unit from the compressed command path. 6. The numerical control device according to the second or third aspect of the invention, wherein the execution of the program line number display and the remaining of each axis of the execution path are performed based on the pre-compression command path held by the command path storage unit. The distance between the display and the next path of the next path of the currently executing path is displayed. 7. A numerical control device comprising: an interpolation processing unit that performs interpolation based on a corrected tool movement path for a compressed command path that is connected by a plurality of consecutive pre-compression pre-command path paths; The tool used moves the data, and the tool path that has been corrected by the pre-compression command path is interpolated to find the tool position. 8. A kind of numerical control device, which is equipped with: 29 322038R01 201126294 Α Γ ^ ^ ^ , , , , , , , , , , , ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ 29 29 Lu Huan path correction _ made #料, and the above-mentioned compressed money to make the road miscellaneous path, and to make the tool movement data to be used for the identification of the moving path of the protective gear; and the work made by the mobile data creation department For the attack, the interpolation is performed from the "corrected command path" and the 9. axis path is interpolated to obtain the tool position. , = type = system, with mobile data calculation device and numerical control loading and closing movement data calculation device It has: a tool moving path, and making a moving data for the tool to be used in the above-mentioned μ; the money "moving path interpolation tool tool moving data storage department, the former tool (four) capital storage tool The numerical control device is provided with: 'Μmoving data' for the aforementioned compression front finger 15 based on "moving with a moving path, in order to obtain the corrected work of the second industry" £15 tool position, the aforementioned mobile data calculation device &amp; with mobile data stored in the above-mentioned work and the above-mentioned work-moving-beech buffer, the aforementioned value 32203 8R01 30 201126294 control device is stored in the aforementioned tool The tool moving data of the data buffer is used to interpolate the corrected tool movement path of the pre-compression command path to obtain the tool position. 10. A production system having a compressed shape calculation device and a numerical control device The compressed shape calculation device includes: a compression processing unit that creates a compressed command path obtained by connecting a plurality of consecutive pre-compression pre-compression path start points and end points; and a compressed command path storage unit The compressed command path is saved to the compressed command path buffer; and the path correction and action data storage unit saves the path correction and motion data of the compressed command path created by the compression processing unit to the path correction and motion data buffer. , the aforementioned value The apparatus includes: a movement data creation unit that corrects the compressed command path to the tool movement path based on the path correction and motion data, and creates tool movement data to be used for interpolation of the tool movement path; and interpolation The processing unit calculates the tool position by interpolating the tool movement path corrected by the movement data creation unit based on the tool movement data created by the movement data creation unit, and the compressed shape calculation device is pre-processed before processing. The compressed command path and the path correction and motion data are respectively stored in the compressed command path buffer and the path correction and operation 31 322038R01 201126294 data buffer, and the numerical control device is buffered according to the path correction data stored in the path. The path correction and action data and storage of the device are as follows: the aforementioned compressed post-command path slowing down the lungs, the compressed instruction road making tool moves the data, and the modified tool path is corrected according to the tool moving data. Moving path interpolation, the tool position is determined. The production system of the ninth or tenth aspect of the patent, wherein the step of the step of shrinking is to stop at the end of the command path before the compression, or at the end of the command path before each compression. In the case of the operation mode in which the speed is reduced and stopped, a single pre-compression command path is regarded as a compressed command path. The production system of claim 9 or claim 1, wherein the interpolation processing unit is a tool for each interpolation period based on a cumulative path length reference of a tool movement = diameter without compression. The amount of movement is: a standardized movement amount standardized by standardization, and a standardized path K' obtained by standardizing the path length before compression of the pre-compression command path buffer stored in the pre-compression command path buffer. The establishment of the correspondence between the tool movement path and the pre-compression command path. &quot;', 13' $ applies for the production system of the first or second item of the patent range, wherein the mobile data creation unit is corrected from the compressed command path according to the description The tool moves the path and performs the operation check of the aforementioned processing program. 14· The production system of claim 10 or 11, wherein the pre-compression command path saved by the instruction path storage unit according to 322038R01 32 201126294 is Performing the execution of the program line number display, the remaining distance display of each axis of the execution path, and now Each axis moving distance to the next row in the path display. 33 32203 8R0133 32203 8R01
TW099129623A 2010-01-22 2010-09-02 Numerical control device and production system TW201126294A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2010/050829 WO2010140390A1 (en) 2009-06-03 2010-01-22 Numerical control device and production system

Publications (1)

Publication Number Publication Date
TW201126294A true TW201126294A (en) 2011-08-01

Family

ID=45034211

Family Applications (1)

Application Number Title Priority Date Filing Date
TW099129623A TW201126294A (en) 2010-01-22 2010-09-02 Numerical control device and production system

Country Status (1)

Country Link
TW (1) TW201126294A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI489235B (en) * 2012-06-05 2015-06-21 Mitsubishi Electric Corp Numerical control device
TWI498695B (en) * 2012-05-22 2015-09-01 Mitsubishi Electric Corp Numeric control device
TWI506386B (en) * 2013-02-12 2015-11-01 Mitsubishi Electric Corp Numerical control device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI498695B (en) * 2012-05-22 2015-09-01 Mitsubishi Electric Corp Numeric control device
TWI489235B (en) * 2012-06-05 2015-06-21 Mitsubishi Electric Corp Numerical control device
TWI506386B (en) * 2013-02-12 2015-11-01 Mitsubishi Electric Corp Numerical control device

Similar Documents

Publication Publication Date Title
TWI421658B (en) Numerical control device and production system
US9304507B2 (en) Tool path display apparatus having display unit for acceleration or jerk of tool tip point
CN104972466B (en) Robot control device for controlling robot moved according to applied force
US8224486B2 (en) Method of evaluating and correcting robot program and device for evaluating and correcting robot program
CN104942808A (en) Robot motion path off-line programming method and system
CN105302959B (en) A kind of six axis grinding and polishing industrial robot off-line programing methods
JP5562430B2 (en) Tool path generation method and generation apparatus
US9342065B2 (en) Path interference and generation device and method
US20110054685A1 (en) Robot off-line teaching method
US20110202167A1 (en) Numerical controller with tool trajectory display function
JP2007108916A (en) Off-line teaching device for robot
TW201126294A (en) Numerical control device and production system
US10507585B2 (en) Robot system that displays speed
CN106017326A (en) Point location accuracy evaluation method for gantry drilling machine tool
CN104714473A (en) Conduit margin cutting position computing method for flexible pipeline welding and assembling
JP3838424B2 (en) Mold manufacturing method and manufacturing apparatus thereof
Takasugi et al. A Surface Parameter-Based Method for Accurate and Efficient Tool Path Generation
JP5343052B2 (en) Structure analysis method, program, and analysis apparatus
Charoenseang et al. Human–robot collaboration with augmented reality
Wu et al. Identification of dynamic parameter of a 3DOF parallel manipulator with actuation redundancy
CN104423372B (en) Training data is made system
CN110337781A (en) Capacity selecting apparatus, capacity method for selecting and the capacity selection procedure of motor
Yap et al. Development of an augmented reality-based G-code generator in a virtual Cnc milling simulation
Schützer et al. C-Space based approach for the calculation of toolpaths for freeform surfaces in B-Spline description
JP5946398B2 (en) Arrangement correction processing device in 3D reinforcement simulation system