JPS5832407B2 - sequence controller - Google Patents

sequence controller

Info

Publication number
JPS5832407B2
JPS5832407B2 JP50117405A JP11740575A JPS5832407B2 JP S5832407 B2 JPS5832407 B2 JP S5832407B2 JP 50117405 A JP50117405 A JP 50117405A JP 11740575 A JP11740575 A JP 11740575A JP S5832407 B2 JPS5832407 B2 JP S5832407B2
Authority
JP
Japan
Prior art keywords
input
output
circuit
signal
memory address
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.)
Expired
Application number
JP50117405A
Other languages
Japanese (ja)
Other versions
JPS5241781A (en
Inventor
定 加藤
哲夫 吉田
俊彦 蓬田
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.)
Toyoda Koki KK
Original Assignee
Toyoda Koki KK
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 Toyoda Koki KK filed Critical Toyoda Koki KK
Priority to JP50117405A priority Critical patent/JPS5832407B2/en
Publication of JPS5241781A publication Critical patent/JPS5241781A/en
Publication of JPS5832407B2 publication Critical patent/JPS5832407B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Testing And Monitoring For Control Systems (AREA)

Description

【発明の詳細な説明】 本発明は入出力要素をモニタリングする機能を備えたシ
ーケンスコントローラに関し、その目的はコンピュータ
の如き上級機を使用せずにしかも特別なモニタリング用
プログラムを必要としないで入出力要素をモニタリング
するシーケンスコントローラを提供することである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a sequence controller with a function of monitoring input/output elements, and its purpose is to perform input/output without using advanced equipment such as a computer and without requiring a special monitoring program. The objective is to provide a sequence controller that monitors elements.

コンピュータ技術を応用したシーケンスコントローラが
開発されたことにより、このシーケンスコントローラを
仲介として制御対象の故障箇所を迅速かつ確実に発見で
きるようになった。
With the development of sequence controllers that utilize computer technology, it has become possible to quickly and reliably discover faults in controlled objects using this sequence controller as an intermediary.

しかしながら上級機であるコンピュータを使用している
ために装置が大損りでしかも高価になるばかりでなくモ
ニタリング用の特別なプログラムを必要とするという問
題がある。
However, since a high-end computer is used, there are problems in that the equipment is not only expensive and expensive, but also requires a special program for monitoring.

本発明はかかる問題点に鑑みて提案されたもので、シー
ケンス制御プログラム上のモニタすべき区間の始点メモ
リ番地及び終点メモリ番地を設定することにより、当該
区間より読み出される制御データにて指定される入出力
要素のオン、オフ信号状態を補助記憶装置に記憶、し、
表示するようにし、しかもかかる信号状態の記憶はシー
ケンス制御プログラムの一走査中にしか行われないため
、異常発生後の特定区間内の関連する一連の信号状態を
モニタすることができ、その上モニタ用の特別なプログ
ラムは全く必要としないものであります。
The present invention was proposed in view of such problems, and by setting the start point memory address and end point memory address of the section to be monitored on the sequence control program, the control data read from the section can be specified. Store the on/off signal states of input/output elements in an auxiliary storage device;
Moreover, since the signal state is stored only during one scan of the sequence control program, it is possible to monitor a series of related signal states within a specific section after an abnormality occurs, and also to monitor the signal state. There is no need for any special program.

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

第1図はシーケンスコントローラ全体の概略構成を示す
ブロック線図で、1は予めプログラムされたシーケンス
サイクルのシーケンス制御データを記憶するコアメモリ
等の主記憶回路、2は主記憶回路1のメモリ番地を指定
して所定の制御データを順次読出すプログラムカウンタ
、3はプログラムカウンタ2にて指定されたメモリ番地
から読出された制御データを記憶するメモリデータレジ
スタ、4はメモリデータレジスタ3に記憶された制御デ
ータがデータバスDBを介してセットされるインストラ
クションレジスタ、5煤前記制御データのインストラク
ションレジスタ4へのセット**を制御するメモリゲー
トである。
FIG. 1 is a block diagram showing a schematic configuration of the entire sequence controller, where 1 is a main memory circuit such as a core memory that stores sequence control data of sequence cycles programmed in advance, and 2 is a memory address of the main memory circuit 1. A program counter that sequentially reads specified control data; 3 is a memory data register that stores the control data read from the memory address specified by the program counter 2; 4 is a control stored in the memory data register 3; This is an instruction register in which data is set via the data bus DB, and a memory gate that controls setting of the control data to the instruction register 4.

前記制御データとして使用される命令語は、命令の種別
を表わす操作部と後述する内部入出力要素の番地、主記
憶回路1のメモリ番地等の番地を指定するアドレス部と
より構成される。
The instruction word used as the control data is composed of an operation section that indicates the type of instruction, and an address section that specifies an address such as an address of an internal input/output element, a memory address of the main memory circuit 1, etc., which will be described later.

前記命令の種類としては、内部入出力要素からのオン−
オフ入力信号を論理演算する入出力テスト命令、論理演
算の結果に基いて内部入出力要素のうち出力要素をオン
−オフ作動させる出力命令、論理演算の結果に基いてジ
ャンプさせるジャンプ命令等がある。
The types of instructions include on-off from internal input/output elements.
There are input/output test instructions that perform logical operations on OFF input signals, output instructions that turn on and off output elements among internal input/output elements based on the results of logical operations, and jump instructions that cause jumps based on the results of logical operations. .

第1表に命令語の種類とそれらの意味が示されている。Table 1 shows the types of command words and their meanings.

6はインストラクションレジスタ4にセットされた制御
データの操作部を解読し、各種命令信号を発するインス
トラクションデコーダでアル。
6 is an instruction decoder which decodes the operation part of the control data set in the instruction register 4 and issues various command signals.

10は、例えば工作機械等の制御対象装置の各部動作要
素の動作確認によりオン−オフ作動されるリミットスイ
ッチ、押釦スイッチ等の外部入力要素10a1および前
記制御対象装置の各部動作要素の動作を指示してオン−
オフ作動する出力リレー、ソレノイド等の外部出力要素
10bからなる外部入出力要素群である。
Reference numeral 10 indicates an external input element 10a1, such as a limit switch or a push button switch, which is turned on and off by checking the operation of each operating element of the controlled device such as a machine tool, and an external input element 10a1 that instructs the operation of each operating element of the controlled device. On-
This is an external input/output element group consisting of external output elements 10b such as output relays and solenoids that are turned off.

