JPH0224703A - Numerical controller - Google Patents
Numerical controllerInfo
- Publication number
- JPH0224703A JPH0224703A JP17590288A JP17590288A JPH0224703A JP H0224703 A JPH0224703 A JP H0224703A JP 17590288 A JP17590288 A JP 17590288A JP 17590288 A JP17590288 A JP 17590288A JP H0224703 A JPH0224703 A JP H0224703A
- Authority
- JP
- Japan
- Prior art keywords
- control
- cnc
- stop
- cpu
- time division
- 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
Links
- 238000000034 method Methods 0.000 claims description 4
- 230000015654 memory Effects 0.000 description 17
- 238000004891 communication Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 239000013256 coordination polymer Substances 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
Landscapes
- Numerical Control (AREA)
- Programmable Controllers (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
この発明は数値制御装置に関し、特に数値制御部とプロ
グラム制御部とを備えた数値制御装置に関するものであ
る。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a numerical control device, and more particularly to a numerical control device equipped with a numerical control section and a program control section.
第3図は従来の数値制御装置の構成を示すブロック図で
ある。図において、(301)は操作部、(302)は
コンピュータ数値制御(CNC1部とプログラム制御(
pc)部を備えた制御部であり、CNC部を構成するも
のとしては、CNC用CPU (303) 、 CNC
用メモリ(304) 、 CRT制御部(305) 、
m械インタフェース(306) 、紙テープリーダ(3
08)及び紙テープパンチャ(309)を接続したI1
0インタフェース(307) サーボモータ(312
)を接続したサーボアンプ(311) とCNC用CP
[I (303) とツインタフエースをとるサーボ
インタフェース(310)等がある。又、pc部(31
3)は、PC用CPU (314) 、通信用メモリ(
315) 、 PC:用メ(−リ(316) 、及びp
c専用機械インタフェース(317)で構成される。FIG. 3 is a block diagram showing the configuration of a conventional numerical control device. In the figure, (301) is the operation section, and (302) is the computer numerical control (CNC 1 section and program control section).
pc) unit, and the CNC unit includes a CNC CPU (303), a CNC
memory (304), CRT control unit (305),
m machine interface (306), paper tape reader (3
08) and I1 with paper tape puncher (309) connected
0 interface (307) Servo motor (312
) connected to the servo amplifier (311) and CNC CP
[I (303) and a servo interface (310) that uses twin tough aces. Also, PC part (31
3) is a PC CPU (314), communication memory (
315) , PC: for mail(-li(316) , and p
c dedicated machine interface (317).
次に上記構成に基づぎ従来装置の動作について説明する
。CNC用、CPU (303)はCNC用メモリ(3
04)よりデータ処理命令を読み出し、該命令に従って
CRT制御部(305)を制御すると共に、I10イン
タフェース(307) 、機械インタフェース(306
) 又はサーボインタフェース(310)を通し、デ
ータの入出力、及びデータ処理を行なう。Next, the operation of the conventional device will be explained based on the above configuration. For CNC, CPU (303) is memory for CNC (3
04) and controls the CRT control unit (305) according to the instruction, and also controls the I10 interface (307) and machine interface (306).
) or through the servo interface (310), data input/output and data processing are performed.
更に通信用メモリ(315) を通し、26部(313
) とのデータ交信を実行する。一方、26部では、
PC用GPtl (314)はPC用メモリ(316)
から命令を取り出し、この命令に従ってPC専用機械イ
ンタフェース(317)あるいは通信用メモリ(315
)を通しデータの入出力を実行すると共に、データ処理
を行なっている。Further, through the communication memory (315), 26 copies (313
) Executes data communication with. On the other hand, in part 26,
GPtl for PC (314) is memory for PC (316)
The command is taken out from the PC machine interface (317) or the communication memory (315) according to this command.
), it performs data input and output as well as data processing.
従来の数値制御装置は以上のように構成されているので
、機械の数値制御及びプログラム制御は可能であるが、
従来装置は数値制御専用及びプログラム制御専用のCP
U及び専用のメモリが必要であるため、ハードウェア構
成が大きくなるという問題点があった。Since conventional numerical control devices are configured as described above, numerical control and program control of machines are possible, but
Conventional equipment has a CP dedicated to numerical control and program control.
Since U and a dedicated memory are required, there is a problem that the hardware configuration becomes large.
この発明は上記のような問題点を解消するためになされ
たもので、小規模なハードウェア構成で数値制御とプロ
グラム制御の双方が可能な数値制御装置を得ることを目
的とする。This invention was made to solve the above-mentioned problems, and aims to provide a numerical control device capable of both numerical control and program control with a small-scale hardware configuration.
(課題を解決するための手段)
この発明に係る数値制御装置は、機械制御を例えば数値
制御及びプログラム制御する制御部に、複数種類の制御
プログラムを時分割処理するプロセッサを備え、機械制
御を時分割にて数値制御及びプログラム制御するように
したものである。(Means for Solving the Problems) A numerical control device according to the present invention includes a processor that processes a plurality of types of control programs in a time-sharing manner in a control section that performs numerical control and program control for machine control, and performs machine control simultaneously. It is designed to perform numerical control and program control in divisions.
この発明におけるプロセッサによれば、数値制御データ
とプログラム制御データ双方のデータ処理を時分割処理
で行なうことで、各データ処理専用のプロセッサを必要
とせずとも機械制御を数値制御とプログラム制御できる
。According to the processor of the present invention, by performing data processing of both numerical control data and program control data by time-sharing processing, machine control can be controlled numerically and programmatically without requiring a processor dedicated to each data process.
以下、この発明の一実施例を第1図に基づいて説明する
。図において、(101)は操作部、(102)は制御
部であり、CNCとpcと共用ノCPU (103)、
CNC用メモリ(104) 、 PC用メモリ(105
) 、CRT制御部(106) 、機械インタフェース
(107) 、紙テープリーダ(110) と紙テー
プパンチャ(111)が接続されたI10インタフェー
ス(108) 、モータ(113)が接続されたサーボ
駆動部(112) とCPU (103)とで信号の
授受を行なうサーボインタフェース(109)を内蔵し
ている。An embodiment of the present invention will be described below with reference to FIG. In the figure, (101) is an operation unit, (102) is a control unit, and a CPU (103) that is shared with the CNC and PC,
CNC memory (104), PC memory (105)
), a CRT control unit (106), a mechanical interface (107), an I10 interface (108) to which a paper tape reader (110) and a paper tape puncher (111) are connected, a servo drive unit (112) to which a motor (113) is connected. It has a built-in servo interface (109) for exchanging signals between the controller and the CPU (103).
次に上記構成に基づいて本実施例の動作について説明す
る。CPU (103)はコンピュータ数値制御(ON
(:) 用とプログラマブルコントローラ(PC)用と
共用のCPUとなっており、CNCの処理を行なう場合
はCNC用メモリ(104)より命令を取り出し、順次
実行することで機械をCNC制御する。又、PCの処理
を行なう場合は、PC用メモリ(105)より命令を取
り出し順次実行することで機械をPC制御する。Next, the operation of this embodiment will be explained based on the above configuration. CPU (103) is computer numerical control (ON
The CPU is shared by the CNC controller (:) and the programmable controller (PC), and when performing CNC processing, the machine is controlled by CNC by fetching instructions from the CNC memory (104) and executing them sequentially. When performing PC processing, the machine is controlled by the PC by fetching instructions from the PC memory (105) and sequentially executing them.
このようにCPII (103)が時分割にて機械をC
NC制御及びPC制御する動作を第2図のタイムチャー
トに基づいて説明する。同図において、(a)はPC制
御停止とCNC制御開始を示すパルス出力タイミング、
(b)はCNC制御停止とPC制御開始を示すパルス出
力タイミング、(c)はCNC制御実行期間、(d)は
PC制御実行期間をそれぞれ示す。同図(a)に示す時
分割処理期間Tgにおいて、CPU (103)よりP
C停止/CNC開始パルス(a図)が出力されると、先
ずPC制御が停止し、次にCNC制御が開始される。C
NC制御開始後、一定時間(Tcsc)が経過するとC
NC制御停止/PC制御開始パルス(b図)が出力され
、CNC制御を停止するとともに、PC制御を再度開始
する。PC制御は、時分割処理が一周期終了し再度、P
C制御停止/ (:NG制御開始パルス(a図)が出力
されるまで継続する。以下、各時分割処理周期毎に、P
C制御停止/ CNC制御開始パルスと、CNC制御停
止/PC制御開始パルスとが交互に出力されCNC制御
とPC制御とをCPII (103)の制御のもとに時
分割で行なわれる。In this way, CPII (103) controls the machine in a time-sharing manner.
The operation of NC control and PC control will be explained based on the time chart of FIG. 2. In the figure, (a) shows the pulse output timing indicating the stop of PC control and the start of CNC control;
(b) shows the pulse output timing indicating the stop of CNC control and the start of PC control, (c) shows the CNC control execution period, and (d) shows the PC control execution period. During the time-sharing processing period Tg shown in FIG.
When the C stop/CNC start pulse (Figure a) is output, first the PC control is stopped, and then the CNC control is started. C
After a certain period of time (Tcsc) has passed after starting NC control, C
An NC control stop/PC control start pulse (Figure b) is output, stopping the CNC control and restarting the PC control. In PC control, after one cycle of time-sharing processing is completed, P
C control stop/ (:Continues until the NG control start pulse (Figure a) is output.Hereafter, for each time division processing cycle, P
C control stop/CNC control start pulses and CNC control stop/PC control start pulses are output alternately, and CNC control and PC control are performed in a time-sharing manner under the control of CPII (103).
なお、上記実施例ではCNC用メモリとPC用メモリを
別のメモリで構成しているが、同一の共用メモリを使用
することも可能である。In the above embodiment, the CNC memory and the PC memory are configured as separate memories, but it is also possible to use the same shared memory.
また、上記実施例ではCNCとPCの2つの制御処理系
を時分割で処理する例を示したが、CPUをより高速化
することで、3つ以上の制御処理系を時分割で処理する
ことも可能となる。Furthermore, in the above embodiment, an example was shown in which two control processing systems, CNC and PC, are processed in a time-sharing manner, but by increasing the speed of the CPU, it is possible to process three or more control processing systems in a time-sharing manner. is also possible.
以上のようにこの発明によれば、機械制御機能を有する
制御装置に複数種類の制御プログラムを時分割処理でき
るCPUを備えたことにより、各制御プログラム処理専
用のCPuを設ける必要がなくなる。そのため、簡易な
ハードウェア構成で複数種類の制御プログラムを実行処
理し得る多機能型の制御装置が得られる効果がある。As described above, according to the present invention, since a control device having a mechanical control function is equipped with a CPU capable of time-sharing processing of a plurality of types of control programs, there is no need to provide a CPU dedicated to processing each control program. Therefore, it is possible to obtain a multifunctional control device that can execute a plurality of types of control programs with a simple hardware configuration.
第1図はこの発明の一実施例による数値制御装置の構成
を示すブロック図、第2図は本実施例の動作を説明する
タイムチャート、第3図は従来の数値制御装置の構成を
示すブロック図である。
図において、(102)は制御部、(103)はCNC
制御処理とPC制御処理共用のCPII 、 (104
)はCNC用メモリ、(105) はpc用メモリ。FIG. 1 is a block diagram showing the configuration of a numerical control device according to an embodiment of the present invention, FIG. 2 is a time chart explaining the operation of this embodiment, and FIG. 3 is a block diagram showing the configuration of a conventional numerical control device. It is a diagram. In the figure, (102) is the control unit, (103) is the CNC
CPII shared by control processing and PC control processing, (104
) is CNC memory, (105) is PC memory.
Claims (1)
た数値制御装置において、この制御部に、複数種類の制
御プログラムを時分割処理し、複数種類の制御プログラ
ムに従って機械制御を行なうプロセッサを備えたことを
特徴とする数値制御装置。A numerical control device equipped with a control unit that controls a machine according to a control program, characterized in that the control unit includes a processor that processes multiple types of control programs in a time-sharing manner and controls the machine according to multiple types of control programs. Numerical control device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP17590288A JPH0224703A (en) | 1988-07-14 | 1988-07-14 | Numerical controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP17590288A JPH0224703A (en) | 1988-07-14 | 1988-07-14 | Numerical controller |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0224703A true JPH0224703A (en) | 1990-01-26 |
Family
ID=16004232
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP17590288A Pending JPH0224703A (en) | 1988-07-14 | 1988-07-14 | Numerical controller |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0224703A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO1992009940A1 (en) * | 1990-11-22 | 1992-06-11 | Fanuc Ltd | Method for executing program for cnc equipment |
JP2007112227A (en) * | 2005-10-19 | 2007-05-10 | Toyota Motor Corp | Vehicle changing front/rear roll rigidity ratio according to turning radius |
-
1988
- 1988-07-14 JP JP17590288A patent/JPH0224703A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO1992009940A1 (en) * | 1990-11-22 | 1992-06-11 | Fanuc Ltd | Method for executing program for cnc equipment |
JP2007112227A (en) * | 2005-10-19 | 2007-05-10 | Toyota Motor Corp | Vehicle changing front/rear roll rigidity ratio according to turning radius |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS59172013A (en) | Synchronizing system for tool post of numerical controller | |
JPS63181005A (en) | Parallel processing method for numerical controller | |
JP2534305B2 (en) | Numerical control unit | |
JPH09128255A (en) | Programable logic controller | |
EP0077835A1 (en) | Data exchanging method and device | |
JPH0766286B2 (en) | Processing method of NC device | |
JPH0224703A (en) | Numerical controller | |
JPS63205707A (en) | Interface system for numerical controller | |
JP2666824B2 (en) | Programmable controller | |
JPS60193012A (en) | Tool post synchronizing method for numerical controller | |
JP3460747B2 (en) | Numerical control unit | |
JPS61161507A (en) | Direct input/output system of programmable controller | |
JPH03288906A (en) | Instruction executing system for pc | |
JPS5916054A (en) | Microprocessor | |
JPH02311903A (en) | Programmable controller | |
JPS626245B2 (en) | ||
JPS62281009A (en) | Numerical controller | |
JPS61156307A (en) | Sequence controller | |
JPS63284604A (en) | Programmable controller | |
JPS59166449A (en) | Method of controlling machine tool with many cutting tools | |
JPS62231371A (en) | Control system for start-up/stop of multiprocessor | |
JPS63109507A (en) | Numerical controller | |
JPH02113363A (en) | Time slice controlling system for multiprocessor system | |
JPS61288232A (en) | Output instruction control system | |
JPH01169607A (en) | Programmable controller |