WO1986002747A1 - Program format conversion system between a numerical control apparatus and a programmable controller for machine tools - Google Patents

Program format conversion system between a numerical control apparatus and a programmable controller for machine tools Download PDF

Info

Publication number
WO1986002747A1
WO1986002747A1 PCT/JP1985/000597 JP8500597W WO8602747A1 WO 1986002747 A1 WO1986002747 A1 WO 1986002747A1 JP 8500597 W JP8500597 W JP 8500597W WO 8602747 A1 WO8602747 A1 WO 8602747A1
Authority
WO
WIPO (PCT)
Prior art keywords
programmable controller
numerical control
data
numerical
controller
Prior art date
Application number
PCT/JP1985/000597
Other languages
French (fr)
Japanese (ja)
Inventor
Nozomu Arimoto
Original Assignee
Fanuc Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fanuc Ltd filed Critical Fanuc Ltd
Publication of WO1986002747A1 publication Critical patent/WO1986002747A1/en

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/414Structure of the control system, e.g. common controller or multiprocessor systems, interface to servo, programmable interface controller
    • G05B19/4147Structure of the control system, e.g. common controller or multiprocessor systems, interface to servo, programmable interface controller characterised by using a programmable interface controller [PIC]
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/31From computer integrated manufacturing till monitoring
    • G05B2219/31174Load, use different protocols, formats, emulators for different systems
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/34Director, elements to supervisory
    • G05B2219/34076Shared, common or dual port memory, ram
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/35Nc in input of data, input till input file format
    • G05B2219/35534Conversion input data

