[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

JPS6152702A - Sequence controller - Google Patents

Sequence controller

Info

Publication number
JPS6152702A
JPS6152702A JP17405884A JP17405884A JPS6152702A JP S6152702 A JPS6152702 A JP S6152702A JP 17405884 A JP17405884 A JP 17405884A JP 17405884 A JP17405884 A JP 17405884A JP S6152702 A JPS6152702 A JP S6152702A
Authority
JP
Japan
Prior art keywords
signal
sequence control
processing request
circuit
processing
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
JP17405884A
Other languages
Japanese (ja)
Inventor
Kazuhiro Kusuda
和弘 楠田
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.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP17405884A priority Critical patent/JPS6152702A/en
Publication of JPS6152702A publication Critical patent/JPS6152702A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/10Programme control other than numerical control, i.e. in sequence controllers or logic controllers using selector switches

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Programmable Controllers (AREA)

Abstract

PURPOSE:To give opportunities for processing equally to plural processing request signals by outputting a counting pulse signal at each sequence control end time to count up the counted value of a counting circuit and using this counted value as a select signal to select a processing request signal and performing a corresponding sequence control. CONSTITUTION:Processing request signals S1-S4 are inputted to a signal selecting circuit 22 with waveforms shown in figures (a)-(d). When a counting pulse signal f1 is outputted from a sequence control circuit 10 to a signal line 18, a counting circuit 20 counts up counted value ''11'' to ''00'', and this counted value ''00'' is outputted as the select signal to signal lines 16 and 14 (waveforms g1 and h1). The select signal ''00'' means that the processing request signal S1 is selected in the signal selecting circuit 22, and the selected processing request signal S1 is outputted to a signal line 12 (waveform e1). The select signal ''00'' is inputted to the sequence control circuit 10 also, and the signal selecting circuit 22 is informed of selection of the processing request signal S1. Since the signal S1 at this time is in the low level, a prescribed processing is executed in the sequence control circuit 10.

Description

【発明の詳細な説明】[Detailed description of the invention]

〔発明の技術分野〕 本発明は複数の処理要求信号に対してそれぞれ対応する
処理を行なうシーケンス制?ff1l装置に関するもの
である。 〔従来技術〕 従来のこの種のシーケンス制御装置では、各処理要求信
号に対して予めプライオリティを決めておき、複数の処
理要求が同時に発生した場合にはプライオリティの高い
順に処理を行っていた。 ところが、このような処理手順の場合には、プライオリ
ティの高い処理要求が連続して発生するとその処理が終
わるまでは同時に発生したプライオリティの低い処理要
求に対する処理が全(なされないことになる。 〔発明の概要〕 本発明は、上記問題点に鑑みてなされたものであり、そ
の目的とするところは、複数の処理要求信号に対して均
等に処理の機会が与えられるシーケンス制御装置を提供
することにある。 かかる目的を達成するために本発明は、シーケンス制御
終了毎に計数パルス信号を出力して計数回路の計数値を
カウントアツプし、この計数値をセレクト信号として処
理要求信号を選択して対応するシーケンス制御を行わせ
るものである。 以下、実施例と共に本発明の詳細な説明する。 〔実施例〕 第1図は本発明の一実施例を示すブロック図である。 シーケンス制御回路10は、信号線14.16から人力
されるセレクト信号に基づいて決定される所定のシーケ
ンス制御処理を行なう回路であり、そのシーケンス制御
処理を行なうか否かは信号線12から人力される処理要
求信号の状態により決定される。なお、この処理要求信
号においてローレベルはオンすなわち“所定の処理を実
行せよ”を意味し、ハイレベルはオフすなわち“処理不
要”を意味する。 また、シーケンス制御回路10は、l !i:+、位の
シーケンス制御処理が終了すると信号線18に向けて計
数パルス信号を出力する。 第2図はシーケンス制御回路10における処理手順を示
すフローチャートである。 ステップ101において計数パルス信号を発生した後ス
テップ102に進んで人力されてくる処理要求信号の状
態を確認する。処理要求信号がオン状態であればステッ
プ103に進んで所定の処理を実行し、オフ状態であれ
ばステップ101に戻り計数パルス信号を発生する。 ステップ103において所定の処理が終了するとステッ
プ104に進み処理要求信号の状態を確認する。通常は
所定の処理の終了によって処理要求信号がオフとなり、
それを確認した後にステップ101に戻って計数パルス
信号を発生させ、別の処理要求信号の状態検索を開始す
るためである。 計数回路20は2ビツトのバイナリ−カウンタを構成し
ており、信号線18からの計数パルス信号を人力すると
自己の計数値を1カウントだけカウントアツプする。こ
の計数値はセレクト信号として信号vA14,16に出
力され、信号線14には下位、信号線16には上位の値
が2値しベル信号の形で出力される。いま、信号線14
.16に      1出力される信号がハイレベルで
ある場合をrlJローレベルである場合を「0」とする
と、セレクト信号は4つの状態すなわち(00)(01
)(10)(11)を持つことになる。なお、信号線1
4.16は、いずれもシーケンス制御回路10および信
号選択回路22の双方に延びている。 信号選択回路22は、4種類の処理要求信号31〜S4
をそれぞれ信号線241〜244を介して入力し、計数
回路20からのセレクト信号に基づいて処理要求信号5
1〜S4の内から所定の処理要求信号を選択する。たと
えば、セレクト信号
[Technical Field of the Invention] The present invention relates to a sequence system in which processing is performed respectively corresponding to a plurality of processing request signals. This relates to the ff1l device. [Prior Art] In a conventional sequence control device of this type, a priority is determined in advance for each processing request signal, and when a plurality of processing requests occur simultaneously, processing is performed in order of priority. However, in the case of such a processing procedure, if high-priority processing requests occur consecutively, all of the processing for low-priority processing requests that occurred at the same time will not be completed until the processing of the high-priority processing requests is completed. [Invention] Summary of the Invention The present invention has been made in view of the above-mentioned problems, and its purpose is to provide a sequence control device that gives equal processing opportunities to a plurality of processing request signals. In order to achieve such an object, the present invention outputs a counting pulse signal every time sequence control ends to count up the counted value of the counting circuit, and uses this counted value as a select signal to select a processing request signal and respond. The present invention will be described in detail below along with examples. [Example] Fig. 1 is a block diagram showing an example of the present invention. The sequence control circuit 10 includes: This is a circuit that performs a predetermined sequence control process determined based on a selection signal inputted manually from the signal line 14 or 16, and whether or not to perform the sequence control process depends on the state of the processing request signal inputted manually from the signal line 12. In this processing request signal, a low level means on, that is, "execute a predetermined process," and a high level means off, that is, "no processing is required." In addition, the sequence control circuit 10 l!i: When the +, digit sequence control process is completed, a counting pulse signal is output to the signal line 18. FIG. 2 is a flowchart showing the processing procedure in the sequence control circuit 10. In step 101, the counting pulse signal After the process is generated, the process proceeds to step 102 to check the state of the manually input processing request signal.If the process request signal is on, the process proceeds to step 103 to execute a predetermined process, and if the process request signal is off, step 101 The process returns to generate a counting pulse signal. When the predetermined processing is completed in step 103, the process proceeds to step 104 and the state of the processing request signal is confirmed. Normally, the processing request signal is turned off when the predetermined processing is completed.
This is because after confirming this, the process returns to step 101 to generate a count pulse signal and start searching for the status of another processing request signal. The counting circuit 20 constitutes a 2-bit binary counter, and when the counting pulse signal from the signal line 18 is input manually, the counting circuit 20 counts up its own count value by one count. This count value is output as a select signal to signals vA14 and 16, and the lower value is output to the signal line 14 and the upper value is output to the signal line 16 in the form of a binary bell signal. Now signal line 14
.. If the signal outputted in 16 is high level, rlJ is low level, it is "0", then the select signal has four states, namely (00) (01
)(10)(11). In addition, signal line 1
4.16 extend to both the sequence control circuit 10 and the signal selection circuit 22. The signal selection circuit 22 selects four types of processing request signals 31 to S4.
are input via signal lines 241 to 244, respectively, and a processing request signal 5 is input based on a select signal from the counting circuit 20.
A predetermined processing request signal is selected from among signals 1 to S4. For example, select signal

〔00〕が入力された場合は処理要
求信号S1が選択される如(である。選択された処理要
求信号は信号線12を介してシーケンス制御回路10に
出力される。 つぎに、本実施例の動作を第3図のタイミングチャート
を用いて説明する。なお、第3図(a)〜(d)は信号
″!fA241〜244における波形図、同図(c)は
信号綿12における波形図、同図(f)は信号線18に
おける波形図、同図(g)および(h)は信号線16お
よび14における波形図である。 いま、13号選択回路22には処理要求13号S1〜S
4が第3図(a)〜(d)に示すような波形で入力され
てきたとする。 シーケンス制御回路10から計数パルス信号(第3図波
形fl)が信号綿18に出力されると、計数回路20は
それまでの計数値〔11〕をカウントアツプして(00
)とし、この計数値(00〕はセレクト信号として信号
線16.14に出力される(第3図波形g1.hl)。 信号選択回路22においてセレクト信号
If [00] is input, the processing request signal S1 is selected.The selected processing request signal is output to the sequence control circuit 10 via the signal line 12. The operation will be explained using the timing chart in FIG. 3. FIGS. 3(a) to 3(d) are waveform diagrams for the signals "! , (f) in the same figure is a waveform diagram on the signal line 18, and (g) and (h) in the same figure are waveform diagrams on the signal lines 16 and 14.Currently, the No. 13 selection circuit 22 receives processing requests No. 13 S1 to S
4 is input in the waveforms shown in FIGS. 3(a) to 3(d). When the counting pulse signal (waveform fl in FIG. 3) is output from the sequence control circuit 10 to the signal line 18, the counting circuit 20 counts up the count value [11] up to that point to (00).
), and this count value (00) is output as a select signal to the signal line 16.14 (waveform g1.hl in FIG. 3).

〔00〕は処理
要求信号S1を選択することを意味し、選択された処理
要求信号Slは信号線12に出力される(第3図波形e
l)。また、セレクト信号
[00] means that the processing request signal S1 is selected, and the selected processing request signal S1 is output to the signal line 12 (waveform e in Figure 3).
l). In addition, the select signal

〔00〕は同時にシーケンス
制御回路10にも入力され、信号選択回路22は処理要
求信号S1が選択されたことを知る。このときの処理要
求信号SLはローレベルであるからシーケンス制御回路
10において所定の処理が実行される。 区間T1は処理要求信号S1に対する処理が実行されて
いる期間を示しており、シーケンス制御回路10は処理
の終了を待って計数パルス信号を出力する(第3図波形
「2)。 この波形f2が信号線18に出力されると、計数回路2
0は再び計数値をカウントアツプして計数値を〔01]
とし、以下同様に処理を続行する。 区間T2.T3.T4はそれぞれ処理要求信号S2゜S
4. Slに対する処理の実行)す1間を示している。 なお、選択された処理要求信号がハイレベルの場合には
く第3図波形e2)シーケンス制御回路10において何
等処理がなされずに計数パルス信号が出力される(第3
図波形f3)。 また、本実施例では計数回路20での最大計数値を2ビ
ツトとし、処理要求信号を4種類としているが、計数値
をnビットとすれば処理要求信号を最大2″種類まで選
択できることはいうまでもない。 〔発明の効果〕 以上説明したように、本発明のシーケンス制?111装
置によれば、シーケンス制御終了毎に計数パルス信号を
出力して計数回路の計数値をカウントアツプし、この計
数値をセレクト信号として処理要求信号を選択して対応
するシーケンス制御を行わせるので、複数の処理要求信
号に対して均等に処理の機会が与えられる。したがって
、特定の処理要求信号に対する処理が必要以上に遅延す
るといる不都合が解消される。
[00] is also input to the sequence control circuit 10 at the same time, and the signal selection circuit 22 knows that the processing request signal S1 has been selected. Since the processing request signal SL at this time is at a low level, the sequence control circuit 10 executes a predetermined process. A period T1 indicates a period during which processing is being executed for the processing request signal S1, and the sequence control circuit 10 waits for the processing to end and outputs a counting pulse signal (waveform "2" in FIG. 3). This waveform f2 is When output to the signal line 18, the counting circuit 2
0 counts up the count value again and makes the count value [01]
Then, the process continues in the same manner. Section T2. T3. T4 is the processing request signal S2゜S
4. (Execution of processing on Sl) Note that when the selected processing request signal is at a high level (waveform e2 in Fig. 3), the counting pulse signal is output without any processing being performed in the sequence control circuit 10 (waveform
Figure waveform f3). Furthermore, in this embodiment, the maximum count value in the counting circuit 20 is 2 bits, and there are four types of processing request signals; however, if the count value is n bits, up to 2'' types of processing request signals can be selected. [Effects of the Invention] As explained above, according to the sequence system ?111 device of the present invention, the count pulse signal is output every time the sequence control is completed, the count value of the counting circuit is counted up, and the count value of the counting circuit is counted up. Since a processing request signal is selected using the count value as a select signal and the corresponding sequence control is performed, a plurality of processing request signals are given an equal opportunity to process.Therefore, it is necessary to process a specific processing request signal. This eliminates the inconvenience of delays.

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

