JPS60120410A - Sequence controller - Google Patents

Sequence controller

Info

Publication number
JPS60120410A
JPS60120410A JP58228432A JP22843283A JPS60120410A JP S60120410 A JPS60120410 A JP S60120410A JP 58228432 A JP58228432 A JP 58228432A JP 22843283 A JP22843283 A JP 22843283A JP S60120410 A JPS60120410 A JP S60120410A
Authority
JP
Japan
Prior art keywords
sequence
controller
data
sequence controller
macro
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
JP58228432A
Other languages
Japanese (ja)
Inventor
Akio Ito
明男 伊藤
Hideo Kanzaki
神崎 秀郎
Tsuyoshi Mizoguchi
溝口 強
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 JP58228432A priority Critical patent/JPS60120410A/en
Publication of JPS60120410A publication Critical patent/JPS60120410A/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/048Monitoring; Safety

Abstract

PURPOSE:To perform characteristic analysis or the like without connecting a control object with a sequence controller by stopping the sequence controller at an optional control step to display sequence information. CONSTITUTION:A sequence controller 101 is connected directly to a plant simulator 300 which simulates the control objects, and they exchange data. This controller 101 is provided with a CPU112 as the center, and programs and data are stored in individual memories 109. A programming support tool 102 which debugs the soft sequence and a CRT104 are connected through a debugging control part 100. The controller 101 is stopped by the start of an optical macro instruction inputted on a keyboard 105 of the programming support tool 102 by address comparing and temporary stop functions, and sequence information are displayed on the CRT104 during this stop time.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明はシーケンスコントローラを用いたディジタル制
御装置においてシーケンスのオンラインデパックを詳細
に解析できることに関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Application of the Invention] The present invention relates to the ability to analyze in detail online depacking of sequences in a digital control device using a sequence controller.

〔発明の背景〕[Background of the invention]

従来より、制御対象に対して所定の順序で出力を与えこ
れを制御するシーケンス制御装置が広く採用されており
、最近ではこれをディジタル計算機で実現することが多
い。従って当然シーケンス制御装置はプログラムを用い
る論理演算を行っている。このディジタル制御装置を使
用するユーザーの立場から見ると、シーケンス技術に習
熟した一般の技術者であればシーケンスコントローラ及
びプログラムについての知識が無くともシーケンス処理
内容についての修正の容易に行えるものであることが望
ましい。このためにディジタル制御装置に付加されるの
がプログラム支援装置(プログラミングサポートツール
)である。
BACKGROUND ART Sequence control devices have been widely used in the past to provide outputs to and control objects to be controlled in a predetermined order, and these days, these devices are often implemented using digital computers. Therefore, the sequence control device naturally performs logical operations using a program. From the perspective of a user using this digital control device, it is possible for a general engineer who is familiar with sequence technology to easily modify the sequence processing contents without having any knowledge of sequence controllers or programs. is desirable. For this purpose, a program support device (programming support tool) is added to the digital control device.

このプロゲラばングサポートツールは一種の言語コンパ
イラであり、運転員のキーインするAND、ORなどの
シーケンスシンボルをプログラムに変換する。と同時に
このプログラムに対応するシーケンスシンボルをCRT
 (CathodeRay ’l’ul)e )上に表
