JPS59168509A - Executing system of sequence control program - Google Patents

Executing system of sequence control program

Info

Publication number
JPS59168509A
JPS59168509A JP58042392A JP4239283A JPS59168509A JP S59168509 A JPS59168509 A JP S59168509A JP 58042392 A JP58042392 A JP 58042392A JP 4239283 A JP4239283 A JP 4239283A JP S59168509 A JPS59168509 A JP S59168509A
Authority
JP
Japan
Prior art keywords
program
control program
sequence control
input
command
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
JP58042392A
Other languages
Japanese (ja)
Inventor
Yoshie Matsuzaki
松崎 吉衛
Seiji Hata
清治 秦
Kazuyoshi Osako
尾「さこ」 一義
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 Ltd
Original Assignee
Hitachi 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 Ltd filed Critical Hitachi Ltd
Priority to JP58042392A priority Critical patent/JPS59168509A/en
Publication of JPS59168509A publication Critical patent/JPS59168509A/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/10Programme control other than numerical control, i.e. in sequence controllers or logic controllers using selector switches

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Testing And Monitoring For Control Systems (AREA)
  • Programmable Controllers (AREA)

Abstract

PURPOSE:To produce easily a sequence control program by interpreting the command of a process advance type program to store the command after dividing it into a part related to the process flow and a part related to the process processing and displaying these two parts alternately. CONSTITUTION:The command of a sequence control program is converted into an internal style by a command interpreting part 1 and then divided and stored into a memory 5 which holds the process flow graphic data and a memory 6 which holds an executing object program. At the same time, these divided command are delivered to a process flow graphic display buffer memory 2 and a process display memory 3 for display 4. An operation command given from an input part 11 is stored in an operation mode table 9 via an interpreting part 7, and an executing part 8 executes a program based on the contents of the table 9. The process numbers under execution are put on the source programs restored by the memories 5 and 6 and delivered to the memories 2 and 3 via a register 10.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明(は、製造工程中の装置などにズ寸して制御を行
うだめのプログラマブルコントローラにおいて、そのプ
ログラム作成を簡易化するとともに、制御対象装置の状
態認識を容易化するだめのシーダンス制御プログラム実
行方式に関するものでおる。
[Detailed Description of the Invention] [Field of Application of the Invention] The present invention is directed to a programmable controller that is used to closely control devices in the manufacturing process. This invention relates to a method for executing a seedance control program that facilitates recognition of the state of the system.

〔従来技術〕[Prior art]

プログラマブルコントローラは、そのプログラム作成、
取扱いの容易さが強く求められておシ、従来から種々の
試みがなされている。
Programmable controllers are capable of creating programs,
There is a strong demand for ease of handling, and various attempts have been made in the past.

その−例として、プログラミングコンソール上にリレー
回路図を作成することによp、プログラム作成が可能で
あるとともに、そのリレー回路図上に接点入力の状態を
表示しうるものプある。
For example, it is possible to create a program by creating a relay circuit diagram on a programming console, and the status of contact inputs can be displayed on the relay circuit diagram.

このようなものは、条件制御的プログラムに対しては好
適であるが、リレー回路図が本質的には組合せ論理を表
現するものでちるので、制御動作が順次に進行する。工
程歩進形プログラムを作成するには、制御の進行状態を
保持するだめの内部レジスタを使用しなければならず、
高度なプログラミング技術が要求される。なお、リレー
回路図上テ(D 状0 表示では、シーケンスの工程進
行状態を把握することができない。
Such a system is suitable for a conditional control program, but since the relay circuit diagram essentially represents combinatorial logic, the control operations proceed sequentially. To create a step-by-step program, you must use internal registers to hold the progress state of the control.
Advanced programming skills are required. Note that it is not possible to grasp the process progress state of the sequence when the relay circuit diagram is displayed as 0.

その他の列として、ある工程から次の工程へ進行するだ
めの条件と、その工程での処理プログラムとを交互に入
力するというものがちる。
Other columns include alternate input of conditions for proceeding from one process to the next and a processing program for that process.

これは、工程歩進的制御のうち工程流れが最後まで1本
のものを記述するのは容易であるが、1つの工程流れの
途中から複数の工程に分岐し、それらが再び1つに合流
するというような複雑々工程流れの制御を記述するのは
困難である。
It is easy to describe a process stepwise control with a single process flow until the end, but one process flow branches into multiple processes in the middle, and these processes merge again into one process flow. It is difficult to describe the control of such a complex process flow.

一般に、複雑な工程流れを表現するには、2次元ディス
プレイ上に、工程流れを示す図と、工程間の遷移条件と
、工程での処理とを表示するのが好適である。そのため
には、工程の流れ方向たけでなく、それに垂直な方向に
も広い画面またはスフ−ロール機能を有するディスプレ
イを必要とする。
Generally, in order to express a complex process flow, it is suitable to display a diagram showing the process flow, transition conditions between processes, and processing in the process on a two-dimensional display. For this purpose, a display having a wide screen or scroll function is required not only in the direction of the process flow but also in the direction perpendicular to the process flow direction.

このようなディスプレイは、一般のプログラマブルコン
トローラに比べて相当に高価でロシ、特に工程流れ図形
式でプログラム入力が可能な簡易なプログラマブルコン
トローラに対して適用するのは現実的でない。
Such a display is considerably more expensive than a general programmable controller, and is therefore impractical to apply, especially to a simple programmable controller that allows program input in the form of a process flow chart.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、上記した従来技術の欠点をなりシ、複
雑な工程歩進形プログラムを容易に作成しうるとともに
、工程の進行状態を容易に認識しうるシーケンス制御プ
ログラム実行方式を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a sequence control program execution method that overcomes the above-mentioned drawbacks of the prior art, allows the creation of complex step-by-step programs, and allows the progress state of the process to be easily recognized. It is in.

〔発明の概要〕[Summary of the invention]

本発明のシーケンス制御プログラム実行方式の第1の発
明の構成は、シーケンス制御プログラムの入力・解釈・
記憶をして、その演算処理を行い、その結果と与えられ
た運転コマンド内容とに応じ、制御対象装置の運転制御
を行う機能を有するプログラマブルコントローラにおい
て、入力された工程歩進形プログラムのコマンド解釈を
17だ後、それを工程流れに関する部分と工程処理に関
する部分とに分割して記憶しておくことによシ、工程流
れ図および工程処理内容を、それぞれ、ディスプレイ画
面を交互に切シ替えて、または同画面を分割して同時に
表示させるようにしたものである。
The structure of the first invention of the sequence control program execution method of the present invention is to input, interpret, and execute the sequence control program.
In a programmable controller that has the function of storing data, performing arithmetic processing, and controlling the operation of the controlled device according to the results and the contents of the given operation command, the programmable controller interprets the commands of the input process step program. After 17 minutes, it is divided into a part related to the process flow and a part related to the process processing and stored, and the process flow chart and the process processing contents are alternately switched on the display screen, respectively. Alternatively, the same screen may be divided and displayed simultaneously.

なお、上記プログラムに係る各工程に番号を付しておき
、同プログラムの編集または実行場所を上記番号で指定
させうるようにしたものである。
Note that each step related to the program is numbered, and the location where the program is edited or executed can be specified using the number.

また、入力された全プログラムについて工程流れ図形状
データと実行オブジェクトプログラムとを区分して保持
・記憶しておき、ディスプレイ画面に表示すべき工程流
れ図を上記工程流れ図形状データから生成させるように
したものである。
In addition, the process flowchart shape data and the execution object program are separately held and stored for all input programs, and the process flowchart to be displayed on the display screen is generated from the process flowchart shape data. be.

次に、同様に第2の発明の構成は、シーケンス制御プロ
グラムの入力・解釈・記憶をして、その演算処理を行い
、その結果と与えられた運転コマンドの内容とに応じ、
制御対象装置の運転制御を行う機能を有するプログラマ
ブルコントローラにおいて、入力された工程歩進形プロ
グラムのコマンド、解釈をした後、その実行オブジェク
トプログラムの部分を他と分離して保持・記・意してお
き、連続運転の実行オブジェクトプログラムを工程要素
ごとに解釈・実行することにより、与えられた運転コマ
ンドに応じて上記連続運転の実行オブジェクトプログラ
ムを部分的に処理させうるようにしたものである。
Next, similarly, the configuration of the second invention inputs, interprets, and stores a sequence control program, performs arithmetic processing, and according to the result and the content of the given operation command,
In a programmable controller that has the function of controlling the operation of a controlled device, after commands and interpretation of the input process step program are performed, the part of the execution object program is kept, recorded, and recorded separately from other parts. By interpreting and executing the continuous operation execution object program for each process element, the continuous operation execution object program can be partially processed in response to a given operation command.

なお、各運転コマンドに対応する入力ポートを設、け、
これに接続さnた各対応スイッチの指定によって運転コ
マンドを入力させうるようにし、またはキーボードから
直接に運転コマンドを入力させうるようにしたものであ
る。
In addition, provide input ports corresponding to each operation command.
Operation commands can be input by specifying corresponding switches connected thereto, or operation commands can be input directly from the keyboard.

また、上記のいずれの運転コマンドの入力方法によるか
の指定を行い、その指定に応じて運転コマンドの入力・
解釈の切替えを行わせるようにしたものである。
In addition, specify which of the above operation command input methods will be used, and input/input operation commands according to the specification.
This allows the interpretation to be switched.

更に、同様に第3の発明の構成は、シーケンスプログラ
ムの入力・解釈・記憶をして、その演算処理を行い、そ
の結果と与えられた運転コマンドの内容とに応じ、制御
対象装置の運転制御を行う機能を有するプログラマブル
コントローラにおいて、プログラム実行中の工程要素が
工程内処理を行うべきものか、または工程間の移行条件
の判定を行うへきものかを識別することにより、これを
ティスプレィ画面上で工程流れ図に表示させうる工うに
したものである。
Furthermore, similarly, the configuration of the third invention inputs, interprets, and stores a sequence program, performs arithmetic processing, and controls the operation of the controlled device according to the results and the contents of the given operation command. In a programmable controller that has the function of It is designed to be displayed on process flow diagrams.

なお、プログラム実行状態が工程間遷移条件の成立待ち
となっているときは、その遷移条件の状態をも表示させ
うるようにしたものである。
Note that when the program execution state is waiting for the inter-process transition condition to be met, the state of the transition condition can also be displayed.

また、プログラム実行中の工程がディスプレイ画面上に
表示した工程流れ図の範囲から外れたときは、その表示
範囲を変えさせるようにしたものである。
Furthermore, when the process being executed by the program deviates from the range of the process flowchart displayed on the display screen, the display range is changed.

最後に、上述した第1〜第3の発明のいずれにおいても
、工程間遷移の制限時間を設定しておき、前工程の処理
を終了してからの経過時間が上記制限時間を超えたとき
は、その旨の警報表示を行うようにすることができる。
Finally, in any of the above-mentioned first to third inventions, a time limit for transition between processes is set, and when the elapsed time after finishing the processing of the previous process exceeds the above-mentioned time limit, , a warning to that effect may be displayed.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の実施例を図に基づいて説明する。 Embodiments of the present invention will be described below with reference to the drawings.

まず、上述の各発明の共通的、総括的な事項について説
明する。
First, common and comprehensive matters of each of the above-mentioned inventions will be explained.

第1図は、本発明に係る各7一ケンス訊]倒プログラム
実行方式が適用されるプログラマブルコントローラの一
実施例のブロック図である。
FIG. 1 is a block diagram of an embodiment of a programmable controller to which a program execution method in 71 units according to the present invention is applied.

ここで、1はプログラムコマンド解釈部、2は工程流れ
図表示用バッファメモリ、3は工程処理用 表示へバッファメモリ、4はディスプレイ、5は工程流
れ図形状データ保持メモリ、6は実行オブジェクトプロ
グラム保持メモリ、7は運転コマンド解釈部、8は実行
部、9は運転モードテーブル、10は実行工程レンスタ
、11は運転コマンド入力部、12は入力方法指定部、
13は実行モニタ、14は制限時間テーブル、15は経
過値レジスタである。
Here, 1 is a program command interpretation unit, 2 is a buffer memory for process flow chart display, 3 is a buffer memory for process processing display, 4 is a display, 5 is a process flow chart shape data holding memory, 6 is an execution object program holding memory, 7 is an operation command interpretation section, 8 is an execution section, 9 is an operation mode table, 10 is an execution process lister, 11 is an operation command input section, 12 is an input method specification section,
13 is an execution monitor, 14 is a time limit table, and 15 is an elapsed value register.

シーケンス制御プログラム(以下、単にプログラムとい
う。)のコマンドは、プログラムコマンド解釈部1で内
部形式に変換され、その全プログラム分について工程流
れ図形状データ保持メモリ5、実行オブジェクトプログ
ラム保持メモリ6(以下、それぞれ単に保持メモリ5,
6という。)に分割して格納される。
Commands of a sequence control program (hereinafter simply referred to as a program) are converted into an internal format by a program command interpreter 1, and the entire program is stored in a process flow chart shape data holding memory 5 and an execution object program holding memory 6 (hereinafter, respectively). Simply holding memory 5,
It's called 6. ) and are stored separately.

このプログラムコマンドは、工程流れ図形式の2次元図
形であるので、その図形形状を保持するのが保持メモリ
5であり、実行内容を保持するのが保持メモリ6である
Since this program command is a two-dimensional figure in the form of a process flowchart, the holding memory 5 holds the figure shape, and the holding memory 6 holds the execution contents.

ぼた、プログラムコマンド解釈部1は、キーボード等か
らのプログラムコマンドの入力と同時に、ナイスプレイ
4の画面に表示するために、図形形状を工程流れ図表用
バックアメモリ(以下、単にバッファメモリ2という。
The program command interpreter 1 stores graphical shapes in a process flow chart backup memory (hereinafter simply referred to as buffer memory 2) in order to display them on the screen of the Nice Play 4 simultaneously with the input of program commands from a keyboard or the like.

)へ、各工程での処理”を示す文を工程処理表示用バッ
ファメモリ3(以下、単にバッファメモリ3という。)
へ画面表示に対応して出力する。両バッファメモリ2,
3の内容ば、ビデオ信号形式でディスプレイ4に出力さ
れる。
), the sentence indicating "processing in each process" is transferred to the process processing display buffer memory 3 (hereinafter simply referred to as buffer memory 3).
output according to the screen display. Both buffer memory 2,
The contents of 3 are output to the display 4 in a video signal format.

