JPS584405A - Method and device for control of machine tool - Google Patents

Method and device for control of machine tool

Info

Publication number
JPS584405A
JPS584405A JP10131581A JP10131581A JPS584405A JP S584405 A JPS584405 A JP S584405A JP 10131581 A JP10131581 A JP 10131581A JP 10131581 A JP10131581 A JP 10131581A JP S584405 A JPS584405 A JP S584405A
Authority
JP
Japan
Prior art keywords
machine tool
group
input
port
program
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
JP10131581A
Other languages
Japanese (ja)
Inventor
Mikio Yonekura
米倉 幹夫
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.)
Amada Co Ltd
Original Assignee
Amada 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 Amada Co Ltd filed Critical Amada Co Ltd
Priority to JP10131581A priority Critical patent/JPS584405A/en
Publication of JPS584405A publication Critical patent/JPS584405A/en
Pending legal-status Critical Current

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/4142Structure of the control system, e.g. common controller or multiprocessor systems, interface to servo, programmable interface controller characterised by the use of a microprocessor
    • 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/34291Programmable interface, pic, plc

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Numerical Control (AREA)
  • Safety Devices In Control Systems (AREA)

Abstract

PURPOSE:To make the program for plural microcomputers same, by setting the same program for each microcomputer and selecting a processing routine among the programs based on the signal which is set from outside. CONSTITUTION:An input port 9-A of a microcomputer of group A is set at a high level, and an input port 9-B of a group B is set at a low level. A CPU1-A reads the signal of the port 9-A and selects the processin routine of the group A and a common processing routine of both groups A and B based on the program stored in an ROM3-A. An A group process and then the A/B group common process are carried out to the data given from a machine tool via an input/ output port 7-A, and this data is fed to the machine tool via the port 7-A. For the microcomputer of the group B, the A group process plus the A/B group common process are carried out to the data fed via an input/output port 7-B. Then the data is fed to the machine tool.

Description

【発明の詳細な説明】 この発明は、工作機械の制御を行なう複数のマイクロコ
ンピュータより構成されるシステムに関し、詳しくは各
々のマイクロコンピュータの処理プログラムを同一とし
た工作機械における制御方法および装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a system comprising a plurality of microcomputers that controls a machine tool, and more particularly to a control method and apparatus for a machine tool in which each microcomputer uses the same processing program.

従来、工作機械においては、各種制御を複数のマイクロ
コンピュータを用いて相互監視等を行なうことによって
、故障や誤動作を防止していた。
Conventionally, in machine tools, failures and malfunctions have been prevented by mutually monitoring various controls using multiple microcomputers.

しかしながら、各々のマイクロコンピュータにおいて、
その入出力ボートやデータメモリ等のアドレスを他のマ
イクロコンピュータと全く同一としても、それぞれのマ
イクロコンピュータにおいて行なわれる処理が少しでも
異なる場合には、他のマイクロコンピュータのプログラ
ムメモリとは異なる処理プログラムを記憶したプログラ
ムメモリを用意する必要があり、管理面でデメリットを
生じ、また大量生産の場合にはコストアップの要因とも
なっていた。
However, in each microcomputer,
Even if the addresses of the input/output board, data memory, etc. are exactly the same as those of other microcomputers, if the processing performed in each microcomputer is even slightly different, the processing program may be different from the program memory of the other microcomputer. It was necessary to prepare a program memory to store the data, which was a disadvantage in terms of management, and also caused an increase in costs in the case of mass production.

この発明は、上記に鑑みてなされたもので、その目的と
するところは工作機械の制御を行なう複数のマイクロコ
ンピュータのプログラムな全く同一−とすることである
。上記■約を達成するためk、工作機械を複数のマイタ
ロコンビニ−#にて制御する装置において、同一のプロ
ダラムが記憶された前記6hのマイタロコンピュータ虻
具備されたプロダラムメモリと、―記プ四ダツム中の@
1ルーチンな選択する信号を入力する前記各々のマイク
ロコンビエータKA備された験定手段とを有する構成と
することを賛旨とする。
The present invention has been made in view of the above, and its purpose is to make the programs of a plurality of microcomputers that control a machine tool completely the same. In order to achieve the above-mentioned clause (1), in a device in which a machine tool is controlled by a plurality of Mitaro convenience stores, a program memory including the aforementioned 6h Mitaro computer in which the same program program is stored; @ in Pudatsumu
The present invention is advantageous in that the micro combinator KA is configured to include testing means provided in each of the micro combinators KA to which a signal for routine selection is input.