Definitions

  • the present invention relates to a program format conversion method between a numerical controller and a programmable dramable controller for a machine tool.
  • NC numerical control
  • NC machining programs can be described not only in the format specific to the numerical control device but also in a format unique to machine tool manufacturers.
  • the NC machining program is described in a format other than the specified program format. If there is data, it is sent to the programmable controller for machine tools, converted into a format that can be executed by the numerical controller in the programmable controller, and returned to the numerical controller again to return the numerical value. Control and program registration are performed, and the contents of the above-mentioned conversion in the programmable controller for machine tools are created independently by machine tool force. This makes it possible to use a unique program format.
  • the conversion of the program format is performed by a numerical controller, it is necessary to allow a change in the numerical controller part in the machine tool, and there is a problem in securing reliability, and the numerical controller is also required. Since the general versatility of this is hindered, the conversion is performed in the programmable controller for the machine tool as described above.
  • An object of the present invention is to reduce the waiting time for format conversion in a numerical control device.
  • the data required for conversion is sent one character at a time from a numerical controller to a programmable controller for a machine tool, and the data that has been converted by a programmable controller for a machine tool is sent as one sentence. It is sent back to the numerical control unit character by character.
  • FIG. 1 is a block diagram showing an example of a system for implementing the method of the present invention
  • FIG. 2 is a flowchart showing an example of processing of an NC processor 1
  • FIG. 3 is a programmable controller.
  • 7 is a ⁇ -chart showing an example of processing of a processor 20 for a troller.
  • FIG. 1 is a block diagram showing an example of a system for implementing the format conversion method of the present invention.
  • reference numeral 1 denotes an NC processor, which is connected to peripheral circuits via a bus 2 which includes a data bus, an addressless bus, and a control bus.
  • ROM 3 is a memory for storing the system program of the NC processor 1
  • RAM 4 is a memory having an area for temporarily storing calculation results, etc.
  • an external memory 5 is an NC processing program.
  • the memory 5 is composed of a magnetic bubble memory, a CM0S memory with a backup power supply, and the like.
  • the keyboard 6 is for inputting various data and commands.
  • the tape reader 7 is for reading an NC tape, and the NC processing program can also be input from the tape reader 7.
  • the position control circuit 8 and the speed control circuit 9 are connected to the speed detector 1] and the position detector 12 This is a circuit for driving the motor 10 to the specified position at the specified speed based on the speed and position feedback signals. In the figure, only one putter is shown, and it is actually provided for each channel.
  • the input / output control circuit 13 is a circuit that generates a command for executing jog feed and step feed in accordance with a signal from the jog step feed switch 14.
  • the manual pulse generator 15 is for superimposing a correction pulse on the movement given by the NC machining program, and 20 is a processor for a machine tool programmable controller.
  • the input / output control circuit 23 is connected by a bus 24 which includes a data bus, an address bus, and a control bus.
  • the processor 20 and the NC processor i can exchange data with each other via the common RAM 30, and as is well known, the M, S, ⁇ code, etc. are transmitted from the NC processor 1 via the common RAM 30 to the NC processor i. Is sent to the processor 20, the processor 20 decodes the signal and, at a predetermined timing, for example, signals necessary for tool change, etc. from the input / output control circuit 23.
  • the NC processor 1 and the programmable controller processor 20 are also interconnected by an output buffer 31 and an input buffer 32.
  • the output buffer 31 is a buffer for sending the data to be format-converted from the NC processor 1 to the programmable controller side one character at a time
  • the input buffer 32 stores the data that has been format-converted by the processor 20 as one. This data is sent character by character to the numerical controller.
  • the NC memory ⁇ -gram stored in the external memory 5 is obtained from a plurality of blocks (a group of consecutive cards that can be extracted as one unit and is distinguished from each other by a character indicating an end block ⁇ ).
  • blocks written in a format unique to the numerical control device and blocks written in a format unique to the machine tool manufacturer are mixed.
  • the NC processor 1 When a numerical control execution command or a processor registration command is input, the NC processor 1 sequentially reads the NC machining programs stored in the external memory 5 one by one from the top as shown in FIG. Read block by block (S1). Then, it is determined whether or not the block needs to be transformed. Yes (S2). Since the block to be format-converted contains information indicating that fact, the determination is made based on the presence or absence of the information. If format conversion is not necessary, the NC processor 1 decodes the block and prepares for execution (S7). If a numerical control command is issued, the NC processor 1 performs pulse distribution to perform position control. In the case of a tool change command, etc., data is sent to the processor 20 via the common RA 30.
  • the contents of the block are stored in external memory.
  • the data is stored in another area (S8).
  • the block is sent to the output buffer 31 one character at a time (S3).
  • the processor 20 is interrupted by the data set in the output buffer 3 #, and executes, for example, the processing shown in FIG. That is, when an interrupt occurs, the first character of output buffer 31 Is read (S10), and is temporarily fed to the RAM 22. If the read character is not a block end code (end-of-block) or a conversion delimiter, and conversion cannot be performed using only the data that has been read, interrupt processing is terminated and mail processing is terminated. The process returns to the routine (S11). If characters are continuously input to the output buffer 31, the interrupt is again activated when returning to the main routine, and the processor 20 executes the processing of FIG. 3 again. Then, the end code (end-of-block) of the block, the delimiter of the conversion, and the like are identified. The format of the data is converted (S12), and the data obtained by the conversion is sent to the input buffer 32 character by character, and the process is terminated (S13).
  • the NC processor 1 After writing a character to the output buffer 31, the NC processor 1 is in a state of waiting for data to be set to the input buffer 32 (S4), and even one character is set to the input buffer 32. Is read (S5), and when the data for one block is determined (S6), the process proceeds to step S7, and the numerical control program is registered.
  • the data required for conversion is sent from the numerical controller to the programmable controller for the machine tool one character at a time, and the data is converted by the programmable controller for the machine tool.
  • the completed data is returned to the numerical controller one character at a time, so that the data to be format-converted every 28 characters or data after format conversion is sent and received as in the past. This has the effect of shortening the waiting time for format conversion in the numerical controller.

Abstract