実行オブジェクトプログラムは、実行部8で解釈・実行
されるが、その実行方法は、運転コマンドで指定される
The execution object program is interpreted and executed by the execution unit 8, and the execution method is specified by the operation command.

運転コマンドは、運転コマンド入力部11から入力され
、運転コマンド解釈部7で解釈された後、Jkモートテ
ーブル9に格納される。
The driving command is input from the driving command input section 11, interpreted by the driving command interpreting section 7, and then stored in the Jk mote table 9.

実行部8は、運転モードテーブル9の内容に従ってプロ
グラムの実行をし、制惰対象装置について、プコてス状
山を読み取るとともに、運転制御信号を送出するように
する。また、実行状態の表示のため、実行中の工種番号
を実行工程レジスタ10に保持しておくようにする。
The execution unit 8 executes the program according to the contents of the operation mode table 9, reads the pressure peak of the target device for braking, and sends out an operation control signal. Further, in order to display the execution status, the number of the type of work being executed is held in the execution process register 10.

実行モニタ13ば、この実行工程番号を保持メモリ5,
6に格納されている内部形式から復元したノースプログ
ラムに重ねてバッファメモリ2゜3へ出力する。
The execution monitor 13 holds this execution process number and stores it in the memory 5.
The North program is superimposed on the North program restored from the internal format stored in 6 and output to buffer memory 2.3.

