JPS62287302A - Multidimensional program selecting system - Google Patents

Multidimensional program selecting system

Info

Publication number
JPS62287302A
JPS62287302A JP13150986A JP13150986A JPS62287302A JP S62287302 A JPS62287302 A JP S62287302A JP 13150986 A JP13150986 A JP 13150986A JP 13150986 A JP13150986 A JP 13150986A JP S62287302 A JPS62287302 A JP S62287302A
Authority
JP
Japan
Prior art keywords
block
control
selection sequence
signal
selection
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
JP13150986A
Other languages
Japanese (ja)
Inventor
Keizo Tejima
手嶋 敬三
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.)
Fuji Electric Co Ltd
Fuji Facom Corp
Original Assignee
Fuji Electric Co Ltd
Fuji Facom 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 Fuji Electric Co Ltd, Fuji Facom Corp filed Critical Fuji Electric Co Ltd
Priority to JP13150986A priority Critical patent/JPS62287302A/en
Publication of JPS62287302A publication Critical patent/JPS62287302A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To instantaneously change a control program by only changing an input signal, and to improve the operation efficiency be selecting and starting a control program which has been stored in advance, through a selection sequence block which has been constituted multidimensionally. CONSTITUTION:First of all, when an input signal 1A is turned on, a signal is inputted to an output terminal 3A of an output terminal part 3, if an AND condition of a signal processing part 2 is formed, and a table 4A of a block selecting part 4 of the next stage is designated. As a result, a selection sequence block 5 (number S12) is selected as the next stage block, and started. In this way, the selection sequence block is constituted two-dimensionally, and also, if the block number which has been stored in the table 4A is that of the control block, as for the selection sequence black, a prescribed control program is executed one-dimensionally by the control block concerned in accordance with its input. Thereafter, in the same way, when an input signal 1B is turned on, signal is inputted to an input terminal 3B, a table 4B is designated and a selection sequence block 6 (number S7) is selected and started.

Description

【発明の詳細な説明】 3、発明の詳細な説明 (産業上の利用分野) 本発明は、プラン1−における工業用制御装置等に用い
られ、複数の制御プログラムの変更および階層的運用を
容易にした多次元的プログラム選択方式に関する。
Detailed Description of the Invention 3. Detailed Description of the Invention (Field of Industrial Application) The present invention is used in an industrial control device, etc. in Plan 1-, and facilitates the modification and hierarchical operation of multiple control programs. This paper relates to a multidimensional program selection method.

(従来の技術) 近年、プログラマブルコントローラを始めとする工業用
制御装置としては、マイクロコンピュータを応用したも
のが主流となりつつあり、これらの制御装置は、一般に
1種々の制御・処理手順を定めた制御プログラムを予め
記憶しておくス1−アートプログラム方式を採用してい
る。また、この種の制御装置においては、多品種少数生
産等の要請からプラントの操業手順を迅速に変更できる
ように、制御プログラムを容易に変更できる機能が要求
されている。
(Prior Art) In recent years, industrial control devices such as programmable controllers that utilize microcomputers have become mainstream, and these control devices generally have a control system that defines various control and processing procedures. A 1-art program method is adopted in which programs are stored in advance. In addition, this type of control device is required to have the ability to easily change the control program so that the operating procedure of the plant can be quickly changed due to demands such as high-mix, low-volume production.

(発明が解決しようとする問題点) しかるに、従来の制御装置における制御プログラムの変
更は1通常、制御動作を中断してホストマシンや専用の
プログラミングツールからダウンロードする方式である
ため、新たなプロクラ11のローディングに時間がかか
るうえ、プラントの操業を一旦停止する必要から操業効
率が悪くなるという問題があった。
(Problem to be Solved by the Invention) However, changing the control program in a conventional control device is usually done by interrupting the control operation and downloading it from a host machine or a dedicated programming tool. In addition to taking time to load the plant, there was a problem in that the plant's operation efficiency deteriorated due to the need to temporarily stop the plant's operation.

特に、例えば製造品種の変更に応じて製造工程や具体的
な処理等、制御プログラムの階層的運用手順が変更され
る場合には、これらに合致した適確かつ迅速な制御プロ
グラムの変更が要請されている。
In particular, if the hierarchical operating procedures of the control program, such as the manufacturing process or specific processing, are changed in response to a change in the product type, appropriate and prompt changes to the control program that match these changes are required. ing.