示する。このため運転員はCR(1′に表示された論理
回路を見ながら自己の欲する設計を行える。作成された
論理回路をキーイン入力すればこの一連の論理回路に対
応するプログラムがシーケンス制御装置に記憶される。
This progerabang support tool is a kind of language compiler that converts sequence symbols such as AND and OR keyed in by the operator into a program. At the same time, the sequence symbol corresponding to this program is displayed on the CRT.
(CathodeRay 'l'ul)e). Therefore, the operator can design the logic circuit he/she desires while looking at the logic circuit displayed on CR (1').By keying in the created logic circuit, the program corresponding to this series of logic circuits will be stored in the sequence control device. be done.

そして制御対象に対する以後の制御は新たなプログラム
に基づき行われる。
Subsequent control of the controlled object is performed based on the new program.

しかし、制御対象におけるオンライン4性や他のシーケ
ンス内容に対する変更の影響は机上だけのデパックでは
見落としやすい点が多く上記のプログラム変更後、即、
制御対象を動かし始めると、変更の誤り、影響の見落と
し等により、制御対象本体にも影響しかねない。
However, the effects of changes to online 4 characteristics and other sequence contents in the controlled object are often easily overlooked when using Depack only on paper.
When the controlled object starts to move, the controlled object itself may be affected due to incorrect changes or overlooked effects.

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

本発明は係るオンラインデパックにおいて制御対象に影
響を与えず、シーケンスコントローラのオンライン特性
解析を行うことを目的とする。
An object of the present invention is to perform online characteristic analysis of a sequence controller without affecting the controlled object in such online depacking.

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

この目的を達成するために本発明は、制御対象とシーケ
ンスコントローラとを接続せずにプログてプログラムの
任意の制御ステップでシーケンス。
In order to achieve this objective, the present invention can program sequences at any control step of the program without connecting the controlled object and the sequence controller.

ローラを停止することを可能とし、停止している間に/
−ケンス情報をC1aT上に表示させ、オンラインシー
ケンスデパックを容易に実現できることを特徴とする。
It is possible to stop the roller and while it is stopped /
- It is characterized by displaying sequence information on C1aT and easily realizing online sequence depacking.

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

以下、本発明の一実施例を説明する。 An embodiment of the present invention will be described below.

第1図は本発明装置の構成を示す図でおる。デパック制
N部100はシーケンスコントローラ101とバスAで
結合しており、プログラミングサポートツール102と
は伝送線103により結ばれている。プログラミングサ
ポートツール102は表示用のCRT 104、キーイ
ン用のキーボード105及びプログラム入出力媒体とし
て例えばカセットテープ(CM/T)106を備えてい
る。
FIG. 1 is a diagram showing the configuration of the apparatus of the present invention. The Depack system N unit 100 is connected to a sequence controller 101 via a bus A, and is connected to a programming support tool 102 via a transmission line 103. The programming support tool 102 includes a CRT 104 for display, a keyboard 105 for key-in, and a cassette tape (CM/T) 106 as a program input/output medium, for example.

彦お、112,107はCPU、108,109はメモ
リ、110は伝送制御部、111は入出力装置(Ilo
)、113は制御対象であるプラントを示す。
Hiko, 112 and 107 are CPUs, 108 and 109 are memories, 110 is a transmission control unit, and 111 is an input/output device (Ilo
), 113 indicates a plant to be controlled.

第2図は第1図に示したシーケンスコントローラ101
で実行するシーケンス論理演算の一例を^ND、ORな
どのシンボルで示したものである。
FIG. 2 shows the sequence controller 101 shown in FIG.
Examples of sequence logical operations executed in are shown using symbols such as ND and OR.

尚、プログラミング等の際には第2図一点鎖線内の論理
回路が第1図のCRT104に表示される。
Incidentally, during programming, etc., the logic circuit shown in the dashed line in FIG. 2 is displayed on the CRT 104 in FIG.

1.2,3.9はそれぞれ制御対象の現場接点を示して
おり、10はプラント113内のリレーを示す。また、
図中一点鎖線内の論理回路はシーケンスコントローラ1
01のソフトウェア処理により行われ、一点鎖線外の図
は従来のワイヤードロジック回路により組まれる。ソフ
トウェアで組まれた論理は便宜上4〜8の様にシンボル
表示する。
1.2 and 3.9 each indicate on-site contacts to be controlled, and 10 indicates a relay within the plant 113. Also,
The logic circuit inside the dashed-dotted line in the figure is sequence controller 1
01 software processing, and the diagrams outside the dashed-dotted line are constructed using conventional wired logic circuits. For convenience, the logic created by software is represented by symbols 4 to 8.

この図で、4,5.6はタイマ機能を表わしており、4
と6は入力接点1.2が閉じてから夫々5秒、9秒後に
出力する。5は入力接点2が閉じたと同時に出力し、5
秒後に出力停止する。7゜8は夫々AND、OR機能で
ある。P001〜P004あるいはMO01〜MOO4
は入力や出力についての線香である。シーケンスコント
ローラ101内ではこれらの機能ごとに小プログラム(
以下マクロ命令という)が構成されており、例えばプロ
グラミングサポートツール102内のキーボード105
よりシンボルの種類(AND、OR,、タイマ等)と人
力及び出力の線香とさらにパラメータ(タイマーの場合
には限時時間)を−組としてキーイン入力することによ
り、1つのマクロ命令が形成される。そしてマクロ命令
を組合せることによシ、−例を第2図に示したようなソ
フトシーケンスが構成される。第3図によりこのことを
さらに詳細に説明する。
In this figure, 4, 5.6 represents the timer function, and 4.
and 6 are output 5 seconds and 9 seconds after the input contacts 1.2 close, respectively. 5 outputs at the same time as input contact 2 closes, 5
Output will stop after seconds. 7.8 are AND and OR functions, respectively. P001~P004 or MO01~MOO4
is an incense stick about input and output. Inside the sequence controller 101, a small program (
For example, the keyboard 105 in the programming support tool 102
One macro command is formed by key-inputting the type of symbol (AND, OR, timer, etc.), manual and output incense sticks, and further parameters (time limit in the case of a timer) as a set. By combining the macro instructions, a soft sequence as shown in FIG. 2 is constructed. This will be explained in more detail with reference to FIG.

第3図はシーケンスコントローラ101内のメモリ10
9の構成を示してお9、■はプログラムテーブル、■は
マクロプログラム、■は線番データ格納部、■はワーク
テーブルデータ格納部、■はパラメータデータ格納部で
ちる。INはインタープリタ−である。プログラムテー
ブルIは、第2図の各論理機能についてのマクロ命令を
光わしており、下記の(イ)から(ホ)についての情報
を各論理機能ごとに記憶している。この(イ)から(ホ
)の記憶内容は任意に書き替えられる。尚、後述するが
、AND機能7、OR機能8のマクロ命令にはワークテ
ーブルアドレス(ハ)、パラメータアドレスに)がなく
、必要に応じて複数の入力線番アドレス(ロ)が設けら
れる。各論理機能ごとのマクロ命令の(イ)から(ホ)
の内容は夫々下記のようである。
FIG. 3 shows the memory 10 in the sequence controller 101.
9, ``■'' is a program table, ``■'' is a macro program, ``■'' is a wire number data storage section, ``■'' is a work table data storage section, and ``■'' is a parameter data storage section. IN is an interpreter. The program table I shows macro instructions for each logical function shown in FIG. 2, and stores information about (a) to (e) below for each logical function. The memory contents from (a) to (e) can be arbitrarily rewritten. As will be described later, the macro instructions for the AND function 7 and the OR function 8 do not have a work table address (c) or a parameter address (), but are provided with a plurality of input wire number addresses (b) as necessary. Macro instructions (A) to (E) for each logical function
The contents of each are as follows.

(イ)マクロ命令自体の機能(AND、OR,タイマの
区別)を実行するブクロプログラム■の先頭アドレス (ロ)入力線番のデータ(例えばPoolなら接点10
オン・オフデータ)の格納されている線香データ格納部
■のアドレス (ハ) タイマ値をカウントするワークテーブルの場所
を示すワークテーブルデータ格納部■のアドレス に)タイマ値の設定値(例えばタイマ4なら5秒。
(a) Start address of the macro program ■ that executes the function of the macro instruction itself (AND, OR, timer distinction) (b) Input wire number data (for example, contact 10 for Pool)
The address (c) of the incense stick data storage section ■ that stores the on/off data) The address (c) of the work table data storage section ■ that indicates the location of the work table that counts the timer value) Then 5 seconds.

