JPH10240330A - Numerical control unit - Google Patents

Numerical control unit

Info

Publication number
JPH10240330A
JPH10240330A JP5392797A JP5392797A JPH10240330A JP H10240330 A JPH10240330 A JP H10240330A JP 5392797 A JP5392797 A JP 5392797A JP 5392797 A JP5392797 A JP 5392797A JP H10240330 A JPH10240330 A JP H10240330A
Authority
JP
Japan
Prior art keywords
control unit
control
main bus
expansion
personal computer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP5392797A
Other languages
Japanese (ja)
Inventor
Eisuke Kamiyama
栄亮 神山
Katsuaki Goto
勝昭 後藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Seiki Co Ltd
Original Assignee
Hitachi Seiki Co 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 Hitachi Seiki Co Ltd filed Critical Hitachi Seiki Co Ltd
Priority to JP5392797A priority Critical patent/JPH10240330A/en
Publication of JPH10240330A publication Critical patent/JPH10240330A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

(57)【要約】 【目的】パソコンのリアルタイム処理能力が低くても、
NC装置としての動作遅れを生じることのないNC装置
を提供する。 【構成】メインバス3と、前記メインバス上の複数の拡
張スロット4を有する個人用汎用コンピュータ1と、前
記拡張スロットに取り付けられ、サーボモータの制御等
を行うNC制御部81と、シーケンス制御等を行うPL
C制御部82とを備えたNC拡張ボード8とを有し、前
記NC拡張ボードは、前記メインバス以外に前記NC制
御部と前記PLC制御部とを接続して信号を伝達する制
御部間信号路83を有する。
(57) [Summary] [Purpose] Even if the real-time processing capability of the personal computer is low,
An NC device that does not cause an operation delay as an NC device is provided. A personal general-purpose computer having a main bus, a plurality of expansion slots on the main bus, an NC control unit attached to the expansion slot for controlling a servo motor, a sequence control, etc. PL that performs
An NC expansion board 8 having a C control unit 82, wherein the NC expansion board connects the NC control unit and the PLC control unit in addition to the main bus and transmits a signal between the control units. A road 83 is provided.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、工作機械等の数値
制御装置(以下NC装置という)に関するものであり、
特に、個人用汎用コンピュータ(以下パソコンという)
を利用したNC装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a numerical control device (hereinafter referred to as an NC device) for a machine tool or the like.
In particular, general-purpose personal computers (hereinafter referred to as personal computers)
The present invention relates to an NC device using the same.

【0002】[0002]

【従来の技術】最近、工作機械の数値制御化が進み、N
C装置の需要が高まっている。現在のNC装置は、内部
にマイクロプロセッサ等のCPUを含み、NCプログラ
ムを解析し各制御軸のサーボモータへの制御信号を送る
部分と、工具交換等のシーケンス制御を行う部分とを有
している。このようなNC装置を汎用のコンピュータを
利用して実現することは可能であり、特に安価に出回る
ようになったパソコンを利用してNC装置を実現すれば
NC装置のコストを引き下げることが可能となる。ここ
でいうパソコンとは、個人用(シングルユーザ)を目的
とした小型の汎用コンピュータのことであり、いわゆる
OAパソコン(事務用パソコン)の他にFAパソコン
(工場用パソコン)を含むものである。
2. Description of the Related Art Recently, numerical control of machine tools has advanced, and N
Demand for C devices is increasing. The current NC device includes a CPU such as a microprocessor inside, and has a portion that analyzes an NC program and sends a control signal to a servomotor of each control axis, and a portion that performs sequence control such as tool change. I have. It is possible to realize such an NC device using a general-purpose computer. In particular, if the NC device is realized using a personal computer that has become available at a low cost, it is possible to reduce the cost of the NC device. Become. The personal computer referred to here is a small general-purpose computer for personal use (single user), and includes an FA personal computer (factory personal computer) in addition to a so-called OA personal computer (office personal computer).