11は各外部入力要素10aと対を戒しこの外部入力要
素10aのオアー、tフ作動状態をシーケンスコントロ
ーラの内部レベルの電気信号形態の入力信号に変換する
多数の内部入力要素11a1および各外部出力要素10
bと対を成し内部レベルの出力信号を受けて外部出力要
素10bをオン−オフ作動させる多数の出力要素、その
他外部入出力要素群10と直接信号の授受をせず内部レ
ベルの出力信号を受けて作動する多数のタイマ要素、リ
レー要素、ダミー要素等の内部出力要素11bからなる
内部入出力要素群である。
Reference numeral 11 indicates a large number of internal input elements 11a1 which are paired with each external input element 10a, and which convert the OR, t operation state of the external input element 10a into an input signal in the form of an electrical signal at an internal level of the sequence controller, and each external output. element 10
A large number of output elements that form a pair with b and turn on and off the external output element 10b in response to an internal level output signal, and other output elements that do not directly exchange signals with the external input/output element group 10 but transmit internal level output signals. This is an internal input/output element group consisting of a large number of internal output elements 11b such as timer elements, relay elements, dummy elements, etc. that operate in response to the input signal.

12は内部入出力要素群11の中から前記制御データで
指定された番地の内部入出力要素11a。
Reference numeral 12 denotes an internal input/output element 11a at an address specified by the control data from among the internal input/output element group 11.

11bを選択する入力セレクタ12a1出力セレクタ1
2bとからなる入出力選択回路であり、選択された内部
入出力要素11a、11bのオンオフ状態は、オンのと
きには+Hn、オフのときにはL″の入力信号として、
入力セレクタ12aの出力端子からラインIT上に送出
され、特に制御データが出力命令であればテストフラグ
回路14からラインOTを介して送出される出力信号が
出力セレクタ12bにて選択された内部出力要素1 l
bにセットされるようになっている。
Input selector 12a1 output selector 1 to select 11b
2b, and the on/off state of the selected internal input/output elements 11a, 11b is determined by an input signal of +Hn when on and L'' when off.
The output signal sent from the output terminal of the input selector 12a onto the line IT, and especially if the control data is an output command, the output signal sent from the test flag circuit 14 via the line OT is the internal output element selected by the output selector 12b. 1 l
b.

テストフラッグ回路14は、前記インストラクションデ
コーダ6にて解読された各種命令信号を受け、この命令
信号が入出力テスト命令であるならばラインITを介し
て入力される内部入出力要素11a、Ilbからのオン
−オフ入力信号がテスト命令条件を満足しているか否か
をテストしてすなわち論理演算してその結果を記憶し、
また命令信号が出力命令であるならば前記記憶したテス
ト結果に基いたオン−オフ出力信号をラインOTに送出
するようになっている。
The test flag circuit 14 receives various command signals decoded by the instruction decoder 6, and if the command signals are input/output test commands, the test flag circuit 14 receives various command signals from the internal input/output elements 11a and Ilb input via the line IT. testing whether the on-off input signal satisfies a test command condition, that is, performing a logical operation and storing the result;
If the command signal is an output command, an on-off output signal based on the stored test result is sent to the line OT.

15は各命令実行等のタイミングをとるクロックパルス
および制御パルスを発生させる制御パルス発生回路で、
この実施例においては第3図に示すようなりロックパル
スCLおよび制御パルスOP、CL1〜CL6の制御パ
ルスが周期的に発生され、−命令の実行はこの制御パル
スOPが出てからCL6が出されるまでの一周期間で行
なわれるようになっている。
15 is a control pulse generation circuit that generates clock pulses and control pulses for timing the execution of each instruction, etc.;
In this embodiment, as shown in FIG. 3, lock pulse CL, control pulse OP, and control pulses CL1 to CL6 are generated periodically, and the - command is executed after CL6 is issued after this control pulse OP is issued. It is supposed to be held in one cycle up to the end.

16は主記憶回路1の制御回路、17はプログラムカウ
ンタ2にて指定されるメモリ番地のゲート、18はジャ
ンプ命令が与えられたときにプログラムカウンタ2のメ
モリ番地を記憶する待避レジスタ、19〜23は前記制
御パルスにて開閉され所定の命令実行を遂行させるゲー
トである。
16 is a control circuit for the main memory circuit 1; 17 is a gate at a memory address specified by the program counter 2; 18 is a save register that stores the memory address of the program counter 2 when a jump instruction is given; 19-23 is a gate that is opened and closed by the control pulse to execute a predetermined command.

第2図にシーケンス制御プログラムの一例を示す。FIG. 2 shows an example of a sequence control program.

このシーケンス制御プログラムにおいて、メモリ番地1
00〜1γ7(8進法)の制御データは第4図にシーケ
ンス回路の一例として示された起動回路を実行するため
にプログラムされたものである。
In this sequence control program, memory address 1
The control data of 00 to 1.gamma.7 (octal notation) is programmed to execute the starting circuit shown as an example of the sequence circuit in FIG.

80はモニタリングを実行すべきシーケンス制御プログ
ラムの始点のメモリ番地を設定する始点番地設定回路、
90はモニタリングを実行すべきシーケンス制御プログ
ラムの終点のメモリ番地を設定する終点番地設定回路、
100は始点番地設定回路80に設定されたメモリ番地
から終点番地接定回路90に設定されたメモリ番地まで
の間にプログラムされた制御データにて指定された内部
入出力要素をモニタリングするモニタリング回路で、こ
れらの詳細を第5図に示す。
80 is a starting point address setting circuit for setting the starting point memory address of the sequence control program to be monitored;
90 is an end point address setting circuit for setting the end point memory address of the sequence control program to be monitored;
100 is a monitoring circuit that monitors internal input/output elements specified by control data programmed between the memory address set in the start address setting circuit 80 and the memory address set in the end address connection circuit 90; , these details are shown in FIG.

第5図の始点番地設定回路80において、81−1〜8
1−nはメモリ番地を設定するデジタルスイッチの接点
で、メモリ番地を8進法で設定できるよう接点81−1
〜81−nは8個宛のグループに分けられて各グループ
は8進数の各桁を受は持つようになっている。
In the starting point address setting circuit 80 of FIG.
1-n is the contact of the digital switch that sets the memory address, and the contact 81-1 is used to set the memory address in octal notation.
-81-n are divided into groups of eight, and each group has a receiver corresponding to each digit of the octal number.

82はデジタルスイッチの接点81−1〜81−nにて
設定された8進法の数値を2進法の数値に変換する変換
回路で、各デジタルスイッチの接点81−1〜81−n
にて生起される信号がそれぞれインバータ83−1〜8
3−nを介して入力されそようになっている。
82 is a conversion circuit that converts the octal value set at the contacts 81-1 to 81-n of the digital switch to a binary value;
The signals generated in the inverters 83-1 to 83-8 respectively
3-n.

終点番地設定回路90において、91−1〜91−nも
メモリ番地を設定するデジタルスイッチの接点で、メモ
リ番地を8進法で設定できるよう接点91−1〜91−
nは8個宛のグループに分けられて各グループは8進数
の各桁を受は持つようになっている。
In the end address setting circuit 90, 91-1 to 91-n are also contacts of digital switches for setting memory addresses, and contacts 91-1 to 91-n are used to set memory addresses in octal notation.
n is divided into groups of eight, and each group has a receiver corresponding to each digit of the octal number.