また、他の実行状態監視機能として、工程から工程への
(工程間の)遷移時間を監視するため、各工程間遷移時
間の所定値を制限時間テーブルに保持させておき、工程
遷移条件の成立待ち経過値を保持する経過値レジスタ1
5の内容と比較し、経過値が制限時間を超えたときは、
警報メツセージをバッファメモリ2,3に出力させるべ
き処理を実行部8が行うようにしている。
In addition, as another execution state monitoring function, in order to monitor the transition time from process to process (between processes), a predetermined value of each process transition time is held in a time limit table, and when the process transition condition is met. Elapsed value register 1 that holds the wait elapsed value
Compare with the contents of 5 and if the elapsed value exceeds the time limit,
The execution unit 8 performs processing to output the alarm message to the buffer memories 2 and 3.

以下、第1〜第3の各発明の実施例について説明する。Examples of each of the first to third inventions will be described below.

最初に、第2図は、第1の発明のシーケンス制御プログ
ラム実行方式に係るプログラマブルコントローラのプロ
グラミングコンソールのキーボードの説明図、第3図は
、同じくプログラム入力の手順図、第4図は、同じくプ
ログラム表示画面の説明図である。
First, FIG. 2 is an explanatory diagram of the keyboard of the programming console of the programmable controller according to the sequence control program execution method of the first invention, FIG. 3 is a program input procedure diagram, and FIG. It is an explanatory diagram of a display screen.

まず、プログラミングコンソールのキーボードは、第2
図(a)に示すように、工程流れ表示キーP Kと、工
程での処理内容を文形式で表わすだめの通常の英数記号
キーCKとで構成されている。
First, the keyboard of the programming console is the second one.
As shown in Figure (a), it is composed of a process flow display key PK and ordinary alphanumeric symbol keys CK that are used to express the process contents in a sentence format.

第2図(b)は、工程流れ表示キーPKの表示内容の一
例である。
FIG. 2(b) is an example of the display contents of the process flow display key PK.

第3図は、これらのキーを使用して工程歩進形プログラ
ムを入力する手順を示したもので、例えば図の各ステッ
プ1,2.3のように、まず工程流れを指定し、次いで
尚該工程での処理または工程移行の条件を入力する。
Figure 3 shows the procedure for inputting a step-by-step program using these keys. For example, as in steps 1 and 2.3 in the figure, first specify the process flow, and then Input the conditions for the process or process transition.

入力されたプログラムは、分割してプログラミ・/グコ
ンソールのディスプレイに表示されるが、そのためにプ
ログラムコマンド解釈部1は、入力されたプログラムコ
マンドが工程流れを示すものか工程での処理を示すもの
かを判定し、前者ならばバッファメモリ2に出力し、後
者ならばバックアメモリ3に出力する。
The input program is divided into parts and displayed on the display of the programming console. For this purpose, the program command interpreter 1 determines whether the input program commands indicate the process flow or the processing in the process. If it is the former, it is output to the buffer memory 2, and if it is the latter, it is output to the backup memory 3.