【0003】最近、パソコンの高性能化が進みリアルタ
イムの処理もある程度のレベルを達成することができ、
パソコンを利用したNC装置が実現可能となってきた。
パソコンを利用したNC装置は、図2のような構成であ
った。パソコン1は、マイクロプロセッサ等のCPU、
主メモリ、割り込みコントローラ、バスコントローラ等
を含むマザーボード2と、マザーボード2に接続された
メインバス3と、メインバス3上に設けられた複数の拡
張スロット4を有している。拡張スロット4には各種入
出力用の拡張ボードや外部記憶装置へのインターフェー
スボード等を取り付けることができ、パソコン1の機能
を拡張することが可能となっている。メインバス3はこ
れらの拡張ボードとマザーボード2とを接続するための
バスであり、マザーボード2上のCPUは、メインバス
3を介して各拡張ボードにアクセスする。
Recently, the performance of personal computers has been improved and real-time processing has been able to achieve a certain level.
An NC device using a personal computer has become feasible.
The NC device using a personal computer had a configuration as shown in FIG. The personal computer 1 includes a CPU such as a microprocessor,
It has a motherboard 2 including a main memory, an interrupt controller, a bus controller, and the like, a main bus 3 connected to the motherboard 2, and a plurality of expansion slots 4 provided on the main bus 3. An expansion board for various input / outputs, an interface board for an external storage device, and the like can be attached to the expansion slot 4, and the functions of the personal computer 1 can be expanded. The main bus 3 is a bus for connecting these extension boards to the motherboard 2, and the CPU on the motherboard 2 accesses each extension board via the main bus 3.

【0004】この拡張スロット4の1つに、各制御軸の
サーボモータに制御信号を送るためのNCボード6を取
り付ける。また、他の拡張スロット4にPLC(プログ
ラマブル・ロジック・コントロール)ボード7を取り付
ける。PLCボード7はシーケンス制御のための制御信
号を出力したり、各可動部材の位置情報を入力したりす
るためのものである。例えば、工作機械のテーブルのス
トロークエンドでテーブルを強制停止するような場合、
パソコン1がPLCボード7をアクセスすることにより
ストロークエンドに達したことを知り、NCボード6に
対してテーブルの移動停止指令を出力していた。
An NC board 6 for sending a control signal to a servomotor of each control axis is attached to one of the expansion slots 4. Further, a PLC (programmable logic control) board 7 is attached to another expansion slot 4. The PLC board 7 is for outputting a control signal for sequence control and for inputting position information of each movable member. For example, when the table is forcibly stopped at the stroke end of the machine tool table,
The personal computer 1 accesses the PLC board 7 to know that the stroke end has been reached, and outputs a table movement stop command to the NC board 6.

【0005】[0005]

【発明が解決しようとする課題】パソコンは高性能化し
てきてはいるが、数値制御を行うにはリアルタイムの処
理性能にまだ問題がある。特にノンプリエンプティブな
マルチタスクの処理を行ったり、補助記憶装置や外部記
憶装置のアクセス等のための長時間の割り込み処理が起
こった場合には、リアルタイムの処理としては許容しが
たい時間遅れを生じることがある。従来の構成のパソコ
ンNC装置で、上記のテーブルのストロークエンドでの
非常停止を行う場合、パソコン1の処理の遅れにより、
ストロークエンドを検出するのが遅れたり、NCボード
への指令が遅れたりして、テーブルが固定部材に衝突し
てしまうことがあった。このような衝突が起こると、工
作機械本体が破損してしまうこともあった。
Although the performance of personal computers has been improved, there is still a problem in real-time processing performance for performing numerical control. In particular, when a non-preemptive multitask process is performed or a long-term interrupt process for accessing an auxiliary storage device or an external storage device occurs, a time delay that is unacceptable as a real-time process occurs. Sometimes. In the case of performing an emergency stop at the stroke end of the above-described table using a personal computer NC device having a conventional configuration, due to a delay in processing of the personal computer 1,
In some cases, the detection of the stroke end is delayed, or the command to the NC board is delayed, so that the table collides with the fixed member. When such a collision occurs, the machine tool body may be damaged.

【0006】そこで、本発明は、パソコンのリアルタイ
ム処理能力が低くても、NC装置としての動作遅れを生
じることのないNC装置を提供することを目的とする。
Accordingly, an object of the present invention is to provide an NC device which does not cause an operation delay as an NC device even if the real-time processing capability of a personal computer is low.

【0007】[0007]

【課題を解決するための手段】上記目的を達成するため
に、本発明の数値制御装置は、メインバスと、前記メイ
ンバス上の複数の拡張スロットを有する個人用汎用コン
ピュータと、前記拡張スロットに取り付けられ、サーボ
モータの制御等を行うNC制御部と、シーケンス制御等
を行うPLC制御部とを備えたNC拡張ボードとを有
し、前記NC拡張ボードは、前記メインバスとの接続線
以外に前記NC制御部と前記PLC制御部とを接続して
信号を伝達する制御部間信号路を有するものである。
In order to achieve the above object, a numerical controller according to the present invention comprises a main bus, a personal computer having a plurality of expansion slots on the main bus, and a personal computer. An NC expansion board provided with an NC control unit for controlling a servo motor and the like and a PLC control unit for performing sequence control and the like, wherein the NC expansion board has a connection line other than a connection line with the main bus. A signal path between the control units for connecting the NC control unit and the PLC control unit and transmitting a signal is provided.