92はデジタルスイッチの接点91−1〜91−nにて
設定された8進法の数値を2進法の数値に変換する変換
回路で、各デジタルスイッチ91−1〜91−nにて生
起される信号がそれぞれインバータ93−1〜93−n
を介して入力されるようになっている。
92 is a conversion circuit that converts the octal value set at the contacts 91-1 to 91-n of the digital switch to a binary value; The signals sent to each inverter 93-1 to 93-n
It is now input via the .

モニタリング回路100において、101は前記プログ
ラムカウンタ2の数値と始点番地設定回路80の設定値
を比較し両数値が一致するとH″の一致信号を出力する
比較器で、プログラムカウンタ2の出力と始点番地設定
回路80の変換回路82の出力とが入力されるようにな
っている。
In the monitoring circuit 100, 101 is a comparator that compares the numerical value of the program counter 2 and the setting value of the starting point address setting circuit 80, and outputs a coincidence signal of H'' when the two numerical values match. The output of the conversion circuit 82 of the setting circuit 80 is input.

102はプログラムカウンタ2の数値と終点番地設定回
路90の設定値を比較し両数値が一致するとH″の一致
信号を出力する比較器で、プログラムカウンタ2の出力
と終点番地設定回路90の変換回路92の出力とが入力
されるようになっている。
102 is a comparator that compares the value of the program counter 2 and the setting value of the end point address setting circuit 90 and outputs a match signal of H'' when the two values match; 92 outputs are input.

104〜106はそれぞれ逐次カウンククリャ用押釦ス
イッチ、逐次カウンタ加算用押釦スイッチ、モニタリン
グ開始外部指令用押釦スイッチである。
Reference numerals 104 to 106 denote a push button switch for successive counter clearing, a push button switch for successive counter addition, and a push button switch for external command to start monitoring.

107は、T端子入力が’H”(高レベル電位)から’
L”(低レベル電位)に変化するときに、J端子入力が
H″であればセットされてQ端子出力をH″とし、K端
子入力が゛′HパであればリセットされるJ−にフリッ
プフロップで、T端子にはクロックパルスCLが入力さ
れ、J端子には後述するDフリップフロップ110のQ
端子出力と前記比較器101の出力(一致信号)と制御
パルスCL2とがアンドゲート108を介して入力され
、K端子には比較器102の出力(一致信号)と制御パ
ルスCL5とがアンドゲート109を介して入力される
ようになっている。
107, the T terminal input is from 'H' (high level potential).
When changing to "L" (low level potential), if the J terminal input is H", it is set and the Q terminal output is H", and if the K terminal input is "H", it is reset to J-. In the flip-flop, the clock pulse CL is input to the T terminal, and the Q of the D flip-flop 110, which will be described later, is input to the J terminal.
The terminal output, the output (coincidence signal) of the comparator 101, and the control pulse CL2 are inputted via the AND gate 108, and the output (coincidence signal) of the comparator 102 and the control pulse CL5 are inputted to the K terminal via the AND gate 109. It is now input via the .

110は、S端子入力が11 L 11になれば無条件
にセットされてQ端子出力を”H”、Q端子出力をL″
とし、T端子入力がL″から“H″に変化するときにD
端子入力がL゛′であればリセットされるDフリップフ
ロップであり、S端子には前記押釦スイッチ106によ
り生起されるモニタ゛リング開始外部指令信号が入力さ
れ、T端子には前記J Kフリップフロップ107の
Q端子出力がインパーク111を介して入力されるよう
になっている。
110 is unconditionally set when the S terminal input becomes 11 L 11, and the Q terminal output becomes "H" and the Q terminal output becomes "L".
Then, when the T terminal input changes from “L” to “H”, D
If the terminal input is L', the D flip-flop is reset, the S terminal receives the monitoring start external command signal generated by the push button switch 106, and the T terminal receives the signal from the JK flip-flop 107. The Q terminal output is input via impark 111.

112はフリップフロップ110がセットされると点灯
するモニタリング開始指令表示用の発光ダイオードで、
フリップフロップ110のQ端子出力がインバータ11
3を介して入力されるようになっている。
112 is a light emitting diode for displaying a monitoring start command that lights up when the flip-flop 110 is set;
The Q terminal output of the flip-flop 110 is connected to the inverter 11.
It is designed to be input via 3.

115は加算端子UPにパルスが入力すると内容が+1
され、クリヤ端子CLにパルスが入力するとクリヤされ
て内容が0になる逐次カウンタで、クリヤ端子CLには
前記押釦スイッチ104によって生起されるクリヤパル
ス信号が入力され、加算端子UPには前記フリップフロ
ップ110の6端子出力と押釦スイッチ105によって
生起される加算パルス信号とがアンドゲート116およ
びオアゲート117を介して入力され、前記フリップフ
ロップ107,110のQ端子出力および制御パルスC
L6ならびに後述するインバータ127の出力がアント
ゲ゛−4118および前記オアゲート117を介して入
力するようになっている。
115 becomes +1 when a pulse is input to the addition terminal UP.
When a pulse is input to the clear terminal CL, the counter is cleared and its contents become 0.The clear pulse signal generated by the push button switch 104 is input to the clear terminal CL, and the flip-flop 110 is input to the addition terminal UP. The 6-terminal output of the flip-flops 107 and the addition pulse signal generated by the pushbutton switch 105 are inputted via the AND gate 116 and the OR gate 117, and the Q terminal output of the flip-flops 107 and 110 and the control pulse C
The outputs of L6 and an inverter 127, which will be described later, are inputted via an analog gate 4118 and the OR gate 117.

119は逐次カウンタ115の内容を外部表示するメモ
リ番地表示器で、逐次カウンタ115の内容が入力され
るようになっている。
A memory address display 119 externally displays the contents of the sequential counter 115, and the contents of the sequential counter 115 are inputted thereto.

120は前記インストラクションデコーダ6にて解読さ
れた制御データの入出力テスト命令TNA。
120 is an input/output test instruction TNA of control data decoded by the instruction decoder 6;

TFA、TNO,TPO,THE、TFEによりインス
トラクションレジスタ4にセットされた制御データにて
指定される内部入出力要素11a。
Internal input/output elements 11a specified by control data set in the instruction register 4 by TFA, TNO, TPO, THE, and TFE.