The object of this invention is to shorten the waiting time for a numerical control apparatus (1) in a program format conversion system between the numerical control apparatus (1) and a programmable controller (20) for machine tools. For this purpose, the numerical control apparatus (1) sends out the data to be converted to the programmable controller (20) for machine tools in the form of characters one by one. The programmable controller (20) sends back to the numerical control apparatus (1) the data that have been converted one character by one character.

Description

(丄) 明 細 書 数値制御装置と工作璣械用プ口グラマブルコ ン ト ローラ間のプ αグラムフォーマツ 卜変換方式  (丄) Description A program format conversion method between a numerical controller and a programmable controller for machine tools
技 術 分 野 Technical field
本発明は、 数値制御装置と工作機械用プ口ダラマブルコ ン ト ロ ーラ間のプログラムフォーマッ ト変換方式に関するものであ る。 背 景 術  TECHNICAL FIELD The present invention relates to a program format conversion method between a numerical controller and a programmable dramable controller for a machine tool. Background art
従来、 数値制御 ( N C ) 装置に与える N C加ェプ口 グラムは その N C固有のプログラムフォー マッ トのみを使って記述しな ければ-ならなかった。 この為、 工作機械メ ーカが数値制御装置 を購入し、 自社で製造した工作機械と結合させて数値制御工作 機械を構成した場合であって、 独自の N C加ェプログラムをュ —ザに提供する場合でも、 その N C加工プログ ムは数値制御 装置で規定された種類のプログラムフォーマッ トを採用しなけ ればならず、 同種類の数値制御装置を採用する他社の数値制御 1:作機械に容易に転用される危惧があった。  Conventionally, an NC program given to a numerical control (NC) device had to be described using only the NC-specific program format. For this reason, when a machine tool manufacturer purchases a numerical control device and combines it with a machine tool manufactured in-house to construct a numerically controlled machine tool, a unique NC programming program is provided to the user. In such cases, the NC machining program must use the program format of the type specified by the numerical control device, and other companies' numerical control using the same type of numerical control device is easy for machine tools. There was a fear of being diverted to.
そこで、 N C加工プログラムを、 数値制御装置固有のプログ ラムフォーマツ ト以外に工作機械メ 一力独自のフォ —マツ トで も記述できるよう にした数値制御装置が最近において実現され た。 このよう な数値制御装置では、 N C加工プログラム中に所 定のプログラムフォーマツ ト以外のフォーマツ トで記述された データがある場合、 これを工作機械用プログラマブルコ ン ト ロ ーラに送出し、 プログラマブルコ ン ト ローラ内で数値制御装置 が実行し得るフォーマツ トに変換し、 再び数値制御装置に返送 して数値制御やプロダラムの登録を行なわせるものであり、 ェ 作機械用プログラマブルコ ン ト ロ—ラ内における上記変換の内 容を工作機械メ —力で独自に作成しておく ことにより、 工作機 械メ 一力独自のプログラムフォーマッ トを使用することが可能 となるものである。 なお、 プログラムフォーマッ トの変換を数 値制御装置で行なわせると、 工作機械メ 一力に数値制御装置內 部の変更を許容する必要があり、 信頼性確保上問題があると共 に数値制御装置の汎用性が阻害されるので、 上述のように工作 機械用プログラマブルコ ン ト ローラ内で変換を行なわせるよう にしたものである。 Therefore, a numerical control device has recently been realized in which NC machining programs can be described not only in the format specific to the numerical control device but also in a format unique to machine tool manufacturers. In such a numerical controller, the NC machining program is described in a format other than the specified program format. If there is data, it is sent to the programmable controller for machine tools, converted into a format that can be executed by the numerical controller in the programmable controller, and returned to the numerical controller again to return the numerical value. Control and program registration are performed, and the contents of the above-mentioned conversion in the programmable controller for machine tools are created independently by machine tool force. This makes it possible to use a unique program format. In addition, if the conversion of the program format is performed by a numerical controller, it is necessary to allow a change in the numerical controller part in the machine tool, and there is a problem in securing reliability, and the numerical controller is also required. Since the general versatility of this is hindered, the conversion is performed in the programmable controller for the machine tool as described above.
ところで、 従来の上述のようなプログラムフォーマツ 卜の変 換は、 変換の必要なデータが文字数にして 1 2 8文字分たまる と、 これを 1 ブロック としてェ作機械用プログラマブルコ ン ト ローラに送出し、 プログラマブルコ ン ト ローラでフォーマツ ト 変換されて得られたデータが文字数にして 1 2 8文字分たまる と、 これを 1 ブロック と して数値制御装置に返送する如く 、 ブ ロック転送形式を採用していたので、 数値制御装置側で変換後 のデータを読む時に待ち時間が生じる等の不都合があった。 発 明 の 開 示  By the way, in the conventional program format conversion as described above, when the data that needs to be converted accumulates 128 characters in terms of the number of characters, this is sent as a block to a programmable controller for a machine tool. The block transfer format is adopted so that when the data obtained by format conversion by the programmable controller accumulates 128 characters in terms of the number of characters, it is returned to the numerical controller as one block. Therefore, there was an inconvenience such as waiting time when reading the converted data on the numerical controller. Disclosure of the invention
本発明の目的は、 数値制御装置におけるフォーマツ ト変換の ための待ち時間を短くするこ とにある。 本発明は、 変換の必要なデータを 1 文字ずつ数値制御装置か ら工作機械用プ πグラマブルコ ン ト ローラに送出し、 工作機械 用プログラマブルコ ン ト ロ—ラで変換の終了したデータを 1 文 字ずつ数値制御装置に返送する。 図面の簡単な説明 An object of the present invention is to reduce the waiting time for format conversion in a numerical control device. According to the present invention, the data required for conversion is sent one character at a time from a numerical controller to a programmable controller for a machine tool, and the data that has been converted by a programmable controller for a machine tool is sent as one sentence. It is sent back to the numerical control unit character by character. BRIEF DESCRIPTION OF THE FIGURES
第 1 図は本発明方式を実施するシステムの一例を示すブロ ッ ク線図、 第 2 図は N C用プロセ ッサ 1 の処理の一例を示すフロ ―チヤ一 ト、 第 3 図はプログラマブルコ ン ト ロー ラ用のプ i セ ッサ 20の処理の 例を示すフ π—チヤ - 卜である。 発明を実施するための最良の形態  FIG. 1 is a block diagram showing an example of a system for implementing the method of the present invention, FIG. 2 is a flowchart showing an example of processing of an NC processor 1, and FIG. 3 is a programmable controller. 7 is a π-chart showing an example of processing of a processor 20 for a troller. BEST MODE FOR CARRYING OUT THE INVENTION
第 1 図は本発明のフォー マツ ト変換方式を実施する システム の一例を示すブロック図である。  FIG. 1 is a block diagram showing an example of a system for implementing the format conversion method of the present invention.
同図において、 1 は N C用プロ セ ッサで、 周辺回路とはデ— タ ノ ス, ァ ド レスノ ス, コ ン ト ロ ー ルバスを舍むバス 2 によ り 相互に接続されている。 R O M 3 は N C用プロセッサ 1 のシス テムプログラム等を記憶するメ モ リ 、 R A M 4 は演算結果等を 一時的に記憶する領域等を有するメ モ リ 、 外部メ モ リ 5 は N C 加工プロ グラ ムを記憶する メ モ リ で、 メ モ リ 5 は磁気バブルメ モ リ やバックアップ電源付の C M 0 S メ モ リ等で構成される。 キーボ— ド 6 は各種のデータや指令を入力する為のものである テープリ —ダ 7 は N Cテープを読込むためのもので、 N C加工 プ口 グラムはこのテ—プリ一ダ 7 から も入力し得る。 位置制御 回路 8 , 速度制御画路 9 は速度検出器 1】, 位置検出器 1 2からの 速度, 位置フィ一ドバック信号に基づきモータ 10を指定された 速度で指定された位置まで駆動させる為の回路で、 図では 1鼬 のみ示し、 実際は各铀毎に設けられるものである。 入出力制御 回路 13は、 ジョグノステップ送りスイ ツチ 14からの信号に応じ てジョグ送り, ステップ送りを実行する為の指令を発生する回 路である。 また、 手動パルス発生器 15は、 N C加工プログラム で与えられる移動分に補正パルスを重畳するためのものである, 20は工作機械用プログラマブ コ ン トローラのプロセッサで あり、 R O M21, R A M22, 入出力制御回路 23とはデータノ ス , ア ド レスバス, コ ン ト ロ ールバスを舍むバス 24によ り接続さ れる。 プロセッサ 20と N C用プロセッサ i とは共通 R A M30を 介して相互にデータの授受が可能であり、 公知のように M, S , τコ ー ド等が N C用プロセッサ 1 からこの共通 R A M30を介 してプロセッサ 20に送られると、 プロセッサ 20はこれを解読し 入出力制御回路 23から所定のタイ ミ ングで例えば工具交換に必 要な信号等を癸生する。 In the figure, reference numeral 1 denotes an NC processor, which is connected to peripheral circuits via a bus 2 which includes a data bus, an addressless bus, and a control bus. ROM 3 is a memory for storing the system program of the NC processor 1, RAM 4 is a memory having an area for temporarily storing calculation results, etc., and an external memory 5 is an NC processing program. The memory 5 is composed of a magnetic bubble memory, a CM0S memory with a backup power supply, and the like. The keyboard 6 is for inputting various data and commands. The tape reader 7 is for reading an NC tape, and the NC processing program can also be input from the tape reader 7. The position control circuit 8 and the speed control circuit 9 are connected to the speed detector 1] and the position detector 12 This is a circuit for driving the motor 10 to the specified position at the specified speed based on the speed and position feedback signals. In the figure, only one putter is shown, and it is actually provided for each channel. The input / output control circuit 13 is a circuit that generates a command for executing jog feed and step feed in accordance with a signal from the jog step feed switch 14. The manual pulse generator 15 is for superimposing a correction pulse on the movement given by the NC machining program, and 20 is a processor for a machine tool programmable controller. The input / output control circuit 23 is connected by a bus 24 which includes a data bus, an address bus, and a control bus. The processor 20 and the NC processor i can exchange data with each other via the common RAM 30, and as is well known, the M, S, τ code, etc. are transmitted from the NC processor 1 via the common RAM 30 to the NC processor i. Is sent to the processor 20, the processor 20 decodes the signal and, at a predetermined timing, for example, signals necessary for tool change, etc. from the input / output control circuit 23.
N C用プロセッサ 1 とプログラマブルコ ン トローラ用のプロ セッサ 20とはまた、 出力バッファ 31と入力バッファ 32で相互に 接続されている。 出力バッファ 31は N C用プロセッサ 1からフ ォーマツ ト変換すべきデータを 1文字ずつプログラマブルコ ン ト ローラ側に送出するためのバッファであり、 入力バッファ 32 はプロセッサ 20でフォーマツ ト変換されたデータを 1文字ずつ 数値制御装置側に送出するためのデータである。  The NC processor 1 and the programmable controller processor 20 are also interconnected by an output buffer 31 and an input buffer 32. The output buffer 31 is a buffer for sending the data to be format-converted from the NC processor 1 to the programmable controller side one character at a time, and the input buffer 32 stores the data that has been format-converted by the processor 20 as one. This data is sent character by character to the numerical controller.
次に、 本発明によるフォーマツ ト変換の動作について説明す る。 外部メ モリ 5に記憶された N C加エブ πグラムは複数のブ口 ック ( 1単位として抜える連続したヮー ドの集りでェン ドォブ ブ αックを示す文字で互いに区別される) から成るが、 数値制 御装置固有のフォーマツ 卜で記戴されたブロック と、 工作機械 メ ーカ独自のフォーマツ トで記載されたブロック とが混在して いる。 Next, the operation of the format conversion according to the present invention will be described. The NC memory π-gram stored in the external memory 5 is obtained from a plurality of blocks (a group of consecutive cards that can be extracted as one unit and is distinguished from each other by a character indicating an end block α). However, blocks written in a format unique to the numerical control device and blocks written in a format unique to the machine tool manufacturer are mixed.
N C用プロセッサ 1 は、 数値制御の実行指令或はプロセッサ の登録指令が入力されると、 例えば第 2図に示すように外部メ モリ 5に記憶された N C加工プログラムをその先頭から順々に 1 ブロックずつ読取る ( S 1 ) 。 そして、 当該ブロックがフォ 一マッ ト変換する必要があるか否かを I!别する ( S 2 ) 。 フォ 一マツ ト変換すべきプロックにはその旨を示す情報が含まれて いるので、 その情報の有無によって判別を行なう。 N C用プロ セッサ 1 はフォーマッ ト変換の必要がない場合、 そのブロック を解読して実行準備を行ない ( S 7 ) 、 数値制御指令が発せら れているときはパルス分配を行なつて位置制御回路 8 を制御し また工具交換指令等の場合は共通 R A Μ 30を介してプロセッサ 20にデータを送出し、 更に , プログラムの登録指令が発せられ ている場合はそのブロックの内容を外部メ モ リ 5 の別の領域に 記憶する ( S 8 ) 。 一方、 フォーマッ ト変換が必要なブロック の場合は、 そのブロックを 1 文字ずつ出力バッファ 3 1に送出す る ( S 3 ) 。  When a numerical control execution command or a processor registration command is input, the NC processor 1 sequentially reads the NC machining programs stored in the external memory 5 one by one from the top as shown in FIG. Read block by block (S1). Then, it is determined whether or not the block needs to be transformed. Yes (S2). Since the block to be format-converted contains information indicating that fact, the determination is made based on the presence or absence of the information. If format conversion is not necessary, the NC processor 1 decodes the block and prepares for execution (S7). If a numerical control command is issued, the NC processor 1 performs pulse distribution to perform position control. In the case of a tool change command, etc., data is sent to the processor 20 via the common RA 30. In addition, if a program registration command is issued, the contents of the block are stored in external memory. The data is stored in another area (S8). On the other hand, if the block requires format conversion, the block is sent to the output buffer 31 one character at a time (S3).
プロセッサ 20は、 出力バッファ 3〗にデータがセッ ト されたこ とにより割込みがかけられ、 例えば第 3図に示すような処理を 実行する。 即ち、 割込みがかかると出力バッファ 3 1の先頭文字 を読取り ( S 1 0 ) 、 一旦 R A M 22に耘送する。 そして、 この読 取った文'字がブロックの終了コ ー ド (エン ドォブブロック) や 変換の区切り記号等でな く今まで読取ったデータだけでは変換 が可能でない場合は割込み処理を終了してメ ィ ンルーチンへ復 帰する ( S 1 1 ) 。 出力バッファ 31に文字が連続して入力された 場合、 メ イ ンルーチンへ復帰すると再び割込みがかかり、 プロ セッサ 20は再び第 3図の処理を実行する。 そして、 ブロックの 終了コー ド (ェ ン ドォブブロック) や変換の区切り記号等を識 別し、 変換が可能と判別すると、 予め R 0 M 21に記憶されたフ ォ—マツ ト変換マップを参照して当該データのフォーマツ トを 変換し ( S 1 2 ) 、 変換して得たデ一-タを 1文字ずつ入力バッフ ァ 32に送出して処理を終了する ( S 1 3 ) 。 The processor 20 is interrupted by the data set in the output buffer 3 #, and executes, for example, the processing shown in FIG. That is, when an interrupt occurs, the first character of output buffer 31 Is read (S10), and is temporarily fed to the RAM 22. If the read character is not a block end code (end-of-block) or a conversion delimiter, and conversion cannot be performed using only the data that has been read, interrupt processing is terminated and mail processing is terminated. The process returns to the routine (S11). If characters are continuously input to the output buffer 31, the interrupt is again activated when returning to the main routine, and the processor 20 executes the processing of FIG. 3 again. Then, the end code (end-of-block) of the block, the delimiter of the conversion, and the like are identified. The format of the data is converted (S12), and the data obtained by the conversion is sent to the input buffer 32 character by character, and the process is terminated (S13).
N C用プロセッサ 1 は出力バッファ 31に文字を書込んだ後は 入力バッファ 32にデータがセッ トされるのを待つ伏態となり ( S 4 ) 、 入力バッファ 32に 1文字でもデータがセッ ト されると これを読込み ( S 5 ) 、 1 ブロック分のデータが確定したとき に ( S 6 ) ステップ S 7 へ移行し、 数値制御ゃプログラムの登 録を実行する。  After writing a character to the output buffer 31, the NC processor 1 is in a state of waiting for data to be set to the input buffer 32 (S4), and even one character is set to the input buffer 32. Is read (S5), and when the data for one block is determined (S6), the process proceeds to step S7, and the numerical control program is registered.
このよう に変換の必要なデータがある場合、 従来の如く 1 2 8文字蓄積してから送出するのではな く 、 変換すべきデータが 発生すれば直ちに 1文字ずつプログラマブルコ ン ト ローラに送 出し、 また変換後のデータも従来の如く 1 2 8文字罠積してか ら送出するのではな く 、 変換が終了すれば直ちに 1 文字ずつ数 値制御装置側に返送するので、 数値制御装置の待ち時間は従来 より短く なり、 例えば数値制御中にカツタが一時的に不要に停 止する等の不都合が解消されるものとなる。 If there is data that needs to be converted in this way, instead of storing 128 characters before sending it out as before, instead of sending out the data to be converted, it sends the data to the programmable controller one character at a time as soon as it occurs. Also, the converted data is not sent after trapping the 128 characters as in the past, but is sent back to the numerical controller one character at a time as soon as the conversion is completed. The waiting time is shorter than before, for example, the cutter stops temporarily during numerical control. Inconveniences such as stopping are eliminated.
以上説明したように、 本発明によれば、 数値制御装置からは 変換の必要なデータを 1文字ずつ工作機械用プログラマブルコ ン ト ローラに送出し、 工作機械用プログラマブルコ ン ト ロ—ラ では変換の終了したデータを 1 文字ずつ数値制御装置に返送す るので、 従来のように ] 2 8文字毎にフォーマツ 卜変換すべき データ或はフォーマッ ト変換後のデータを授受していた場合に 比べ、 数値制御装置におけるフォ—マツ ト変換のための待ち時 間が短く なる効果がある。 *  As described above, according to the present invention, the data required for conversion is sent from the numerical controller to the programmable controller for the machine tool one character at a time, and the data is converted by the programmable controller for the machine tool. The completed data is returned to the numerical controller one character at a time, so that the data to be format-converted every 28 characters or data after format conversion is sent and received as in the past. This has the effect of shortening the waiting time for format conversion in the numerical controller. *

