JPS63201736A - Programming device for programmable controller - Google Patents

Programming device for programmable controller

Info

Publication number
JPS63201736A
JPS63201736A JP62033167A JP3316787A JPS63201736A JP S63201736 A JPS63201736 A JP S63201736A JP 62033167 A JP62033167 A JP 62033167A JP 3316787 A JP3316787 A JP 3316787A JP S63201736 A JPS63201736 A JP S63201736A
Authority
JP
Japan
Prior art keywords
parameter
program
input
output
data
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
JP62033167A
Other languages
Japanese (ja)
Inventor
Takashi Kuga
久賀 隆志
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP62033167A priority Critical patent/JPS63201736A/en
Publication of JPS63201736A publication Critical patent/JPS63201736A/en
Pending legal-status Critical Current

Links

Landscapes

  • Testing And Monitoring For Control Systems (AREA)
  • Debugging And Monitoring (AREA)
  • Programmable Controllers (AREA)

Abstract

PURPOSE:To simplify a debug work by providing a first - a fourth deciding means and a display means displaying a result of their decision, and finding out an error in case of using a parameter of each instruction word in a control program. CONSTITUTION:The titled device is provided with the first deciding means deciding whether an area number of a storage area which stores an external input data is used as an input parameter of an instruction word in the program or not, and the second deciding means deciding whether an area number of a storage area which stores an external output data is used as an output parameter of the instruction word in the program or not. Moreover, this device is provided with the third deciding means deciding whether an area number of a storage area which stores an internal output data is used as an output parameter and an input parameter of the instruction word in the program or not, the fourth deciding means deciding whether an area number of other storage area is not used as an input parameter nor an output parameter of the instruction word in the program or not, and a display means displaying the result of decision of these deciding means. In such a way, a debug time can be shortened.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明はプログラマブルコントローラのプログラミング
装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Field of Industrial Application) The present invention relates to a programming device for a programmable controller.

(従来の技術) プラントその他の各種の機器を自動制御するために、プ
ログラマブルコントローラが使用される。これは、その
機器に組み込んだ各種のセンサ等から機器の動作状態を
認識し、その状態に応じた適切な動作指示を機器の各部
に伝達する装置である。
(Prior Art) Programmable controllers are used to automatically control plants and other various equipment. This is a device that recognizes the operating state of a device from various sensors built into the device, and transmits appropriate operating instructions to each part of the device according to the state.

このプログラマブルコントローラは、メモリ部に格納さ
れた制御プログラムに従い、センサ等からの入力データ
を処理し、演算を行なって、一定の出力データを得る。
This programmable controller processes input data from sensors and the like, performs calculations, and obtains constant output data according to a control program stored in a memory section.

こうしたプログラマブルコントローラを動作させるため
の制御プログラムは。
What is the control program to operate these programmable controllers?

アンド(AND) 、オア(OR)や比較出力等の命令
語と。
Command words such as AND, OR, and comparison output.

その命令の対象となるデータを表わす入力パラメータお
よび出力パラメータとを一組として構成されている。こ
の入力パラメータや出力パラメータには、プログラマブ
ルコントローラ内で入出力データ等を格納するための記
憶領域を、適当な一連番号で定義したものを使用する。
It is configured as a set of input parameters and output parameters representing the data targeted by the command. For these input parameters and output parameters, a storage area for storing input/output data, etc. in the programmable controller is used, which is defined using an appropriate serial number.

具体的には、この番号には、入力データや出力データあ
るいは演算結果等の数値データを一時的に保持しておく
ためメモリに付されるレジスタ番号や被制御機器をオン
したリオフしたりするための0N10FF制御信号を格
納しておくためメモリに付されるデバイス番号が使用さ
れる。
Specifically, this number includes a register number attached to the memory to temporarily hold numerical data such as input data, output data, or calculation results, and a register number used to turn on and off the controlled device. A device number assigned to the memory is used to store the 0N10FF control signal.