ここで、プログラミングコンソールのディスプレイ4(
徒、画素単位でバッファメモリ2,3が対応しておシ、
その筐まバッファメモリ2,3の内容がビデオ信号で伝
達されて表示されるようになっている。
Here, display 4 of the programming console (
Therefore, the buffer memories 2 and 3 correspond to each pixel.
The contents of the housing buffer memories 2 and 3 are transmitted as a video signal and displayed.

工程流れ図21と工程処理内容゛−31を第4図(a)
〜(f)のように1つの画面に分割して表示する場合に
は、1画面分のバッファメモリ内容を2つに分割して使
用し、また同図(e)、 (f)のように画面を切り換
えて交互に表示する場合には、2画面分のバッファメモ
リ内容を用意して工程流れ図用と工程処理内容用とに使
用する。いずれの場合も、各バッファメモリ2,3は、
独立に管理され、例えば各領域が別々に上下スクロール
される。
The process flowchart 21 and process processing contents ``-31'' are shown in Figure 4(a).
- When displaying on one screen dividedly as shown in (f), the buffer memory contents for one screen are divided into two and used, and as shown in (e) and (f) in the same figure. When switching screens and displaying them alternately, buffer memory contents for two screens are prepared and used for the process flow chart and the process processing content. In either case, each buffer memory 2, 3 is
They are managed independently, for example, each area is scrolled up and down separately.

プログラム入力および表示方法の他の実施例として、工
程流れ要素に番号を付する場合には、ディスプレイ4の
画面上において、第4図(g)に示すように、各工程流
れ要素に番号をつけ、工程処理内容表示部にも、その工
程流れ要素の着号をつけることができる。
As another example of the program input and display method, when numbering process flow elements, number each process flow element on the screen of the display 4 as shown in FIG. 4(g). , the process flow element can also be labeled in the process processing content display area.

このようにすると、プログラム修正のためプログラムの
特定部分を表示させたいとき、またはプログラムを部分
的に実行させたいときは、この番号で所望面断を指定す
ることができるので操作が容易となる。なお、番号で場
所を指定されても、プログラミングコンソールの画面表
示方法は通常のプログラムエディタの処理で可能である
In this way, when it is desired to display a specific part of the program for program modification, or when the program is to be partially executed, the desired section can be specified using this number, making the operation easier. Note that even if the location is specified by a number, the programming console screen can be displayed using normal program editor processing.

以上のように、入力・表示されるプログラムの保持は、
実行オブジェクトプログラム用の保持メモリ6と、工程
流れ図形状データ用の保持メモリ5とによって行われる
が、後者は工程流れ図面面と直接に対応する購造に々っ
ており、工程流れ図用のバッファメモリ2へ保持内容を
連続的に転送するたけで、その表示をすることができる
As mentioned above, the retention of the input/displayed program is
This is done by a holding memory 6 for execution object programs and a holding memory 5 for process flow diagram shape data, the latter being suitable for purchasing that directly corresponds to process flow drawings, and a buffer memory for process flow diagrams. Simply by continuously transferring the retained contents to 2, it is possible to display them.

次に、第5図;は、第2の発明のンーケノス匍]御プロ
グラム実行方式の一笑S列の運転コマンド種別の内容説
明図、第6図は、同じく運転コマンド入力時の実行手f
図、第7図:は、同じく運転モード書込みの手・タス、
第8図な、同じくプコグラマブルコントローラの運転コ
マンド入力部の一実施例のブロック図、第9図は、同性
の実施列のブロック図である。
Next, FIG. 5 is an explanatory diagram of the type of operation command in the S column of the program execution method of the second invention, and FIG.
Figure, Figure 7: is also the hand/tass of operation mode writing,
FIG. 8 is a block diagram of an embodiment of the operation command input section of the Pukogrammable controller, and FIG. 9 is a block diagram of an embodiment of the same type.

この実施例においては、制御対象装置の連続運転プログ
ラムを入力すれば、手動動作、ステップ動作等は、工程
要素につけた番号で指定した運転コマンドの入力だけで
可能となるようにするものである。
In this embodiment, once a continuous operation program for the controlled device is input, manual operations, step operations, etc. can be performed simply by inputting an operation command specified by a number assigned to a process element.

実行オブジェクトプログラムは、保持メモリ6に工程要
素ごとに格納されておp1運転コマンド解釈部7は、例
えば第5図に示したような運転コマンドが入力されたと
きは、そのコマンド種を判定し、運転モードテーブル9
に当該コマンド種に対応するフラグのセットなどをする
The execution object program is stored for each process element in the holding memory 6. When an operation command such as that shown in FIG. 5 is input, the p1 operation command interpretation section 7 determines the command type, Operation mode table 9
Then, set the flag corresponding to the command type.

実行部8は、運転モードテーブル9を調べ、その内容に
応じて工程要素ごとに実行オブジェクトプログラムの解
釈・実行をする。実行中の工程要素(d番号またはアド
レスの形で実行工程レジスタ10に保持しておく。
The execution unit 8 examines the operation mode table 9 and interprets and executes the execution object program for each process element according to the contents thereof. Process elements (d numbers or addresses) being executed are held in the execution process register 10.

仄に、運転コマンド入力時には、実行部8は、第6図に
示す実行手順で遇埋する。ここで、運転コマンドとして
は、動作を指示するものとして゛′スタート′″、゛ロ
ックZ++ストップ”′を考え、動作モードを指示する
ものとして゛オート”°。
Incidentally, when an operation command is input, the execution unit 8 performs the execution procedure shown in FIG. 6. Here, as operation commands, we consider ``Start'' and ``Lock Z++ Stop'' to instruct the operation, and ``Auto'' to instruct the operation mode.

゛′サイクルI+、+1ステップ′”、パ単動゛′を考
える。
Consider ``cycle I+, +1 step'', and single action ``''.

動作モード指示コマンドは、プログラムが停止している
時のみ入力可能である。
The operation mode instruction command can be input only when the program is stopped.

動作指示コマンドが入力されると、その種類を調べ、ロ
ックまたはストップであれば実行を中断してコマンド待
ちになる。ロックとストップの差は、ストップの場合は
、次に実行すべき工程について、その先頭から実行する
ように実行工程レジスタ10をリセットしておく点であ
る。
When an action instruction command is input, its type is checked, and if it is locked or stopped, execution is interrupted and the system waits for the command. The difference between a lock and a stop is that in the case of a stop, the execution process register 10 is reset so that the next process to be executed is executed from the beginning.

スタートコマンドの場合は、運転(動作)モードを調へ
、それに応じた処理を行う。すなわち、オートのときは
、1工程だけ実行した後、実行工程レジスタ10の内容
を更新し、これをくりかえす。サイクルのときは、1工
程たけ実行し、実行工程レジスタ10の値を更新して最
終工程か否かを調べ、最終工程であれば実行停止をして
コマンド待ちになる。ステップのときは、1工程だけ実
行し、実行工程レジスタ10の(直を更新して実行停止
をする。したがって、次にスタートコマンドが入ると、
次の1工程を実行する。単動のときは、指定された工程
のみを実行して停止する。
In the case of a start command, the operation mode is changed and processing is performed accordingly. That is, in the automatic mode, after executing only one process, the contents of the executed process register 10 are updated, and this process is repeated. In the case of a cycle, the process executes one process, updates the value of the executed process register 10, checks whether it is the final process, and if it is the final process, stops execution and waits for a command. When a step is executed, only one process is executed, the (direct) of the execution process register 10 is updated, and the execution is stopped. Therefore, the next time a start command is input,
Execute the next step. When using single acting, only the specified process is executed and then stopped.

これじの運転コマンドを入力するには、例えばg8図に
示すように、各運転コマンドには対応するスイッチを有
するディジタル入力ポートIIAにより、このスイッチ
の情報が運転コマンド解釈部7に読み込まれる。このス
イッチの状態から運転コマンドを解釈し、運転モードテ
ーブル9に書き込む手順を第7図に示す。
To input the same operation command, for example, as shown in Fig. g8, information on this switch is read into the operation command interpreter 7 through the digital input port IIA, which has a switch corresponding to each operation command. The procedure for interpreting the operation command from the state of this switch and writing it into the operation mode table 9 is shown in FIG.

この運転コマンドスイッチは、任意のアドレスのデジタ
ル入力ポートと接続することができる。
This operation command switch can be connected to a digital input port at any address.

その方法は、まずスイッチごとに入力ポートのアドレス
を定義して、これをアドレス定義テーブルに保持してお
き、このアドレスで示されたプロセス入力ボートの値を
読むことで、スイッチの状態を知るようにする。
The method is to first define the input port address for each switch, store this in the address definition table, and then read the value of the process input port indicated by this address to know the state of the switch. Make it.

また、以上のようなスイッチによる方法でなく、キー、
l−’−ドIIBその他タブレッ)Wからコマンドを入
力する方法もあシ、いずれの方法によるかを任意に切り
換えることもできる。この構成例を第9図に示す。これ
は、壕ず入力方法を定義した後、入力方法指定エリア1
2に格納しておく。運転コマンド解釈部7は、キーボー
ド処理部71゜プロセス入力読取り部72.コマンド解
釈中心部70から構成されておシ、入力方法指定エリア
12を参照し、キーボード処理部71またはプロセス入
力読取り部72を使用して運転コマンドを入力する。
Also, instead of using the switch method as described above, you can also use a key,
There is also a method of inputting commands from W (tablet) W, but it is also possible to switch between these methods as desired. An example of this configuration is shown in FIG. This is done in the input method specification area 1 after defining the input method.
Store it in 2. The operation command interpretation section 7 includes a keyboard processing section 71, a process input reading section 72. It consists of a command interpretation central section 70, refers to the input method designation area 12, and inputs operating commands using the keyboard processing section 71 or the process input reading section 72.

更に、第10図は、第3の発明のシーケンス制御プログ
ラム実行方式の一実施例の実行モニタ処理の手順図、第
11図は、同じく実行状態情報表示の手順図、第12図
1は、その画面表示の説明図、第13図は、同画面表示
の手順図である。
Furthermore, FIG. 10 is a procedural diagram of execution monitoring processing in an embodiment of the sequence control program execution method of the third invention, FIG. 11 is a procedural diagram of execution status information display, and FIG. FIG. 13, which is an explanatory diagram of the screen display, is a procedure diagram of the same screen display.

ここでは、実行中の工程をデスプレイ画面の工程流れ図
上に表示する場合の説明をする。
Here, a case will be described in which a process being executed is displayed on a process flowchart on a display screen.

実行部8は、保持メモリ6の実行オブジェクトプログラ
ムを実行するとともに、実行中の工程要素番号を実行工
程レジスタ10に格悄する。
The execution unit 8 executes the execution object program in the holding memory 6 and stores the process element number being executed in the execution process register 10.

実行モニタ13は、実行中工程表示コマンドを受けると
、まず実行工程レジスタ10から実行中工程要素番号を
取り出し、保持メモリ5の工程流れ図形状データから上
記実行中工程要素番号の工程箇所を検索する。次に、こ
の部分をバッファメモリ2に転送するとともに、更に実
行中工程要素番号の箇所にだけは高輝度用制御コートを
加える。
When the execution monitor 13 receives the currently executed process display command, it first retrieves the currently executed process element number from the executed process register 10 and searches the process flowchart shape data in the holding memory 5 for the process location corresponding to the currently executed process element number. Next, this part is transferred to the buffer memory 2, and a high-intensity control coat is added only to the part corresponding to the process element number being executed.

これにより、ディスプレイの工程流れ図面面に実行中工
程付近の工程流れ図が表示されるとともに、実行中工程
箇所が高輝度表示されるっ 以上に示した実行モニタ13の処理手順を第10図に示
す。
As a result, the process flow chart near the process being executed is displayed on the process flow diagram of the display, and the process location being executed is displayed with high brightness.The processing procedure of the execution monitor 13 shown above is shown in FIG. .

また、プログラム実行状態が工程から工程への移行条件
待ちの場合、移行条件となっているプロセス入力ちるい
は変数の状態を表示する処理を行うときは、第11図に
示す手順が実行される。
Furthermore, when the program execution state is waiting for a transition condition from one process to another, the procedure shown in Figure 11 is executed when performing processing to display the status of the process input or variable that is the transition condition. .

この処理は、前述の実行モニタ処理と基本的には同じで
あるが、処理として異なるのは、実行工程レジスタ10
に対して、実行中工程要素が工程内処理を行うものか、
工程間の移行条件判定をす7鳥 るものかを示すフラグが設nτ点である。実行部8ば、
工程要素番号をセットする際、このフラグもセントする
This process is basically the same as the execution monitor process described above, but the difference is that the execution process register 10
, whether the running process element performs in-process processing,
A flag indicating whether the transition condition between processes is to be determined is set at the nτ point. Execution part 8,
When setting the process element number, this flag is also sent.

実行モニタ13は、まず、このフラグを調べて工程間の
移行条件判定中となっているときは、実行オブジェクト
プログラムからこの当該工程要素番号の部分を検索し、
移行条件式のオブジェクトをソースプログ2ム形式に逆
変換し、デイスプレイ4に表示する。次に、この式で使
われているプロセス入力または変数の値も調べ、ディス
プレイ4に表示する。
The execution monitor 13 first checks this flag and, if the transition condition between processes is being determined, searches the execution object program for the part of this process element number,
The object of the transition conditional expression is converted back to the source program format and displayed on the display 4. Next, the values of process inputs or variables used in this formula are also examined and displayed on the display 4.

表示方法としては、第12図に示すように、1ビツト形
のプロセス人力捷たは変数ならば、状態が°1″゛のと
き高輝度にしく例えば+2工程およびその条件式中X1
)、数値形のプロセス入力または変数に対しては、その
値を行の下に示す方法がある(りUえば画面右側の符号
Aの下の数字10)。
As a display method, as shown in Fig. 12, if it is a 1-bit type process control or variable, it will be displayed with high brightness when the state is °1'', and for example, +2 process and X1 in its conditional expression.
), for numeric process inputs or variables, there is a way to show the value below the line (for example, the number 10 below the symbol A on the right side of the screen).