本発明は上記の問題点を解決するべく提案されたもので
、その目的とするところは、制御プログラムの変更を入
力信号の変更のみによって瞬時に可能とし、プラントの
操業停止を不要として操業効率を向上させると共に、操
業プラントの階層的運用に適合した制御プログラムの選
択および変更を可能にした多次元的プログラム選択方式
を提供することにある。
The present invention was proposed to solve the above-mentioned problems, and its purpose is to make it possible to instantly change the control program by simply changing the input signal, and to improve operational efficiency by eliminating the need to stop plant operations. It is an object of the present invention to provide a multidimensional program selection method that enables the selection and modification of control programs suitable for the hierarchical operation of an operating plant.

(問題点を解決するための手段) 上記目的を達成するため、本発明は、実行するへき制御
プロクラムが格納された複数の制御ブロックを、直列的
すなわち多次元的に設けられた複数の選択シーケンスブ
ロックのうちの何れかを介して選択することにより、当
該選択された制御ブロックの制御プログラムを実行可能
に構成されている。
(Means for Solving the Problems) In order to achieve the above object, the present invention provides a plurality of selection sequences in which a plurality of control blocks storing a control program to be executed are serially, that is, multidimensionally provided. By selecting one of the blocks, the control program of the selected control block can be executed.

そして、選択シーケンスブロックは、外部からの入力信
号に応じて予め定められた処理手順に従って処理を行な
う信号処理部と、この信号処理部の出力信号に応じて次
に処理するべき選択シーケンスブロックまたは制御ブロ
ックを選択する次段ブロック選択部とを備えていること
を特徴とする。
The selection sequence block includes a signal processing section that performs processing according to a predetermined processing procedure according to an input signal from the outside, and a selection sequence block or control to be processed next according to the output signal of this signal processing section. The present invention is characterized by comprising a next-stage block selection section that selects a block.

(作用) 本発明では、外部からの入力信号により、初段の選択シ
ーケンスブロックの信号処理部および次段ブロック選択
部を介して次に処理するにき選択シーケンスブロックま
たは制御ブロックが選択され、かつ起動される。ここで
、制御ブロックか選択された場合には、当該制御ブロッ
クに格納された制御プログラムが実行される。また、選
択シーケンスブロックが選択された場合には、当該選択
シーケンスブロックにおいて前記同様に入力信号に従っ
て選択処理が行なわれ、次段のブロックが選択され、起
動される。
(Function) In the present invention, the selected sequence block or control block is selected for next processing through the signal processing unit of the first-stage selected sequence block and the next-stage block selection unit by an input signal from the outside, and is activated. be done. Here, if a control block is selected, the control program stored in the control block is executed. Further, when a selected sequence block is selected, selection processing is performed in the selected sequence block according to the input signal in the same manner as described above, and the next stage block is selected and activated.

一方、プラントの操業に必要なすべての制御プログラム
は複数の制御ブロックに予め格納されており、上述の如
く多次元的に構成された選択シーケンスブロックを介し
てこれらの制御ブロックがすへて選択され、起動される
On the other hand, all control programs necessary for plant operation are stored in advance in a plurality of control blocks, and these control blocks are selected through the multidimensionally configured selection sequence block as described above. , is activated.

(実施例) 以下、図に沿って本発明の一実施例を説明する。(Example) An embodiment of the present invention will be described below with reference to the drawings.

第1図は、本発明に用いられる選択シーケンスブロック
1(仮りにその番号を81とする)の基本構成を示すも
のであり、この選択シーケンスブロック1は入力信号を
処理し、その処理結果に基づいて次段の選択シーケンス
ブロックを選択して起動させる機能を有している。
FIG. 1 shows the basic configuration of a selection sequence block 1 (assuming its number is 81) used in the present invention. This selection sequence block 1 processes an input signal, and based on the processing result, It has a function of selecting and activating the next selection sequence block.

図において、2は信号処理部であり、その内部には外部
からの入力信号IA〜IFに応じて定められた処理手順
が予め格納されている。これらの処理手順はハードウェ
アまたはラフ1−ウェアによって実現可能であり、例え
ば、ハードウェア的にアン1−ゲー1−の組合せにより
、あるいはソフトウェア的にアンド命令の組合せによっ
て構成されている。この信号処理部2の出力信号はrO
Jまたは「1」の2値信号にて得られ、かかる出力信号
は次段の出力端子部3に送られる。
In the figure, 2 is a signal processing section, in which a processing procedure determined according to external input signals IA to IF is stored in advance. These processing procedures can be realized by hardware or rough 1-ware, and are configured, for example, by a combination of ``Un1'' and ``game 1'' in hardware, or by a combination of AND instructions in software. The output signal of this signal processing section 2 is rO
A binary signal of J or "1" is obtained, and this output signal is sent to the output terminal section 3 of the next stage.