例えば、ANDI、2.3という命令セットは、レジス
タ番号1のメモリ番地に格納された第1の入力データと
、レジスタ番号2のメモリ番地に格納された第2の入力
データを加算し、その結果をレジスタ番号3のメモリ番
地に格納せよという内容のものである。この場合、1,
2は入力パラメータであり、3は出力パラメータである
。このような命令と入出力パラメータを複数組合せて制
御プログラムが構成される。さて、こうした制御プログ
ラムの作成作業には、専用のプログラミング装置が使用
される。オペレータは、この装置に設けられたシンボリ
ック表示キーや数字キー等を用いて、プログラマブルコ
ントローラ固有の命令語やパラメータを順に入力し、そ
の入力内容をCRT画面等の表示部で確認しながらプロ
グラム作成作業を進めていく。
For example, the instruction set ANDI, 2.3 adds the first input data stored in the memory address of register number 1 and the second input data stored in the memory address of register number 2, and the result is The contents are to store in the memory address of register number 3. In this case, 1,
2 is an input parameter, and 3 is an output parameter. A control program is configured by combining a plurality of such instructions and input/output parameters. Now, a dedicated programming device is used to create such a control program. The operator uses the symbolic display keys and numeric keys provided on this device to input command words and parameters specific to the programmable controller in order, and creates a program while checking the input contents on a display such as a CRT screen. We will proceed with this.

このような制御プログラム作成作業の際には、制御プロ
グラム中に存在する各種の論理的な誤りを除去するため
に、いわゆるデバッグ作業が必要となる。
When creating such a control program, so-called debugging is required to remove various logical errors that exist in the control program.

(発明が解決しようとする問題点) しかし、プログラムの誤りの中には、その制御内容自体
の誤りのほか、命令セットに使用するデバイス番号やレ
ジスタ番号の誤指定といった種類の誤りがある。
(Problems to be Solved by the Invention) However, program errors include not only errors in the control content itself, but also errors such as incorrect specification of device numbers and register numbers used in the instruction set.

例えば、先に説明したANDI、2.3という命令セッ
トを、AND3,2.1あるいはANDI、3.2とい
うように書き誤ってような場合である。この例は、入力
パラメータとして使用すべきレジスタ番号を出力パラメ
ータとして使用したり、その逆に出力パラメータとして
使用すべきレジスタ番号を入力パラメータとして使用し
てしまったような場合である。
For example, the above-described instruction set ANDI, 2.3 may be incorrectly written as AND3, 2.1 or ANDI, 3.2. An example of this is a case where a register number that should be used as an input parameter is used as an output parameter, or vice versa, a register number that should be used as an output parameter is used as an input parameter.

このような誤りをデバッグ作業を行なう以前に見付けて
修正しておく必要があるが、デバイス番号やレジスタ番
号の使用上の誤りは、発見が比較的困難である。また、
その修正にあたっては、他の命令で使用されたデバイス
番号、レジスタ番号との関連性を調べながら、正しいデ
バイス番号やレジスタ番号を決定する必要がある。さも
なければ、他の処理で使用したデバイス番号等を重複し
て使用し、再び新たなプログラムの誤りを発生させてし
まうことになる。
It is necessary to find and correct such errors before debugging, but errors in the use of device numbers and register numbers are relatively difficult to discover. Also,
To correct this, it is necessary to determine the correct device number and register number while examining the relationship with device numbers and register numbers used in other instructions. Otherwise, device numbers used in other processes will be used redundantly, resulting in new program errors.

そこで本発明は、制御プログラム中のデバイス番号、レ
ジスタ番号の使用上の誤りを容易に発見することのでき
るプログラマブルコントローラのプログラミング装置を
提供することを目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to provide a programming device for a programmable controller that can easily detect errors in the use of device numbers and register numbers in a control program.

なお1本発明において、以後、デバイス番号あるいはレ
ジスタ番号のことを記憶領域の領域番号と総称して説明
を進めることにする。
In the present invention, the device number or register number will be collectively referred to as the area number of the storage area in the following description.