Claims

求 の 範 囲 Range of request
数値制御装置と工作機械用プログラマブルコ ン ト ローラ間のプ ログラムフォーマツ ト変換方式において、 前記数値制御装置は 加工プログラム中に一 &一プ- ログラムフォーマッ ト変換の必要なデー 青 In a program format conversion method between a numerical control device and a programmable controller for a machine tool, the numerical control device is a device that requires one-to-one program format conversion during a machining program.
タが舍まれている場合、 i文字ずつ前記工作璣械用プログラマ ブルコ ン ト ローラに送出し、 前記工作機械用プログラマブルコ ン ト ロ—ラは受信したデータを所定の変換内容により変換してWhen the data is blocked, the i-characters are sent out to the programmable controller for the machine tool, and the programmable controller for the machine tool converts the received data according to predetermined conversion contents.
1文字ずつ前記数値制御装置に返送し、 前記数値制御装置は返 送されたデータに基づき数値制御或はプログラムの登録処理を 行なう ことを特徴とする数値制御装置と工作機械用プログラマ ブルコ ン ト ローラ間のプログラムフォーマツ ト変換方式。 A numerical controller and a programmable controller for a machine tool, wherein the numerical controller returns character by character to the numerical controller, and the numerical controller performs numerical control or program registration processing based on the returned data. Program format conversion between programs.
PCT/JP1985/000597 1984-10-31 1985-10-28 Program format conversion system between a numerical control apparatus and a programmable controller for machine tools WO1986002747A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP22918284A JPS61107401A (en) 1984-10-31 1984-10-31 Program format converting system between numerical controller and programmable controller for machine tool
JP59/229182 1984-10-31