出力端子部3は、信号処理部2の各出力信号に対応する
出力端子3A〜3Fを有し、その次段にはこれらの出力
端子3A〜3Fに対応する次段ブロック選択部4が設け
られている。次段ブロック選択部4は、出力端子3A〜
3Fに対応するブロック番号テーブル4A〜4Fを備え
、これらのテーブル4A〜4Fには、この選択シーケン
スブロック1の次段のブロックとして選択されるへき選
択シーケンスブロックまたは制御ブロックの番号(例え
ば812.S7.P5.P4.S8.S2)が格納され
ている。
The output terminal section 3 has output terminals 3A to 3F corresponding to each output signal of the signal processing section 2, and a next stage block selection section 4 corresponding to these output terminals 3A to 3F is provided at the next stage. ing. The next stage block selection section 4 has output terminals 3A to 3A.
3F, and these tables 4A to 4F contain the number of the next selection sequence block or control block (for example, 812.S7) that is selected as the next block of this selection sequence block 1. .P5.P4.S8.S2) are stored.

ここで、図示する如くブロック番号S12は選択シーケ
ンスブロック5を、またS7は選択シーケンスブロック
6をそれぞれ指すものとする。なお、図示されていない
が、他の番号P5.r’4,38゜S2についてもそれ
ぞれ対応する制御ブロックまたは選択シーケンスブロッ
クが用意されているものである。ここにおいて、制御ブ
ロックにはプラン1−の制御プログラムが格納されてお
り、起動命令によってこの制御プログラムを実行するよ
うになっている。
Here, as shown in the figure, block number S12 refers to selected sequence block 5, and block number S7 refers to selected sequence block 6. Although not shown, other numbers P5. Corresponding control blocks or selection sequence blocks are also prepared for r'4 and 38°S2. Here, a control program of plan 1- is stored in the control block, and this control program is executed by a start command.

次に、この動作を説明する。まず、入力信号IAのON
により、信号処理部2のアン、ド条件が整えば出力端子
部3の出力端子3Aに信号が入力され、次段ブロック選
択部4のテーブル4Aが指定される。この結果1次段ブ
ロックとして選択シーケンスブロック5(番号512)
が選択され、起動される。これにより1選択シーケンス
ブロックが2次元的に構成され、またテーブル4Aに格
納されたブロック番号が制御ブロックのものであれば、
選択シーケンスブロックは1次元的でその出力に従って
該当する制御ブロックにより所定の制御ブ凸グラムが実
行されることとなる。
Next, this operation will be explained. First, turn on the input signal IA.
As a result, when the UN and DO conditions of the signal processing section 2 are established, a signal is input to the output terminal 3A of the output terminal section 3, and the table 4A of the next stage block selection section 4 is designated. As a result, sequence block 5 (number 512) is selected as the first stage block.
is selected and activated. As a result, the 1-selection sequence block is configured two-dimensionally, and if the block number stored in table 4A is that of the control block,
The selection sequence block is one-dimensional, and a predetermined control convex gram is executed by the corresponding control block according to its output.

以下、同様にして入力信号IBのONにより出力端子3
Bに信号が入力され、テーブル4Bが指定されて選択シ
ーケンスブロック6(番号87)が選択・起動される。
Thereafter, in the same way, by turning on the input signal IB, the output terminal 3
A signal is input to B, the table 4B is designated, and the selection sequence block 6 (number 87) is selected and activated.

次に、本発明の応用例を第2図を参照しつつ説明する。Next, an application example of the present invention will be explained with reference to FIG.

この第2図においては、プラン1−の運転仕様を次のよ
うに仮定した。
In FIG. 2, the operating specifications of Plan 1- are assumed as follows.