【0008】また、本発明の数値制御装置は、CPU、
主メモリ、バスコントローラを含むマザーボードと、前
記マザーボードに接続されたメインバスと、前記メイン
バス上に設けられた複数の拡張スロットとを有する個人
用汎用コンピュータと、前記マザーボードに接続され、
NCプログラムの入力と編集を行うNC操作盤と、前記
拡張スロットに取り付けられ、サーボモータの制御等を
行うNC制御部と、シーケンス制御等を行うPLC制御
部とを備えたNC拡張ボードとを有し、前記NC拡張ボ
ードは、前記メインバスとの接続線以外に前記NC制御
部と前記PLC制御部とを接続して信号を伝達する制御
部間信号路を有するものである。
Further, the numerical control device of the present invention comprises a CPU,
Main memory, a motherboard including a bus controller, a main bus connected to the motherboard, a personal general-purpose computer having a plurality of expansion slots provided on the main bus, and connected to the motherboard,
An NC operation board for inputting and editing an NC program, an NC control board attached to the expansion slot and provided with an NC control section for controlling a servomotor and the like and a PLC control section for performing a sequence control and the like. The NC expansion board has a signal path between the control units for transmitting signals by connecting the NC control unit and the PLC control unit in addition to the connection line to the main bus.

【0009】また、上記の数値制御装置において、前記
マザーボードにはNCプログラムを格納する補助記憶装
置がメインバスを介することなく接続されていることが
好ましい。
In the above-mentioned numerical control device, it is preferable that an auxiliary storage device for storing an NC program is connected to the motherboard without passing through a main bus.

【0010】また、上記の数値制御装置において、前記
メインバスのデータバス幅は16ビット以上であり、前
記制御部間信号路のデータバス幅は8ビットであること
が好ましい。
In the above numerical control device, it is preferable that the data bus width of the main bus is 16 bits or more, and the data bus width of the signal path between the control units is 8 bits.

【0011】[0011]

【発明の実施の形態】本発明の実施の形態について図面
を参照して説明する。図1に本発明のNC装置の構成を
示す。パソコン1は、マイクロプロセッサ等のCPU、
主メモリ、割り込みコントローラ、バスコントローラ等
を含むマザーボード2と、マザーボード2に接続された
メインバス3と、メインバス3上に設けられた複数の拡
張スロット4を有している。拡張スロット4には各種入
出力用の拡張ボードや外部記憶装置へのインターフェー
スボード等を取り付けることができ、パソコン1の機能
を拡張することが可能となっている。メインバス3はこ
れらの拡張ボードとマザーボード2とを接続するための
バスであり、マザーボード2上のCPUは、メインバス
3を介して各拡張ボードにアクセスする。メインバス3
のデータバス幅は16ビットまたは32ビットである。
Embodiments of the present invention will be described with reference to the drawings. FIG. 1 shows the configuration of the NC device of the present invention. The personal computer 1 includes a CPU such as a microprocessor,
It has a motherboard 2 including a main memory, an interrupt controller, a bus controller, and the like, a main bus 3 connected to the motherboard 2, and a plurality of expansion slots 4 provided on the main bus 3. An expansion board for various input / outputs, an interface board for an external storage device, and the like can be attached to the expansion slot 4, and the functions of the personal computer 1 can be expanded. The main bus 3 is a bus for connecting these extension boards to the motherboard 2, and the CPU on the motherboard 2 accesses each extension board via the main bus 3. Main bus 3
Has a data bus width of 16 bits or 32 bits.

【0012】マザーボード2には、メインバス3を介す
ることなく、パソコン内蔵の補助記憶装置5が接続され
ている。補助記憶装置には、フレキシブルディスク装
置、ハードディスク装置、CD−ROM装置、光磁気デ
ィスク装置等が含まれる。また、マザーボード2には、
シリアルポート、CRTインターフェース等を介して、
NC操作盤10が接続されている。NC操作盤10に
は、CRT等のディスプレイとフィルムスイッチ等から
成るキーボードとが配置されており、NCプログラムの
入力や編集が行える。また、NC操作盤10のディスプ
レイには、制御軸の座標値、例えば工作機械の制御であ
れば、工具の位置やテーブルの位置を表示することもで
きる。さらに、必要ならばNC操作盤10にNCプログ
ラム入力装置としてのフレキシブルディスク装置または
紙テープ読取器を設置しておく。
An auxiliary storage device 5 built in a personal computer is connected to the motherboard 2 without passing through the main bus 3. The auxiliary storage device includes a flexible disk device, a hard disk device, a CD-ROM device, a magneto-optical disk device, and the like. Also, motherboard 2
Via serial port, CRT interface, etc.
The NC operation panel 10 is connected. The NC operation panel 10 is provided with a display such as a CRT and a keyboard including a film switch and the like, and can input and edit an NC program. The display of the NC operation panel 10 can also display the coordinate values of the control axes, for example, the position of a tool or the position of a table in the case of controlling a machine tool. Further, if necessary, a flexible disk device or a paper tape reader as an NC program input device is installed on the NC operation panel 10.