第1図は本発明の一実施例を示すブロック図、第2図は
シーケンス制御回路1oにおける処理手順を示すフロー
チャート、第3図はタイミングチャートである。 10・・・シーケンス制御回路、2o・・・計数回路、
22・・・信号選択回路。
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a flowchart showing a processing procedure in the sequence control circuit 1o, and FIG. 3 is a timing chart. 10... Sequence control circuit, 2o... Counting circuit,
22...Signal selection circuit.

Claims (1)

【特許請求の範囲】[Claims] セレクト信号および処理要求信号に応じて所定のシーケ
ンス制御を行ない、このシーケンス制御終了後に計数パ
ルス信号を出力するシーケンス制御回路と、前記計数パ
ルス信号の入力によってnビットの計数値を1カウント
だけカウントアップし、この計数値をセレクト信号とし
て出力する計数回路と、最大2^n種類の処理要求信号
の中から前記セレクト信号に応じた処理要求信号を選択
し、この選択した処理要求信号を前記シーケンス制御回
路に出力する信号選択回路とを具備することを特徴とす
るシーケンス制御装置。
A sequence control circuit that performs predetermined sequence control according to a select signal and a processing request signal, and outputs a counting pulse signal after the sequence control is completed, and a sequence control circuit that increments an n-bit count value by one count by inputting the counting pulse signal. A counting circuit outputs this counted value as a selection signal, selects a processing request signal corresponding to the selection signal from among a maximum of 2^n types of processing request signals, and sends the selected processing request signal to the sequence control. A sequence control device comprising: a signal selection circuit for outputting a signal to a circuit.
JP17405884A 1984-08-23 1984-08-23 Sequence controller Pending JPS6152702A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17405884A JPS6152702A (en) 1984-08-23 1984-08-23 Sequence controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17405884A JPS6152702A (en) 1984-08-23 1984-08-23 Sequence controller