「あるプラントにおいて1品種Aと品種Bとを作成する
。品種Aは工程S2. S3から製造され、品種Bは工
程S3.S4から製造され、更に、工程S2は処理PL
、P2からなり、工程S3は処理PL、P3からなり、
また工程S4は処理P2.P3からなっている。そして
、各工程82〜S4は、それぞれ入力信号2A〜2Cの
処理結果に従って機能する。」 しかして、第2図において1.7,8.9は選択シーケ
ンスブロックであり、それぞれ入力信号IA〜IC,2
A、2B、2Cに基づいて次段のブロックを選択・起動
する。この場合、初段の選択シーケンスブロック1に対
して、選択シーケンスブロック7.8.9は2次元的に
配置されている。10〜12は制御ブロックを示すもの
で、これらの内部にはプラントの制御プログラムが格納
されており、起動されるとそれぞれ処理P1〜P3を実
行するようになっている。なお1選択シーケンスブロッ
ク1の入力信号は、IAが「プラント運転信号」、IB
が「品種A選択信号」、ICが「品種B選択信号」にそ
れぞれ割り当てられている。
"In a certain plant, one variety A and one variety B are created. Variety A is manufactured from process S2.S3, variety B is manufactured from process S3.S4, and process S2 is manufactured from process PL.
, P2, and step S3 consists of processing PL, P3,
Further, step S4 is the process P2. It consists of P3. Each of the steps 82 to S4 functions according to the processing results of the input signals 2A to 2C, respectively. ” In FIG. 2, 1.7 and 8.9 are selection sequence blocks, which receive input signals IA to IC and 2, respectively.
The next block is selected and activated based on A, 2B, and 2C. In this case, selection sequence blocks 7.8.9 are two-dimensionally arranged with respect to selection sequence block 1 in the first stage. Reference numerals 10 to 12 indicate control blocks, in which a plant control program is stored, and when activated, processes P1 to P3 are executed, respectively. Note that the input signals of 1 selection sequence block 1 are: IA is the "plant operation signal" and IB is the "plant operation signal".
is assigned to the "product type A selection signal", and IC is assigned to the "product type B selection signal".

以上のような構成において、入力信号IA、IBがON
すると1選択シーケンスブロック1内の信号処理部2の
選択シーケンスにより、出力端子部3および次段ブロッ
ク選択部4を介して選択シーケンスブロック7.8が選
択される。これらの選択シーケンスブロック7.8では
、外部入力信号2A、2Bによって選択シーケンスが実
行され。
In the above configuration, input signals IA and IB are ON.
Then, according to the selection sequence of the signal processing section 2 in the 1 selection sequence block 1, the selection sequence block 7.8 is selected via the output terminal section 3 and the next stage block selection section 4. In these selection sequence blocks 7.8, a selection sequence is executed by external input signals 2A, 2B.

それぞれ次段の制御ブロック10.11および制御ブロ
ック10.12を選択してこれらを起動させる。
Next-stage control blocks 10.11 and 10.12 are selected and activated.

すなわち、入力信号LA、IBのONにより、「プラン
トの運転開始」、「品種Aの選択」。
That is, by turning on the input signals LA and IB, "plant operation starts" and "product type A is selected".

[工程S2.S3の選択」、「工程S2を処理P1、P
2により実行」、「工程S3を処理PL。
[Step S2. "Select S3", "Process step S2 P1, P
2", "Process step S3 PL.

P3により実行」という一連の処理内容が直ちに決定さ
れ、これに」ルづいて品種Aの製造が行なわれることと
なる。その後、製造品目を品種Bに切り替えるには、入
力信号IAをONにしたままで入力信号IBをOFFに
し、かつ入力信号ICを  ONするだけでマく、これ
によって選択シーケンスブロック7.9が選択され、各
工程S2.S4にそれぞれ必要な処理PL、P2および
1)2.P3が制御ブロック10.11および11.1
2の選択により実行されて品種Bの製造が開始されるも
のである。
A series of processing contents "executed by P3" is immediately determined, and type A is manufactured based on this. After that, in order to switch the manufactured item to type B, all you have to do is keep input signal IA on, turn input signal IB off, and turn on input signal IC, which causes selection sequence block 7.9 to be selected. and each step S2. Processing PL, P2 and 1) required for S4, respectively.2. P3 is control block 10.11 and 11.1
2 is executed and manufacturing of type B is started.

なお、この実施例では選択シーケンスブロック1.7〜
9を2次元的に構成しであるが、これらをプラン1−の
規模等、必要に応じて3次元以」二に変更することも勿
論可能である。
Note that in this embodiment, selection sequence blocks 1.7 to
Although Plan 9 is constructed in two dimensions, it is of course possible to change these to three dimensions or more as necessary, such as the scale of Plan 1-.

(発明の効果) 以上詳述したように本発明によれば、多次元的に構成さ
れた選択シーケンスブロックを介して予め格納された制
御プログラムを選択し、起動させるものであるから、実
行する制御プログラムを入力信号の変更のみ゛によって
簡単に変更することができ、しかも変更に必要な時間は
実質的に入力信号の変更に要する時間のみであるため、
瞬時のプログラム変更が可能になる。
(Effects of the Invention) As described in detail above, according to the present invention, a pre-stored control program is selected and activated via a multidimensionally configured selection sequence block. The program can be easily changed simply by changing the input signal, and the time required for the change is essentially only the time required to change the input signal.
Instant program changes are possible.

従って、プラントの操業を停止する必要がなく。Therefore, there is no need to stop plant operations.

