JPH05297915A - Sequence simulator of programmable controller - Google Patents

Sequence simulator of programmable controller

Info

Publication number
JPH05297915A
JPH05297915A JP10268192A JP10268192A JPH05297915A JP H05297915 A JPH05297915 A JP H05297915A JP 10268192 A JP10268192 A JP 10268192A JP 10268192 A JP10268192 A JP 10268192A JP H05297915 A JPH05297915 A JP H05297915A
Authority
JP
Japan
Prior art keywords
sequence
input
task
file
input operation
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
JP10268192A
Other languages
Japanese (ja)
Inventor
Tetsuya Shimoda
哲也 下田
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP10268192A priority Critical patent/JPH05297915A/en
Publication of JPH05297915A publication Critical patent/JPH05297915A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the adjustment time and total debugging time due to mechanism interference in debugging operation by simulating a sequence and displaying an output state when a minicomputer performs input operation in the input order of a sequence file or simulatively. CONSTITUTION:When input operation is automatically carried out, an SEQIN task 13 registers the sequence file on a disk 14. The minicomputer 10 registers the sequence by an ZSEQEN task 1 first in the simulation execution and starts an SEQRUN (execution) task 12 or the SEQIN task 13. The SEQIN task 13 carries out simulative key input operation or automatic input operation in the input order of the input sequence file. The SEQRUN task 12 performs instruction-by-instruction and address-by-address input operation from the sequence registration file and judges instruction words, branching to processes by the instruction words is performed, and specific address data and the logical arithmetic result before the data are processed. A CRT 16 displays the result of the simulation.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、装置制御等を行なう際
に使用するプログラマブル・コントローラのラダー方式
であるシーケンスのシュミレーションを行なうことがで
きるシーケンスシュミレータに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a sequence simulator capable of simulating a sequence which is a ladder system of a programmable controller used for controlling an apparatus or the like.

【0002】[0002]

【従来の技術】従来、プログラマブル・コントローラを
用いて制御等を行なう装置のシーケンスのデバッグ作業
は、実際に装置を動かしながら行なうか、又は入力ポー
トのセンサ、スイッチ等の代わりにスイッチボックス等
を接続して、1点ずつスイッチをON、OFFすること
で出力状態を確認するか、あるいはプログラマブル・コ
ントローラのデバッガを用いて入出力の強制セット、リ
セットを行ない、シーケンスの動きを見るという様な方
法で行なわれていた。
2. Description of the Related Art Conventionally, a debugging operation of a sequence of an apparatus for controlling by using a programmable controller is carried out while actually operating the apparatus, or a switch box or the like is connected instead of a sensor or switch of an input port. Then, check the output status by turning the switch on and off one point at a time, or use the debugger of the programmable controller to forcibly set and reset the I / O and see the sequence movement. It was being done.

【0003】図6にかかる従来のデバッグを装置と接続
して行なうデバッグ手順を示す。この図において、1は
n個の出力ポート毎の単体動作を確認する手順であり、
xポート出力条件の入力を行い、内部補助メモリ接点を
強制的にオンし(ステップS1)、xポート出力がOK
か否かを判断し(ステップS2)、その結果、xポート
出力がOKであれば、xポート出力条件の確認がOKか
否かを判断し(ステップS3)、その結果、xポート出
力がOKでない場合、また、xポート出力条件の確認が
OKでない場合は、修正を行い(ステップS4)、ステ
ップS1へ戻る。xポート出力条件の確認がOKであれ
ば、ステップS1へ戻り、これをnポート回繰り返し確
認を行う。
FIG. 6 shows a conventional debugging procedure performed by connecting the conventional debugging to the apparatus. In this figure, 1 is a procedure for confirming a single operation for each of the n output ports,
Input the x port output condition, forcibly turn on the internal auxiliary memory contact (step S1), and the x port output is OK.
If the x-port output is OK as a result, it is determined whether the confirmation of the x-port output condition is OK (step S3). As a result, the x-port output is OK. If not, or if the confirmation of the x port output condition is not OK, correction is made (step S4) and the process returns to step S1. If the confirmation of the x-port output condition is OK, the process returns to step S1 and the confirmation is repeated n port times.