以下、図を用いて、との尭−の夷111f’aKついて
@嘴する。
Hereinafter, using the diagram, I will explain about 111f'aK of Tono.

IIIIは、この脅−の実施例な示すもので、工作機械
(II示せず)を制御するマイク費ツンビエーーが2台
の場合を例としてj19.一方をム系、他方を1系とし
ている。l−ム、3−ム、ト4゜γ−ム、9−ムはそれ
ぞれム系のマイクロコンビエータのCPU、プロダラム
を記憶した凰011[(leadσsly M*vm*
rl ) 、データの一時記憶層の凰ムM(シI−・醜
ム@@@@l蓋@ff1lr7)、工作機械との信号の
やりとりを行なう入出力ポート、lIP定手段を構成す
る入力ポートである。一方、ト1゜$−1、1−1、’
1f−1、11−1はそれぞれl系のマイタロコンピュ
ータのCPU、ム系の凰0M3−ムに記憶されたプロダ
ラムと同一のプロダラムを記憶したlom、データの一
時記憶用の虱ム麗、工作機械との省令のやりとりを行な
う入出力ポート、股輩手段な構成する入力ポートである
III shows an example of this threat, and j19. One is the Mu type and the other is the 1 type. l-m, 3-m, tom 4゜γ-m, and 9-m are 凰011 [(leadσsly M*vm*
rl), temporary data storage layer 凰M (shii・ugim@@@@llid@ff1lr7), an input/output port for exchanging signals with the machine tool, an input port that constitutes the lIP setting means. It is. On the other hand, t1゜$-1, 1-1,'
1f-1 and 11-1 are the CPUs of the L-series Mitaro computer, the LOM which stores the same program as that stored in the M-series 凰0M3-M, the ROM for temporary storage of data, and the work. It is an input/output port for exchanging ministerial regulations with machines, and an input port that constitutes a crotch means.

ム系および1系のlOMB−ムおよびト1は、処理内容
および処11KEじた各命令に対して割り轟てられたア
ドレスは金く岡−であり、そのプロダラムは、例えばム
系地層ルーチン、l系処理ルーチン、ム・脇共通処lル
ーチンに大別される。
The address assigned to each instruction in the 11KE of processing contents and 11KE of the 1OMB-1 and 1-1 of the 11KE of the MU system and 1 KE is the address assigned to each instruction, and the program is, for example, a MU system layer routine, They are broadly divided into l-system processing routines and mu/waki common processing l routines.

ム系およびl系の入力ボート9−ムおよびト1は、上[
ROMK記憶された処理ルーチンの選択をするため、上
記入力ポートに対して同一のアドレスを設けておき、例
えばム系の入力ポートを7・イレベル(2)、1系の入
力ポートな目−レベル(IJとする儒奇な印加しCおく
、そして、CPU1−Aおよびト4は該信号な入力する
と4によって、処理すべき処理ル−チンを選択し奥行す
る。
The input ports 9-1 of the system and l system are the upper [
In order to select the processing routine stored in the ROMK, the same address is set for the above input ports. For example, the input port for the system system is set to 7-level (2), and the input port for the system 1 is set to level (2). When the signal IJ is inputted, the CPU 1-A and the CPU 4 select the processing routine to be processed.

な細、この入カポ−)K入力する信号は、1つとは限ら
ず、使用されるマイクロコンビニー−の数に従って入力
する信号の数を増加し、その信号の綴み合わせ等によっ
て、複数の処理ルーチンを選択することができること轢
言5までもない。
In detail, the number of input signals is not limited to one; the number of input signals can be increased according to the number of microconvenience stores used, and multiple signals can be input by combining the signals. There is no need to worry about being able to select a processing routine.

第!■は、前記ム系およびl系のCPU1−ムおよびト
1の処理遥寝であるフローチャートを示す。
No.! (2) shows a flowchart showing the process idleness of the CPU 1 of the M system and the I system.

次に、この発明の作用を第2−と共に説−すると、まず
A系のマイタロコンピュータにおいては、入力ボート9
−ムより印加されている信号が一イレベル(至)である
ので、CPU 1−ムが鋏信号を貌み職ることkよって
、10菖3−ムに記憶されているプロダラムかも、ム系
処瑠ルーチンおよびム・璽共遥処理ルーナンを遥叡する
。そして、工作機械(II示せず)から人出カポ−ドア
−ムを介して入力されたデー−について第**のフ雪−
チヤードに示す如くム系処llを行なった後、ム・扉共
通処瑠な行ない、$11!入出力ポート 7−ムを介し
て上記工作機械kI&層した信号な出力する。
Next, to explain the operation of this invention along with the second part, first, in the A-series miterrocomputer, the input port 9
Since the signal being applied from the CPU 1-2 is at the 1st level, the CPU 1-2 will be able to read the scissors signal. Perform routine routines and routine processing. Then, regarding the data inputted from the machine tool (II not shown) through the personnel support arm,
After doing the Mu-based treatment as shown in the chart, do the Mu-door common procedure, $11! The machine tool kI and layered signals are outputted through the input/output port 7-me.

次に%1系のマイクロコンビエータにおいては、入力ポ
ートド4よ呼印加される信号が一時レベル(転)である
ので、CIFυト1が該信号を読み堆ることkよって、
虱0M3−IK記憶されているプロダラムから%l系処
理ルーチン、ム・l共遥処聰ルーチンを選択する。そし
て、*2■の71−チャートに示す如く、工作機械(I
I示甘せ)から入出カポ−トド1を介して入力されたデ
ータについて、−系処理セ行なった後、ム・鵬共通処理
な行ない、−記入幽カポー) ?−1を介して上記工作
機械ecast、た信号な出力する。
Next, in the %1 series microcombiator, since the signal applied to input port 4 is at a temporary level (transition), CIFυ port 1 reads this signal.
诱0M3-IK Selects the %l system processing routine and the M/l joint processing routine from the stored program programs. Then, as shown in the 71-chart in *2■, the machine tool (I
Regarding the data input through the input/output port 1 (input/output port 1), after performing the system processing, the common processing is performed on the data input/output port 1). -1, the machine tool ecast signal is output.

従って、この実施例によれば、入力ポートからの省令の
41juCよって脆0M1lC記憶されたグログ2ム中
より処lルーチンを選択するので、A基軸よび1系とも
鳳01[(l@ad Qaly M@mory ) K
記憶させるプロダラムを同一とすることができる。
Therefore, according to this embodiment, since the processing routine is selected from among the logs stored in the fragile 0M11C by the ministerial ordinance 41juC from the input port, both the A base axis and the 1 system are @mory ) K
The program modules to be stored can be the same.

さらKJIえて、システムの管層■でメνットがあや、
大量生麿の場合にはコストダウンにもつながる等の脚点
がある。
Furthermore, KJI and the system's pipe layer ■ are met.
In the case of large quantities of Imamaro, there is a point that it leads to cost reduction.

との**は、上記善許請求のIIIIの通りの構成とし
たので、工作機械の制御を行なう複数のマイクロコンピ
ュータのプログラムを同一とすることができる。
**Since the configuration is as in III of the above-mentioned request for permission, it is possible to use the same program for a plurality of microcomputers that control the machine tool.

なお、この発明は、前記実施例のみに限定されるもので
はなく、適宜の変更を加えることによっては、他の実施
態様でも実施し得る。
Note that the present invention is not limited to the above-mentioned embodiments, and may be implemented in other embodiments by making appropriate changes.

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

第1図はこの発明の実施例を示すブロック図、第2図は
この発明の実施例を示すフローチャートである。 (図の主要な部分を表わす符号の説明)3−A、3−B
・・・・・・ROM(Read 0nly Memor
y)9−A、9−B・・・・・・入力ポート特許出願人
 株式会社 アマダ 第1図 第2wi
FIG. 1 is a block diagram showing an embodiment of this invention, and FIG. 2 is a flowchart showing an embodiment of this invention. (Explanation of symbols representing main parts of the figure) 3-A, 3-B
・・・・・・ROM(Read Only Memory
y) 9-A, 9-B... Input port patent applicant Amada Co., Ltd. Figure 1 Figure 2 wi

Claims (2)

【特許請求の範囲】[Claims] (1)工作機械を複数のマイクロコンピュータで制御す
る方法において、各々のマイクロコンピュータの有する
プログラムを同一とし、それぞれのマイクロコンピュー
タにおいて外部より設定された信号に基づいて前記プロ
グラム中の処理ルーテンを選択するようにした事を特徴
とする工作機械における制御方法。
(1) In a method of controlling a machine tool with a plurality of microcomputers, each microcomputer has the same program, and each microcomputer selects a processing routine in the program based on a signal set from the outside. A control method for a machine tool characterized by the following.
(2)工作機械を複数のマイクロコンピュータで制御す
る装置において、岡−のプロダラムメモリされている―
記各々のマイクロコンビエータkA備されたメ4啼と、
鹸記プaダラム申の銀層ルーチンを選択する信号を入力
する前記各々のマイクロコンピュータに具備された設定
手段とを有することを特徴とする工作機械における制御
装置。
(2) Oka's program memory is used in equipment that controls machine tools using multiple microcomputers.
Each of the four micro combinators is equipped with a
1. A control device for a machine tool, comprising: setting means included in each of the microcomputers for inputting a signal for selecting a silver layer routine of a machine tool.
JP10131581A 1981-07-01 1981-07-01 Method and device for control of machine tool Pending JPS584405A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10131581A JPS584405A (en) 1981-07-01 1981-07-01 Method and device for control of machine tool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10131581A JPS584405A (en) 1981-07-01 1981-07-01 Method and device for control of machine tool

Publications (1)

Publication Number Publication Date
JPS584405A true JPS584405A (en) 1983-01-11

Family

ID=14297375

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10131581A Pending JPS584405A (en) 1981-07-01 1981-07-01 Method and device for control of machine tool

Country Status (1)

Country Link
JP (1) JPS584405A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS51122350A (en) * 1975-04-18 1976-10-26 Toshiba Corp Control computer system
JPS52142178A (en) * 1976-03-29 1977-11-26 Olivetti Controllo Numerico Numerical control system for machine tool
JPS5540438B2 (en) * 1974-03-30 1980-10-17

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5540438B2 (en) * 1974-03-30 1980-10-17
JPS51122350A (en) * 1975-04-18 1976-10-26 Toshiba Corp Control computer system
JPS52142178A (en) * 1976-03-29 1977-11-26 Olivetti Controllo Numerico Numerical control system for machine tool

Similar Documents

Publication Publication Date Title
US4394730A (en) Multi-processor system employing job-swapping between different priority processors
US4318174A (en) Multi-processor system employing job-swapping between different priority processors
KR100194850B1 (en) Digital signal processing unit
JPS584405A (en) Method and device for control of machine tool
ATE174700T1 (en) PROCEDURE STATE DESCRIPTOR SYSTEM FOR DIGITAL DATA PROCESSORS
JPS6314241A (en) Memory expansion system
JPS6049464A (en) Inter-processor communication system of multi-processor computer
JPH09305485A (en) Image memory control system
JPS60134323A (en) Coordinate reader
EP0521265A2 (en) Parallel processing system
JPH0616279B2 (en) Virtual information processing system
JPS5955562A (en) Program loading system
JPH0370810B2 (en)
JPS6394303A (en) Arithmetic control system
JPS60140454A (en) Storage section controller
JPS6353660A (en) Control system for virtual storage space
JPS60134322A (en) Coordinate reader
JPS61267833A (en) Instruction set forming system for microcomputer
JPH0199163A (en) Multiprocessor interruption processing system
JPS62168231A (en) Data processor
Crowe et al. Advanced digital processor research at DREA
JPH01169607A (en) Programmable controller
JPS61273653A (en) Electronic computer
JPH02120963A (en) Tss system
JPH0194469A (en) Parallel processing system