[発明の構成] (問題点を解決するための手段) 本発明のプログラミング装置は命令語とこの命令を実行
するためのデータを指定する入力パラメータと出力パラ
メータとから構成される命令ステップを制御プログラム
中に使用して動作するプログラマブルコントローラの制
御プログラムの診断を行なう装置において、外部入力デ
ータを格納した記憶領域の領域番号がプログラム中の命
令語の入力パラメータとして使用されているかどうかを
判断する第1の判断手段と、外部出力データを格納した
記憶領域の領域番号がプログラム中の命令語の出力パラ
メータとして使用されているかどうかを判断する第2の
判断手段と、内部出力データを格納した記憶領域の領域
番号がプログラム中の命令語の出力パラメータおよび入
力パラメータとして使用されているかどうかを判断する
第3の判断手段と、その他の記憶領域の領域番号がプロ
グラム中の命令語の入力パラメータとしても出力パラメ
ータとしても使用されていないかどうかを判断する第4
の判断手段と、これら判断手段の判断結果を表示する表
示手段を設けたことを特徴とするものである。
[Structure of the Invention] (Means for Solving the Problems) The programming device of the present invention provides a control program that executes an instruction step consisting of an instruction word, input parameters specifying data for executing the instruction, and output parameters. In a device for diagnosing a control program of a programmable controller operating in a programmable controller, a first step is to determine whether an area number of a storage area storing external input data is used as an input parameter of a command word in the program. a second determining means for determining whether the area number of the storage area storing external output data is used as an output parameter of a command word in the program; A third determining means for determining whether an area number is used as an output parameter and an input parameter of an instruction word in a program, and an area number of another storage area is used as an output parameter as an input parameter of an instruction word in a program. 4th to determine whether it is not used as
The present invention is characterized in that it is provided with determining means and display means for displaying the determination results of these determining means.

(作用) これにより、制御プログラム中の各命令語のパラメータ
の使用上の誤りを発見することができ、その結果として
、デバッグ作業を簡単に行なうことができるようになる
(Operation) As a result, errors in the usage of parameters of each instruction word in the control program can be discovered, and as a result, debugging work can be easily performed.

(実施例) 第1図に本発明のプログラマブルコントローラとそのプ
ログラミング装置の実施例を示す。
(Embodiment) FIG. 1 shows an embodiment of a programmable controller and its programming device according to the present invention.

プログラミング装置1は、CPU (マイクロプロセッ
サ)3と、システムプログラムを格納するROM (リ
ードオンリメモリ)4と、作成した制御プログラムを格
納するRAM (ランダムアクセスメモIJ)5と、こ
のRAM5に格納された制御プログラムをプログラマブ
ルコントローラ2に書込むためのインタフェース装M6
と、制御プログラムを入力する入力装置7、作成された
制御プログラムを表示する表示装置8とから成る。
The programming device 1 includes a CPU (microprocessor) 3, a ROM (read-only memory) 4 that stores a system program, a RAM (random access memory IJ) 5 that stores a created control program, and a system program stored in the RAM 5. Interface device M6 for writing the control program to the programmable controller 2
, an input device 7 for inputting a control program, and a display device 8 for displaying the created control program.

一方、プログラマブルコントローラ2は、制御プログラ
ムを格納するプログラムメモリ9と、図示しない被制御
機器から得られる外部信号を入力して外部入力データに
変換する入力部1oと、入力部10からの外部入力デー
タを基に制御プログラムに従い演算を実行する演算部1
1と、入力部10からの外部入力データや演算部11か
らの演算の途中結果のデータである内部出力データや演
算結果である外部出力データを格納するデータメモリ1
2と、外部出力データを外部信号として制御対象に出力
する出力部13とから成る。
On the other hand, the programmable controller 2 includes a program memory 9 that stores a control program, an input section 1o that inputs an external signal obtained from a controlled device (not shown) and converts it into external input data, and an input section 10 that receives external input data from the input section 10. A calculation unit 1 that executes calculations according to a control program based on
1, and a data memory 1 that stores external input data from the input unit 10, internal output data that is intermediate result data of calculations from the calculation unit 11, and external output data that is the calculation result.
2, and an output section 13 that outputs external output data as an external signal to a controlled object.

以上の構成で、プログラマブルコントローラ2が使用す
る制御プログラムを作成するときは1次のような作業を
行なう。
With the above configuration, when creating a control program to be used by the programmable controller 2, the following operations are performed.