【0004】2は連続して動作できる部分(A出力→B
出力→C出力・・・)毎の確認作業手順であり、連続動
作可能部分のステップ動作を行い(ステップS5)、動
作確認がOKか否かを判断し(ステップS6)、その結
果、動作確認がOKでない場合は、修正を行い(ステッ
プS7)、ステップS5に戻る。動作確認がOKの場合
もステップS5に戻り、連続動作可能ブロック数回繰り
返し確認を行う。
2 is a portion which can be operated continuously (A output → B
This is a confirmation work procedure for each output → C output, etc.), the step operation of the continuously operable portion is performed (step S5), and it is judged whether or not the operation confirmation is OK (step S6). If is not OK, it is corrected (step S7) and the process returns to step S5. Even if the operation confirmation is OK, the process returns to step S5, and the confirmation is repeated several times for the continuously operable blocks.

【0005】3は自動モードでの総合テスト手順であ
り、自動運転(ステップS8)を行い、各動作タイミン
グ確認がOKであるか否かを判断し(ステップS9)、
その結果、各動作タイミング確認がOKである場合に
は、連続テスト(ステップS11)を行う。各動作タイ
ミング確認がOKでない場合は、修正を行い(ステップ
S10)、ステップS8に戻る。
Reference numeral 3 is a comprehensive test procedure in the automatic mode, in which automatic operation (step S8) is performed to judge whether or not each operation timing confirmation is OK (step S9).
As a result, when each operation timing confirmation is OK, a continuous test (step S11) is performed. If the confirmation of each operation timing is not OK, the correction is performed (step S10), and the process returns to step S8.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、従来の
プログラマブル・コントローラを用いた装置のデバッグ
作業は、実際に装置を動作させながら行なう方法では、
シーケンスの不具合により誤動作し機構(メカ)が干渉
してしまい、位置出し等の調整をやり直さなければなら
ないという危険性があった。また、スイッチボックスや
デバッガを使用した方法では、1点ずつ入力させ、チェ
ックを行なうので、メカの干渉する可能性は少なくなる
が、単体動作毎にデバッグを行ない、最終的に連続動作
させ、タイミング等を確認するといった作業になるの
で、多くの工数がかかるという問題点があった。
However, in the method of debugging a device using a conventional programmable controller while actually operating the device,
There was a risk that the malfunction of the sequence would cause malfunction and the mechanism would interfere, and adjustment of the positioning, etc. would have to be redone. Also, in the method using a switch box or a debugger, input is made one point at a time and checking is performed, so there is less possibility of mechanical interference, but debugging is performed for each single operation, and finally continuous operation Since it is a work to confirm the above, there is a problem that it takes a lot of man-hours.

【0007】本発明は、以上述べた問題点を解決するた
め、ミニコンピュータを用い、シーケンスのシュミレー
ションが行なえるようにし、デバッグ作業時のメカ干渉
による調整時間、また、総デバッグ時間を削減するプロ
グラマブル・コントローラのシーケンスシュミレータを
提供することを目的としている。
In order to solve the above-mentioned problems, the present invention uses a minicomputer to enable sequence simulation, and to reduce the adjustment time due to mechanical interference during debug work and the total debug time. -The purpose is to provide a sequence simulator for the controller.

【0008】[0008]