タイマ6なら9秒)が格納されているパラメータデータ
格納部Vのアドレス (ホ)演算の結果を出力する出力線番のアドレスであり
、第3図の例では線香データ格納部■内に存在する。
(9 seconds for timer 6) is stored in the parameter data storage section V. (E) This is the address of the output wire number that outputs the result of the operation, and in the example of Fig. 3, it exists in the incense stick data storage section ■. .

以上の情報をプログラムテーブルに登録している。The above information is registered in the program table.

このメモリ内容を用いて、演算は下記するように進行す
る。
Using this memory content, operations proceed as follows.

まず、インタープリタ−INは最初のマクロ命令(第4
図の例ではタイマー機能4)の先頭アドレスをプログラ
ムテーブルIから読取る。この先頭アドレスはマクロプ
ログラム■につぃてのアドレスを示しており、これによ
り論理演算の種別(タイマオンマクロ、タイマオフマク
ロ、ANDマクロ、ORマクロ等)に応じたマクロプロ
グラムが選択される。マクロプログラム■では、インタ
プリタ−INを介してプログラムテーブルI内の該当す
るマクロ命令内の入力線番又は出力線番のアドレス(ロ
)又は(ホ)、ワークテーブルアドレス(ハ)、パラメ
ータアドレスに)を読取り、これらについての格納部m
、 ■、vからのデータにもとづく演算を行なう。例え
ばタイマ機能の一例として、4では入力線番P001の
情報が「ON」となったことを、線香データ格納部■の
P1データから読取り、パラメータデータ格納部■のパ
ラメータ人より限時時間5秒を読取る。ワークテーブル
格納部■では設定された時間5秒についてのカウントを
行ない、5秒経過をもって線香データ格納部■のM1デ
ータ(ヌ)へrONJを書き込む。この様にしてソフト
プログラムはインタプリタを中心に進められていくが、
一般の技術者にとっては従来なら、シーケンスがリレー
ロジックで組まれていたため接点の動作等により目視確
認でき、リレー動作の時間協調等も把握できたが、ソフ
トウェアになったためこれが不可能となった。
First, the interpreter-IN executes the first macro instruction (the fourth
In the example shown, the start address of timer function 4) is read from program table I. This start address indicates the address of the macro program (2), and thereby a macro program is selected according to the type of logical operation (timer-on macro, timer-off macro, AND macro, OR macro, etc.). In the macro program ■, the input wire number or output wire number address (B) or (E), work table address (C), and parameter address in the corresponding macro instruction in the program table I via the interpreter IN. and store m for these
, (2) Perform calculations based on data from v. For example, as an example of the timer function, in 4, the information of the input wire number P001 is "ON" is read from the P1 data of the incense stick data storage section ■, and the time limit of 5 seconds is set from the parameter person of the parameter data storage section ■. read The work table storage section (2) counts the set time of 5 seconds, and when 5 seconds have elapsed, rONJ is written to the M1 data (N) of the incense stick data storage section (2). In this way, software programs are developed centering around the interpreter,
In the past, ordinary engineers could visually confirm the sequence by checking the operation of the contacts, etc., because the sequence was set up using relay logic, and could also grasp the time coordination of the relay operations, etc., but now that it is software, this is no longer possible.