【0013】拡張スロット4の1つに、NC制御部81
とPLC(プログラマブル・ロジック・コントロール)
制御部82とを有するNC拡張ボード8を取り付ける。
NC拡張ボード8内のNC制御部81は、各制御軸のサ
ーボモータに制御信号を送るためのものであり、PLC
制御部82は、シーケンス制御のための制御信号を出力
したり、各可動部材の位置情報を入力したりするための
ものである。NC制御部81とPLC制御部82とを1
枚のNC拡張ボード8にまとめて実装したので、拡張ス
ロット4の使用個数は1つで済む。
One of the expansion slots 4 includes an NC control unit 81
And PLC (Programmable Logic Control)
The NC expansion board 8 having the control unit 82 is attached.
The NC control unit 81 in the NC expansion board 8 is for sending a control signal to the servo motor of each control axis,
The control unit 82 is for outputting a control signal for sequence control and for inputting position information of each movable member. The NC control unit 81 and the PLC control unit 82
Since the plurality of NC expansion boards 8 are mounted together, only one expansion slot 4 needs to be used.

【0014】例えば、工作機械のテーブルのストローク
エンドでテーブルを強制停止する場合、PLC制御部8
2に入力されたストロークエンド検出信号を、約10m
sec以内にNC制御部81に伝達し、テーブルの移動
停止制御を行う必要がある。前述の図2の従来例と同じ
ように、パソコン1のマザーボード2のCPUがPLC
制御部82をアクセスすることによりストロークエンド
に達したことを知り、NC制御部81に対してテーブル
の移動停止指令を出力していたのでは、この許容時間以
内に制御が行えない場合があった。そこで、本発明のパ
ソコンNC装置では、NC制御部81とPLC制御部8
2とをメインバス3以外の制御部間信号路83によって
直接接続するようにした。制御部間信号路83のデータ
バス幅は、8ビットで十分である。
For example, when the table is forcibly stopped at the stroke end of the table of the machine tool, the PLC control unit 8
The stroke end detection signal input to
It is necessary to transmit the information to the NC control unit 81 within seconds and perform the table stop control. As in the conventional example of FIG. 2 described above, the CPU of the motherboard 2 of the personal computer 1
If the stroke end was reached by accessing the control unit 82, and the table movement stop command was output to the NC control unit 81, control could not be performed within the allowable time in some cases. . Therefore, in the personal computer NC device of the present invention, the NC control unit 81 and the PLC control unit 8
2 is directly connected by a signal path 83 between the control units other than the main bus 3. It is sufficient that the data bus width of the signal path 83 between the control units is 8 bits.

【0015】工作機械の加工用NCプログラムとして
は、図3に示すようなものが挙げられる。このようなN
Cプログラムは、NC操作盤10から入力され、パソコ
ン1に内蔵された補助記憶装置5にASCIIコード等
の適宜のコードにより格納される。また、NCプログラ
ムは、他のNC装置やCAD/CAM装置等により作ら
れフレキシブルディスクや紙テープに保存されていたも
のをNC操作盤10のフレキシブルディスクドライブや
紙テープ読取器によって読み取り、補助記憶装置5のハ
ードディスク装置に格納することもできる。
FIG. 3 shows an NC program for machining a machine tool. Such N
The C program is input from the NC operation panel 10 and stored in an auxiliary storage device 5 built in the personal computer 1 by an appropriate code such as an ASCII code. The NC program is read by a flexible disk drive or a paper tape reader of the NC operation panel 10 from a program created by another NC device or a CAD / CAM device and stored on a flexible disk or a paper tape. It can also be stored on a hard disk device.