【課題を解決するための手段】本発明は、上記目的を達
成するために、プログラマブル・コントローラのシーケ
ンスシュミレータにおいて、プログラマブル・コントロ
ーラのシーケンスの登録・変更手段と、その登録・変更
手段と協働するシーケンス登録ファイル及び入力シーケ
ンスファイルを有する補助記憶装置と、その補助記憶装
置と協働するシーケンスシュミレーションの実行手段
と、そのシーケンスシュミレーションの実行手段と協働
する入出力及び内部補助メモリを有するメモリ領域と、
前記補助記憶装置及びメモリ領域と協働するメモリ領域
への入力手段と、前記登録・変更手段、シーケンスシュ
ミレーションの実行手段及びメモリ領域への入力手段と
協働する表示装置とを具備し、入力シーケンスファイル
の入力順にしたがって、入力操作が行なわれ、その出力
状態を前記表示装置で確認し、デバッグ作業を実行でき
るようにしたものである。
In order to achieve the above object, the present invention, in a sequence simulator of a programmable controller, cooperates with the registering / changing means of the sequence of the programmable controller and the registering / changing means. An auxiliary storage device having a sequence registration file and an input sequence file, a sequence simulation executing means cooperating with the auxiliary storage device, and a memory area having an input / output and an internal auxiliary memory cooperating with the sequence simulation executing means. ,
An input sequence for a memory area, which cooperates with the auxiliary storage device and the memory area, and a display device for cooperating with the registration / change means, the sequence simulation executing means, and the input means for the memory area, are provided. The input operation is performed according to the input order of the files, the output state is confirmed on the display device, and the debugging work can be executed.

【0009】[0009]

【作用】本発明によれば、上記したように、プログラマ
ブル・コントローラを用いた装置のシーケンスデバッグ
作業時において、プログラマブル・コントローラを使用
することなく、ミニコンピュータにシーケンスを登録
し、模擬的に入力操作を行なうと、どのような出力をど
ういうタイミングで出力するかを、ミニコンピュータの
表示装置(CRT)上で確認することができる。
According to the present invention, as described above, during sequence debugging of a device using a programmable controller, the sequence is registered in the minicomputer without using the programmable controller, and the input operation is simulated. Then, it is possible to confirm what kind of output is output at what timing on the display device (CRT) of the minicomputer.

【0010】[0010]

【実施例】以下、本発明の実施例について図面を参照し
ながら詳細に説明する。図1は本発明の実施例を示すプ
ログラマブル・コントローラのシーケンスシュミレータ
の全体構成図である。この図に示すように、ミニコンピ
ュータ10を用いる。
Embodiments of the present invention will now be described in detail with reference to the drawings. FIG. 1 is an overall configuration diagram of a sequence simulator of a programmable controller showing an embodiment of the present invention. As shown in this figure, a minicomputer 10 is used.