まず、オペレータは、プログラミング装置1の入力装置
7を用いて制御プログラムを構成する各命令ステップ等
を入力する。その命令ステップは前述したように、命令
語十人力パラメータ+出力パラメータで構成される。こ
の入出力パラメータは、外部入力データと、外部出力デ
ータと、内部出力データとを格納するための記憶領域の
領域番号(デバイス番号、レジスタ番号)である。本実
施例においては、これらのデータをそれぞれ特定の記憶
領域に格納するようにしている。
First, an operator uses the input device 7 of the programming device 1 to input each command step etc. that constitutes the control program. As described above, the command step is composed of a command word, ten manual parameters, and an output parameter. This input/output parameter is an area number (device number, register number) of a storage area for storing external input data, external output data, and internal output data. In this embodiment, each of these data is stored in a specific storage area.

例えば、外部入力データを格納する記憶領域の領域番号
は0番から100番、外部出力データを格納する記憶領
域の領域番号は101番から200番、内部出力データ
を格納しておく記憶領域の領域番号は201番から30
0番と予め決めている。
For example, the area number of the storage area that stores external input data is 0 to 100, the area number of the storage area that stores external output data is 101 to 200, and the area of the storage area that stores internal output data. Numbers are 201 to 30
It is predetermined to be number 0.

そこで、オペレータは、このように各データと、領域番
号とを対応させて定義したリスト(以下、これを区分リ
ストという)を作成し、これを制御プログラムの一部に
含めておく。
Therefore, the operator creates a list (hereinafter referred to as a classification list) in which each piece of data is defined in correspondence with the area number, and includes this list as part of the control program.

なお、この区分リストは制御プログラムとは別個に用意
されたものでもよい。
Note that this classification list may be prepared separately from the control program.

本発明のプログラミング装置は、この区分リストを利用
し、予めROM4に格納されている第2@に示す診断プ
ログラムを実行して、制御プログラム中の領域番号の使
用上の誤りを発見する。
The programming device of the present invention utilizes this classification list and executes the diagnostic program shown in the second @ stored in the ROM 4 in advance to discover errors in the use of area numbers in the control program.

まず1区分リスト中で定義された1つの領域番号(デバ
イス番号またはレジスタ番号)について、こ九をパラメ
ータとして使用しているすべての命令セットを見つける
(処理100)。これらの命令セットは、先に説明した
ように、命令語と1または2以上の入力パラメータと1
つの出力パラメータとから構成されている。従って、命
令ステップ中のパラメータの位置から、それが入力パラ
メータが出力パラメータが判断がつく。そこで、後の判
断処理を容易にするために、診断の対象となっている領
域番号が、各命令セット中で入力パラメータとして使用
されているものが出力パラメータとして使用されている
ものかを識別するフラグを立てる(同処理100)。こ
のフラグは1つの領域番号について使用されている命令
ステップ数だけ立つことになる。
First, for one area number (device number or register number) defined in one category list, all instruction sets that use this number as a parameter are found (process 100). As explained above, these instruction sets consist of an instruction word, one or more input parameters, and one
It consists of two output parameters. Therefore, from the position of a parameter in an instruction step, it can be determined whether it is an input parameter or an output parameter. Therefore, in order to facilitate later judgment processing, the area number targeted for diagnosis is used to identify whether the area number used as an input parameter or the output parameter is used as an output parameter in each instruction set. A flag is set (same process 100). This flag is set equal to the number of instruction steps used for one area number.

次に、先に説明した区分リストを参照し、その領域番号
が外部入力データ用として定義されたものかどうかを判
断する(判断101)。
Next, referring to the classification list described above, it is determined whether the area number is defined for external input data (determination 101).

もし、外部入力データ用のものである場合、処理100
で立てたすべてのフラグをチェックする(処理102)
、このフラグがすべて入力パラメータを指すものであれ
ば、そのパラメータの使用法は誤りが無いと判断し、ま
ずその1つの領域番号についての診断を終了する。この
場合、もし、領域番号の用い方に誤りがあれば、表示装
置8(第1図)にその点を表示する(処理108)。
If it is for external input data, process 100
Check all flags set in (process 102)
, if all of these flags point to input parameters, it is determined that there is no error in the usage of the parameters, and the diagnosis for that one area number is first completed. In this case, if there is an error in the use of the area number, that point is displayed on the display device 8 (FIG. 1) (process 108).