操業効率の飛躍的な向上を図ることができる。It is possible to dramatically improve operational efficiency.

更に、製造品種の変更等に応じて製造工程や具・ 体的
な処理等、制御プログラムの階層的運用手順が変更され
る場合にも、これらに適合した制御プログラムへの変更
を迅速に行なうことができる。
Furthermore, even if the hierarchical operating procedures of the control program, such as the manufacturing process or specific processing, are changed due to changes in the product type, etc., the control program must be quickly changed to comply with these changes. Can be done.

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

図は本発明の一実施例を示すもので、第1図は選択シー
ケンスブロックの基本構成を示す図、第2図は本発明の
応用例を示すブロック図である。 1.5〜9・・・選択シーケンスブロック2・・・信号
処理部     3・・・出力端子部4・・・次段ブロ
ック選択部 10〜12・・・制御ブロック
The figures show one embodiment of the present invention, with FIG. 1 being a diagram showing the basic configuration of a selection sequence block, and FIG. 2 being a block diagram showing an example of application of the invention. 1.5-9... Selection sequence block 2... Signal processing section 3... Output terminal section 4... Next-stage block selection section 10-12... Control block

Claims (1)

【特許請求の範囲】[Claims] 実行するべき制御プログラムが格納された複数の制御ブ
ロックを、直列的に設けられた複数の選択シーケンスブ
ロックのうちの何れかを介して選択して前記制御プログ
ラムを実行可能に構成すると共に、前記選択シーケンス
ブロックは、外部からの入力信号に応じて予め定められ
た処理手順に従って処理を行なう信号処理部と、この信
号処理部の出力信号に応じて次に処理するべき選択シー
ケンスブロックまたは制御ブロックを選択する次段ブロ
ック選択部とを備えてなることを特徴とする多次元的プ
ログラム選択方式。
A plurality of control blocks in which a control program to be executed is stored is selected via any one of a plurality of selection sequence blocks provided in series, and the control program is configured to be executable. The sequence block includes a signal processing section that performs processing according to a predetermined processing procedure according to an input signal from the outside, and a selection sequence block or control block to be processed next according to the output signal of this signal processing section. A multidimensional program selection method characterized by comprising a next stage block selection section.
JP13150986A 1986-06-06 1986-06-06 Multidimensional program selecting system Pending JPS62287302A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13150986A JPS62287302A (en) 1986-06-06 1986-06-06 Multidimensional program selecting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13150986A JPS62287302A (en) 1986-06-06 1986-06-06 Multidimensional program selecting system

Publications (1)

Publication Number Publication Date
JPS62287302A true JPS62287302A (en) 1987-12-14

Family

ID=15059696

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13150986A Pending JPS62287302A (en) 1986-06-06 1986-06-06 Multidimensional program selecting system

Country Status (1)

Country Link
JP (1) JPS62287302A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0233602A (en) * 1988-07-22 1990-02-02 Yaskawa Electric Mfg Co Ltd Program producing device for transport system
WO1991003008A1 (en) * 1989-08-25 1991-03-07 Fanuc Ltd System for controlling program of pc

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0233602A (en) * 1988-07-22 1990-02-02 Yaskawa Electric Mfg Co Ltd Program producing device for transport system
WO1991003008A1 (en) * 1989-08-25 1991-03-07 Fanuc Ltd System for controlling program of pc

Similar Documents

Publication Publication Date Title
CA1077151A (en) Plural-sequence control system
JPH03244003A (en) Partial executing method for programmable controller and sequence program
JPS62287302A (en) Multidimensional program selecting system
JPS62281005A (en) Programming system for programmable controller
JPS6379120A (en) Quick start-up system
JPH04188356A (en) Menu control system
JPS6040047B2 (en) Key input method
JP2921228B2 (en) Programmable controller
JPH036527B2 (en)
JPH0731527B2 (en) Programmable controller
JPH0540615A (en) Input processing setting device using input operation table
JPH0751610Y2 (en) Programmable controller with override function
JPH04342056A (en) Microprogram controller
JP3251311B2 (en) Sorting method for data representing numerical values
JPH01297728A (en) Microprogram start address generating system
JPS63146104A (en) Program editing device
JPH01261708A (en) Decoding processing system for programmable controller
JPH03157706A (en) Device and method for selecting and outputting program of nc device
JPH01232431A (en) Parameter control system
JPS60173609A (en) Service code teaching system in robot
JPH0638229B2 (en) System configuration method
JPH06175945A (en) Communication controller
JPH02177674A (en) Treatment of program extension
JPS6077284A (en) Input device of graphic
JPS63251830A (en) Data input method