しかしシーケンスの進行においては時間協調等を確認し
ておくことは必ず必要となるためこれを目視したいとい
う要望が強かった。
However, as it is always necessary to check time coordination as the sequence progresses, there was a strong desire to visually check this.

第4図は第2図のシーケンス内容の動作協調を表した図
であり、横軸は時間経過tまたて軸は目視したい線香デ
ータを示す。
FIG. 4 is a diagram showing the coordination of operations in the sequence shown in FIG. 2, in which the horizontal axis shows the elapsed time t, and the axis shows the incense stick data to be visually observed.

この様な図をプログラミングサポートツール102のC
R,T 104上に示しておけば、運転員や検査員もC
RTによりリレー動作情報を得られ、リレーの協調関係
シーケンスの妥当性などを目視確認できる。
C of programming support tool 102 such a diagram
If shown on R, T 104, operators and inspectors can also understand C.
Relay operation information can be obtained by RT, and the validity of the relay coordination sequence can be visually confirmed.

(9) これを実現するために本装置は調査したい個所たとえば
線番M001がrONJとなる時刻t。
(9) To achieve this, the device wants to investigate the location, for example, the time t when wire number M001 becomes rONJ.

とか線番M002が「off」となる時刻t1などでシ
ーケンスコントローラ101の動作を一時停止(ホール
ド)シ、この停止中に所望の線香データを調査できるよ
うにしたものであり、実際のプランl−113にシーケ
ンスコントローラ101を接続しなくても、例えば第2
図の入力接点1,2゜3を模擬的に与えてやれば、ソフ
トシーケンスの妥当性を証明することができる。更にこ
の模擬データの入力によってはプラント異常時における
入力データをシュミレートして異常時のソフトシーケン
スまでもチェック可能となり、またソフト変更の際等な
どに発生しゃすい訂正ミスなども除去可能となる。
The operation of the sequence controller 101 is temporarily stopped (held) at time t1 when the wire number M002 becomes "off", and desired incense stick data can be investigated during this stop, and the actual plan l- For example, even if the sequence controller 101 is not connected to the
If input contacts 1, 2 and 3 shown in the figure are given in a simulated manner, the validity of the soft sequence can be proved. Furthermore, by inputting this simulated data, it is possible to simulate the input data at the time of plant abnormality and check even the software sequence at the time of abnormality, and it is also possible to eliminate correction errors that are likely to occur when changing software.