この結果、外部入力データ用の領域番号はすべて命令語
の入力パラメータとして使用すべきであるにもかかわら
ず、入力パラメータとして使用していない場合の誤りを
発見することができる。
As a result, it is possible to discover errors in the case where all area numbers for external input data are not used as input parameters for command words, even though they should be used as input parameters.

以上のような処理を、区分リストに定義されたすべての
領域番号について繰り返し実行していく。
The above process is repeatedly executed for all area numbers defined in the classification list.

一方、判断101において、領域番号が外部入力データ
用のもので無いと判断されると1次に再び区分リストを
参照して、外部出力データ用として定義されたものかど
うか判断する(判断103)。
On the other hand, if it is determined in judgment 101 that the area number is not for external input data, the first step is to refer to the classification list again and judge whether it is defined for external output data (decision 103). .

その領域番号が外部出力データ用のものであれば、今度
はその領域番号が出力パラメータとして使用されている
か否か再びフラグをチェックする(判断104)。そし
て、すべてのフラグが出力パラメータを指すものであれ
ば、その領域番号の使用法に誤りが無いと判断して診断
を終了する。一方、誤りが有れば、表示装置8(処理1
図)にその旨を表示する(処理109)。
If the area number is for external output data, the flag is checked again to see if the area number is used as an output parameter (decision 104). If all the flags point to output parameters, it is determined that there is no error in the usage of the area number, and the diagnosis is terminated. On the other hand, if there is an error, the display device 8 (processing 1
) to that effect (processing 109).

この結果、外部出力データ用の領域番号はすべて命令語
の出力パラメータとして使用すべきであるにもかかわら
ず、出力パラメータとして使用していない場合の誤りを
発見することができる。
As a result, it is possible to discover an error in the case where all area numbers for external output data are not used as output parameters of command words, even though they should be used as output parameters.

一方、外部入力データでも外部出力データでもないもの
には、内部出力データである。また、パラメータ中には
、実際に区分リスト中に定義されていないのに誤使用さ
れたものもある。
On the other hand, data that is neither external input data nor external output data is internal output data. Additionally, some parameters may have been misused even though they were not actually defined in the classification list.

これらの場合には判断105以降でその処理を行なう。In these cases, the processing is performed after judgment 105.

まず、処理100において、1つの領域番号について立
てられた複数のフラグをみて、これらの中に人力パラメ
ータとして使用されているものが存在するかどうかを判
断する(判断105)。
First, in process 100, a plurality of flags set for one area number are looked at, and it is determined whether any of them is used as a human parameter (determination 105).

もし、入力パラメータとして使用されているものであれ
ば、さらに、出力パラメータとして使用されているもの
もあるかどうか判断する(判断106)。
If any parameter is used as an input parameter, it is further determined whether any parameter is used as an output parameter (decision 106).

内部出力データとして定義されている領域番号は、プロ
グラム中のどこかで出力パラメータとして使用されてい
れば、必ず他のどこかで入力パラメータとしても使用さ
れるはずである。
If an area number defined as internal output data is used as an output parameter somewhere in the program, it will definitely be used as an input parameter somewhere else.

この点に着目して、判断106で内部出力データ用の領
域番号の用い方の適否が判断され、誤りがあれば表示さ
れる(判断110)。
Focusing on this point, it is determined in decision 106 whether or not the use of area numbers for internal output data is appropriate, and if there is an error, it is displayed (decision 110).

最後に、判断105において入力パラメータとして使用
されていない領域番号であると判断した場合には、この
領域番号は外部入力データ用でも外部出力データ用でも
内部出力データ用でもないことが判る。
Finally, if it is determined in decision 105 that the area number is not used as an input parameter, it is understood that this area number is not for external input data, external output data, or internal output data.

そこで、その領域番号についてのフラグが出力パラメー
タとして使用されていないがどうか判断する(判断10
7)。
Therefore, it is determined whether the flag for that area number is not used as an output parameter (determination 10).
7).

もし、出力パラメータとして使用されているようであれ
ば、これは誤りであるから、その旨が表示される(処理
111)。そして、入力パラメータにも出力パラメータ
にも使用されていなければ誤り無しと判断する(判断1
07)。
If it appears to be being used as an output parameter, this is an error and a message to that effect is displayed (process 111). Then, if it is not used as an input parameter or an output parameter, it is determined that there is no error (judgment 1)
07).