11bのオン−オフ状態を判定し、内部入出力要素1
ia、1 lbのオン−オフ状態が入出力テスト命令の
条件を満足していればT H+1、満足していなければ
L″の信号をテスト結果として出力する入出力テスト回
路で、この回路120を構成するアントゲ゛−H21に
はラインIT上に送出されている内部入出力要素11a
、1ibのオン−オフ信号が入力されるとともに入出力
テスト命令TNA、TNO,TNEがオアゲート122
を介して入力され、アンドゲート123には前記内部入
出力要素11a、11bのオン−オフ信号がインバータ
124を介して入力されるとともに入出力テスト命令T
FA、TPO,TFEがオアゲ−4125を介して入力
されるようになっている。
11b and determines the on-off state of internal input/output element 1.
This circuit 120 is an input/output test circuit that outputs a signal of TH+1 as a test result if the on-off state of ia, 1 lb satisfies the conditions of the input/output test command, and outputs a signal of "L" if it does not satisfy the conditions of the input/output test command. The constituent Ant-game H21 has an internal input/output element 11a sent out on the line IT.
, 1ib are input, and the input/output test commands TNA, TNO, TNE are input to the OR gate 122.
The on-off signals of the internal input/output elements 11a and 11b are inputted to the AND gate 123 via the inverter 124, and the input/output test command T
FA, TPO, and TFE are input via ORG-4125.

両アントゲ゛−N21,123の出力はオアゲ゛−ト1
26を介して出力されてインバータ127に入力される
ようになっている。
The output of both ant gates N21 and 123 is the or gate 1
26 and is input to an inverter 127.

130はJ−にフリップフロップ107がセット状態の
ときに入出力テスト命令の条件を満足しない内部入出力
要素11a、11bの番地を記憶する記憶回路である。
Reference numeral 130 denotes a memory circuit that stores the addresses of internal input/output elements 11a and 11b that do not satisfy the conditions of the input/output test command when the flip-flop 107 is set to J-.

この実施例においては、読み書き指示端子R/Wの入力
がL 91のときにはデータ入力端子Dinに入力する
数値データをメモリ番値入力端子ADDに入力する番地
指定信号にて指定されるメモリ番地に書き込み、読書指
示端子R/Wの入力がH″のときにはメモリ番地入力端
子ADDに入力する番地指定信号にて指定されるメモリ
番地に書き込まれている数値データを出力端子Dout
に出力するコアメモリの如き記憶回路が使用され、メモ
リ番地入力端子ADDには前記逐次カウンタ115の出
力が入力され、読み書き指示端子R/Wにはフリップフ
ロップ107゜110のQ出力端子出力、制御パルスC
L4および前記インバータ127の出力がアントゲ゛−
ト131、インバータ132を介して入力され、データ
入力端子Dinには前記インストラクションレジスタ4
にセットされた制御データのアドレス部が前記ラインA
Dを介して入力されるようになっている。
In this embodiment, when the input to the read/write instruction terminal R/W is L91, the numerical data input to the data input terminal Din is written to the memory address specified by the address designation signal input to the memory number value input terminal ADD. , when the input to the reading instruction terminal R/W is H'', the numerical data written in the memory address specified by the address designation signal input to the memory address input terminal ADD is output to the terminal Dout.
A memory circuit such as a core memory that outputs to Pulse C
L4 and the output of the inverter 127 are ant-game.
131 and an inverter 132, and the instruction register 4 is input to the data input terminal Din.
The address part of the control data set in
It is designed to be input via D.

134は前記記憶回路130の記憶内容を外部表示する
表示器で、記憶回路130のデータ出力端子Doutの
出力が入力されるようになっている。
Reference numeral 134 denotes a display device for externally displaying the storage contents of the storage circuit 130, and the output of the data output terminal Dout of the storage circuit 130 is input thereto.

次に上記のように構成されたシーケンスコントローラの
作動を第2〜第4図を参照しながら説明すると、制御パ
ルスCL6の発生時に発生する制御信号UPIによりプ
ログラムカウンタ2の内容が+1され、制御パルスCL
2の発生時に発生する制御信号MSTによりゲート11
が開かれ、プログラムカウンタ2で指定されたメモリ番
地の制御データがメモリデータレジスタ3に読出されて
記憶される。
Next, the operation of the sequence controller configured as described above will be explained with reference to FIGS. 2 to 4. The content of the program counter 2 is incremented by 1 by the control signal UPI generated when the control pulse CL6 is generated, and the control pulse C.L.
The gate 11 is activated by the control signal MST generated at the time of occurrence of
is opened, and the control data at the memory address specified by the program counter 2 is read out and stored in the memory data register 3.

そして制御パルスCL3の発生時ニ発生する制御信号G
Mによりメモリゲート5が開かれ、同じく制御パルスC
L3の発生時に発生する制御信号5GISRによりイン
ストラクションレジスタ4が開かれてメモリデータレジ
スタ3に記憶されている制御データがインストラクショ
ンレジスタ4にセットされる。
Then, the control signal G generated when the control pulse CL3 is generated
The memory gate 5 is opened by M, and the control pulse C
The instruction register 4 is opened by the control signal 5GISR generated when L3 is generated, and the control data stored in the memory data register 3 is set in the instruction register 4.

こうしてインストラクションレジスタ4に制御データが
セットされるとそのアドレス部にセットされた番地信号
がラインAD上に送出され、その番地信号で指定される
番地の内部入出力要素11aj 11bのオン−オフ状
態が、オンのときには゛H″信号として、オフのときに
はl L j”信号としてラインIT上に送出される。
When the control data is set in the instruction register 4 in this way, the address signal set in the address field is sent onto the line AD, and the on-off state of the internal input/output elements 11aj and 11b at the address specified by the address signal is determined. , when it is on, it is sent out as an ``H'' signal, and when it is off, it is sent out on line IT as a l L j'' signal.

そしてインストラクションレジスタ4にセットされる制
御データはプログラムに従って制御パルスCL3の発生
毎に変更され、これがためにラインAD上に送出される
番地信号およびライフIT上に送出されるオン−オフ信
号は制御パルスCL 3の発生毎に更新されることにな
る。
The control data set in the instruction register 4 is changed every time the control pulse CL3 is generated according to the program, and therefore the address signal sent out on the line AD and the on-off signal sent out on the life IT are controlled by the control pulse. It will be updated every time CL 3 occurs.

各回路がこのようにして制御されることにより第2図に
示したシーケンス制御プログラムが実行され、制御対象
装置がシーケンス制御される。
By controlling each circuit in this manner, the sequence control program shown in FIG. 2 is executed, and the device to be controlled is sequence-controlled.

こうして制御対象装置がシーケンス制御されている場合
に、制御対象装置に異常が発生した場合には、作業者は
異常発生原因を究明するために内部入出力要素11a、
llbのモニタリングを行わしめる。
When the controlled device is sequence-controlled in this way, if an abnormality occurs in the controlled device, the operator must use the internal input/output elements 11a,
llb monitoring will be carried out.

例えば、制御対象装置の運転中に起動状態表示ランプが
消えて制御対象装置の作動が停止するような異常が発生
した場合には、起動回路に異常があるので、起動回路を
構成する各入出力要素をモニタリングすればよい。
For example, if an abnormality occurs while the controlled device is in operation, such as when the startup status indicator lamp goes out and the controlled device stops operating, the startup circuit has an abnormality, and each input/output that makes up the startup circuit Just monitor the elements.