【0016】図3のNCプログラムを簡単に説明する
と、1行目の「O0020」は、このプログラムのプロ
グラム番号である。次の行の「N001」は、実際のプ
ログラム部分のシーケンス番号であって、「G92 X
0 Y0 Z0」がプログラムの命令の部分である。命
令の内容は、ワーク座標系の設定であり、現在の工具位
置をワーク座標原点(X,Y,Z)=(0,0,0)と
するものである。行頭のシーケンス番号から行末のセミ
コロン「;」(エンド・オブ・ブロック:EOB)まで
の部分をブロックと呼ぶ。このような工作機械へのNC
命令が順次続いている。
Briefly describing the NC program shown in FIG. 3, "O0020" on the first line is the program number of this program. “N001” in the next line is the sequence number of the actual program part, and is “G92 X
"0 Y0 Z0" is the instruction portion of the program. The content of the command is the setting of the work coordinate system, and sets the current tool position to the work coordinate origin (X, Y, Z) = (0, 0, 0). The part from the sequence number at the beginning of the line to the semicolon ";" (end of block: EOB) at the end of the line is called a block. NC for such machine tools
Instructions follow one after another.

【0017】パソコン1のマザーボード2内のCPU回
路は、補助記憶装置5に格納された図3のようなNCプ
ログラムを主メモリにロードし、それを解析して1ブロ
ックずつのNC命令に分離し、NC制御部81が解釈可
能な命令形式に変換して、1ブロックの命令毎にNC制
御部81の受信可能状態を確認してからNC制御部81
に送出する。NC制御部81は、受け取ったNC命令に
従ってパルス分配等を行い、各制御軸の制御モータのサ
ーボアンプに駆動信号を送出する。NC命令が終了し、
NC命令のバッファに空きができると受信可能状態をマ
ザーボード2側に知らせる。このような動作を1ブロッ
ク毎に繰り返すことになる。
The CPU circuit in the motherboard 2 of the personal computer 1 loads the NC program as shown in FIG. 3 stored in the auxiliary storage device 5 into the main memory, analyzes it, and separates it into NC instructions for each block. , Into a command format that can be interpreted by the NC control unit 81, and confirming the receivable state of the NC control unit 81 for each command of one block,
To send to. The NC control unit 81 performs pulse distribution and the like according to the received NC command, and sends a drive signal to a servo amplifier of a control motor of each control axis. NC instruction is completed,
When the buffer for the NC command becomes available, the motherboard 2 is notified of the receivable state. Such an operation is repeated for each block.

【0018】また、図3の「N0004」行は主軸の回
転数毎分1500回転(S1500)で主軸正転(M
3)させるものであるが、この命令は、PLC制御部8
2に対して送出され、PLC制御部82が外部のI/O
ボードに対して制御信号を出力するものである。このよ
うにNC命令の中には、NC制御部81が実行する命令
と、PLC制御部82が実行する命令とが混在してい
る。両制御部のI/Oアドレスを異なるものとして、マ
ザーボード2のCPU回路がこれらの命令を適宜両制御
部に振り分けて送出するようにしてもよいし、両制御部
のI/Oアドレスを共通のものとして、各制御部が共通
のI/Oアドレスに出力された命令の中から自分に対す
る命令を判断してそれを取り込み実行するようにしても
良い。
The "N0004" line in FIG. 3 shows that the spindle is rotated at 1500 revolutions per minute (S1500) and the spindle is rotated forward (M1).
3) This command is issued by the PLC control unit 8
2 and the PLC control unit 82 receives the external I / O
It outputs a control signal to the board. Thus, among the NC instructions, the instructions executed by the NC control unit 81 and the instructions executed by the PLC control unit 82 are mixed. Assuming that the I / O addresses of the two control units are different, the CPU circuit of the motherboard 2 may appropriately distribute these instructions to the two control units and transmit them, or the I / O addresses of the two control units may be shared. Alternatively, each control unit may determine an instruction for itself from among instructions output to a common I / O address, and fetch and execute the instruction.

【0019】何れにしても、図3のようなNCプログラ
ムが各ブロックの順番に従って、順序よく実行されるた
めには、NC制御部81とPLC制御部82の一方から
他方へ各NC命令が終了したことを知らせることが必要
である。例えば、図3の「N005」行の実行(タッピ
ング加工)では、NC制御部81が実行する送り制御
と、穴底でPLC制御部82が実行する主軸逆転制御の
信号タイミングは時間遅れが生じないことが必要であ
る。
In any case, in order for the NC program as shown in FIG. 3 to be executed in order according to the order of each block, each NC instruction is completed from one of the NC control unit 81 and the PLC control unit 82 to the other. It is necessary to inform that. For example, in the execution (tapping) of the “N005” line in FIG. 3, there is no time delay between the feed control performed by the NC control unit 81 and the spindle reverse rotation control performed by the PLC control unit 82 at the bottom of the hole. It is necessary.