Publications (1)

Publication Number Publication Date
WO1986002747A1 true WO1986002747A1 (en) 1986-05-09

Family

ID=16888082

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP1985/000597 WO1986002747A1 (en) 1984-10-31 1985-10-28 Program format conversion system between a numerical control apparatus and a programmable controller for machine tools

Country Status (2)

Country Link
JP (1) JPS61107401A (en)
WO (1) WO1986002747A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63124108A (en) * 1986-11-13 1988-05-27 Fanuc Ltd Numerical control system
JPS6462709A (en) * 1987-09-02 1989-03-09 Fanuc Ltd Spindle control system
JPS6462706A (en) * 1987-09-03 1989-03-09 Fanuc Ltd Nc program output system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS54117883A (en) * 1978-03-06 1979-09-12 Okuma Mach Works Ltd Numerical control device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS54117883A (en) * 1978-03-06 1979-09-12 Okuma Mach Works Ltd Numerical control device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Transistor Gijutsu, Vol. 15, No. 12, December 1978, CQ Shuppan, p. 209-210. *

Also Published As

Publication number Publication date
JPS61107401A (en) 1986-05-26

Similar Documents

Publication Publication Date Title
US4347578A (en) Industrial robot control system
US4029950A (en) Numerical control system for machines utilizing a programmable sequence controller
JPS5822412A (en) Industrial robot control system
WO1988008559A1 (en) Numerical control device
EP0121187B2 (en) Tool support synchronizing system for numerical control apparatus
EP0106253A2 (en) Numerical control machine tool with an emergency origin returning function
WO1986000726A1 (en) Numerical control system
US4368511A (en) Numerical controlling method and system
JP3211422B2 (en) Robot controller
WO1986002747A1 (en) Program format conversion system between a numerical control apparatus and a programmable controller for machine tools
EP0107794B1 (en) Numerical control system
US4827446A (en) Interface unit for converting format
WO1989001194A1 (en) Method of replacing the tools
EP0092312B1 (en) Method and apparatus for displaying ladder diagrams
EP0088805A1 (en) Programmable sequence controller
WO1985005199A1 (en) Interface device between numerically controlled apparatus and electric power control circuit
WO1997028493A1 (en) Parameter setting method for cnc machine
JPH10240330A (en) Numerical controller
JPH02151909A (en) Control device for industrial machine
JP3092744B2 (en) Processing system
JP2918117B2 (en) IC card data transfer device
EP0139759B1 (en) System for connecting and controlling external devices
JPS6149206A (en) Process operation method
WO1989000724A1 (en) Numerical controller
JP3027247B2 (en) Pallet changer controller for machine tools

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): DE FR GB