次に、これ1でに示した実行状態モニタを連続的に行う
に(d1実行モニタ13の処理手順が第13図に示すよ
うになる。すなわち、実行工程ンジスタ10から工程要
素番号を取シ出し、バックアメモリ2を検索して、この
工程要素番号部の有無を調べる。これが「有」の場合は
、その番号部に高輝度制御コードを出力し、高輝度表示
をさせる。し無」の場合は、前述した第10図の処理を
行うことにより、画面を更新する。
Next, in order to continuously perform the execution status monitor shown in 1 (the processing procedure of the d1 execution monitor 13 is shown in FIG. 13), the process element number is extracted from the execution process register 10. , searches the backup memory 2 and checks whether this process element number section exists. If it is "present", a high brightness control code is output to that number section and a high brightness display is made. If "absent" updates the screen by performing the process shown in FIG. 10 described above.

最後に\第14図は、第1〜第3の各発明のシーケンス
制御プログラム実行方式における工程移行チェック処理
の手順図である。
Finally, FIG. 14 is a procedure diagram of process transition check processing in the sequence control program execution method of each of the first to third inventions.

これは、工程間の移行に要する制限時間を簡易に定義し
、それを超えたとき、警幸1を表示するものでおる。
This simply defines the time limit required for transition between processes, and when the time limit is exceeded, a warning 1 is displayed.

制限時間定義手順は、まず工程移行条件を表わす工程流
れコマンドを入力し、移行条件式を入力すると制限時間
の問合せがある。これに対し、時間を入力すると、この
値が制限時間として登録される。
In the time limit definition procedure, first, a process flow command representing a process transition condition is input, and when a transition condition expression is input, a time limit is queried. On the other hand, if you enter a time, this value will be registered as the time limit.

制限時間テーブル14には、工程移行条件部ごとに工程
要素番号と制限時間値とが格納されている。
The time limit table 14 stores a process element number and a time limit value for each process transition condition section.

実行部8の制限時間チェック処理手順を第14図に示す
。工程移行条件を判定する実行オブジェクトプログラム
の処理をする場合、1回目に移行条件を判定するときに
、経過値レジスタ15をクリアし、以後、移行条件判定
を周期的に行うごとに、この経過値を更新し、さらに制
限時間テーブル14中の対応する制限時間と比較する。
The time limit check processing procedure of the execution unit 8 is shown in FIG. When processing an execution object program that determines process transition conditions, the elapsed value register 15 is cleared the first time the transition conditions are determined, and thereafter, this elapsed value is cleared each time the transition conditions are determined periodically. is updated and further compared with the corresponding time limit in the time limit table 14.

経過値が制限時間を超えたときは、誉報をディスプレイ
4に表示する。
When the elapsed value exceeds the time limit, an honor report is displayed on the display 4.

以上、述べた各発明の実施例において、以下に述べるよ
うな各効果が得られることが明らかである。
It is clear that the following effects can be obtained in the embodiments of the invention described above.

(1)シーケンス制御プログラムの開発効率が向上する
(1) The development efficiency of sequence control programs is improved.

−4に、シーケンス制釧プログラムは、条件動作の制御
、順序動作の−417r4 、および運転操作信号を解
釈して前記2種類の制御を行うための運転怜iJ御の3
部分から構成される。
-4, the sequence control program includes control of conditional operations, -417r4 of sequential operations, and operation control for interpreting operation signals and performing the above two types of control.
Consists of parts.

従来のプログラマブルコンミローラの標準言語であるリ
レー回路図言語は、条件動作の表現には適しているが、
順序動作の表現には適していない。
The relay circuit diagram language, which is the standard language for conventional programmable converters, is suitable for expressing conditional operations, but
It is not suitable for expressing sequential behavior.

また、工程歩進形言語といって工程移行条件と工程処理
内容とを順に記述するものもあり、先頭から最後迄が1
本のシーケンスである様な順序動作の表現には便利であ
るが、1つの工程から同時に動作する複数の工程に分か
れ、また、複数の工程の終了を待って1つの工程処理を
開始する様な分枝のある順序動作の記述はできない。
In addition, there is also a process step language that describes the process transition conditions and process processing contents in order, and from the beginning to the end is one language.
It is convenient for expressing sequential operations such as the sequence in a book, but it is useful for expressing sequential operations such as the sequence in a book, but when one process is divided into multiple processes that operate simultaneously, or when one process starts after waiting for the completion of multiple processes. It is not possible to describe sequential behavior with branches.

本実施例では、工程流れを表わすコマンドを使用してプ
ログラミングコンソールのディスプレイ上に工程流れ図
を作成することによシ、分枝のある複雑な順序動作も容
易に記述することができる。
In this embodiment, complex sequential operations with branches can be easily described by creating a process flow chart on the display of the programming console using commands representing the process flow.

ここで、工程流れ図と工程処理とは分割して表示するの
で、通常の大きさく14インチ程度)のディスプレイに
より、通常必要な数本迄の並行動作の表示ができる。
Here, since the process flowchart and the process process are displayed separately, up to the normally required number of parallel operations can be displayed on a display of a normal size (approximately 14 inches).