以下にコントローラ101を一時停止させ、その間に所
望のデータを抜き取り、CRTに表示させる機構につい
て詳細に述べる。
The mechanism for temporarily stopping the controller 101, extracting desired data during that time, and displaying it on the CRT will be described in detail below.

前述した様に本ソフトプログラムはインタプリタINが
プログラムテーブル■に沿ってシリアル(10) にマクロ命令を認識しながら進んでいく。そのため、コ
ントローラ101が一時停止場所を認識するためには、
インタプリタに一時停止させたいマクロ命令のステップ
No(第3図においてプログラムテーブルIに出てくる
マクロ命令の順番たとえば最初のタイマオンマクロ4で
は0、次のマクロ命令5では■のようなものであり、実
際には■または■のあるプログラムチーブルエの給体メ
モリアドレス)をあらかじめ指示しておき、インタプリ
タINはマクロ命令の実行を終了後、次のマクロ命令を
実行する前にアドレス比較を行い1、これから実行しよ
うとするマクロ命令のプログラムテーブルアドレスがあ
らかじめ指示されたアドレスと一致した場合コントロー
ラは停止するようにする。
As mentioned above, this software program progresses while the interpreter IN recognizes the macro commands serially (10) along the program table (2). Therefore, in order for the controller 101 to recognize the temporary stop location,
The step number of the macro instruction that you want the interpreter to temporarily stop (in the order of the macro instructions that appear in program table I in Figure 3, for example, 0 for the first timer-on macro 4, ■ for the next macro instruction 5, etc.) , actually the supply memory address of the program program with ■ or ■) is specified in advance, and after the interpreter IN finishes executing the macro instruction, it compares the addresses before executing the next macro instruction. 1. If the program table address of the macro instruction to be executed matches the previously specified address, the controller will stop.

このアドレス比較及び一時停止機能によシ、プログラミ
ングサポートツール102のキーボード105によりキ
ーインした任意のマクロ命令の先頭でコントローラを停
止できる。
This address comparison and temporary stop function allows the controller to be stopped at the beginning of any macro command keyed in using the keyboard 105 of the programming support tool 102.

第5図はこれらの機能を実現する具体的方法を(11) 示した図である。Figure 5 shows the specific method for realizing these functions (11) FIG.