以上の方法によれば、区分リストに定義されたすべての
領域番号の1つずつについて第2図に示した誤り判断を
行ない、最後に区分リストに定義されていないものにつ
いても、制御プログラム中に使用されている領域番号に
ついては同一の判断を行なうようにしたので、制御パラ
メータをくまなく診断することができる。
According to the above method, the error judgment shown in Fig. 2 is made for each area number defined in the category list, and finally, even for the area numbers not defined in the category list, the control program Since the same judgment is made regarding the area numbers used, the control parameters can be thoroughly diagnosed.

なお、診断方法としては、上記の実施例以外に、制御プ
ログラム中の各命令ステップごとにそのパラメータの用
い方等を判断したり、入力パラメータと出力パラメータ
、領域番号をその種類ごとに分類整理した後、区分リス
トと比較したりするなど、各種の方法を採用することが
できる。
In addition to the above examples, diagnostic methods include determining how to use parameters for each command step in the control program, and classifying input parameters, output parameters, and area numbers by type. After that, various methods can be used, such as comparing with a classification list.

以上のような診断プログラムにより、発見された使用上
の誤りのある領域番号等は、順次、表示装置8に表示さ
れる。オペレータはこれを見て、領域番号の使用上の誤
りを修正し、更に入力装置7を用いてデバッグを行ない
正しい制御プログラムをRAM5に再格納する。
By the above-described diagnostic program, area numbers and the like that are found to be incorrect in use are sequentially displayed on the display device 8. The operator sees this, corrects the error in the use of the area number, debugs using the input device 7, and re-stores the correct control program in the RAM 5.

このように、正しく修正した制御プログラムは、RAM
5からインタフェース6を介してプログラマブルコント
ローラ2のプログラムメモリ9に格納される。これによ
り、プログラマブルコントローラ2は、このプログラム
メモリ9に格納した制御プログラムにより、被制御機器
の制御を誤り無く行なうことができる。
In this way, a correctly modified control program can be
5 to the program memory 9 of the programmable controller 2 via the interface 6. Thereby, the programmable controller 2 can control the controlled equipment without error using the control program stored in the program memory 9.

[発明の効果] 以上のように本発明によれば、制御プログラムの各命令
語のパラメータについて、その使用上の誤りを容易に発
見することができる。従って、デパック作業の時間を大
巾に短縮することができる。
[Effects of the Invention] As described above, according to the present invention, errors in the use of parameters of each instruction word of a control program can be easily discovered. Therefore, the time required for depacking work can be greatly reduced.

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

第1図は本発明のプログラマブルコントローラのプログ
ラミング装置の実施例とこれを接続したプログラマブル
コントローラのブロック図、第2図は本発明のプログラ
ミング装置の診断プログラムのフローチャートである。 1・・・プログラミング装置、2・・・プログラマブル
コントローラ、3・・・CPU、4・・・ROM、5・
・・RAM。 6・・・インタフェース、7・・・入力装置、8・・・
表示装置、9・・・プログラムメモリ、10・・・入力
部、11・・・演算部、12・・・データメモリ、13
・・・出力部・
FIG. 1 is a block diagram of an embodiment of a programming device for a programmable controller of the present invention and a programmable controller connected thereto, and FIG. 2 is a flowchart of a diagnostic program for the programming device of the present invention. DESCRIPTION OF SYMBOLS 1... Programming device, 2... Programmable controller, 3... CPU, 4... ROM, 5...
...RAM. 6...Interface, 7...Input device, 8...
Display device, 9... Program memory, 10... Input section, 11... Arithmetic section, 12... Data memory, 13
・・・Output section・

Claims (1)