また、運転制御に関しては、従来のプログラマブルコン
トローラにおいては、ユーザがプログラムを作成してい
たのに対し、本実施例では、運転制御用の標準コマンド
を有し、連続運転用プログラムだけを作成すれば、手動
、ステップ動作等を運転コマンドで指達するだけで自動
的に行うことができる。この運転コマンドは、任意のプ
ロセス入力ボートに取り付けたスイッチによって入力で
きるので、従来と同じ運転操作が可能である。
Regarding operation control, in contrast to conventional programmable controllers where the user had to create a program, this embodiment has standard commands for operation control, and all you need to do is create a program for continuous operation. , manual, step operations, etc. can be performed automatically simply by specifying operation commands. This operation command can be input using a switch attached to any process input boat, so the same operation as before can be performed.

以上をまとめると、プログラム開発工数は、例えば、順
序動作制御部で約50%減、運転制御部では全く不要と
なる。プログラム全体に占める各割合は、場合によって
異なるが、平均的な例として条件動作制御が30%、順
序動作制御が50%、運転側(財)が20%とすれば、
全体に対するプログラム開発工数の低減は45%となっ
て極めて大きいものである。また、開発工数の低減に加
え、プログラム開発の容易化という効果もある。
To summarize the above, the number of man-hours required for program development is reduced by, for example, approximately 50% in the sequential operation control section, and is completely unnecessary in the operation control section. The percentage of each component in the entire program varies depending on the case, but as an average example, if conditional behavior control is 30%, sequential behavior control is 50%, and driving side (goods) is 20%, then
The overall reduction in program development man-hours is 45%, which is extremely large. In addition to reducing development man-hours, this also has the effect of making program development easier.

一般にシーケンス制菌プログラム作成でむずかしいのは
、自動9手動のモード切換え等の運転制御であるといわ
れる。また、順序動作をリレー回路であって、これを実
現するには特殊なリレー回路技術を要する。本実施例に
よれば、最もむずかしい運転側脚プログラム作成がなく
なり、また、順序動作制御プログラムは動作に沿って記
述すればよい。したがって、ンーケンス制御技術、リレ
ー回路技術を持たなくてもプログラム開発が可能となる
Generally, it is said that what is difficult in creating a sequence antibacterial program is operational control such as automatic/manual mode switching. In addition, the relay circuit performs sequential operation, and special relay circuit technology is required to realize this. According to this embodiment, there is no need to create a driving leg program, which is the most difficult task, and the sequential motion control program can be written in accordance with the motion. Therefore, it is possible to develop programs without having sequence control technology or relay circuit technology.

(2)1だ、上記運転コマンドの入力方法として、上記
プロセス入力ボート使用のほかに、プログラミングコン
ソールのキーボードを使用することにより、操作パネル
コストの低減ができる。すなわち、従来は運転に操作パ
ネルを使用するので、スイッチ、スイッチ配線の設計、
製作に相轟の費用がかかつていた。本実施例によれば、
運転コマンドをキーボードからも入力できるので、特に
操作パネルを設けずともプログラミングに使用するコン
ソールを利用して、設備の運転ができる。
(2) 1. In addition to the use of the process input board, the operation panel cost can be reduced by using the keyboard of the programming console as a method for inputting the operation commands. In other words, since conventionally an operation panel is used for operation, the design of switches and switch wiring,
The cost of producing it was high. According to this embodiment,
Since operation commands can also be entered from the keyboard, equipment can be operated using the console used for programming without the need for a special operation panel.

(3)さらに、設備の動作状態モニタ機能が向上する。(3) Furthermore, the ability to monitor the operating status of equipment is improved.

従来のプログラマブルコントローラのモニタ機能は、プ
ロセス入力の状態表示であり、それ以上に設備の動作状
態をモニタするには、ユーザがプログラムで作成する必
要があった。本実施例によれば、動作の進行状態が、プ
ログラムとして入力した工程流れ図上に表示されるので
、−目して設備の動作状態がわかる。また、動作が外部
信号の条件待ちで中断している場合は、その条件信号の
状態も表示するので、設備が停止した時の原因発見が容
易である。この条件待ちの場合に対しては、最大許容待
ち時間が指定でき、これをこえたら警報を自動的に表示
するので、設備の故障診断も容易となる。″さらに、こ
のモニタ画面は、動作の進行にあわせて、自動的に実行
中の工程部を表示するので、−遅動作を自動的にモニタ
できる。
The monitoring function of conventional programmable controllers is to display the status of process inputs, and in order to monitor the operating status of equipment beyond that, it was necessary for the user to create a program. According to this embodiment, the progress state of the operation is displayed on the process flowchart input as a program, so that the operating state of the equipment can be seen at a glance. Furthermore, if the operation is interrupted while waiting for an external signal condition, the state of that condition signal is also displayed, making it easy to discover the cause when the equipment stops. In the case of waiting under this condition, the maximum allowable waiting time can be specified, and if this time is exceeded, a warning is automatically displayed, making equipment failure diagnosis easier. ``Furthermore, this monitor screen automatically displays the process section being executed as the operation progresses, so slow operations can be automatically monitored.