まず第1図でも示した様にシーケンスコントローラ10
1は制御対象を模擬したプラントシュミレータ300(
スイッチのみの簡単なそっち)と直結しており、コント
ローラ内にはデータ入出力装置(PIlo)111を用
いてプラントシミュレータ300とのデータ交換を行う
。またジ−タンスコントローラ101はCPU112を
中枢にし、メモリプログラム109 (1)にプログラ
ムが、メモリデータ109 (2)にデータが格納され
ている。
First, as shown in Figure 1, the sequence controller 10
1 is a plant simulator 300 (
A data input/output device (PIlo) 111 is used in the controller to exchange data with the plant simulator 300. Further, the jitance controller 101 has a CPU 112 as its core, and programs are stored in a memory program 109 (1) and data are stored in a memory data 109 (2).

またソフトシーケンスのデパックを行うプログラミング
サポートツール102とCRT104とはデパック制御
部100を介して接続されている。
Further, a programming support tool 102 for depacking a soft sequence and a CRT 104 are connected via a depack control section 100.

ここでデパック制御部100は上記の機能を実現するべ
く構成をしており、まずCPU200により本装置は動
作し、そのプログラムはメモリ201に格納されている
。またCPU112を停止させるHOLD制御部202
、シーケンスコントローラとバス結合するバス結合制御
部203、サポートツール102とのデータ交換を行う
伝送(12) 制御部204から成っている。
Here, the Depack control unit 100 is configured to realize the above-mentioned functions. First, the device is operated by the CPU 200, and its program is stored in the memory 201. Also, a HOLD control unit 202 that stops the CPU 112
, a bus connection control section 203 for bus connection with the sequence controller, and a transmission (12) control section 204 for exchanging data with the support tool 102.

以下動作を説明する。The operation will be explained below.

■ 運転員はCRT 104の表示を見ながらプログラ
ミングサポートツール102より、停止させたいソフト
シーケンスのマクロ命令ステップNOをキーイン入力す
る。サポートツールはこれをアドレスに換算し、そのア
ドレス情報を伝送線TRを介してデパック制御部100
の伝送制御部204へ通知する。
(2) The operator key-inputs the macro command step number of the software sequence to be stopped using the programming support tool 102 while looking at the display on the CRT 104. The support tool converts this into an address and sends the address information to the Depack control unit 100 via the transmission line TR.
The transmission control unit 204 is notified.

■ デパック制御部100のCPU200は伝送制御部
204にアドレスデータが伝送されてきたことを割込に
より認識する。この後、シーケンスコントローラ101
のCPU112に対してHOLD制御部202より一時
停止の要求とサポートツールから伝送されてきたアドレ
スデータを送り、CPU112はこれらの情報をやはり
割込により知らされ、インタプリタINに通知する。イ
ンタプリタは第3図で示した動きを実行する中で停止要
求があり、しかもアドレスデータと現在実行しようとす
るプログラムチー(13) プA/7ドレスIが一致したことを認識するとCPU1
12に一時停止を実行させる。
(2) The CPU 200 of the Depack control unit 100 recognizes that address data has been transmitted to the transmission control unit 204 by an interrupt. After this, the sequence controller 101
The HOLD control unit 202 sends a temporary stop request and the address data transmitted from the support tool to the CPU 112 of the CPU 112, and the CPU 112 is also notified of these information by an interrupt and notifies the interpreter IN. When the interpreter receives a stop request while executing the movement shown in FIG.
12 to execute a temporary stop.

■ CPUI 12は停止すると停止したことをデパッ
ク制御部1000HOLD制御部202に通知する。
(2) When the CPUI 12 stops, it notifies the Depack control unit 1000 and the HOLD control unit 202 that it has stopped.

■ HOLD制御部202はCPUI 12が停止して
いるとわかったため、バス結合制御部203に対し、シ
ーケンスコントローラ101のアドレスバス、データバ
スを全て、デパック制御部100と結合させることを指
示する。
(2) Since the HOLD control unit 202 finds that the CPU 12 is stopped, it instructs the bus connection control unit 203 to connect the address bus and data bus of the sequence controller 101 to the depack control unit 100.

■ HOLIJ御部202はバスがシーケンスコントロ
ーラ101と結合したことを確認後、CPU200にシ
ーケンスコントローラ101よシデータを抽出してもよ
いという許可を与える。
(2) After confirming that the bus is connected to the sequence controller 101, the HOLIJ control unit 202 gives permission to the CPU 200 to extract data from the sequence controller 101.

■ CPU200はシーケンスコントローラ10.1・
のメモリ109 (2)より必要なデータをデパック制
御部100のメモリ201ヘデータ転送する。
■ The CPU 200 is a sequence controller 10.1.
The necessary data is transferred from the memory 109 (2) to the memory 201 of the depack control unit 100.

転送終了をCPU200へ通知し、HOLD制御部20
2に通知する。
The HOLD control unit 20 notifies the CPU 200 of the end of the transfer.
Notify 2.

(14) ■ HOLD制御部202はバス結合制御部203ニ対
してバスをシーケンスコントローラ101から切り離す
よう指示する。
(14) (1) The HOLD control unit 202 instructs the bus connection control unit 203 to disconnect the bus from the sequence controller 101.

■ HOLD制御部202はバスの切り離しを確認後、
CPU200に対して一時停止命令の解除を通知する。
■ After the HOLD control unit 202 confirms that the bus has been disconnected,
The CPU 200 is notified of the cancellation of the temporary stop command.

これにより、シーケンスコントローラは正常動作に戻る
This causes the sequence controller to return to normal operation.

なお、更に停止したいステップがある時は、この時に再
び一時停止要求と停止アドレスを指示してやればよい。
Note that if there is another step that you want to stop, you can issue a temporary stop request and a stop address again at this time.

■ テハック制御ml OOHシーケンスコントローラ
101から抜きとったデータをメモリ・201から伝送
制御部204へ転送する。
■TEHAC control ml Data extracted from the OOH sequence controller 101 is transferred from the memory 201 to the transmission control unit 204.

■ 伝送ラインTRを介してプログラミングツール10
2へ所望のデータを送信し、プログラミングツールはデ
ータを編集してCR’I” 104に表示する。
■ Programming tool 10 via transmission line TR
2, the programming tool edits the data and displays it on CR'I'' 104.

以上の様にしてプラントデータをオンラインでCRTに
表示する。この例が第4図に示したものであり直接、目
でソフトシーケンスの妥当性、不(15) 具合個所の発見、訂正個所のデパック等を確認できるも
のである。このようにして本装置はアドレス比較機能と
一時停止制御機能の適切な組み合わせによりオンライン
でのシーケンス停止機能を有することができた。
Plant data is displayed online on the CRT in the manner described above. An example of this is shown in FIG. 4, which allows you to directly visually confirm the validity of the soft sequence, the discovery of defective areas, and the depacking of corrected areas. In this way, this device was able to have an online sequence stop function by appropriately combining the address comparison function and the temporary stop control function.

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

本発明によればオンラインシーケンスデパック装置によ
り、シーケンスコントローラを中核とした制御装置にお
いてプラントに接続しなくても任意の制御ステップでオ
ンライン停止が可能となるため、特性解析・保守点検な
どに有効な手段となり、またCRT表示により、容易に
プラントのデータが目視できる効果がある。
According to the present invention, the online sequence depacking device enables online stoppage at any control step in a control device with a sequence controller at its core without being connected to the plant, which is effective for characteristic analysis, maintenance inspection, etc. The CRT display has the effect of making it easy to visually view plant data.

また、本機構を連続して同一のマクロ命令に適用すると
、同一線番データの時間経過が監視できオンラインデー
タトレンド機能をも実行可能となる。
Furthermore, if this mechanism is applied continuously to the same macro command, the passage of time for the same wire number data can be monitored and an online data trend function can also be executed.

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

第1図は本オンラインシーケンスデパック装置の構成図
、第2図はソフトシーケンスの一例テア(16) る、第3図はシーケンスコントローラのソフトウェアの
動作機構を示した図である、第4図は、第2図の線香デ
ータ内容の時間的経過を示している、第5図は一時停止
機能及び動作手順を示した図である。 代理人 弁理士 高橋明夫 (17)
Figure 1 is a block diagram of this online sequence depacking device, Figure 2 is an example of a soft sequence, Figure 3 is a diagram showing the operating mechanism of the software of the sequence controller, Figure 4 is a diagram showing the operating mechanism of the software of the sequence controller. , FIG. 5 is a diagram showing the temporary stop function and operation procedure. Agent Patent attorney Akio Takahashi (17)

Claims (1)

【特許請求の範囲】[Claims] 1、シーケンス論理回路を構成する論理機能に対応して
マク・口命令形式の小プログラムを形成し、小プログラ
ムの組合せにより前記シーケンス論理回路と等価の処理
を実現するシーケンスコントローラにおいて、前記マク
ロ命令形式の小プログラムのアドレスを指定し、このア
ドレスのときに以後のプログラムの実行を停止し、外部
からの入力データあるいはシーケンス論理回路の論理機
能の出力状況を表示出力することを特徴とするシーケン
スコントローラ。
1. In a sequence controller that forms small programs in the macro-instruction format corresponding to logic functions constituting a sequence logic circuit, and realizes processing equivalent to the sequence logic circuit by combining the small programs, the macro-instruction format is A sequence controller that specifies an address of a small program, stops execution of subsequent programs at this address, and displays and outputs input data from the outside or the output status of a logic function of a sequence logic circuit.
JP58228432A 1983-12-05 1983-12-05 Sequence controller Pending JPS60120410A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58228432A JPS60120410A (en) 1983-12-05 1983-12-05 Sequence controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58228432A JPS60120410A (en) 1983-12-05 1983-12-05 Sequence controller

Publications (1)

Publication Number Publication Date
JPS60120410A true JPS60120410A (en) 1985-06-27

Family

ID=16876390

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58228432A Pending JPS60120410A (en) 1983-12-05 1983-12-05 Sequence controller

Country Status (1)

Country Link
JP (1) JPS60120410A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5218525A (en) * 1990-02-22 1993-06-08 Mitsubishi Denki K.K. Method and apparatus for partially running a sequence program for debugging thereof
US7182527B2 (en) 2003-07-31 2007-02-27 Kabushiki Kaisha Toshiba Optical transmission device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5085789A (en) * 1973-12-06 1975-07-10

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5085789A (en) * 1973-12-06 1975-07-10

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5218525A (en) * 1990-02-22 1993-06-08 Mitsubishi Denki K.K. Method and apparatus for partially running a sequence program for debugging thereof
US7182527B2 (en) 2003-07-31 2007-02-27 Kabushiki Kaisha Toshiba Optical transmission device

Similar Documents

Publication Publication Date Title
JPS60120410A (en) Sequence controller
WO2019015376A1 (en) Method for studying air conditioner fault checking
JPS5942884B2 (en) Sequence control program debugging device
JPH09114517A (en) Monitor and control equipment
JP2001005517A (en) Monitor method for control program and its device
JPS6333169B2 (en)
JP2002244722A (en) Plant control system
JPH02294740A (en) Inspection system for computer
JP2631778B2 (en) Computer program test equipment
JPH04373036A (en) Software testing device for computer system
JPH0233178B2 (en)
JPH08194634A (en) Test execution system
CN116893624A (en) Operation and maintenance simulation machine and simulation method for production line safety level control system
JPH0883108A (en) Debugging tool for programmable controller
US20210088995A1 (en) Program development support device, program development support system, program development support method, and non-transitory computer-readable recording medium
JPH09319413A (en) Sequence controller, data editor, programmable controller, data transfer method, and recording medium
JPS59229651A (en) Device for developing system
JPH07253876A (en) Program generating device
JPS62103738A (en) Programmable controller
JPS61239345A (en) I/o simulator
JPS63254501A (en) Sequence controller
JPH02121001A (en) Computor device for controlling continuous feedback
JPS58121461A (en) Debugging device for diagnostic program
JPH08286714A (en) Monitor device for programmable display device
JPS62287344A (en) Remote diagnostic device