【0020】従来の図2のようなNC装置では、NCボ
ード6とPLCボード7を直接に接続する信号路がな
く、このようなNC命令の終了信号の伝送をメインバス
3を介して、パソコン1のCPU回路を通して行ってい
たため、パソコン1の処理遅れによる時間遅れが生じ、
場合によっては許容範囲を超えることがあった。本発明
においては、図1のように制御部間信号路83が設けら
れており、制御部間信号路83を介してこれらの信号を
直接伝送するので時間遅れが少なく、許容範囲を超える
時間遅れは皆無となる。制御部間信号路83を介する信
号の伝送は、NC制御部81とPLC制御部82のそれ
ぞれに設けられたCPUが予め決められたプロトコルに
従って直接行う。
In the conventional NC apparatus as shown in FIG. 2, there is no signal path for directly connecting the NC board 6 and the PLC board 7, and the transmission of such an end signal of the NC command is transmitted to the personal computer via the main bus 3. 1 through the CPU circuit, there is a time delay due to the processing delay of the personal computer 1,
In some cases, the allowable range was exceeded. In the present invention, the signal path 83 between the control units is provided as shown in FIG. 1, and these signals are directly transmitted through the signal path 83 between the control units. Is gone. Signal transmission via the inter-controller signal path 83 is performed directly by CPUs provided in the NC controller 81 and the PLC controller 82 in accordance with a predetermined protocol.

【0021】制御部間信号路83を介して伝送を行う信
号は、このようなNCプログラムの同期のための終了信
号の他にも、ストロークエンドでのテーブルの強制停止
や、外部からの位置信号による減速指令を行う際の位置
信号等がある。これらの位置信号に時間遅れが生じる
と、部材の衝突により工作機械が破損したり、位置決め
ミスが発生したりするので、許容される時間遅れは10
msec程度である。制御部間信号路83を介して、こ
のような位置信号もPLC制御部82からNC制御部8
1に許容範囲内の時間遅れで伝送することができる。
Signals transmitted via the inter-controller signal path 83 include not only the end signal for synchronizing the NC program but also the forced stop of the table at the stroke end and the position signal from the outside. There is a position signal or the like when a deceleration command is issued by the above. If a time delay occurs in these position signals, the machine tool may be damaged or a positioning error may occur due to the collision of the members.
msec. Such a position signal is also transmitted from the PLC control unit 82 to the NC control unit 8 via the signal path 83 between the control units.
1 can be transmitted with a time delay within an allowable range.

【0022】なお、この実施の形態では、PLC制御部
82へのNC命令は、マザーボード2内のCPU回路が
メインバス3を介して直接PLC制御部82に送出する
ようにしたが、マザーボード2内のCPU回路がメイン
バス3を介していったんNC制御部81に送り、NC制
御部81からPLC制御部82へ制御部間信号路83を
介して送出するようにしてもよい。また、制御部間信号
路83はNC制御部81とPLC制御部82とを直接接
続するものとしたが、制御部間信号路83の中間部等に
バッファ回路、波形整形回路、位相整合回路等の任意の
補助的な回路を設けるようにしてもよい。
In this embodiment, the NC command to the PLC control unit 82 is sent directly from the CPU circuit in the motherboard 2 to the PLC control unit 82 via the main bus 3. May be sent to the NC control unit 81 via the main bus 3 once, and then sent from the NC control unit 81 to the PLC control unit 82 via the inter-control unit signal path 83. Further, the signal path 83 between the control sections directly connects the NC control section 81 and the PLC control section 82. However, a buffer circuit, a waveform shaping circuit, a phase matching circuit, etc. May be provided.

【0023】[0023]

【発明の効果】本発明は、以上説明したように構成され
ているので、以下のような効果を奏する。
Since the present invention is configured as described above, it has the following effects.

【0024】パソコンのリアルタイム処理能力が低くて
も、NC装置としての動作遅れを生じることがなく、N
C装置の信頼性および安全性を高くすることができる。
Even if the real-time processing capability of the personal computer is low, there is no delay in the operation of the NC device.
The reliability and safety of the C device can be increased.

【0025】パソコンとして、処理速度の極めて大きい
高価なものを使用しなくとも、十分なリアルタイム性能
を達成でき、NC装置の製造コストを引き下げることが
できる。
Even if an expensive personal computer having a very high processing speed is not used, sufficient real-time performance can be achieved, and the manufacturing cost of the NC device can be reduced.

