JPS59703A - Sequence control system - Google Patents

Sequence control system

Info

Publication number
JPS59703A
JPS59703A JP11114382A JP11114382A JPS59703A JP S59703 A JPS59703 A JP S59703A JP 11114382 A JP11114382 A JP 11114382A JP 11114382 A JP11114382 A JP 11114382A JP S59703 A JPS59703 A JP S59703A
Authority
JP
Japan
Prior art keywords
sequence control
microprocessor
control information
information
sequence
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
JP11114382A
Other languages
Japanese (ja)
Inventor
Shinichi Tomizawa
富沢 信一
Shigeru Nakamura
成 中村
Toru Taniguchi
徹 谷口
Yasuhiko Sasaki
康彦 佐々木
Masaaki Kurata
倉田 正明
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP11114382A priority Critical patent/JPS59703A/en
Publication of JPS59703A publication Critical patent/JPS59703A/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/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors

Landscapes

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

Abstract

PURPOSE:To control a device to be controlled with a microprocessor, by providing a simple hardware to the microprocessor in controlling sequentially various devices to be controlled, for attaining the instantaneous response within several tens of musec. CONSTITUTION:Sequence information to control sequentially the device to be controlled 2 with the program control of the microprocessor 1 is set to sequence control registers 41-4n via a data bus 7. When the 1st sequence control information (a) is transmitted to the device to be controlled 2 and its response information (b) is applied to a sequence control section 3, the 2nd sequence control information (c) is transmitted to the device to be controlled 2 from a sequence control information register 42 with a control signal (i). When the final sequence control information (g) is transmitted and its response information (h) is transmitted similarly, an interruption control circuit 5 transmits the interrupting signal (g) to the microprocessor 1 for completing a series of control.

Description

【発明の詳細な説明】 発明の技術分野 本発明は、マイクロブロセツ9′により被制御袋(1) 置を即時応答でシーケンシアル制御するシーケンス制御
方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Technical Field of the Invention The present invention relates to a sequence control system for sequentially controlling a controlled bag (1) by means of a microprocessor 9' with immediate response.