ここでモニタ・画面生成に使用する工程流れ図データを
実行オブジェクトとは別に画面形式に合わせて保持する
ことにより、工程流れ図を高速に表示できる効果がある
。従来もプロセス入力の状態を表示するため、プログラ
ムとして入力されたリレー回路図を表示するものがある
が、このリレー回路図を実行オブジェクトから復元する
ため処理に時間を要し、モニタコマンドを入力してから
表示するまでおそいという問題があった。本実施によれ
ば、これを高速に行いうるので、設・j%iの状態を直
ちに知ることができる。
Here, by holding the process flowchart data used for monitor/screen generation in accordance with the screen format separately from the execution object, there is an effect that the process flowchart can be displayed at high speed. Conventionally, there are devices that display relay circuit diagrams input as a program in order to display the status of process inputs, but it takes time to restore this relay circuit diagram from the execution object, and it is difficult to input monitor commands. There was a problem that there was a delay between when the image was created and when it was displayed. According to this implementation, this can be done at high speed, so the state of set j%i can be immediately known.

〔発明の効果〕〔Effect of the invention〕

以上、詳細に説明したように、本発明によれば、複雑な
工程歩進形プログラムを容易に作成しうるとともに、工
程流れ図、工程処理とを分割表示することができ、その
工程流れ図上でプログラム実行状態をモニタすることが
でき、また運転コマンドの指定によって連続運転プログ
ラムを利用して各モードの運転が可能となるので、この
種のプログラマブルコントローラの取扱いの簡易化、効
率向上、サーeス性向上および機能向上に顕著な効果が
得られる。
As described in detail above, according to the present invention, it is possible to easily create a complex step-by-step program, and also to display the process flowchart and process processing separately, and to display the program on the process flowchart. The execution status can be monitored, and by specifying operation commands, it is possible to operate in each mode using a continuous operation program, which simplifies the handling of this type of programmable controller, improves efficiency, and improves serviceability. Remarkable effects on improvement and functional improvement can be obtained.

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

第1図は、本発明に係る各シーケンス制御プログラム実
行方式が適用されるプログラマブルコントローラの一実
施タリのブロック図、第2図は、第1の発明のシーケン
ス制御プログラム実行方式に係るプログラマブルコント
ローラのプログラミングコンソールのキーボードの説明
図、第3図は、同じくプログラム入力の手順図、第4図
(ハ、同じくプログラム表示画面の説明図、第5図は、
第2の発明のシーケンス制御プログラム実行方式の一実
施例の運転コマンド種別の内容説明図、第6図は、同じ
く運転コマンド入力時の実行手順図、第7図は、同じく
運転モード書込みの手順図、第8図は、同じくプログラ
マブルコントローラの運転コマンド入力部の一実施例の
ブロック図、第9図は、同性の実弛例のブロック図、第
10図は、第3の発明のシーケンス匍]御プログラム実
行方式のの手順図、第14図は、第1〜第3の各発明に
係るンーケンス朋」御プログラム実行方式における工種
移行チェック処理の手順図でちる。 1 ・プログラムコマンド解’1N、2.3・・・バッ
ファメモリ、4・・ディスプレイ、5,6・医持メモリ
、7・・・運転コマンド弓引侭部、8 実行部、9・、
。 運転モートテーブル、10 ・実行工種レンスタ、11
 運転コマ/ト入力部、12・・・入力方法指定部、1
