WO1992008173A1 - Procede de correction de programme utilise dans un dispositif a commande numerique - Google Patents
Procede de correction de programme utilise dans un dispositif a commande numerique Download PDFInfo
- Publication number
- WO1992008173A1 WO1992008173A1 PCT/JP1991/001463 JP9101463W WO9208173A1 WO 1992008173 A1 WO1992008173 A1 WO 1992008173A1 JP 9101463 W JP9101463 W JP 9101463W WO 9208173 A1 WO9208173 A1 WO 9208173A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- program
- system program
- correction data
- memory
- stored
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 18
- 230000015654 memory Effects 0.000 claims abstract description 19
- 238000012937 correction Methods 0.000 claims description 33
- 238000012545 processing Methods 0.000 claims description 4
- 238000013500 data storage Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000003754 machining Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/18—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
- G05B19/408—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by data handling or data format, e.g. reading, buffering or conversion of data
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/36—Nc in input of data, input key till input tape
- G05B2219/36085—Replace faulty instructions from rom, tape by instructions from ram, error setting
Definitions
- the present invention relates to a program correction method in a numerical control device, and more particularly to a program correction method capable of correcting an error in a system program stored in a read-only memory without exchanging memory. .
- a numerical controller with a built-in computer (hereinafter referred to as a CNC device) is a user program such as NC with the help of a system program stored in a read-only memory (ROM).
- the program is executed to control the operation of the NC machine tool.
- the system program once stored in ROM is irreplaceable, so if it is discovered that there is an error in the system program, the system program that has been erroneously replaced with the system program It was necessary to replace the stored ROM with a new ROM that stored the corrected system program. Therefore, the control device maker creates a new ROM and sends it to the user, or performs ROM exchange at the user's site. Such services take a great deal of time, effort and cost. In addition, there is a case where the user also has trouble in the business until the ROM exchange is completed, and the business must be stopped.
- the method for correcting a program comprises: In the initialization processing in the control device, the system program stored in the read-only memory of the numerical control device in advance is transferred to the random access memory, and (c) the random access memory is transferred.
- the correction data is damaged at the correction point of the system program transferred to the access memory, and (d) the system program with the corrected data is damaged by the numerical controller. It has a process to execute.
- the system program stored in the read-only memory in advance is a random access method. Executes the system program in which the correction data is written because the correction data stored in the non-volatile memory is transferred to the memory and the correction data stored in the non-volatile memory is damaged. As a result, it is possible to correct an error in the system program without replacing the read-only memory. Therefore, the time, labor, and cost for creating and replacing a new read-only memory can be reduced.
- FIG. 1 shows a program modification method according to an embodiment of the present invention.
- Fig. 2 is a block diagram showing a CNC device for implementing the method
- Fig. 2 is a functional block diagram of a main part of the CNC device
- Fig. 3 is a flowchart showing a procedure for correcting a system program. It is a one-chart.
- the CNC device 10 includes a basic unit 20 and an expansion unit 30, and includes an input / output circuit 41, a servo amplifier 42 to 44, and a spindle driver.
- a machine to be controlled such as an NC machine tool, a machine control circuit 51 including a high-power board or an operation board, a servomotor 52 to 54, a spindle motor, etc. (not shown) It controls the operation of.
- the basic unit 20 includes a processor (CPU) 21 for controlling the basic functions of the CNC device, and an operating system including a system program.
- ROM 22 that stores the series of system programs, etc.
- DRAM Dynamic RAM
- a nonvolatile RAM for storing various data, such as NC parameters, machining programs, etc., and correction data used for system program alignment, including static RAM (static RAM).
- the basic unit 20 includes a display device 25 such as a CRT or a liquid crystal display device, a video RAM 26 for storing video data used in the display device 25, and a correction data unit.
- the extension unit 30 is a blog programmable for controlling the operation of the NC machine tool through the input / output circuit 41 according to the built-in sequence program created in ladder format.
- Reference numerals 35 and 36 denote print boards which are inserted into slots provided in the extension unit 30 and function as communication control circuits and the like.
- FIG. 1 the procedure of modifying the system program by the CNC device 10 will be described with reference to FIGS. 2 and 3.
- FIG. 1 the procedure of modifying the system program by the CNC device 10 will be described with reference to FIGS. 2 and 3.
- FIG. 1 the procedure of modifying the system program by the CNC device 10 will be described with reference to FIGS. 2 and 3.
- the operator finds that there is an error in the system program stored in R0M22, the operator operates the operation keys 27 to operate the program corresponding to the erroneous system program. Enter the program number, and then manually enter the first correction data consisting of the system program sequence number corresponding to the first correction in the system program and the correct program statement. According to the input of the correction data, the input correction data is transferred to the SRAM
- the data is transferred and stored in the modified data storage area of 24. After that, every time the correction data is input, the correction data is
- step SI in FIG. 3 the CPU 21 reads out the operating system including the system program from the ROM 22 and executes the initialization processing.
- the CPU 21 transfers the system program P read from the ROM 22 to the DRAM 23 (step S2). .
- the CPU 21 determines whether or not the program number corresponding to the system program P is described by referring to the storage contents of the correction data storage area of the SRAM 24. Then, it is determined whether or not the correction data S used for correcting the system program P is stored in the SRAM 24 (step S3).
- the CPU 21 determines that the correction data S is stored in the SRAM 24, the CPU 21 reads the first correction data S from the SRAM 24 and includes the first correction data S in the data S. Is determined, and then the corrected program data is included in the corrected data S in place of the erroneous program statement described in the corrected part of the system program corresponding to this sequence number. Harms the correct program statement. After that, the CPU 21 executes the same processing every time the correction data S is read, thereby corresponding to each correction position of the system program p transferred to the DRAM 23. S is harmed overnight (step S4) 0
- the CPU 21 stores the correction data S in the DRAM 23.
- the stored system program P is executed, whereby the CNC device 10 is operated. That is, when the correctness data S for correcting the erroneous system program P is stored in the SRAM 24 ⁇ , the system program P is automatically corrected as described above. Is done. Therefore, even if there is an error in the system program P, it is possible to input the correction data S via the operation keys 27 without replacing the ROM 22.
- the operation of the CNC device 10 can be performed according to the following.
- the Toshimasa data S is manually input to the CNC device 10 via the operation keys 27.
- the correction data S is once punched on a paper tape, and the paper tape reader is read.
- the data may be stored in the SRAM 24 via an input circuit (both not shown).
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Manufacturing & Machinery (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Numerical Control (AREA)
- Stored Programmes (AREA)
Abstract
L'invention se rapporte à un procédé de correction de programme qui est capable de corriger des erreurs dans un programme de système stocké dans une mémoire morte sans échange de mémoires. Lorsqu'une partie à corriger dans le programme de système comportant des erreurs est introduite manuellement, conjointement à des données correctives (S) contenant une instruction de programme correcte, dans un dispositif à commande numérique par l'intermédiaire d'un clavier, les données correctives sont stockées dans une mémoire rémanente (24). Pendant le processus d'initialisation au moment de la mise sous tension, un processeur (21) fonctionne de façon à transférer le programme de système (P) contenu dans une mémoire morte (22) vers une mémoire à accès sélectif (23) et les données correctives sont écrites dans la partie à corriger du programme de système ainsi transféré. Ainsi les erreurs contenues dans le programme de système peuvent être automatiquement corrigées sans qu'il soit nécessaire de procéder à un échange des mémoires de lecture.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP29637390A JPH04169906A (ja) | 1990-11-01 | 1990-11-01 | Cnc装置のプログラム修正方式 |
JP2/296373 | 1990-11-01 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO1992008173A1 true WO1992008173A1 (fr) | 1992-05-14 |
Family
ID=17832714
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/JP1991/001463 WO1992008173A1 (fr) | 1990-11-01 | 1991-10-25 | Procede de correction de programme utilise dans un dispositif a commande numerique |
Country Status (2)
Country | Link |
---|---|
JP (1) | JPH04169906A (fr) |
WO (1) | WO1992008173A1 (fr) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7956050B2 (en) | 2005-07-15 | 2011-06-07 | Albany Molecular Research, Inc. | Aryl- and heteroaryl-substituted tetrahydrobenzazepines and use thereof to block reuptake of norepinephrine, dopamine, and serotonin |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS58200346A (ja) * | 1982-05-17 | 1983-11-21 | Nec Corp | シ−ケンス制御装置 |
JPS60209805A (ja) * | 1984-04-03 | 1985-10-22 | Fuji Xerox Co Ltd | 複写機等の保守制御方式 |
JPS61180310A (ja) * | 1985-02-06 | 1986-08-13 | Fanuc Ltd | 数値制御装置へのシステムコントロ−ルプログラムのロ−デイング方式 |
JPS6249516A (ja) * | 1985-08-29 | 1987-03-04 | Mitsubishi Electric Corp | 数値制御装置 |
JPH0228836A (ja) * | 1988-07-19 | 1990-01-30 | Fanuc Ltd | 数値制御装置のロード方式 |
JPH0242554A (ja) * | 1988-08-03 | 1990-02-13 | Fanuc Ltd | プログラムローディング方式 |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2515855B2 (ja) * | 1988-06-17 | 1996-07-10 | ファナック株式会社 | 輪郭形状定義方法 |
JPH02137046A (ja) * | 1988-11-18 | 1990-05-25 | Nec Corp | パッチデータ転送方式 |
JPH02204831A (ja) * | 1989-02-02 | 1990-08-14 | Nec Software Ltd | マイクロプログラム実行方式 |
-
1990
- 1990-11-01 JP JP29637390A patent/JPH04169906A/ja active Pending
-
1991
- 1991-10-25 WO PCT/JP1991/001463 patent/WO1992008173A1/fr unknown
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS58200346A (ja) * | 1982-05-17 | 1983-11-21 | Nec Corp | シ−ケンス制御装置 |
JPS60209805A (ja) * | 1984-04-03 | 1985-10-22 | Fuji Xerox Co Ltd | 複写機等の保守制御方式 |
JPS61180310A (ja) * | 1985-02-06 | 1986-08-13 | Fanuc Ltd | 数値制御装置へのシステムコントロ−ルプログラムのロ−デイング方式 |
JPS6249516A (ja) * | 1985-08-29 | 1987-03-04 | Mitsubishi Electric Corp | 数値制御装置 |
JPH0228836A (ja) * | 1988-07-19 | 1990-01-30 | Fanuc Ltd | 数値制御装置のロード方式 |
JPH0242554A (ja) * | 1988-08-03 | 1990-02-13 | Fanuc Ltd | プログラムローディング方式 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7956050B2 (en) | 2005-07-15 | 2011-06-07 | Albany Molecular Research, Inc. | Aryl- and heteroaryl-substituted tetrahydrobenzazepines and use thereof to block reuptake of norepinephrine, dopamine, and serotonin |
Also Published As
Publication number | Publication date |
---|---|
JPH04169906A (ja) | 1992-06-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH103307A (ja) | 数値制御装置 | |
US4887220A (en) | Parameter initializing method for a programmable machine controller | |
WO1992008173A1 (fr) | Procede de correction de programme utilise dans un dispositif a commande numerique | |
WO1997028493A1 (fr) | Procede de parametrage d'une machine a commande numerique pilotee par ordinateur | |
WO1989001194A1 (fr) | Procede de remplacement d'outils | |
JPH07129207A (ja) | 数値制御システム | |
US5331540A (en) | Symbol definition system and method a programmable machine controller | |
JP4280964B2 (ja) | 制御データ保護装置 | |
JPH0784894A (ja) | 不揮発性メモリの書き込み方法 | |
JPH0493143A (ja) | 工具の工具ポット装着位置確認装置 | |
JP2000235483A (ja) | 情報処理装置 | |
JP2648493B2 (ja) | データ入出力方法 | |
JP3424603B2 (ja) | 数値制御装置 | |
JPH0158521B2 (fr) | ||
JP2812285B2 (ja) | プリンタ用ネットワークインタフェースカード | |
JP2000020297A (ja) | 制御装置 | |
EP0351434A1 (fr) | Procede et appareil de chargement de programme | |
JP3114907B2 (ja) | プログラマブルコントローラのシーケンスプログラムの変更方法 | |
EP0189115B1 (fr) | Dispositif à commande numérique | |
JPH10260717A (ja) | 加工プログラムにおける初期条件の設定方法 | |
JPH0546220A (ja) | 数値制御装置 | |
WO1994014107A1 (fr) | Procede d'execution de programmes sequentiels | |
JP2708983B2 (ja) | プログラムの表示装置 | |
JPH05274023A (ja) | 数値制御装置 | |
JPH08286712A (ja) | シーケンス・プログラムの編集方式 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AK | Designated states |
Kind code of ref document: A1 Designated state(s): US |
|
AL | Designated countries for regional patents |
Kind code of ref document: A1 Designated state(s): AT BE CH DE DK ES FR GB GR IT LU NL SE |