【0026】NC制御部とPLC制御部とを1枚のNC
拡張ボードに実装したので、拡張スロットの使用数が減
少し、パソコンの拡張性を制限することが少なくなると
ともに、NC装置としてのコストを減少させることがで
きる。
The NC control unit and the PLC control unit are
Since the memory card is mounted on the expansion board, the number of expansion slots to be used is reduced, the limitation on the expandability of the personal computer is reduced, and the cost as the NC device can be reduced.

【図面の簡単な説明】[Brief description of the drawings]

【図1】図1は、本発明のNC装置の構成を示すブロッ
ク図である。
FIG. 1 is a block diagram illustrating a configuration of an NC apparatus according to the present invention.

【図2】図2は、従来のNC装置の構成を示すブロック
図である。
FIG. 2 is a block diagram showing a configuration of a conventional NC device.

【図3】図3は、NCプログラムの例を示す図である。FIG. 3 is a diagram illustrating an example of an NC program;

【符号の説明】[Explanation of symbols]

1…パソコン 2…マザーボード 3…メインバス 4…拡張スロット 5…補助記憶装置 6…NCボード 7…PLCボード 8…NC拡張ボード 10…NC操作盤 81…NC制御部 82…PLC制御部 83…制御部間信号路 DESCRIPTION OF SYMBOLS 1 ... Personal computer 2 ... Motherboard 3 ... Main bus 4 ... Expansion slot 5 ... Auxiliary storage device 6 ... NC board 7 ... PLC board 8 ... NC expansion board 10 ... NC operation panel 81 ... NC control part 82 ... PLC control part 83 ... Control Intersection signal path

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】メインバス(3)と、前記メインバス
(3)上の複数の拡張スロット(4)を有する個人用汎
用コンピュータ(1)と、 前記拡張スロット(4)に取り付けられ、サーボモータ
の制御等を行うNC制御部(81)と、シーケンス制御
等を行うPLC制御部(82)とを備えたNC拡張ボー
ド(8)とを有し、 前記NC拡張ボード(8)は、前記メインバス(3)と
の接続線以外に前記NC制御部(81)と前記PLC制
御部(82)とを接続して信号を伝達する制御部間信号
路(83)を有するものである数値制御装置。
1. A personal computer having a main bus (3), a general-purpose personal computer (1) having a plurality of expansion slots (4) on the main bus (3), and a servomotor attached to the expansion slot (4). An NC expansion board (8) provided with an NC control unit (81) for performing control and the like and a PLC control unit (82) for performing sequence control and the like. The NC expansion board (8) Numerical control device having a signal path between control units (83) for connecting the NC control unit (81) and the PLC control unit (82) and transmitting signals in addition to the connection line to the bus (3) .
【請求項2】CPU、主メモリ、バスコントローラを含
むマザーボード(2)と、前記マザーボード(2)に接
続されたメインバス(3)と、前記メインバス(3)上
に設けられた複数の拡張スロット(4)とを有する個人
用汎用コンピュータ(1)と、 前記マザーボード(2)に接続され、NCプログラムの
入力と編集を行うNC操作盤(10)と、 前記拡張スロット(4)に取り付けられ、サーボモータ
の制御等を行うNC制御部(81)と、シーケンス制御
等を行うPLC制御部(82)とを備えたNC拡張ボー
ド(8)とを有し、 前記NC拡張ボード(8)は、前記メインバス(3)と
の接続線以外に前記NC制御部(81)と前記PLC制
御部(82)とを接続して信号を伝達する制御部間信号
路(83)を有するものである数値制御装置。
2. A motherboard (2) including a CPU, a main memory, and a bus controller, a main bus (3) connected to the motherboard (2), and a plurality of expansion units provided on the main bus (3). A general-purpose personal computer (1) having a slot (4), an NC operation panel (10) connected to the motherboard (2) for inputting and editing an NC program, and attached to the expansion slot (4). An NC expansion board (8) including an NC control unit (81) for controlling a servo motor and the like and a PLC control unit (82) for performing sequence control and the like, wherein the NC expansion board (8) A signal path (83) between control units for connecting the NC control unit (81) and the PLC control unit (82) and transmitting signals, in addition to the connection line to the main bus (3). number The control device.
【請求項3】請求項2に記載した数値制御装置であっ
て、前記マザーボード(2)にはNCプログラムを格納
する補助記憶装置(5)がメインバス(3)を介するこ
となく接続された数値制御装置。
3. A numerical control device according to claim 2, wherein an auxiliary storage device (5) for storing an NC program is connected to said motherboard (2) without passing through a main bus (3). Control device.
【請求項4】請求項1〜3のいずれか1つに記載した数
値制御装置であって、前記メインバス(3)のデータバ
ス幅は16ビット以上であり、前記制御部間信号路(8
3)のデータバス幅は8ビットである数値制御装置。
4. The numerical controller according to claim 1, wherein a data bus width of said main bus is not less than 16 bits, and said signal path between said control units is not limited to 16 bits.
3) A numerical controller having a data bus width of 8 bits.
JP5392797A 1997-02-21 1997-02-21 Numerical control unit Pending JPH10240330A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5392797A JPH10240330A (en) 1997-02-21 1997-02-21 Numerical control unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5392797A JPH10240330A (en) 1997-02-21 1997-02-21 Numerical control unit