この発明においてはモニタリング用の特別なプログラム
を使用せずシーケンス制御プログラムを使用してモニタ
リングを行う。
In this invention, monitoring is performed using a sequence control program without using a special program for monitoring.

例えば、シーケンス制御プログラムにおいてはメモリ番
地100〜117に起動回路を実行する制御データすな
わち起動回路を構成する各入出力要素のオン−オフ状態
をテストする制御データがプログラムされているので、
上記の異常の場合にはメモリ番地100〜117のシー
ケンス制御プログラムを使用する。
For example, in the sequence control program, control data for executing the startup circuit, that is, control data for testing the on-off state of each input/output element making up the startup circuit, is programmed in memory addresses 100 to 117.
In the case of the above abnormality, the sequence control program at memory addresses 100 to 117 is used.

作業者は囲路の対照表にて、起動回路を実行するプログ
ラムの始点メモリ番地100と終点メモリ番地117を
調べ、始点番地設定回路80のデジタルスイッチ81−
1〜81−nを0100に設定し、終点番地設定回路9
0のデジタルスイッチ91−1〜91−nを0117に
設定する。
The operator checks the starting point memory address 100 and ending point memory address 117 of the program that executes the starting circuit in the comparison table of the enclosure, and then switches the digital switch 81- of the starting point address setting circuit 80.
1 to 81-n to 0100, and the end point address setting circuit 9
0 digital switches 91-1 to 91-n are set to 0117.

そしてモニタリング開始外部指令用押釦スイッチ106
を押す。
And a push button switch 106 for external command to start monitoring.
Press.

これによりフリップフロップ110はセットされる。This causes flip-flop 110 to be set.

フリップフロップ110がセットされるとモニタリング
開始指令用の発光ダイオード112が点灯される。
When the flip-flop 110 is set, the light emitting diode 112 for a monitoring start command is turned on.

また予め逐次カウンタクリヤ用押釦スイッチ104を押
して逐次カウンタ115の内容をOにしておく。
In addition, the contents of the sequential counter 115 are set to O by pressing the sequential counter clear push button switch 104 in advance.

従って、シーケンス制御プログラムが実行されプログラ
ムカウンタ2の内容が0100になると比較器101か
らH″の一致信号が出力されるので、制御パルスCL2
の発生時にフリップフロップ107のJ端子入力が゛′
Hパとなり、クロックパルスCLの立ち下がり時にフリ
ップフロップ107はセットされる。
Therefore, when the sequence control program is executed and the content of the program counter 2 becomes 0100, the comparator 101 outputs an H'' match signal, so the control pulse CL2
When , the J terminal input of flip-flop 107 becomes ``''.
When the clock pulse CL falls, the flip-flop 107 is set.

そして制御信号5GISRによりメモリ番地100の制
御データTNAOOOIが読み出される。
Then, control data TNAOOOI at memory address 100 is read out by control signal 5GISR.

これにより記憶回路130のデータ入力端子Dinには
内部入出力要素の入出力番地を指定する数値データ00
01が入力され、テスト回路120にはテスト命令TN
Aと入出力番地1の内部入出力要素LS2のオン−オフ
信号が入力される。
As a result, the data input terminal Din of the memory circuit 130 receives numerical data 00 specifying the input/output address of the internal input/output element.
01 is input, and the test circuit 120 receives the test command TN.
A and the on-off signal of internal input/output element LS2 at input/output address 1 are input.

内部入出力要素LS2がオン(正常)であればテスト条
件を満足しているからテスト回路120から゛H″信号
が出力され、オフ(異常)であれはテスト条件を満足し
ていないからテスト回路120から”L +1信号が出
力される。
If the internal input/output element LS2 is on (normal), it satisfies the test conditions and the test circuit 120 outputs an "H"signal; if it is off (abnormal), the test conditions are not satisfied and the test circuit 120 outputs an "H" signal. 120 outputs an "L+1" signal.

テスト回路120の出力がL″であれば制御パルスCL
4の発生時に記憶回路130の読み書き指示端子R/W
の入力がL″になるため、前記数値テーク0001が逐
次カウンタ115が指定するメモリ番地0に書き込まれ
、制御パルスCL6の発生により逐次カウンタ115の
加算入力端子UPにパルス信号が入力されて逐次カウン
タ115の内容は+1されて1になる。
If the output of the test circuit 120 is L'', the control pulse CL
4 occurs, the read/write instruction terminal R/W of the memory circuit 130
Since the input becomes L'', the numerical take 0001 is written to the memory address 0 specified by the sequential counter 115, and when the control pulse CL6 is generated, a pulse signal is input to the addition input terminal UP of the sequential counter 115, and the sequential counter The contents of 115 are increased by +1 to become 1.

しかしながらテスト回路120の出力がH″であればア
ントゲ−1−131,118とも開かれないので記憶回
路130への数値データ0001の書き込み、および逐
次カウンタ115の+1は行われない。
However, if the output of the test circuit 120 is H'', neither of the analogues 1-131 and 118 is opened, so the numerical data 0001 is not written to the memory circuit 130 and the sequential counter 115 is not incremented by +1.

次にメモリ番地101の制御テークTFAOOO2が読
み出されることにより、記憶回路130のデータ入力端
子Dinには数値データ0002が入力され、テスト回
路120にはテスト命令TFAと入出力番地2の内部入
出力要素LS3のオン−オフ信号が入力される。
Next, by reading the control take TFAOOOO2 at memory address 101, numerical data 0002 is input to the data input terminal Din of the memory circuit 130, and the test command TFA and the internal input/output element at input/output address 2 are input to the test circuit 120. The on-off signal of LS3 is input.

内部入出力要素LS2がオフ(正常)であればテスト条
件を満足しているからテスト回路120から゛H″信号
が出力され、オン(異常)であればテスト条件を満足し
ていないからテスト回路120から゛L′′信号が出力
される。
If the internal input/output element LS2 is off (normal), the test condition is satisfied, and the test circuit 120 outputs an "H"signal; if it is on (abnormal), the test condition is not satisfied, so the test circuit 120 outputs an "H" signal. 120 outputs an ``L'' signal.

テスト回路120の出力がL″であれば、制御パルスC
L4の発生時に記憶回路130の読書指示端子R/Wの
入力がL″になるため、数値データ0002が逐次カウ
ンタ115が指定するメモリ番地に書き込まれ、また制
御パルスCL6の発生により逐次カウンタ115の加算
入力端子UPにパルス信号が入力されて逐次カウンタ1
15の内容は+1される。
If the output of the test circuit 120 is L'', the control pulse C
When L4 occurs, the input to the reading instruction terminal R/W of the memory circuit 130 becomes L'', so numerical data 0002 is written to the memory address specified by the sequential counter 115, and the control pulse CL6 is generated to write the numerical data 0002 to the memory address specified by the sequential counter 115. A pulse signal is input to the addition input terminal UP, and the counter 1
The contents of 15 are increased by +1.