【特許請求の範囲】[Claims] 命令語とこの命令を実行するためのデータを指定する入
力パラメータと出力パラメータとから構成される命令ス
テップを制御プログラム中に使用して動作するプログラ
マブルコントローラの制御プログラムの診断を行なう装
置において、外部入力データを格納した記憶領域の領域
番号がプログラム中の命令語の入力パラメータとして使
用されているかどうかを判断する第1の判断手段と、外
部出力データを格納した記憶領域の領域番号がプログラ
ム中の命令語の出力パラメータとして使用されているか
どうかを判断する第2の判断手段と、内部出力データを
格納した記憶領域の領域番号がプログラム中の命令語の
出力パラメータおよび入力パラメータとして使用されて
いるかどうかを判断する第3の判断手段と、その他の記
憶領域の領域番号がプログラム中の命令語の入力パラメ
ータとしても出力パラメータとしても使用されていない
かどうかを判断する第4の判断手段と、これら判断手段
の判断結果を表示する表示手段を設けたことを特徴とす
るプログラマブルコントローラのプログラミング装置。
In a device for diagnosing a control program of a programmable controller that operates by using a command step in a control program consisting of a command word and an input parameter and an output parameter that specify data for executing this command, an external input a first determination means for determining whether an area number of a storage area storing data is used as an input parameter of a command word in a program; a second determining means for determining whether the area number of the storage area storing the internal output data is used as an output parameter and an input parameter for the command word in the program; a third determining means for determining; a fourth determining means for determining whether an area number of another storage area is used as an input parameter or an output parameter of a command word in the program; and these determining means. 1. A programming device for a programmable controller, characterized in that a display means is provided for displaying a determination result.
JP62033167A 1987-02-18 1987-02-18 Programming device for programmable controller Pending JPS63201736A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62033167A JPS63201736A (en) 1987-02-18 1987-02-18 Programming device for programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62033167A JPS63201736A (en) 1987-02-18 1987-02-18 Programming device for programmable controller

Publications (1)

Publication Number Publication Date
JPS63201736A true JPS63201736A (en) 1988-08-19

Family

ID=12378981

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62033167A Pending JPS63201736A (en) 1987-02-18 1987-02-18 Programming device for programmable controller

Country Status (1)

Country Link
JP (1) JPS63201736A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01251109A (en) * 1988-03-31 1989-10-06 Fuji Electric Co Ltd Programming device for programmable controller
US5017358A (en) * 1988-09-22 1991-05-21 Dir. General, Agency Of Industrial Science And Technology Preparation of elastic graphite materials
JPH0423038A (en) * 1990-05-17 1992-01-27 Nec Corp Automatic generating device for program document

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01251109A (en) * 1988-03-31 1989-10-06 Fuji Electric Co Ltd Programming device for programmable controller
US5017358A (en) * 1988-09-22 1991-05-21 Dir. General, Agency Of Industrial Science And Technology Preparation of elastic graphite materials
JPH0423038A (en) * 1990-05-17 1992-01-27 Nec Corp Automatic generating device for program document

Similar Documents

Publication Publication Date Title
JPH03137518A (en) Diagnosing apparatus of fault
US20150058828A1 (en) Plc simulation system, plc simulator, recording medium, and simulation method
JPS63201736A (en) Programming device for programmable controller
JPS59186054A (en) Test method of computer program
CN114415622B (en) Control system user program logic online verification method and system
CN109483552B (en) Method and equipment for debugging software and hardware of substrate carrying robot system
JPH01297738A (en) Computer testing device
JPH10275094A (en) Program evaluation system
JPH03294934A (en) Debugger for high level program lenguage
JPH01223504A (en) Sampling trace system for programmable controller
JPH0887426A (en) Self-diagnosis state display system
JPS59205613A (en) Sequence monitor device
JPH01177616A (en) System for storing key operation procedure
CN115729831A (en) Vehicle diagnosis configuration method and device, vehicle and storage medium
JPS62139050A (en) Instruction test system by control of maintenance and diagnosis processor
JPH0844583A (en) Diagnostic system for information processor
JPH1097307A (en) Sequencer operation verification device and medium recording sequencer operation verification program
JPH01200406A (en) Program comparing device for programmable controller
JPH06214770A (en) Controller
JPH0468446A (en) Debugging supporting device
JPS58140815A (en) Programmable sequence controller provided with self- diagnosis function for insertion mistake of input/output module
JPH01270151A (en) Program test system
JPS63278151A (en) Debugging device
JPH02138606A (en) Programmable controller
JPS63278106A (en) Diagnosing device