Publications (1)

Publication Number Publication Date
JPH10240330A true JPH10240330A (en) 1998-09-11

Family

ID=12956371

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5392797A Pending JPH10240330A (en) 1997-02-21 1997-02-21 Numerical control unit

Country Status (1)

Country Link
JP (1) JPH10240330A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003519859A (en) * 2000-01-10 2003-06-24 シーメンス アクチエンゲゼルシヤフト General motion control system
JP2003519858A (en) * 2000-01-10 2003-06-24 シーメンス アクチエンゲゼルシヤフト General motion control system
CN100470411C (en) 2005-08-25 2009-03-18 比亚迪股份有限公司 A four-wheel drive control system for pure electric vehicles
CN102091731A (en) * 2010-11-30 2011-06-15 大连三高重工设备有限公司 Hole shape regulating and controlling system of steel tube empty curving forming unit and control method thereof
US8761932B2 (en) 2000-12-28 2014-06-24 C.H.I. Development Mgmt. Ltd. Xxiv, Llc Automation equipment control system
CN106774175A (en) * 2015-11-19 2017-05-31 发那科株式会社 The numerical control device of the external signal of input and output servo control portion at high speed

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003519859A (en) * 2000-01-10 2003-06-24 シーメンス アクチエンゲゼルシヤフト General motion control system
JP2003519858A (en) * 2000-01-10 2003-06-24 シーメンス アクチエンゲゼルシヤフト General motion control system
US8761932B2 (en) 2000-12-28 2014-06-24 C.H.I. Development Mgmt. Ltd. Xxiv, Llc Automation equipment control system
CN100470411C (en) 2005-08-25 2009-03-18 比亚迪股份有限公司 A four-wheel drive control system for pure electric vehicles
CN102091731A (en) * 2010-11-30 2011-06-15 大连三高重工设备有限公司 Hole shape regulating and controlling system of steel tube empty curving forming unit and control method thereof
CN102091731B (en) 2010-11-30 2013-05-08 大连三高重工设备有限公司 Hole shape regulating and controlling system of steel tube empty curving forming unit and control method thereof
CN106774175A (en) * 2015-11-19 2017-05-31 发那科株式会社 The numerical control device of the external signal of input and output servo control portion at high speed
JP2017097474A (en) * 2015-11-19 2017-06-01 ファナック株式会社 Numerical control device in which external signal input/output in servo control unit is speeded up
US10114359B2 (en) 2015-11-19 2018-10-30 Fanuc Corporation Numerical control device for realizing high-speed input and output of external signal in servo controller

Similar Documents

Publication Publication Date Title
JP3467139B2 (en) Numerical control unit
WO1988008559A1 (en) Numerical control device
JP3451594B2 (en) Storage unit access control method and numerical control device in numerical control device
JPS63181005A (en) Parallel processing method for numerical controller
WO1989008288A1 (en) Numeric control unit for multiple-spindle and multiple-system machine tool
US11256233B2 (en) Numerical controller
KR920004080B1 (en) Numerical control device
JPH10240330A (en) Numerical control unit
JP2735209B2 (en) Numerical control unit
US6377012B1 (en) Servo system controller
WO1995029432A1 (en) Control system
US10114359B2 (en) Numerical control device for realizing high-speed input and output of external signal in servo controller
US4716516A (en) Modular machine tool controller
JPS59223807A (en) Coupling system of numerical controller
JP2852986B2 (en) Processing system
JPS63205707A (en) Interface system for numerical controller
US20250004445A1 (en) Numerical control system
JP2973770B2 (en) Numerically controlled machine tools
JPH06314110A (en) Coupling system for computer system part executing numerical control function and another computer system
JPH02151909A (en) Industrial machine control device
JP3050991B2 (en) Tool offset shape data input type numerical control method and device
WO1989000724A1 (en) Numerical controller
JPS6354605A (en) numerical control device
EP0417297A1 (en) Numeric controller for transfer line
JP2992163B2 (en) Numerical control method and device