しかしながらテスト回路120の出力が”H1+であれ
ばアントゲ゛−1131゜118とも開かれないので記
憶回路130への数値データ0002の書き込み、およ
び逐次カウンタ115の+1は行われない。
However, if the output of the test circuit 120 is "H1+", neither of the gates 1131 and 118 is opened, so the numerical data 0002 is not written to the memory circuit 130 and the sequential counter 115 is not incremented by +1.

このようにして制御データが順次読み出され、入出力テ
スト命令のテスト条件を満足していない内部入出力要素
の入出力番地のみが記憶回路130のメモリ番地0から
順に書き込まれる。
In this way, the control data is read out sequentially, and only the input/output addresses of internal input/output elements that do not satisfy the test conditions of the input/output test command are written in order from memory address 0 of the storage circuit 130.

そしてプログラムカウンタ2の内容が117になると比
較器102からH″の一致信号が出力されるので、制御
パルスCL5の発生時にフリップフロップ107のに端
子入力がH″となり、クロックパルスCLの立ち下がり
時にフリップフロップ107はリセットされ、これによ
りフリップフロップ110もリセットされ、発光ダイオ
ード112は消灯される。
When the content of the program counter 2 reaches 117, the comparator 102 outputs an H'' match signal, so when the control pulse CL5 is generated, the terminal input to the flip-flop 107 becomes H'', and at the falling edge of the clock pulse CL. Flip-flop 107 is reset, thereby also resetting flip-flop 110, and light-emitting diode 112 is turned off.

従ってメモリ番地120以降の制御データに対してはモ
ニタリングは行われない。
Therefore, no monitoring is performed on the control data after memory address 120.

なお、上記モニタリングが行われているときにもテスト
フラグ回路14は作動しておりシーケンス制御プログラ
ムによる本来のシーケンス制御は続行されている。
Note that even when the above monitoring is being performed, the test flag circuit 14 is operating, and the original sequence control by the sequence control program is continued.

作業者は、モニタリング開始外部指令用押釦スイッチ1
06を押して点灯させた発光ダイオード112が消灯さ
れるのを確認すると、モニタリング結果を外部表示させ
る。
The operator presses push button switch 1 for external command to start monitoring.
When it is confirmed that the light emitting diode 112 that was turned on by pressing 06 is turned off, the monitoring result is displayed externally.

まず、逐次カウンタクリヤ用押釦スイッチ104を押し
て逐次カウンタ115の内容をOにする。
First, the sequential counter clear push button switch 104 is pressed to set the content of the sequential counter 115 to O.

記憶回路130の読み書き指示端子R/Wの入力はH″
になっているため、逐次カウンタ115の内容がOにな
るとメモリ番地0に記憶されている数値データすなわち
テスト命令の条件を満足していなかった最初の内部入出
力要素の入出力番地がデータ出力端子Doutに出力さ
れ、その入出力番地が表示器134に表示される。
The input of the read/write instruction terminal R/W of the memory circuit 130 is H″
Therefore, when the contents of the sequential counter 115 reach 0, the numerical data stored at memory address 0, that is, the input/output address of the first internal input/output element that did not satisfy the conditions of the test instruction, becomes the data output terminal. Dout, and its input/output address is displayed on the display 134.

次に逐次カウンタ加算用押釦スイッチ105を押すと逐
次カウンタ115の内容は+1されて1になり、テスト
条件を満足していなかった第2番目の内部入出力要素の
入出力番地がテーク出力端子Doutに出力され、その
入出力番地が表示器134に表示される。
Next, when the push button switch 105 for sequential counter addition is pressed, the contents of the sequential counter 115 are incremented by 1 and become 1, and the input/output address of the second internal input/output element that did not satisfy the test conditions becomes the take output terminal Dout. The input/output address is displayed on the display 134.

こうして逐次カウンタ加算用押釦スイッチ105を1回
押す毎に逐次カウンタ115の内容は+1されて記憶回
路130に記憶されているテスト命令の条件を満足しな
かった内部入出力要素の入出力番地が順に表示器134
に表示される。
In this way, each time the push button switch 105 for sequential counter addition is pressed, the contents of the sequential counter 115 are incremented by 1, and the input/output addresses of internal input/output elements that do not satisfy the conditions of the test command stored in the memory circuit 130 are sequentially Display 134
will be displayed.

作業者は表示器134に表示される入出力番地により何
れの内部入出力要素の系統に異常があるかを知ることが
できる。
The operator can know which internal input/output element system has an abnormality based on the input/output address displayed on the display 134.

また、制御対象装置のユニット前進途中でユニット前進
が中断されてしまうような異常が発生した場合には、シ
ーケンス制御プログラム中にあるユニット前進サイクル
回路を実行するプログラムの始点メモリ番地、終点メモ
リ番地を始点番地設足回路80、終点番地設定回路90
に設定して、ユニット前進サイクル回路を構成する各入
出力要素をモニタリングする。
In addition, if an abnormality occurs that causes the unit advance to be interrupted during the unit advance of the controlled device, the start point memory address and end point memory address of the program that executes the unit advance cycle circuit in the sequence control program. Starting point address setting circuit 80, ending point address setting circuit 90
to monitor each input/output element that makes up the unit advance cycle circuit.

第6図にモニタリング回路100の他の実施例を示す。FIG. 6 shows another embodiment of the monitoring circuit 100.

第6図に示したプログラムカウンタ2、始点番地設定回
路80、終点番地設定回路90は第5図に示したものと
全く同一である。
The program counter 2, starting point address setting circuit 80, and ending point address setting circuit 90 shown in FIG. 6 are exactly the same as those shown in FIG.

また第6図に示したモニタリング回路100の構成要素
で第5図のものと同一符号を符したものは第5図の構成
要素と同一の作用を威す。
Further, the components of the monitoring circuit 100 shown in FIG. 6 that have the same reference numerals as those in FIG. 5 have the same functions as the components in FIG. 5.

この第6図において、140はフリップフロップ107
がセット状態のときに入出力テスト命令の条件を満足し
ない内部入出力要素11a、11bの番地を記憶する記
憶回路である。
In this FIG. 6, 140 is a flip-flop 107
This is a storage circuit that stores the addresses of internal input/output elements 11a and 11b that do not satisfy the conditions of the input/output test command when the input/output test command is in the set state.