【0011】そこで、11はシーケンスをディスク上に
登録、変更を行なうタスク(SEQEN)である。その
ファイル構成を図2に示す。つまり、1レコードにつ
き、左側に例えば、LD,AND等の命令語(最大10
文字)を書き込むために5ワード分を、右側に出力ポー
トあるいはアドレスを書き込むための1ワード分を有す
る。
Therefore, reference numeral 11 is a task (SEQEN) for registering and changing the sequence on the disk. The file structure is shown in FIG. That is, for each record, on the left side, for example, command words such as LD and AND (maximum 10
It has 5 words for writing (character) and 1 word for writing an output port or address on the right side.

【0012】12はシュミレーションを実行するタスク
(SEQRU)であり、13はシュミレーション実行時
に、入力を模擬的にキー入力で行ない、メモリ領域に書
き込むか、又は入力操作を自動的に行なえるように入力
シーケンスファイルに入力順等を設定しておくタスク
(SEQIN)である。そのファイル構成を図3に示
す。つまり、1レコードにつき、左側に入力ポートある
いはアドレスを書き込む1ワード分、右側にタイマ設定
値を書き込む1ワード分を有する。
Reference numeral 12 is a task (SEQRU) for executing a simulation, and reference numeral 13 is a key input for simulation during execution of the simulation, writing in a memory area or inputting so that an input operation can be automatically performed. This is a task (SEQIN) for setting the input order and the like in the sequence file. The file structure is shown in FIG. That is, each record has one word for writing the input port or address on the left side and one word for writing the timer setting value on the right side.

【0013】14はシーケンス登録ファイル、入力シー
ケンスファイルを登録しておく補助記憶装置としてのデ
ィスクである。15はプログラマブル・コントローラの
入出力ポート、内部補助メモリとして使用するミニコン
ピュータ上のメモリ領域である(内部補助メモリ領域の
アドレスは、コントローラにより変更可能)。シュミレ
ーション実行時には、まずSEQENタスク11により
シーケンスの登録を行ない、SEQRUタスク12、S
EQINタスク13を起動させ、SEQINタスク13
で1点ずつキー入力で入力操作(指定アドレスをON)
を行なうか、又は予め入力シーケンスファイルを登録し
ておき、ファイル指定することにより登録されている入
力順、入力間隔時間に基づいて自動実行を行なう。SE
QRUタスク12では、シーケンス登録ファイルから1
命令、1アドレスずつ入力、命令語を判断し、命令語毎
の処理へ分岐する。そして指定されたアドレスのデータ
と、それ以前の論理演算結果との演算を行なう。
Reference numeral 14 is a disk as an auxiliary storage device for registering a sequence registration file and an input sequence file. Reference numeral 15 denotes a memory area on the minicomputer used as an input / output port of the programmable controller and an internal auxiliary memory (the address of the internal auxiliary memory area can be changed by the controller). When executing the simulation, first, the sequence is registered by the SEQEN task 11, and the SEQRU task 12, S
Start the EQIN task 13 and set the SEQIN task 13
Input operation by key input point by point (specified address is ON)
Or an input sequence file is registered in advance and the file is designated to automatically execute the input sequence file based on the registered input order and input interval time. SE
In QRU task 12, 1 from the sequence registration file
Instructions, one address at a time, input words are determined, and processing branches for each instruction word. Then, the data of the designated address and the previous logical operation result are operated.

【0014】命令語が出力命令であれば、それまでの論
理演算結果により指定されたアドレスのON、OFF又
は表示装置(CRT)16への出力を行ない、論理演算
関係のレジスタ、フラブ等のイニシャライズを行なう。
END命令を検索すると、シーケンス登録ファイルの先
頭に戻る。図4にシーケンスシュミレーション実行時の
状態遷移を示す。また、図5にシーケンスシュミレーシ
ョンの実行例を示す。
If the command word is an output command, the address designated by the result of the logical operation up to that point is turned on or off, or output to the display device (CRT) 16 is performed to initialize the logical operation-related registers, flabs and the like. Do.
When the END command is retrieved, the sequence registration file returns to the beginning. FIG. 4 shows the state transition when the sequence simulation is executed. Further, FIG. 5 shows an execution example of the sequence simulation.

【0015】すなわち、図4において、通常命令語の場
合は、シーケンス登録ファイル、入力シーケンスファイ
ルを登録しておくディスク14から、1命令、1アドレ
スの入力を行ない(ステップ)、その命令語の判断を
行ない(ステップ)、その命令語の実行(SEQR
U)を行ない(ステップ)、入出力、内部補助メモリ
領域15を読み出し(ステップ)、次の1命令、1ア
ドレスの入力を行ない(ステップ)、それを順次繰り
返す。
That is, in FIG. 4, in the case of a normal command word, one command and one address are input from the disk 14 in which the sequence registration file and the input sequence file are registered (step), and the command word is judged. (Step) and execute the command (SEQR
U) is performed (step), the input / output and the internal auxiliary memory area 15 are read (step), the next one instruction and one address are input (step), and this is repeated sequentially.

【0016】次に、出力命令語(入出力メモリ領域)の
場合は、上記ステップからステップまでは同じであ
るが、ステップの次に、メモリ領域15の入出力メモ
リを検索し(ステップ)、表示装置(CRT)へ出力
を行ない(ステップ)、1命令、1アドレスの入力へ
戻る(ステップ)。次に、出力命令語(内部補助メモ
リ領域)の場合は、出力命令語(入出力メモリ領域)の
場合の上記ステップからステップまでは同じである
が、ステップの後は、表示装置(CRT)へ出力を行
なうことなく、1命令、1アドレスの入力へ戻る(ステ
ップ)。
Next, in the case of an output instruction word (input / output memory area), the above steps are the same, but after the step, the input / output memory of the memory area 15 is searched (step) and displayed. Output to the device (CRT) (step) and return to input of 1 command, 1 address (step). Next, in the case of the output command word (internal auxiliary memory area), the above steps from the output command word (input / output memory area) are the same, but after the step, the display device (CRT) is displayed. Return to the input of one instruction and one address without outputting (step).

【0017】なお、シーケンス登録ファイル、入力シー
ケンスファイルを登録しておくディスク14へは、SE
QENタスク11により、シーケンスの登録・変更を行
なうことができる。また、シーケンス登録ファイル、入
力シーケンスファイルを登録しておくディスク14か
ら、メモリ領域15の指定アドレスのセットあるいはリ
セットを行ない、メモリ領域15にアクセスすることが
できる。
The disk 14 in which the sequence registration file and the input sequence file are registered must be SE
The QEN task 11 can register and change the sequence. Further, from the disk 14 in which the sequence registration file and the input sequence file are registered, the designated address of the memory area 15 can be set or reset to access the memory area 15.

【0018】次に、図5を用いてその実行例を説明す
る。ここで、SEQRUの内部制御情報としては、論理
演算結果レジスタRERT、スタックレジスタSTRT
1,STRT2,STRT3、エンドフラグENF、イ
ンタロックフラグILF、シフトフラグSIFそれぞれ
整数型1ワードが挙げられる。
Next, an example of the execution will be described with reference to FIG. Here, as the internal control information of SEQRU, the logical operation result register RERT and the stack register STRT are used.
1, STRT2, STRT3, end flag ENF, interlock flag ILF, shift flag SIF are integer type 1 words.

【0019】図5に示すような、命令語の実行(SEQ
RU)を行なう。この場合、図2に示したファイルに、
1レコード毎に、命令語と出力ポート又はアドレスが書
き込まれている。 (1)まず、LD 0000のサブルーチンの処理内容
は、エンドフラグENFが1なら0に、0ならシフトフ
ラグSIFをチェックし、1ならスタックレジスタST
RT2→STRT3とする。論理演算結果レジスタRE
RTをSTRT2とする。シフトフラグSIFが0な
ら、論理演算結果レジスタRERTをスタックレジスタ
STRT2でシフトフラグSIFを1にして、論理演算
結果レジスタRERT←(0000)とする。
Execution of an instruction word (SEQ
RU). In this case, in the file shown in Figure 2,
An instruction word and an output port or address are written for each record. (1) First, the processing content of the LD 0000 subroutine is to check 0 if the end flag ENF is 1, check the shift flag SIF if 0, and stack register ST if 1
RT2 → STRT3. Logical operation result register RE
Let RT be STRT2. If the shift flag SIF is 0, the logical operation result register RERT is set to 1 by the stack register STRT2 to set the logical operation result register RERT ← (0000).

【0020】(2)次に、AND 0010のサブルー
チンの処理内容は、スタックレジスタSTRT1←(0
010)とし、論理演算結果レジスタRERT←RER
TAND STRT1とする。つまり論理積をとる。 (3)次に、AND NOT 0020のサブルーチン
の処理内容は、スタックレジスタSTRT1←(002
0)とし、STRT1をNOT変換し、論理演算結果レ
ジスタRERT←RERT AND STRT1とす
る。つまり、指定した信号の裏と論理積をとる。
(2) Next, the processing content of the subroutine AND 0010 is the stack register STRT1 ← (0
010), and the logical operation result register RERT ← RER
TAND STR T1 In other words, take the logical product. (3) Next, the processing content of the AND NOT 0020 subroutine is the stack register STRT1 ← (002
0), STRT1 is NOT-converted, and logical operation result register RERT ← RERT AND STRT1 is obtained. That is, the logical product is obtained with the back of the specified signal.

【0021】(4)次に、LD NOT 0030のサ
ブルーチンの処理内容は、エンドフラグENFが1なら
0に、0ならシフトフラグSIFをチェックし、1なら
スタックレジスタSTRT2→STRT3とする。論理
演算結果レジスタRERTをSTRT2とし、シフトフ
ラグSIFが0なら、論理演算結果レジスタRERTを
スタックレジスタSTRT2でシフトフラグSIFを1
にして、論理演算結果レジスタRERT←(0030)
とし、RERTをNOT変換する。
(4) Next, the processing content of the LD NOT 0030 subroutine is to check 0 if the end flag ENF is 1, check the shift flag SIF if 0, and set the stack register STRT2 → STRT3 if 1. If the logical operation result register RERT is set to STRT2 and the shift flag SIF is 0, the logical operation result register RERT is set to the stack register STRT2 and the shift flag SIF is set to 1.
Then, the logical operation result register RERT ← (0030)
Then, the RERT is NOT-converted.

【0022】(5)次に、AND NOT 0040の
サブルーチンの処理内容は、スタックレジスタSTRT
1←(0040)とし、STRT1をNOT変換し、論
理演算結果レジスタRERT←RERT AND ST
RT1とする。 (6)次に、OR LDのサブルーチンの処理内容は、
論理演算結果レジスタRERT←RERT OR ST
RT2とする。ここで、STRT2は、(3)までの結
果を示す。
(5) Next, the processing contents of the AND NOT 0040 subroutine is the stack register STRT.
1 ← (0040), NOT conversion of STRT1, logical operation result register RERT ← RERT AND ST
Let it be RT1. (6) Next, the processing contents of the OR LD subroutine are
Logical operation result register RERT ← RERT OR ST
Let it be RT2. Here, STRT2 shows the results up to (3).

【0023】(7)次に、LD 0050のサブルーチ
ンの処理内容は、エンドフラグENFが1なら0に、0
ならシフトフラグSIFをチェックし、1ならスタック
レジスタSTRT2→STRT3とする。論理演算結果
レジスタRERTをSTRT2とし、シフトフラグSI
Fが0なら、論理演算結果レジスタRERTをスタック
レジスタSTRT2でシフトフラグSIFを1にして、
論理演算結果レジスタRERT←(0050)とする。
ここで、(6)までの結果は、スタックレジスタSTR
T2へセットする。
(7) Next, the processing contents of the LD 0050 subroutine are 0 if the end flag ENF is 1, 0
If so, the shift flag SIF is checked. If it is 1, the stack register STRT2 → STRT3 is set. The logical operation result register RERT is set to STRT2, and the shift flag SI
If F is 0, the logical operation result register RERT is set to the stack register STRT2, the shift flag SIF is set to 1, and
The logical operation result register RERT ← (0050).
Here, the results up to (6) are the stack register STR.
Set to T2.

【0024】(8)次に、OR 0060のサブルーチ
ンの処理内容は、スタックレジスタSTRT1←(00
60)とする。論理演算結果レジスタRERT←RER
TOR STRT1とする。つまり、論理和をとる。 (9)次に、AND LDのサブルーチンの処理内容
は、論理演算結果レジスタRERT←RERT AND
STRT2とする。ここで、STRT2は(6)まで
の結果を示す。
(8) Next, the processing contents of the subroutine of OR 0060 are stack register STRT1 ← (00
60). Logical operation result register RERT ← RER
This is TOR STR T1. In other words, take the logical sum. (9) Next, the processing contents of the AND LD subroutine are as follows: logical operation result register RERT ← RERT AND
Set to STRT2. Here, STRT2 shows the results up to (6).

【0025】(10)次に、AND 1000のサブル
ーチンの処理内容は、スタックレジスタSTRT1←
(1000)とし、論理演算結果レジスタRERT←R
ERTAND STRT1とする。つまり論理積をと
る。 (11)次に、OUT 0200のサブルーチンの処理
内容は、論理演算結果レジスタRERTが1なら表示装
置(CRT)に出力する。
(10) Next, the processing contents of the subroutine of AND 1000 are stack register STRT1 ←
(1000) and the logical operation result register RERT ← R
ERT AND STR T1 In other words, take the logical product. (11) Next, the processing contents of the OUT 0200 subroutine are output to the display device (CRT) if the logical operation result register RERT is 1.

【0026】(12)次に、TIM 010のサブルー
チンの処理内容は、パラメータ010、#0005でタ
イマタスクへパスし、設定値UPでタイマタスクがTI
M010←1とする。なお、本発明は上記実施例に限定
されるものではなく、本発明の趣旨に基づいて種々の変
形が可能であり、これらを本発明の範囲から排除するも
のではない。
(12) Next, the processing contents of the subroutine of TIM 010 pass to the timer task with parameters 010 and # 0005, and when the set value is UP, the timer task receives TI.
Set M010 ← 1. The present invention is not limited to the above-mentioned embodiments, and various modifications can be made based on the spirit of the present invention, and these modifications are not excluded from the scope of the present invention.

【0027】[0027]

【発明の効果】以上、詳細に説明したように、本発明に
よれば、プログラマブル・コントローラのシーケンスの
デバッグ作業をミニコンピュータ上で行なうことができ
るので、実機でのメカ干渉の危険性を回避できる。ま
た、スイッチボックス等を使用しなくてもよいため、作
業の簡略化を図ることができる。
As described above in detail, according to the present invention, since the debugging work of the sequence of the programmable controller can be performed on the minicomputer, the risk of mechanical interference in the actual machine can be avoided. .. Moreover, since it is not necessary to use a switch box or the like, the work can be simplified.

【0028】更に、装置製作時、あるいはメカ調整時に
デバッグ作業に入ることができるので、効率的な装置立
上げ作業を行なうことができる。
Further, since the debugging work can be started at the time of manufacturing the device or at the time of mechanical adjustment, the device can be efficiently started up.

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

【図1】本発明の実施例を示すプログラマブル・コント
ローラのシーケンスシュミレータの全体構成図である。
FIG. 1 is an overall configuration diagram of a sequence simulator of a programmable controller showing an embodiment of the present invention.

【図2】本発明の実施例を示すSEQENのファイル構
成図である。
FIG. 2 is a file configuration diagram of SEQEN showing an embodiment of the present invention.

【図3】本発明の実施例を示すSEQINのファイル構
成図である。
FIG. 3 is a file configuration diagram of SEQIN showing an embodiment of the present invention.

【図4】本発明の実施例を示すシーケンスシュミレーシ
ョン実行時の状態遷移を示す図である。
FIG. 4 is a diagram showing a state transition at the time of executing a sequence simulation showing an embodiment of the present invention.

【図5】本発明の実施例を示すシーケンスシュミレーシ
ョンの実行例を示す図である。
FIG. 5 is a diagram showing an execution example of sequence simulation showing an embodiment of the present invention.

【図6】従来のデバッグを装置と接続して行なうデバッ
グ手順を示す図である。
FIG. 6 is a diagram showing a debug procedure for performing conventional debug by connecting to a device.

【符号の説明】[Explanation of symbols]

10 ミニコンピュータ 11 SEQENタスク(シーケンスの登録・変更) 12 SEQRUタスク(シュミレーションの実行) 13 SEQINタスク(メモリ領域への入力) 14 補助記憶装置(ディスク) 15 メモリ領域 16 表示装置(CRT) 10 minicomputer 11 SEQEN task (registration / change of sequence) 12 SEQRU task (execution of simulation) 13 SEQIN task (input to memory area) 14 auxiliary storage device (disk) 15 memory area 16 display device (CRT)

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】(a)プログラマブル・コントローラのシ
ーケンスの登録・変更手段と、(b)該登録・変更手段
と協働するシーケンス登録ファイル及び入力シーケンス
ファイルを有する補助記憶装置と、(c)該補助記憶装
置と協働するシーケンスシュミレーションの実行手段
と、(d)該シーケンスシュミレーションの実行手段と
協働する入出力及び内部補助メモリを有するメモリ領域
と、(e)前記補助記憶装置及びメモリ領域と協働する
メモリ領域への入力手段と、(f)前記登録・変更手
段、シーケンスシュミレーションの実行手段及びメモリ
領域への入力手段と協働する表示装置とを具備し、
(g)入力シーケンスファイルの入力順にしたがって、
入力操作が行なわれ、その出力状態を前記表示装置で確
認し、デバッグ作業を実行可能なプログラマブル・コン
トローラのシーケンスシュミレータ。
1. A programmable controller sequence registration / modification means, (b) an auxiliary storage device having a sequence registration file and an input sequence file cooperating with the registration / modification means, and (c) Sequence simulation execution means cooperating with an auxiliary storage device, (d) a memory area having input / output and an internal auxiliary memory cooperating with the sequence simulation execution means, and (e) the auxiliary storage device and memory area An input means for cooperating with the memory area, and (f) a display device cooperating with the registering / changing means, execution means for sequence simulation, and input means for the memory area,
(G) According to the input order of the input sequence file,
A sequence simulator of a programmable controller capable of performing an input operation, confirming the output state on the display device, and executing a debug operation.
JP10268192A 1992-04-22 1992-04-22 Sequence simulator of programmable controller Pending JPH05297915A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10268192A JPH05297915A (en) 1992-04-22 1992-04-22 Sequence simulator of programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10268192A JPH05297915A (en) 1992-04-22 1992-04-22 Sequence simulator of programmable controller

Publications (1)

Publication Number Publication Date
JPH05297915A true JPH05297915A (en) 1993-11-12

Family

ID=14333982

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10268192A Pending JPH05297915A (en) 1992-04-22 1992-04-22 Sequence simulator of programmable controller

Country Status (1)

Country Link
JP (1) JPH05297915A (en)

Similar Documents

Publication Publication Date Title
JP3024422B2 (en) Programmable controller and method of operating programmable controller
JPH05297915A (en) Sequence simulator of programmable controller
EP0782074B1 (en) Game apparatus and method for debugging game program
JPH0577143A (en) Failure diagnosis device for automated line
JPH1011116A (en) Data processor, simulation method, and recording medium
JPH03248204A (en) Control method for programmable controller
JP2645202B2 (en) Plant simulator
JP3413860B2 (en) Debug method
JPH07253876A (en) Program generating device
JP3384141B2 (en) Programmable controller and programmable controller maintenance device
JP2776443B2 (en) Programmable controller
JP2581214B2 (en) Logic simulator
JP3358113B2 (en) Program creation device for programmable controller
JPH07306881A (en) Analysis support device for logical siomulation
JPH02232744A (en) Constitution control system for simulator
JPH04373036A (en) Software testing device for computer system
JP3216325B2 (en) Microprocessor
JP3452708B2 (en) Programmable controller
JPH08286714A (en) Monitor device for programmable display device
JPS5949609A (en) Programmable controller equipped with simulation performing function
JPH1115697A (en) Debugging method for program type display device
JPH0546220A (en) Numerical controller
JP2000242524A (en) Software simulator for processor
JPH08227301A (en) Device for verifying operation of sequence control program
JPH07253806A (en) Scheduler definition generation device

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20000523