Publications (1)

Publication Number Publication Date
JPS6152702A true JPS6152702A (en) 1986-03-15

Family

ID=15971880

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17405884A Pending JPS6152702A (en) 1984-08-23 1984-08-23 Sequence controller

Country Status (1)

Country Link
JP (1) JPS6152702A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0319002A (en) * 1989-06-16 1991-01-28 Fuji Electric Co Ltd Internal processing method for programmable controller

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5131912A (en) * 1974-09-13 1976-03-18 Hitachi Ltd REIKYAKUYOCHUKUBUOSONAETA KAITENTAI
JPS54126441A (en) * 1978-03-24 1979-10-01 Toshiba Corp Programmable logic controller
JPS5569873A (en) * 1978-11-20 1980-05-26 Toshiba Corp Programmable logic controller

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5131912A (en) * 1974-09-13 1976-03-18 Hitachi Ltd REIKYAKUYOCHUKUBUOSONAETA KAITENTAI
JPS54126441A (en) * 1978-03-24 1979-10-01 Toshiba Corp Programmable logic controller
JPS5569873A (en) * 1978-11-20 1980-05-26 Toshiba Corp Programmable logic controller

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0319002A (en) * 1989-06-16 1991-01-28 Fuji Electric Co Ltd Internal processing method for programmable controller

Similar Documents

Publication Publication Date Title
JPS60136875A (en) Vector arithmetic device
JPS6152702A (en) Sequence controller
JPH02190937A (en) Interruption circuit for microcomputer
JPS5826583B2 (en) Data collection
JPH0653835A (en) D/a converter
JP3166458B2 (en) Timer circuit
JPS6130118A (en) Timer circuit
JP2884764B2 (en) Signal processor
JPS63211438A (en) Interruption control circuit
SU696624A1 (en) Device for quality control of transmission of telegrams
SU679983A1 (en) Priority unit
JPS63141415A (en) Parallel serial conversion circuit
JP2896478B2 (en) Remote control pulse receiving circuit
JPS62239610A (en) Digital signal noise eliminating circuit
JPS6349853A (en) Logic simulation processing system
JPH0580089A (en) Timer device
JPH02185131A (en) Counter device
JPH07253906A (en) Pseudo fault generating circuit
JPS5947335B2 (en) Interrupt processing method
JPH06110819A (en) Data processor
JPH0389619A (en) Waveform signal generating circuit
JPH02193412A (en) Selecting circuit
JPS63221451A (en) Multi-processor system
JPS6120424A (en) Logical circuit
JPH0227854B2 (en)