従来技術と問題点 マイクロプロセッサにより各種の被制御装置をシーケン
シアル制御する場合、被制御装置からの応答情報により
マイクロプロセッサに割込のが行われ、マイクロプロセ
ッサでは、その割込めに対して割込解析、プログラムに
よる応答情報解析、その解析結果により次のシーケンス
制御情報の作成等のステップを必要とするものであるか
ら、次のシーケンス制御情報を被制御装置に送出する為
に要する時間が長い(数百〜数千μsec稈度)もので
あり、即時応答(数+1Isec、以内)を要求される
場合には適用することができなか−った。
Prior Art and Problems When a microprocessor sequentially controls various controlled devices, an interrupt is sent to the microprocessor based on response information from the controlled device. Since it requires steps such as analysis, response information analysis using a program, and creation of the next sequence control information based on the analysis results, it takes a long time to send the next sequence control information to the controlled device ( However, it cannot be applied when an immediate response (within several +1 Isec) is required.

発明の目的 本発明は、即時応答を要求されるシーケンシアル制御に
於ても、容易にマイクロプロセッサにより被制御装置を
制御し得るようにすることを目的とするものである。以
下実施例について詳細に説明する。
OBJECTS OF THE INVENTION An object of the present invention is to enable a controlled device to be easily controlled by a microprocessor even in sequential control that requires an immediate response. Examples will be described in detail below.

(2) 発明の実施例 第1図に示すように、マイク!:1プロセッザIにより
複数の被制御装置2をシーケンシアル制御する場合、従
来は、前述の如く被制御装置からの応答情報によりマイ
クロプロセッサlに割込みが行われ、割込解析等により
次のシーケンス制御情報が被制御装置2に送出されるも
のであった。即ち従来のシーケンス制御はソフトツェア
によるものであった。
(2) Embodiment of the invention As shown in FIG. 1, a microphone! :1 When a plurality of controlled devices 2 are sequentially controlled by a processor I, conventionally, as mentioned above, an interrupt is made to the microprocessor I based on response information from the controlled device, and the next sequence control is performed by analyzing the interrupt, etc. Information was to be sent to the controlled device 2. In other words, conventional sequence control was based on software.

これに対して、本発明は、簡単なハードウェアを付加し
7て即時応答制御を可能としたものであって、第2図は
、本発明の実施例の要部ブロック図である。同図に於て
、1はマイクロプロセッサ、2は被制御装置、3はソー
ケンス制御部、41〜4nはシーケンス制御情報レジス
タ、5は割込制御回路、6はアドレスバス、7はデータ
バスである。マイクロプロセッサlのプログラム制御に
より被制御装置2をシーケンシアル制御する為のシーケ
ンス制御情報を作成し、アドレスバス6で順次シーケン
ス制御情報レジスタ41〜4nを指定(3) して、データバス7を介してシーケンス制御情報をセッ
トする。
On the other hand, the present invention enables immediate response control by adding simple hardware, and FIG. 2 is a block diagram of a main part of an embodiment of the present invention. In the figure, 1 is a microprocessor, 2 is a controlled device, 3 is a sequence control section, 41 to 4n are sequence control information registers, 5 is an interrupt control circuit, 6 is an address bus, and 7 is a data bus. . Sequence control information for sequentially controlling the controlled device 2 is created under the program control of the microprocessor l, and the sequence control information registers 41 to 4n are sequentially designated (3) on the address bus 6, and then sent via the data bus 7. and set the sequence control information.

このシーケンス制御情報のセット終了により、シーケン
ス制御情報レジスタ41に書込んだ第1のシーケンス制
御情報(alが被制御装置3に送出される。これに対し
て被制御装置2からの応答情報(blがシーケンス制御
部3に加えられると、制御信号+++によりシーケンス
制御情報レジスタ42から第2のシトケンス制御情報(
C)が被制御装置2に送出される。この第2のシーケン
ス制御情報(C1に対する応答情報fd+が被制御装置
2からシーケンス制御部3に加えられると、制御信号(
Jlによりシーケンス制御情報レジスタ43から第3の
シーケンス制御情報(elが送出される。この第3のシ
ーケンス制御情報(elに対する応答情報(「)が、被
制御装置2からシーケンス制御部3に加えられると、制
御信号fklにより次のシーケンス制御情報が被制御装
置2に送出される。最後のシーケンス制御情報レジスタ
4nから第nのシーケンス制御情報(glが送出され、
それに対する応答情報(hlが送出されると、(A  
) 割込制御回路5はマイクロプロセッサ1に割込信号(q
)を送出する。
Upon completion of setting this sequence control information, the first sequence control information (al) written in the sequence control information register 41 is sent to the controlled device 3. In response, response information (bl) from the controlled device 2 is sent to the controlled device 3. is applied to the sequence control unit 3, the second sequence control information (
C) is sent to the controlled device 2. When response information fd+ to this second sequence control information (C1) is added from the controlled device 2 to the sequence control unit 3, the control signal (
The third sequence control information (el) is sent from the sequence control information register 43 by Jl.Response information (") to this third sequence control information (el) is added from the controlled device 2 to the sequence control unit 3. Then, the next sequence control information is sent to the controlled device 2 by the control signal fkl.The nth sequence control information (gl is sent from the last sequence control information register 4n,
When the response information (hl) is sent, (A
) The interrupt control circuit 5 sends an interrupt signal (q
) is sent.

又各シーケンス制御情報レジスタ41〜4nは各シーケ
ンス完了信号((2)〜(plを割込制御回路5に送出
するものであるから、割込制御回路5にシーケンス監視
機能を設&Jて、シーケンス制御が正しく行われている
か否かを監視するようにすることができる。なおこのシ
ーケンス完了信号tm+〜(ρ)をマイクロプロセ・刈
す1に割込制御回路5を介して転送することにより、マ
イクロプロセッサ1に於てシーケンス制御の監視を行う
こともできる。
Furthermore, since each sequence control information register 41 to 4n is for sending each sequence completion signal ((2) to (pl) to the interrupt control circuit 5, a sequence monitoring function is provided in the interrupt control circuit 5 and It is possible to monitor whether the control is being performed correctly.By transferring this sequence completion signal tm+ to (ρ) to the microprocessor 1 via the interrupt control circuit 5, The microprocessor 1 can also monitor sequence control.

一連のシーケンス制御の終了により割込制御回路5から
割込信号fqlがマイクロプロセッサ1に送出されるの
で、マイクロプロセッサ1は次のプログラム制御により
シーケンス制御情報を作成し、シーケンス制御情報レジ
スタ41〜4nにセットし、前述の制御を繰り返すこと
になる。
Upon completion of a series of sequence controls, the interrupt signal fql is sent from the interrupt control circuit 5 to the microprocessor 1, so the microprocessor 1 creates sequence control information through the next program control and stores the sequence control information registers 41 to 4n. , and the above control is repeated.

前述の如く、被制御装置2からの応答情報により、シー
ケンス制御情報レジスタ群からシーケンス制御情報が直
ちに送出されるから、即時応答側(5) 一嶋ノ 御が可能となる。
As described above, since the sequence control information is immediately sent out from the sequence control information register group in response to the response information from the controlled device 2, immediate control of the response side (5) is possible.

発明の効果 以−ヒ説明したように、本発明は、マイクロプロセッサ
1のプログラム制御で作成したシーケンス制御情報をシ
ーケンス制御情報レジスタ群にセットし、シーケンス制
御情報レジスタ群からシーケンス制御情報を被制御装置
2に送出し、その被制御装W2からの応答情報を受信す
ることにより、シーケンス制御情報レジスタ群から次の
シーケンス制御情報を送出することを繰り返し、最後の
シーケンス制御情報を送出して、その応答情報を受信す
ると、マイクロプロセッサlに割込信号を送出するもの
であり、各シーケンス毎にマイクロプロセッサlが割込
解析等の処理を行うことなく、応答情報に対して直ちに
次のシーケンス制御情報を送出することができるものと
なり、簡単な構成で即時応答制御が可能となる利点があ
る。
Effects of the Invention As explained above, the present invention sets sequence control information created under program control of the microprocessor 1 in a sequence control information register group, and transfers sequence control information from the sequence control information register group to a controlled device. 2, and by receiving the response information from the controlled device W2, the next sequence control information is repeatedly sent from the sequence control information register group, and the last sequence control information is sent, and the response is received. When information is received, an interrupt signal is sent to the microprocessor l, and the microprocessor l immediately sends the next sequence control information in response to the response information without performing processing such as interrupt analysis for each sequence. This has the advantage that immediate response control is possible with a simple configuration.

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

第1図はマイクロプロセラジーと被制御装置との説明図
、第2図は本発明の実施例の要部ブしノック(6) 図である。 ■はマイクロプロセッサ、2は被制御装置、3はシーケ
ンス制御部、41〜4nはシーケンス制御情報レジスフ
、5は割込制御回路、6はアドレスバス、7はデータバ
スである。 特許出願人  富士通株式会社 代理人弁理士 玉蟲久五部 外3名 (7)
FIG. 1 is an explanatory diagram of microprocessor therapy and a controlled device, and FIG. 2 is a diagram showing the main parts of the embodiment of the present invention (6). 2 is a microprocessor, 2 is a controlled device, 3 is a sequence control section, 41 to 4n are sequence control information registers, 5 is an interrupt control circuit, 6 is an address bus, and 7 is a data bus. Patent applicant: Fujitsu Ltd. Representative Patent Attorney Gobe Tamamushi and 3 others (7)

Claims (1)

【特許請求の範囲】[Claims] マイクロプロセッサにより被制御装置をシーケンシアル
制御する方式に於て、シーケンス制御情報レジスタ群と
割込制御回路とからなるシーケンス制御部を設け、前記
マイクロプロセッサのプログラム制御により作成したシ
ーケンス制御情報を前記シーケンス制御情報レジスタ群
にセットし、前記被制御装置が前記シーケンス制御情報
に対する応答情報を前記シーケンス制御部に送出するこ
とにより、該シーケンス制御部は次のシーケンス制御情
報を前記シーケンス制御情報レジスタ群から前記被制御
装置に送出し、所定のソーケンス制御の終了により前記
割込制御回路から前記マイクロプロセッサに割込信号を
送出することを特徴とするシーケンス制御方式。
In a system in which a controlled device is sequentially controlled by a microprocessor, a sequence control unit consisting of a sequence control information register group and an interrupt control circuit is provided, and sequence control information created under program control of the microprocessor is controlled by the sequence control unit. When the controlled device sends response information to the sequence control information to the sequence control unit, the sequence control unit transfers the next sequence control information from the sequence control information register group to the sequence control information register group. A sequence control system characterized in that the interrupt signal is sent to a controlled device, and upon completion of a predetermined sequence control, the interrupt control circuit sends an interrupt signal to the microprocessor.
JP11114382A 1982-06-28 1982-06-28 Sequence control system Pending JPS59703A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11114382A JPS59703A (en) 1982-06-28 1982-06-28 Sequence control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11114382A JPS59703A (en) 1982-06-28 1982-06-28 Sequence control system

Publications (1)

Publication Number Publication Date
JPS59703A true JPS59703A (en) 1984-01-05

Family

ID=14553542

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11114382A Pending JPS59703A (en) 1982-06-28 1982-06-28 Sequence control system

Country Status (1)

Country Link
JP (1) JPS59703A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4467384A (en) * 1982-02-10 1984-08-21 Mitsubishi Denki Kabushiki Kaisha Protective device for DC regulated power supplies for superconducting magnet coils

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4467384A (en) * 1982-02-10 1984-08-21 Mitsubishi Denki Kabushiki Kaisha Protective device for DC regulated power supplies for superconducting magnet coils

Similar Documents

Publication Publication Date Title
JPS59703A (en) Sequence control system
JP3066707B2 (en) Processing control unit
JP2692078B2 (en) Information processing device
JPH04291430A (en) Program tracing system
JPS63109546A (en) Program debugging system
JPS5899845A (en) Vector interruption mask system
JPS6167126A (en) Input/output monitor branch device
JPH0353370A (en) Parallel processor for information processor
JPH05224583A (en) Plant simulation device
JPS63216162A (en) Debugging system
JPS6151258A (en) Inter-controller interface
JPH0341542A (en) Peripheral controller
JPS60204062A (en) Multidata processing system
JPS62107355A (en) Data processor
JPS62243039A (en) Processor state monitoring system for decentralized control type switchboard
JPS5949651A (en) Terminal control system
JPS62204354A (en) Control system for input/output instruction
JPS58175067A (en) Data processing system
JPH03218553A (en) Mda transmission data receiving device
JPH02165364A (en) Input/output picture maintenance processing system
JPH063924B2 (en) Polling control method
JPS584477A (en) Control system for using pointer of plural operation devices
JPS581224A (en) Display controlling system
JPH0495116A (en) Data transfer equipment between computers
JPS63172534A (en) Error calculation system