3・実行モニタ、14・・制限時間テーブル、15・・
経過頁レジスタ。 、ミー゛−3− 代理人 弁理士 福田幸作。二、1.−15.、:。 に−”   ・ (ほか1名)ハ 第10 12図 (0−) (し) 第3 図 (e〕             (子)1、s7 第 6 図 第 q c 第 8g 第 9 図 第1O図 第11図 第12図 第 13図 第 /叶
FIG. 1 is a block diagram of one implementation of a programmable controller to which each sequence control program execution method according to the present invention is applied, and FIG. 2 is a programming diagram of a programmable controller according to the sequence control program execution method according to the first invention. FIG. 3 is an explanatory diagram of the console keyboard, and FIG. 4 is a program input procedure diagram, and FIG. 5 is an explanatory diagram of the program display screen.
A content explanatory diagram of operation command types in an embodiment of the sequence control program execution method of the second invention, FIG. 6 is an execution procedure diagram when inputting an operation command, and FIG. 7 is a procedure diagram for writing an operation mode. , FIG. 8 is a block diagram of an embodiment of the operation command input section of the programmable controller, FIG. 9 is a block diagram of an actual example of the same sex, and FIG. 10 is a sequence control of the third invention. FIG. 14 is a flowchart of the process for checking work type migration in the program execution method according to each of the first to third inventions. 1. Program command solution '1N, 2.3...Buffer memory, 4...Display, 5, 6.Medical memory, 7...Driving command bow stop section, 8. Execution section, 9.
. Operation mode table, 10 ・Execution work type Renstar, 11
Driving frame/to input section, 12...Input method specification section, 1
3. Execution monitor, 14.. Time limit table, 15..
Elapsed page register. , Mi-3- Agent: Patent attorney Kosaku Fukuda. 2.1. -15. , :. ni-” ・ (1 other person) C Fig. 10 12 (0-) (shi) Fig. 3 (e) (child) 1, s7 Fig. 6 q c Fig. 8g Fig. 9 Fig. 1O Fig. 11 Figure 12 Figure 13 / Leaf

Claims (1)

【特許請求の範囲】 1、シーケンス制御プログラムの入力・解釈・記憶をし
て、その演算処理を行い、その結果と与えられた運転コ
マンド内容とに応じ、制御対象装置の運転制御を行う機
能を有するプログラマブルコントローラにおいて、入力
された工程歩進形プログラムのコマンド解釈をしだ後、
それを工程流れに関する部分と工程処理に関する部分と
に分割して記憶しておくことにより、工程流れ図および
工程処理内容を、それぞれ、ディスプレイ画面を交互に
切り替えて、または同画面を分割して同時に表示させる
ことを特徴とするシーケンス制御プログラム実行方式。 2、特許請求の範囲第1項記載のものにおいて、入力す
べき工程歩進形プログラムに係る各工程に番号を付して
おき、同プログラムの編集または実行場所を上記番号で
指定させうるようにしたシーケンス制御プログラム実行
方式−6 3、特許請求の範囲第1項または第2項記載のものにお
いて、入力された全プログラムについて工程流れ図形状
データと実行オブジェクトプログラムとを区分して保持
・記憶しておき、ディスプレイ画面に表示すべき工程流
れ図を上記工程流れ図形状データから生成させるように
したシーケン7制御プログラム実行方式。 4、特許請求の範囲第1項、第2項または第3項記載の
ものにおい町、工程間遷移の制限時間を設定しておき、
前工程の処理を終了してからの経過時間が上記制限時間
を超えたときは、その旨の警報表示を行わせるようにし
たシーケンス制御プログラム実行方式。 5、シーケンス制御プログラムの入力・解釈・記憶をし
て、その演算処理を行い、その結果と与えられた運転コ
マンド内容とに応じ、制御ダ憚装置の運転制御を行う機
能を有するプログラマブルコントローラにおいて、入力
された工程歩進形プログラムのコマンド解釈をした後、
その実行オブジェクトプログラムの部分を他と分離して
保持・記憶しておき、連続運転の実行オブジェクトプロ
グラムを工程要素ごとに解釈・実行することによシ、与
えられた運転コマンドに応じて上記連続運転の実行オブ
ジェクトプログラムを部分的に処理させうるようにする
ことを特徴とするシーケンス制御プログラム実行方式。 6゜特許請求の範囲第5項記載のものにおいて、各運転
コマンドに対応する入力ポートを設け、これに接、続さ
れた各対応スイッチの指定によって運転コマンドを入力
させうるようにし、またはキーボードから直接に運転コ
マンドを入力させうるようにしたシーケンス制御プログ
ラム実行方式。 7゜特許請求の範囲第6項記載のものにおいて、いずれ
の運転コマンドの入力方法によるかの指定を行い、その
指定に応じて運転コマンドの入力・解釈の切替えを行わ
せるようにしたシーケンス制御プログラム実行方式。 8゜特許請求の範囲第5項、第6項捷たけ第7項記載の
ものにおいて、工程間遷移の制限時間を設定しておき、
前工程の処理を終了してからの経過時間が上記制限時間
を超えたときは、その旨の警報表示を行わせるようにし
たシーケンス制御プログラム実行方式。 9、シーケンス制御プログラムの入力・解釈・記憶をし
て、その演算処理を行い、その結果と与えられた運転コ
マンド内容とに応じ、制御対象装置の運転制御を行う機
能を有するプログラマブルコントローラにおいて、プロ
グラム実行中の工程要素が工程内処理を行うべきものか
、または工程間の移行条件の判定を行うべきものかを識
別することにより、これをディスプレイ画面上で工程諮
れ図に表示させうろことを特徴とするシーケンス制御プ
ログラム実行方式。 10特許請求の範囲第9項記載のものにおいて、プログ
ラム実行状態が工程間遷移条件の成立待ちとなっている
ときは、その遷移条件の状態をも表示させるようにした
シーケンス制御プログラム実行方式。 11、特許請求の範囲第9項または第10項記載のもの
において、プログラム実行中の工程がディ21フ4画面
上に表示した工程流れ図の範囲から外れたときは、その
表示範囲を変えさせるようにしたム曇曇廿炎/−クンス
制御プログラム実行方式。 12、特許請求の範囲第9項、第10項または第11項
記載のものにおいて、工程間遷移の制限時間を設定して
おき、前工程の処理を終了してからの経過時間が上記制
限時間を超えたときは、その旨の警報表示を行わせるよ
うにしたシーケンス制御プログラム実行方式。
[Claims] 1. A function that inputs, interprets, and stores a sequence control program, performs arithmetic processing, and controls the operation of a controlled device according to the results and the contents of a given operation command. After interpreting the commands of the input process step program in the programmable controller that has
By dividing and storing it into a part related to process flow and a part related to process processing, the process flow chart and process processing contents can be displayed simultaneously by switching the display screen alternately or by dividing the same screen. A sequence control program execution method characterized by: 2. In the item described in claim 1, each step related to the step-by-step program to be input is numbered so that the editing or execution location of the program can be specified by the number. Sequence control program execution method-6 3. In the method described in claim 1 or 2, process flow diagram shape data and execution object program are separately held and stored for all input programs. A sequence 7 control program execution method in which a process flowchart to be displayed on a display screen is generated from the process flowchart shape data. 4. Setting a time limit for the transition between steps as described in claim 1, 2 or 3,
A sequence control program execution method that displays a warning when the elapsed time from the end of the previous process exceeds the above-mentioned time limit. 5. In a programmable controller that has the function of inputting, interpreting, and storing a sequence control program, performing arithmetic processing thereof, and controlling the operation of a control device according to the results and the contents of a given operation command, After interpreting the commands of the input step-by-step program,
By holding and storing part of the execution object program separately from others, and interpreting and executing the execution object program for continuous operation for each process element, it is possible to perform the continuous operation according to the given operation command. A sequence control program execution method characterized in that an execution object program can be partially processed. 6. In the device described in claim 5, an input port corresponding to each operation command is provided, and the operation command can be inputted by specifying each corresponding switch connected to the input port, or from a keyboard. A sequence control program execution method that allows direct input of operation commands. 7. A sequence control program according to claim 6, which specifies which operation command input method is to be used and switches the input and interpretation of the operation commands in accordance with the specification. Execution method. 8゜In the item described in claim 5, 6 and 7, a time limit for transition between processes is set,
A sequence control program execution method that displays a warning when the elapsed time from the end of the previous process exceeds the above-mentioned time limit. 9. In a programmable controller that has the function of inputting, interpreting, and storing a sequence control program, performing arithmetic processing on the program, and controlling the operation of the controlled device according to the results and the contents of the given operation command, the program By identifying whether the process element being executed requires in-process processing or judgment of transition conditions between processes, it is possible to display this on the process consultation diagram on the display screen. Features a sequence control program execution method. 10. The sequence control program execution method according to claim 9, wherein when the program execution state is waiting for the inter-process transition condition to be met, the state of the transition condition is also displayed. 11. In the item described in claim 9 or 10, when the process during program execution deviates from the range of the process flowchart displayed on the Diff 4 screen, the display range is changed. This is the control program execution method. 12. In the item described in claim 9, 10, or 11, a time limit for transition between processes is set, and the elapsed time from the end of the previous process is set as the time limit. A sequence control program execution method that displays an alarm when the limit is exceeded.
JP58042392A 1983-03-16 1983-03-16 Executing system of sequence control program Pending JPS59168509A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58042392A JPS59168509A (en) 1983-03-16 1983-03-16 Executing system of sequence control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58042392A JPS59168509A (en) 1983-03-16 1983-03-16 Executing system of sequence control program

Publications (1)

Publication Number Publication Date
JPS59168509A true JPS59168509A (en) 1984-09-22

Family

ID=12634791

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58042392A Pending JPS59168509A (en) 1983-03-16 1983-03-16 Executing system of sequence control program

Country Status (1)

Country Link
JP (1) JPS59168509A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4933087A (en) * 1972-07-31 1974-03-26
JPS5714954A (en) * 1980-07-02 1982-01-26 Mitsubishi Electric Corp Program debugging device of computer

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4933087A (en) * 1972-07-31 1974-03-26
JPS5714954A (en) * 1980-07-02 1982-01-26 Mitsubishi Electric Corp Program debugging device of computer

Similar Documents

Publication Publication Date Title
JPS60262204A (en) Programmable controller
JP2735209B2 (en) Numerical control unit
JPH10283020A (en) Programmable display device
JPS59168509A (en) Executing system of sequence control program
JP3041959B2 (en) Programmable controller
JPS6132112A (en) Graphic display system in numerical controller
JP2003036103A (en) Process control system
JPS58221405A (en) Programmable controller
JP2862369B2 (en) Image display control device
JPH02178726A (en) Display device
JPH01244502A (en) Pc program display system
JPS6394303A (en) Arithmetic control system
JPS62271021A (en) Microprogram control system
JPH0468395A (en) Image display controller
JPH10105226A (en) Programmable display device
JPH0239346A (en) Screen shift control system
JPS58175038A (en) Electronic device of stored program system
JPH02226307A (en) Numerical controller
JPS59119413A (en) Programmable controller
JPH06202711A (en) Programmer for programmable controller
JP2001005983A (en) Plotting controller and recording medium
JPH0546220A (en) Numerical controller
JPH04335404A (en) Debug system for sequence program
JPH0682284B2 (en) Sequence controller
JPH0277795A (en) Display controller