JPS5998205A - Control operation system of machine - Google Patents

Control operation system of machine

Info

Publication number
JPS5998205A
JPS5998205A JP20820782A JP20820782A JPS5998205A JP S5998205 A JPS5998205 A JP S5998205A JP 20820782 A JP20820782 A JP 20820782A JP 20820782 A JP20820782 A JP 20820782A JP S5998205 A JPS5998205 A JP S5998205A
Authority
JP
Japan
Prior art keywords
machine
control
sequencer
calculation
signal
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
JP20820782A
Other languages
Japanese (ja)
Inventor
Tatsuya Ikeda
辰弥 池田
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP20820782A priority Critical patent/JPS5998205A/en
Publication of JPS5998205A publication Critical patent/JPS5998205A/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/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0421Multiprocessor system

Abstract

PURPOSE:To simplify each software, to reduce the burden of an operating part and make it possible to use high-class languages by making software of the operating part and that of a machine control part independent of each other. CONSTITUTION:A personal computer 10 reads in a detection signal for the completion of the one-cycle operation from a sequencer 11 through an interface 12 to perform the optimizing operation for the next processing and outputs the result to the sequencer 11 through the interface 12. The sequencer 11 performs the control successively in accordance with this signal and outputs a cycle operation signal to various motors 1 to control a machine body. The sequencer 11 discriminates the completion of the operation by the signal due to an external detector 7 to send a completion signal to the personal computer 10, and the personal computer 10 repeats this operation to control the machine body continuously.

Description

【発明の詳細な説明】 本発明は、コンピュータを用いて機械動作を演算制御す
る機械の制御演算システムに関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a machine control calculation system that uses a computer to calculate and control machine operations.

従来、この種のシステムとして第1図に示すものがあっ
た。図において、(1)は機械各部を作動させるための
モータ、(2)はマイクロプロセッサ、(8)は演算制
御用の命令プログラムを格納するメモリ、(4)はマイ
クロプロセッサ(2)からモータ(1)への命令信号を
振9分けるデコーダ、(5)はモータ(1)を駆動制御
するリレー、(6)はデコーダ(4)により振り分けら
れた命令信号をリレー(5)の励磁信号に変換するリレ
ーインターフェイス、(7)は機械の作動状態を把える
外部検出器で、該外部検出器())による状態検出信号
を、マイクロプロセッサ(2)が一定周期毎にデコーダ
(4)を介して読み取シ、その信号を基にモータ(1)
の制御量を演算し、デコーダ(4)、リレーインターフ
ェイス(6)、リレー(6)を介してモータ(1)を作
動させ、もって、機械本体を制御するようになされてい
る。
Conventionally, there has been a system of this type as shown in FIG. In the figure, (1) is a motor for operating each part of the machine, (2) is a microprocessor, (8) is a memory that stores an instruction program for arithmetic control, and (4) is a motor ( A decoder that distributes the command signal to 1) into 9 parts, (5) is a relay that drives and controls the motor (1), and (6) converts the command signal distributed by the decoder (4) into an excitation signal for the relay (5). The relay interface (7) is an external detector that detects the operating status of the machine, and the microprocessor (2) periodically sends the status detection signal from the external detector () through the decoder (4). The motor (1) is read based on the signal.
The motor (1) is operated via a decoder (4), a relay interface (6), and a relay (6), thereby controlling the machine body.

即ち、マイクロプロセッサ(2)は第2図に示すように
、最初に、外部検出器(γ)による機械の状態検出値を
読み込み、次いで、その検出値を基に、モータ(1)の
動作制御が必要か否か、つまシ、演算を行なうか否かを
判断し、その判断結果が演算不要の場合には、次の周期
の読み込みに備え、他方、判断結果が演算部の場合には
、機械動作を最適にできる最適制御量を演算してその演
算値データを出カバソファに格納し、その後、インター
ラブド信号によυ命令プログラムを分岐して演算値デー
タをモータ(1)に出力させて機械動作の制御を行なう
。なお、この制御動作の間、上述の演算動作は停止して
いる。
That is, as shown in FIG. 2, the microprocessor (2) first reads the machine state detection value by the external detector (γ), and then controls the operation of the motor (1) based on the detected value. It is determined whether the calculation is necessary or not, and if the judgment result is that the calculation is not necessary, it is prepared for reading the next cycle. Calculates the optimum control amount that can optimize machine operation, stores the calculated value data in the output sofa, and then branches the υ instruction program using the interwoven signal to output the calculated value data to the motor (1). Controls machine operation. Note that during this control operation, the above-mentioned calculation operation is stopped.