この実施例においては、ロード信号入力端子りにパルス
が入力するとデータ入力端子りから入力する数値データ
を記憶し、リセット端子Hにパルスが入力するとリセッ
トされる複数のレジスタ140−1〜140 nより
構成され、各レジスタ140−1〜140−nのデータ
入力端子りには制御データのアドレス部が前記ラインA
Dを介して入力され、ロード信号入力端子りにはアント
ゲ−1−141−1〜141 nの出力が入力され、
リセット端子Rには逐次カウンタクリヤ用押釦スイッチ
104によって生起されるパルスが入力されるようにな
っている。
In this embodiment, when a pulse is input to the load signal input terminal, numerical data input from the data input terminal is stored, and when a pulse is input to the reset terminal H, the numerical data is reset from a plurality of registers 140-1 to 140n. The address part of the control data is connected to the data input terminal of each register 140-1 to 140-n on the line A.
D, and the outputs of the anime game-1-141-1 to 141-n are input to the load signal input terminal.
A pulse generated by a push button switch 104 for successive counter clearing is input to the reset terminal R.

143は逐次カウンタ115の内容を解読して前記アン
ドゲート141〜141−nを選択するセレクタで、逐
次カウンタ115の内容がOのときにはアントゲ−[4
1−1を有効にし、1のときにはアンドゲート141−
2を、・・・n−iのときにはアントゲ−H41−nを
有効にするようになっている。
143 is a selector that decodes the content of the sequential counter 115 and selects the AND gates 141 to 141-n; when the content of the sequential counter 115 is O, the selector selects the AND gates [4];
1-1 is enabled, and when it is 1, AND gate 141-
2, . . . n-i, the anime game H41-n is enabled.

各アントゲ−N41−1〜141 nの一方の入力端
子にはアンドゲート131の出力が入力されるようにな
っている。
The output of the AND gate 131 is input to one input terminal of each of the AND gates N41-1 to 141n.

144は記憶回路140の記憶内容を外部表示する表示
回路で、記憶回路140の各レジスタ1401〜140
−nの出力が入力される複数の表示器144−1〜14
4−nより構成されている。
144 is a display circuit for externally displaying the memory contents of the memory circuit 140, and each register 1401 to 140 of the memory circuit 140
A plurality of indicators 144-1 to 144-1 to which the output of -n is input.
It is composed of 4-n.

従って、この実施例によれば、フリップフロップ107
がセットされている間に入出力テスト回路120にてテ
ストされて入出力テスト命令の条件を満足しない内部入
出力要素の入出力番地のみが順に記憶回路140のレジ
スタ140−1〜141−nに記憶され、同時にそれら
の入出力番地が表示回路144の各表示器144−1〜
144−nにより外部表示される。
Therefore, according to this embodiment, flip-flop 107
is set, only the input/output addresses of internal input/output elements that are tested by the input/output test circuit 120 and do not satisfy the conditions of the input/output test instruction are sequentially stored in the registers 140-1 to 141-n of the storage circuit 140. At the same time, those input/output addresses are stored in each of the display devices 144-1 to 144-1 of the display circuit 144.
144-n for external display.

この実施例によれば第5図に示した実施例による場合の
ように逐次カウンタ加算用押釦スイッチを操作する必要
はない。
According to this embodiment, unlike the embodiment shown in FIG. 5, there is no need to sequentially operate the counter addition push button switch.

また、テストフラグ回路14中には、内部入出力要素1
1atllbのオン−オフ状態を各入出力テスト命令T
NA、TFA、TNO,TPO。
In addition, the test flag circuit 14 includes an internal input/output element 1.
The on-off status of 1atllb is determined by each input/output test command T.
NA, TFA, TNO, TPO.

THE、TFEにて判定するテスト回路が備えられてい
るので、モニタリング回路100には入出力テスト回路
120を設けないで、テストフラグ回路14中に備えら
れているテスト回路の出力を利用するようにしてもよい
Since a test circuit for determining based on THE and TFE is provided, the input/output test circuit 120 is not provided in the monitoring circuit 100, and the output of the test circuit provided in the test flag circuit 14 is used. It's okay.

さらに、上記実施例においては、入出力テスト命令の条
件を満足しない状態にある内部入出力要素の入出力番地
を記憶、表示するようになっているが、すべての判定結
果を表示するようにしてもよい。
Furthermore, in the above embodiment, the input/output addresses of internal input/output elements that do not satisfy the conditions of the input/output test command are stored and displayed, but all determination results are displayed. Good too.

そのためには、第5図において、インバータ127の出
力をアンドゲート118,131へは入力させずに、記
憶回路130のデータ入力端子Dinには制御データの
アドレス部と共にインバータ127の出力を入力させて
、入出力テスト命令で判定されるすべての内部入出力要
素の入出力番地とその判定結果を記憶回路130に順次
記憶させ、表示器134に表示させればよい。
To do this, in FIG. 5, the output of the inverter 127 is not input to the AND gates 118 and 131, but the output of the inverter 127 is input to the data input terminal Din of the memory circuit 130 together with the address part of the control data. , the input/output addresses of all internal input/output elements determined by the input/output test command and the determination results may be sequentially stored in the storage circuit 130 and displayed on the display 134.

以上の説明から明らかなように、本発明は、プログラム
のメモリ番地を設定する始点番地設定回路と、プログラ
ムのメモリ番地を設定する終点番地設定回路と、始点番
地設定回路に設定されたメモリ番地から終点番地設定回
路に設定されたメモリ番地までの間にプログラムされた
制御データにて指定された入出力要素のオン、オフ信号
状態を記憶し、表示するモニタリング回路とを備えたも
のであるから、本発明によれば、メモリ番地のある特定
区間にわたってコンピュータ等の上級機ヲ使用せずにシ
ーケンスコントローラのみで入出力要素をモニタリング
することができ、しかもモニタリング用の特別なプログ
ラムを使用することなくシーケンス制御プログラムを利
用することによってモニタリングすることができる。
As is clear from the above description, the present invention has a starting point address setting circuit that sets a memory address of a program, an end point address setting circuit that sets a memory address of a program, and a starting point address setting circuit that sets a memory address of a program. It is equipped with a monitoring circuit that stores and displays the on/off signal state of the input/output element specified by the control data programmed up to the memory address set in the end point address setting circuit. According to the present invention, it is possible to monitor input/output elements over a certain section of memory addresses using only a sequence controller without using advanced equipment such as a computer, and moreover, it is possible to monitor input/output elements over a certain section of memory addresses without using a special program for monitoring. It can be monitored by using a control program.

特にメモリ番地でモニタすべき区間を指定するため、制
御対象となりかつ相互に関連の深い一連の信号状態取込
むことができるので故障原因の追究が容易にできる効果
がある。
In particular, since the section to be monitored is specified by a memory address, a series of signal states that are to be controlled and are closely related to each other can be captured, which has the effect of facilitating the investigation of the cause of a failure.

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

図は本発明の実施例を示すもので、第1図は本発明によ
るシーケンスコントローラの概略のブロック線図、第2
図はシーケンス制御プログラムが書き込まれたプログラ
ムシートの概略図、第3図は制御パルスのタイミングチ
ャート、第4図はシーケンス回路図、第5図は第1図に
おける回路80.90,100の第1実施例詳細図、第
6図は第1図における回路80,90,100の第2実
施例詳細図である。 1・・・・・・主記憶回路、2・・・・・・プログラム
シートク、4・・・・・・インストラクションレジスフ
、6・・・・・・インストラクションデコーダ、10・
・・・・・外部入出力要素群、11・・・・・・内部入
出力要素群、12・・・・・・入出力選択回路、80・
・・・・・始点番地設定回路、90・・・・・・終点番
地設定回路、100・・・・・・モニタリング回路、1
01・102・・・・・・比較器、107・・・・・・
J −にフリップフロップ、110・・・・・・Dフリ
ップフロップ、115・・・・・・逐次カウンタ、12
0・・・・・・入出力テスト回路、130・140・・
・・・・記憶回路、134・・・・・・表示器、143
・・・・・・セレクタ、144・・・・・・表示回路。
The figures show an embodiment of the present invention, and FIG. 1 is a schematic block diagram of a sequence controller according to the present invention, and FIG.
The figure is a schematic diagram of a program sheet in which a sequence control program is written, Figure 3 is a timing chart of control pulses, Figure 4 is a sequence circuit diagram, and Figure 5 is the first circuit of circuits 80, 90, and 100 in Figure 1. Embodiment Detailed Diagram FIG. 6 is a second embodiment detailed diagram of the circuits 80, 90, 100 in FIG. 1...Main memory circuit, 2...Program sheet, 4...Instruction register, 6...Instruction decoder, 10.
...External input/output element group, 11...Internal input/output element group, 12...Input/output selection circuit, 80.
...Start address setting circuit, 90...End point address setting circuit, 100...Monitoring circuit, 1
01・102・・・Comparator, 107・・・・・・
Flip-flop in J-, 110...D flip-flop, 115...Sequential counter, 12
0...Input/output test circuit, 130/140...
...Memory circuit, 134...Display device, 143
...Selector, 144...Display circuit.

Claims (1)

【特許請求の範囲】[Claims] 1 メモリ番地を指定するプログラムカウンタによりシ
ーケンス制御プログラムを順次読み出し、読みだした制
御データにて指定された入力要素からの入力信号を取り
込んで論理演算し、前記読み出した制御データにて指定
された出力要素に対して前記論理演算の結果に基づく出
力信号を与えることにより制御対象をシーケンス制御す
るシーケンスコントローラにおいて、前記シーケンス制
御プログラム上のモニタすべき区間の始点のメモリ番地
を設定する始点番地設定回路と、前記モニタすべき区間
の終点のメモリ番地を設定する終点番地設定回路と、前
記プログラムカウンタの指定するメモリ番地と前記始点
番地設定回路に設定されたメモリ番地とを比較し一致信
号を出力する第1の比較器と、前記プログラムカウンタ
の指定するメモリ番地と前記終点番地設定回路に設定さ
れたメモリ番地とを比較し一致信号を出力する第2の比
較器と、第1の比較器の一致信号によりセットされ第2
の比較器の一致信号によりリセットされるフラッグ回路
と、このフラッグ回路のセット状態にて有効にされ前記
モニタすべき区間において読み出される制御データにて
指定される入出力要素の信号状態あるいはこの信号状態
とこれに対応する入出力信号要素番号を記憶する補助記
憶手段と、この補助記憶手段に記憶された前記入出力要
素の信号状態あるいはこの信号状態とともに対応する入
出力要素機器番号を表示する表示手段とを備えたことを
特徴とするシーケンスコントローラ。
1 The sequence control program is sequentially read by a program counter that specifies a memory address, input signals from input elements specified by the read control data are taken in, logical operations are performed, and outputs specified by the read control data are obtained. In a sequence controller that sequentially controls a controlled object by giving an output signal based on the result of the logical operation to an element, a starting point address setting circuit that sets a memory address of a starting point of an interval to be monitored on the sequence control program; , an end point address setting circuit that sets a memory address of the end point of the section to be monitored, and a second point that compares the memory address specified by the program counter with the memory address set in the start point address setting circuit and outputs a match signal. a second comparator that compares a memory address specified by the program counter with a memory address set in the end point address setting circuit and outputs a match signal; and a match signal from the first comparator. set by the second
A flag circuit that is reset by the match signal of the comparator, and a signal state of an input/output element or this signal state specified by control data that is enabled in the set state of this flag circuit and read out in the interval to be monitored. and an auxiliary storage means for storing the corresponding input/output signal element number; and a display means for displaying the signal state of the input/output element stored in the auxiliary storage means or the corresponding input/output element device number together with this signal state. A sequence controller characterized by comprising:
JP50117405A 1975-09-29 1975-09-29 sequence controller Expired JPS5832407B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP50117405A JPS5832407B2 (en) 1975-09-29 1975-09-29 sequence controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP50117405A JPS5832407B2 (en) 1975-09-29 1975-09-29 sequence controller

Publications (2)

Publication Number Publication Date
JPS5241781A JPS5241781A (en) 1977-03-31
JPS5832407B2 true JPS5832407B2 (en) 1983-07-13

Family

ID=14710824

Family Applications (1)

Application Number Title Priority Date Filing Date
JP50117405A Expired JPS5832407B2 (en) 1975-09-29 1975-09-29 sequence controller

Country Status (1)

Country Link
JP (1) JPS5832407B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6181448A (en) * 1984-09-06 1986-04-25 Kuraray Co Ltd Resin composition having impact resistance

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4875989A (en) * 1972-01-18 1973-10-12

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4875989A (en) * 1972-01-18 1973-10-12

Also Published As

Publication number Publication date
JPS5241781A (en) 1977-03-31

Similar Documents

Publication Publication Date Title
CA1123108A (en) Integrated circuit controller programmable with unidirectional-logic instructions representative of sequential wire nodes and circuit elements of a ladder diagram
US4058711A (en) Asynchronous dual function multiprocessor machine control
GB1418005A (en) Programmable logic controller
KR0136054B1 (en) Testing device to be measured and testing system therefor
JPS5832407B2 (en) sequence controller
US5309444A (en) Integrated circuit including a test cell for efficiently testing the accuracy of communication signals between a standard cell and an application cell
JPS6114524B2 (en)
JPS5832408B2 (en) sequence controller
JPS6112281B2 (en)
JPS5851285B2 (en) sequence controller
JPS5855522B2 (en) sequence controller
KR102219387B1 (en) Control method for error status of PLC system
JPS6048762B2 (en) Sequence control status display device
SU746553A1 (en) Digital unit testing device
JPS6236570B2 (en)
JPS59119412A (en) Programmable controller
SU566249A1 (en) Channel diagnostics circuit
SU446060A1 (en) Computer control unit
JPH01161539A (en) Sequence controller
SU1168952A1 (en) Device for monitoring digital equipment with block structure
JPH02130638A (en) Data processor
JPS646411B2 (en)
JPH0212436A (en) Semiconductor device
JPH02191045A (en) Microprogram controller
JPS62224805A (en) Ladder diagram display system for program of sequence programmable controller