また第1図の従来システムは、キーボード(8)及び表
示器(9)とを有し、マイクロプロセッサ(2)の各制
御段階及びその演算値等を必要に応じて表示器(9)で
表示できるようになされており、しかも、キーボード(
8)を介してメモリ(8)内の命令プログラムを変更で
きるようになされている。
The conventional system shown in FIG. 1 also has a keyboard (8) and a display (9), and displays each control step of the microprocessor (2) and its calculated values as necessary on the display (9). The keyboard (
8), the instruction program in the memory (8) can be changed.

従来の制御演算システムは以上のように構成され、マイ
クロプロセッサが演算機能の他、制御機能をも担ってい
るため、該制御装置のソフトウェアが複雑とな9、開発
に長い期間を費やし、しかも、演算方法の変更がし難い
という欠点があった。
Conventional control calculation systems are configured as described above, and since the microprocessor is responsible for the control function as well as the calculation function, the software for the control device is complex9 and takes a long time to develop. The disadvantage is that it is difficult to change the calculation method.

また、常に機械動作を監視するため、演算時間のかかる
高級言語の使用は不可能であるという欠点もあった。
Another drawback is that it is impossible to use high-level languages that require a lot of calculation time because machine operations are constantly monitored.

本発明は、斜上の点に鑑み表されたもので、演算部と機
械制御部とを備え、演算部及び機械制御部のンフトウエ
アを互いに独立させることにより、各ソフトウェアの簡
易化を達成でき、演算部負担を減少させて高級言語を使
用し得る制御演算システムの提供を目的とする。
The present invention has been expressed in view of the diagonal point, and includes a calculation section and a machine control section, and by making the software of the calculation section and the machine control section independent from each other, it is possible to simplify each software. An object of the present invention is to provide a control calculation system that can reduce the load on a calculation unit and use a high-level language.

以下、本発明の一実施例を第1図と同一部分には同一符
号を附して示す第6図について説明する。
Hereinafter, an embodiment of the present invention will be described with reference to FIG. 6, in which the same parts as in FIG. 1 are denoted by the same reference numerals.

図において、叫は演算部たるパーソナルコンピュータ(
以下、パソコンと称す)、(111は機械本体の制御を
行なう機械制御部たるシーケンサ、叫は演算結果及び機
械の動作状態情報をパソコンθ0及びシーケンサ(11
J間で授受するためのインターフェイスで、これらパソ
コン叫のソフトウェアとシーケンサ(lDのソフトウェ
アは独立し、それぞれパソコン(10)は最適制御量等
の演算を、シーケンサ01ノは各種モータ(1)の出力
制御を通じての機械本体の制御を行なうようになされて
いる0 即ち、パソコン叫は、例えば、BASIO等の高級言語
を用い、第4図に示すように、シーケンサ以外より1サ
イクル動作完了時における検出信号をインターフェイス
((2)を介して読み込み、次処理の最適化演算を行な
い、その結果をインターフェイス(増を介してシーケン
サ(ロ)に出力する。しかして、シーケンサ11)は、
この信号により逐次制御を行ないサイクル動作信号を各
種モータ(1)に出力して機械本体を制御する。また、
シーケンサ(11)は、外部検出器(7)による信号に
より動作完了を判断してノくソコン叫に完了信号を送9
、該ノくソコン叫は上述の動作を繰り返して行ない、機
械本体を継続して制御する。なお、この制御動作の除、
種々の表示又は実行プログラムの変更が必要な場合には
、ノ(ソコン自体のディスプレイ又はキーボードで行な
うことができる。
In the figure, the shout is a personal computer (the computing part).
(hereinafter referred to as a personal computer), (111 is a sequencer which is a machine control unit that controls the main body of the machine, and a computer θ0 and sequencer (11
This is an interface for sending and receiving data between these PC software and the sequencer (ID software is independent. The PC (10) calculates the optimum control amount, etc., and the sequencer 01 calculates the output of various motors (1). In other words, the PC output is made using a high-level language such as BASIO, and as shown in Fig. 4, the detection signal at the completion of one cycle operation is sent from other than the sequencer. is read through the interface ((2), performs optimization calculations for the next process, and outputs the result to the sequencer (b) through the interface (increase). Therefore, the sequencer 11)
This signal performs sequential control and outputs cycle operation signals to various motors (1) to control the machine body. Also,
The sequencer (11) determines the completion of the operation based on the signal from the external detector (7) and sends a completion signal to the controller 9.
, the thumper repeats the above-mentioned operations and continuously controls the machine body. In addition, excluding this control operation,
If it is necessary to change various displays or execution programs, you can do so using the computer's display or keyboard.

一般には、高級1゛語を使用する場合、演算実行時間が
長くかかるが、本発明においては機械本体のサイクル動
作をシーケンサ(6)によシ制御しているため、制御動
作中にはノくンコ/叫はフリーとなり、その制御動作中
に並行して演算動作を遂行できるので、長大な演算実行
時間をもカッく−することができる。
Generally, when using high-level words, it takes a long time to execute the calculation, but in the present invention, the cycle operation of the machine body is controlled by the sequencer (6), so there is no interruption during the control operation. Since the control operation becomes free and calculation operations can be performed in parallel during the control operation, a long calculation execution time can be reduced.

なお、上記実施例では、シーケンサをサイクル動作とし
ているが、これを各部動作毎の制御にしても良く、また
、シーケンサ以外の制御器を用いて行なっても良く、上
記実施例と同様の効果を奏する0 以上のように、本発明によれば、機械制御部と演算部と
を分離して設け、しかも、各ソフトウェアを独立とした
ので、ソフトウェアが簡略化さ−れ、容易に作成できる
という効果と共に、そのソフトウェアの変更に対して柔
軟に対応することができるという効果を有する。更に、
演算部は機械制御部の動作と無関係に動作し得るので、
演算時間を多く要する高級言語の使用も可能となり、取
扱いが容易になるという効果も有する0
In the above embodiment, the sequencer operates in cycles, but this may be controlled for each operation of each part, or a controller other than the sequencer may be used to achieve the same effect as in the above embodiment. As described above, according to the present invention, the machine control section and the calculation section are provided separately, and each piece of software is made independent, so that the software is simplified and can be easily created. In addition, it has the effect of being able to flexibly respond to changes in the software. Furthermore,
Since the calculation section can operate independently of the operation of the machine control section,
It also allows the use of high-level languages that require a lot of calculation time, and has the effect of making handling easier.

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

第1図は従来の制御演算システムを示すプロツり図、7
g 2図は棺1図システムにかかるソフトウェア構成図
、第5図は本発明の一実施例による制御演算システムを
示すプロッタ図、第4図は第5図システムにかかるソフ
トウェア構成図である。 (1)・・モータ    (7)・・外部検出器(10
)・・演算部(ハーソナルコンピュータ)(]1)・・
W2 ha制御部(シーケンサ)なお、図中、同一符号
は同−又は相当部分を示す0 第2図
Figure 1 is a plot diagram showing a conventional control calculation system.
Figure 2 is a software configuration diagram of the coffin 1 drawing system, Figure 5 is a plotter diagram showing a control calculation system according to an embodiment of the present invention, and Figure 4 is a software configuration diagram of the system. (1)...Motor (7)...External detector (10
)... Arithmetic unit (hersonal computer) (]1)...
W2 ha control unit (sequencer) In the figures, the same reference numerals indicate the same or equivalent parts.

Claims (2)

【特許請求の範囲】[Claims] (1)機械の作動状態検出信号を外部検出器から周期的
に受け、次処理における上記機械の最適状態を演算し、
その演算1Lに基づき上記機械の動作を制御する機械の
制御演算システムにおいて、上記演算を行なう演算部、
及びその演算値に基づき機械動作を制御する機械制御部
とを別個に備え、これら演算部及び機械制御部はン7ト
ウエアが互いに独立することを特徴どする制御装置。
(1) Periodically receives a machine operating state detection signal from an external detector and calculates the optimum state of the machine for the next process,
In a machine control calculation system that controls the operation of the machine based on the calculation 1L, a calculation unit that performs the calculation;
and a machine control section that controls machine operation based on the computed value thereof, and is characterized in that the computing section and the machine control section are independent of each other.
(2)上記演算部としてパーソナルコンピュータを珀い
ると共に、上記機械側m郡としてシーケンサを用い、高
級言語の使用全可能としたことを特徴とする特許請求の
範囲第1項に記載の機械の制御演算システム。
(2) The control of the machine according to claim 1, characterized in that a personal computer is used as the arithmetic unit, a sequencer is used as the m unit on the machine side, and a high-level language can be fully used. calculation system.
JP20820782A 1982-11-26 1982-11-26 Control operation system of machine Pending JPS5998205A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20820782A JPS5998205A (en) 1982-11-26 1982-11-26 Control operation system of machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20820782A JPS5998205A (en) 1982-11-26 1982-11-26 Control operation system of machine

Publications (1)

Publication Number Publication Date
JPS5998205A true JPS5998205A (en) 1984-06-06

Family

ID=16552438

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20820782A Pending JPS5998205A (en) 1982-11-26 1982-11-26 Control operation system of machine

Country Status (1)

Country Link
JP (1) JPS5998205A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6144241A (en) * 1984-08-09 1986-03-03 Kajima Corp Dispersion control type building maintenance device
JPS6154508A (en) * 1984-08-24 1986-03-18 Mitsubishi Electric Corp Numerical controller
JPS6255707A (en) * 1985-09-04 1987-03-11 Mitsubishi Electric Corp Numerical controller
JPH0232405A (en) * 1988-07-22 1990-02-02 Hitachi Ltd Programmable controller
JPH0238603U (en) * 1988-09-02 1990-03-14

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6144241A (en) * 1984-08-09 1986-03-03 Kajima Corp Dispersion control type building maintenance device
JPS6154508A (en) * 1984-08-24 1986-03-18 Mitsubishi Electric Corp Numerical controller
JPS6255707A (en) * 1985-09-04 1987-03-11 Mitsubishi Electric Corp Numerical controller
JPH0232405A (en) * 1988-07-22 1990-02-02 Hitachi Ltd Programmable controller
JPH0238603U (en) * 1988-09-02 1990-03-14

Similar Documents

Publication Publication Date Title
EP0063045A3 (en) Combined mode supervisory program-panel controller method for an industrial process control system
JPH01274202A (en) Loop controller
JPS5998205A (en) Control operation system of machine
JPS59172009A (en) Numerical controller
JPH0457003B2 (en)
US5615104A (en) Monitoring method and apparatus using a programmable logic controller
JPH02310604A (en) Picture data display system
EP0512116A1 (en) Method for executing program for cnc equipment
JP6787951B2 (en) Numerical control device
JP7473653B2 (en) Numerical control device having a function of changing a setting parameter for controlling a controlled object at a predetermined timing and a setting parameter changing method thereof
JPH09230913A (en) Programming tool for programmable controller
JPH02202604A (en) External part extending type programmable controller
JP2510691B2 (en) Arithmetic processing method
JPH02226307A (en) Numerical controller
JPH0150933B2 (en)
JPH0836413A (en) Time management system for cnc
JPH07191718A (en) Operation time monitor system for numerical control system
JPH0546219A (en) Numeric value controller
JPS62154115A (en) Numerical controller
JPS63284604A (en) Programmable controller
JPH01291305A (en) Detecting system for state change of pc
JPS6226534A (en) Controlling method for input request area display
JPH05324001A (en) Backup operation unit for instrumentation control
JPS58172703A (en) Process controller
JPH08272405A (en) Sequence controller