JPH0619646B2 - Programmable controller - Google Patents

Programmable controller

Info

Publication number
JPH0619646B2
JPH0619646B2 JP59160654A JP16065484A JPH0619646B2 JP H0619646 B2 JPH0619646 B2 JP H0619646B2 JP 59160654 A JP59160654 A JP 59160654A JP 16065484 A JP16065484 A JP 16065484A JP H0619646 B2 JPH0619646 B2 JP H0619646B2
Authority
JP
Japan
Prior art keywords
control
mode
sequence
external device
sequence control
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 - Lifetime
Application number
JP59160654A
Other languages
Japanese (ja)
Other versions
JPS6139104A (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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP59160654A priority Critical patent/JPH0619646B2/en
Publication of JPS6139104A publication Critical patent/JPS6139104A/en
Publication of JPH0619646B2 publication Critical patent/JPH0619646B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime 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
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/23Pc programming
    • G05B2219/23431Change program on detection of deviations

Landscapes

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

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明はプログラマブルコントローラに係り、特に、外
部機器の動作状態を保持したままでシーケンスプログラ
ムを変更できるようにしたプログラマブルコントローラ
に関するものである。
Description: TECHNICAL FIELD The present invention relates to a programmable controller, and more particularly to a programmable controller capable of changing a sequence program while maintaining an operating state of an external device.

〔従来技術〕[Prior art]

従来技術によるプログラマブルコントローラはシーケン
スプログラムを格納した記憶手段と、ランモードとスト
ップモード間のモード切換えを行なうモード切換手段
と、該モード切換手段の選択に基づき外部機器を制御す
る制御手段とを備えている。ここで、上記ランモードと
は外部機器に信号を出力してシーケンス制御を実行する
モードをいい、又、上記ストップモードとは外部機器の
運転を停止させるモードをいう。そして、このように構
成された従来技術によるプログラマブルコントローラに
おいては、外部機器に対するシーケンス制御を実行する
モード即ちランモードのときにはシーケンスプログラム
の変更が禁止され、一方、ストップモードのときには該
シーケンスプログラムの変更が許容されるようになって
いる。このため、例えば制御ラインが初期状態から一定
の状態にまで進行した後に、上記シーケンスプログラム
を変更したい場合にあっては、上記モード切換手段を操
作し、ストップモードにモード切換えた後に行なわなけ
ればならなかった。
A programmable controller according to the prior art comprises a storage means for storing a sequence program, a mode switching means for switching a mode between a run mode and a stop mode, and a control means for controlling an external device based on the selection of the mode switching means. There is. Here, the run mode is a mode in which a signal is output to an external device to execute sequence control, and the stop mode is a mode in which the operation of the external device is stopped. In the programmable controller according to the related art thus configured, the change of the sequence program is prohibited in the mode for executing the sequence control for the external device, that is, the run mode, while the change of the sequence program is performed in the stop mode. It has become acceptable. Therefore, for example, when it is desired to change the sequence program after the control line has progressed from the initial state to a certain state, the mode switching means must be operated to switch the mode to the stop mode. There wasn't.

しかし、上記のようにストップモードとすることは総て
の外部機器の運転が停止するため、立上り時間の長い外
部機器を用いている場合等にあっては、再スタートの運
転準備完了までに長時間を要し、その間がロス時間とな
る欠点を有していた。
However, setting the stop mode as described above stops the operation of all external equipment.Therefore, when using external equipment with a long rise time, etc. It has a drawback that it takes a long time and a loss time occurs during that time.

〔発明の概要〕[Outline of Invention]

本発明は上記従来技術の欠点に鑑みてなされたもので、
ランモード時にモード切換手段をランモード側としたま
ま制御手段を制御して、シーケンスプログラムを変更し
たい時等にシーケンス制御を中断させるスイッチ手段
と、該スイッチ手段の作動によるシーケンス制御の中断
動作を禁止するための所定の条件が予めプログラム等で
設定されており、この所定の条件を満たしていない場合
に上記中断動作を許容するチェック手段と、上記スイッ
チ手段及びチェック手段によりシーケンス制御が中断さ
れた時に駆動され、上記シーケンス制御が中断したとき
の外部機器の動作状態を保持する動作状態保持手段とを
有し、上記スイッチ手段の作動解除により、上記制御手
段にシーケンス制御の再スタートを行わせることによ
り、シーケンスプログラムの変更を可能とし、且つ再ス
タートまでの準備時間を短縮させたプログラマブルコン
トローラに関するものである。
The present invention has been made in view of the above-mentioned drawbacks of the prior art,
In the run mode, the switch means for controlling the control means while keeping the mode switching means on the run mode side to interrupt the sequence control when it is desired to change the sequence program, and the interruption operation of the sequence control due to the operation of the switch means are prohibited. A predetermined condition for doing so is set in advance by a program, etc., and when the predetermined condition is not satisfied, check means for permitting the interruption operation, and when the sequence control is interrupted by the switch means and the check means, By having an operating state holding means that is driven and holds the operating state of the external device when the sequence control is interrupted, and by causing the control means to restart the sequence control by deactivating the switch means. , Sequence program can be changed, and preparation time until restart The present invention relates to a shortened programmable controller was.

〔発明の実施例〕Example of Invention

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

図中、1はシーケンスプログラムを格納した記憶手段、
2はランモードとストップモード間のモード切換えを行
なうモード切換手段で、該モード切換手段2は作業者が
操作して上記モードを択一的に選択するようになってい
る。3は上記モード切換手段2の選択に基づき外部機器
4を制御する制御手段で、該制御手段3は上記モード切
換手段2がランモードのときには外部機器4をシーケン
ス制御し、又、上記モード切換手段2がストップモード
のときには上記外部機器4の運転を停止させるようにな
っている。ここで、上記制御手段3が外部機器4をシー
ケンス制御するモード、即ちランモードのときには上記
シーケンスプログラムの変更は禁止され、又、ストップ
モードのときには外部機器4の運転を停止させるように
なっている。
In the figure, 1 is a storage means for storing a sequence program,
Reference numeral 2 is a mode switching means for switching the mode between the run mode and the stop mode. The mode switching means 2 is operated by an operator to selectively select the mode. Reference numeral 3 is a control means for controlling the external equipment 4 based on the selection of the mode switching means 2. The control means 3 controls the sequence of the external equipment 4 when the mode switching means 2 is in the run mode, and the mode switching means. When 2 is in the stop mode, the operation of the external device 4 is stopped. Here, in the mode in which the control means 3 controls the sequence of the external device 4, that is, in the run mode, the change of the sequence program is prohibited, and in the stop mode, the operation of the external device 4 is stopped. .

又、5は上記制御手段3を制御するスイッチ手段、6は
上記制御手段3内に設けられ、上記スイッチ手段5の操
作をチェックするチェック手段で、該チェック手段6が
許容するときにのみ、上記スイッチ手段3の操作により
上記制御手段3はシーケンス制御を中断するようになっ
ている。ここで、該チェック手段6は所定の条件のとき
にのみ上記シーケンス制御の中断を禁止するように予じ
めプログラム等により設定されている。
Further, 5 is a switch means for controlling the control means 3, 6 is a check means provided in the control means 3 for checking the operation of the switch means 5, and the check means 6 is used only when the check means 6 permits. The control means 3 interrupts the sequence control by operating the switch means 3. Here, the checking means 6 is set by a forecasting program or the like so as to prohibit the interruption of the sequence control only under a predetermined condition.

7は上記制御手段3と外部機器4との入出力部であり、
例えばモータ等の駆動信号を出力する出力部と、リミッ
トスイッチ等の制御信号を入力する入力部とから構成さ
れている。また、当該入出力部7は上記スイッチ手段
5,チェック手段6両者により駆動されて上記外部機器
4を制御する動作状態保持手段としての機能も有してお
り、従って、該入出力部7は上記シーケンス制御が中断
されたときの外部機器4の動作状態を保持するようにな
っている。従って、上記シーケンス制御が中断されたと
きに作動している外部機器4は作動したままであり、
又、停止している外部機器4は停止したままである。な
お、この場合、立上り時間の長い外部機器4は停止する
ことなく、常に保持状態にあるため、この種外部機器4
は上記のようにシーケンス制御が中断された場合、上記
入出力部7により運転状態が保持される。
Reference numeral 7 denotes an input / output unit between the control means 3 and the external device 4,
For example, it is composed of an output unit that outputs a drive signal for a motor and the like, and an input unit that inputs a control signal for a limit switch and the like. Further, the input / output unit 7 also has a function as an operation state holding unit that is driven by both the switch unit 5 and the check unit 6 to control the external device 4. Therefore, the input / output unit 7 has the above-mentioned function. The operation state of the external device 4 when the sequence control is interrupted is retained. Therefore, the external device 4 that is operating when the sequence control is interrupted remains operating,
Further, the stopped external device 4 remains stopped. In this case, the external device 4 having a long rise time is not stopped and is always in the holding state.
When the sequence control is interrupted as described above, the operation state is maintained by the input / output unit 7.

本発明に係るプログラマブルコントローラはこのように
構成されるが、次にその作用を説明する。
The programmable controller according to the present invention is configured in this way, and its operation will be described next.

先ず、モード切換手段2がランモードにあるとすると
(ステップS1)、制御手段3は記憶手段1に格納され
ているシーケンスプログラムに基づき外部機器4をシー
ケンス制御する(ステップS2)。
First, assuming that the mode switching means 2 is in the run mode (step S1), the control means 3 controls the sequence of the external device 4 based on the sequence program stored in the storage means 1 (step S2).

次に、ステップS3において、作業者がスイッチ手段5
を操作したとする。然るに、このときステップS4にお
いてチェック手段6が制御手段3によるシーケンス制御
の中断を禁止している場合にはステップS5においてシ
ーケンス制御を続行する。
Next, in step S3, the operator operates the switch means 5
Suppose you operated. However, if the checking means 6 prohibits the interruption of the sequence control by the control means 3 in step S4 at this time, the sequence control is continued in step S5.

一方、ステップS4においてチェック手段6が制御手段
3によるシーケンス制御の中断を許容している場合には
ステップS6において、制御手段3はシーケンス制御を
中断する一方、ステップS7においてそのときの外部機
器4の動作状態を保持する。そして、作業者は上記シー
ケンス制御が中断している間にシーケンスプログラムの
変更を行なう(ステップS8)。
On the other hand, when the checking means 6 permits the interruption of the sequence control by the control means 3 in step S4, the control means 3 interrupts the sequence control in step S6, while the external device 4 at that time is interrupted in step S7. Holds the operating state. Then, the operator changes the sequence program while the sequence control is suspended (step S8).

その後、作業者はスイッチ手段5を操作し、上記制御手
段3による外部機器4に対するシーケンス制御を新たな
シーケンスプログラムに基づき実行する。なお、この場
合、立上り時間の長い外部機器4は保持状態にあるた
め、再スタートまでの運転準備時間は短かい。
After that, the operator operates the switch means 5 to execute the sequence control of the external device 4 by the control means 3 based on the new sequence program. In this case, since the external device 4 having a long rise time is in the holding state, the operation preparation time before restarting is short.

次に、モード切換手段2をストップモードにすると外部
機器4は制御手段3に制御され、運転を停止する(ステ
ップS9)。
Next, when the mode switching means 2 is set to the stop mode, the external device 4 is controlled by the control means 3 to stop the operation (step S9).

〔発明の効果〕〔The invention's effect〕

以上説明したように本発明によれば、ランモード時にモ
ード切換手段をランモード側としたまま制御手段を制御
して、シーケンスプログラムを変更したい時等にシーケ
ンス制御を中断させるスイッチ手段と、該スイッチ手段
の作動によるシーケンス制御の中断動作を禁止するため
の所定の条件が予めプログラム等で設定されており、こ
の所定の条件を満たしていない場合に上記中断動作を許
容するチェック手段と、上記スイッチ手段及びチェック
手段によりシーケンス制御が中断された時に駆動され、
上記シーケンス制御が中断したときの外部機器の動作状
態を保持する動作状態保持手段とを有し、上記スイッチ
手段の作動解除により、上記制御手段にシーケンス制御
の再スタートを行わせたので、シーケンスプログラム変
更後における再スタートまでの準備時間を短縮できると
ともにシーケンス制御の流れ上、制御を中断させること
ができないような時にスイッチ手段を作動させたような
場合、そのままシーケンス制御を中断させては制御に悪
い影響がでるおそれがあるが、チェック手段を備えてい
るので、制御に悪い影響が起こらないようにでき、信頼
性の高いプログラマブルコントローラが得られる効果が
ある。
As described above, according to the present invention, the switch means for controlling the control means while keeping the mode switching means on the run mode side in the run mode, and interrupting the sequence control when it is desired to change the sequence program, and the switch. A predetermined condition for prohibiting the interruption operation of the sequence control due to the operation of the means is set in advance by a program or the like, and a check means for permitting the interruption operation when the predetermined condition is not satisfied, and the switch means. And is driven when the sequence control is interrupted by the checking means,
The sequence program has an operation state holding means for holding the operation state of the external device when the sequence control is interrupted, and the control means restarts the sequence control by deactivating the switch means. If the switch means is activated when it is not possible to interrupt the control due to the sequence control flow, the preparation time until restarting after the change can be shortened, and interrupting the sequence control as it is is bad for the control. Although there is a possibility that the influence may occur, since the check means is provided, it is possible to prevent the control from being adversely affected, and to obtain a highly reliable programmable controller.

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

第1図は本発明に係るプログラマブルコントローラのブ
ロック構成図、第2図はフロー図である。 1……記憶手段、2……モード切換手段、3……制御手
段、4……外部機器、5……スイッチ手段、6……チェ
ック手段、7……入出力部。
FIG. 1 is a block diagram of a programmable controller according to the present invention, and FIG. 2 is a flow chart. 1 ... storage means, 2 ... mode switching means, 3 ... control means, 4 ... external equipment, 5 ... switch means, 6 ... checking means, 7 ... input / output section.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 葛西 由夫 愛知県名古屋市東区矢田南5丁目1番14号 三菱電機メカトロニクスソフトウエア株 式会社内 (72)発明者 浅井 俊光 愛知県名古屋市東区矢田南5丁目1番14号 三菱電機メカトロニクスソフトウエア株 式会社内 (56)参考文献 特開 昭52−74780(JP,A) 特開 昭53−42533(JP,A) 特開 昭58−60318(JP,A) 特開 昭59−35237(JP,A) ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Yuu Kasai 5-1-1 Yataminami, Higashi-ku, Nagoya-shi, Aichi Mitsubishi Electric Mechatronics Software Co., Ltd. (72) Inventor Toshimitsu Asai Minami-Yada, Higashi-ku, Aichi 5-1-114 Mitsubishi Electric Mechatronics Software Co., Ltd. (56) References JP-A-52-74780 (JP, A) JP-A-53-42533 (JP, A) JP-A-58-60318 (JP , A) JP 59-35237 (JP, A)

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】シーケンスプログラムを格納した記憶手段
と、ランモードとストップモードのモード切換えを行な
うモード切換手段と、該モード切換手段がランモードの
ときに上記シーケンスプログラムに基づき外部機器をシ
ーケンス制御し、又、上記モード切換手段がストップモ
ードのときに外部機器の運転を停止させる制御手段を備
えたプログラマブルコントーラにおいて、上記ランモー
ド時にモード切換手段をランモード側としたまま上記制
御手段を制御して、シーケンスプログラムを変更したい
時等に上記シーケンス制御を中断させるスイッチ手段
と、該スイッチ手段の作動によるシーケンス制御の中断
動作を禁止するための所定の条件が予めプログラム等で
設定されており、この所定の条件を満たしていない場合
に上記中断動作を許容するチェック手段と、上記スイッ
チ手段及びチェック手段によりシーケンス制御が中断さ
れた時に駆動され、上記シーケンス制御が中断したとき
の外部機器の動作状態を保持する動作状態保持手段とを
備え、上記スイッチ手段の作動解除により、上記制御手
段にシーケンス制御の再スタートを行わせることを特徴
とするプログラマブルコントローラ。
1. A storage means for storing a sequence program, a mode switching means for switching between a run mode and a stop mode, and sequence control of an external device based on the sequence program when the mode switching means is in the run mode. In a programmable controller having a control means for stopping the operation of an external device when the mode switching means is in the stop mode, the control means is controlled while the mode switching means is in the run mode side during the run mode. The switch means for interrupting the sequence control when it is desired to change the sequence program and the predetermined condition for prohibiting the interrupting operation of the sequence control due to the operation of the switch means are set in advance by the program or the like. If the above conditions are not met, the above suspend operation is allowed. Check means, and an operating state holding means that is driven when the sequence control is interrupted by the switch means and the checking means, and that holds an operating state of the external device when the sequence control is interrupted. A programmable controller characterized by causing the control means to restart the sequence control when the operation is released.
JP59160654A 1984-07-31 1984-07-31 Programmable controller Expired - Lifetime JPH0619646B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59160654A JPH0619646B2 (en) 1984-07-31 1984-07-31 Programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59160654A JPH0619646B2 (en) 1984-07-31 1984-07-31 Programmable controller

Publications (2)

Publication Number Publication Date
JPS6139104A JPS6139104A (en) 1986-02-25
JPH0619646B2 true JPH0619646B2 (en) 1994-03-16

Family

ID=15719605

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59160654A Expired - Lifetime JPH0619646B2 (en) 1984-07-31 1984-07-31 Programmable controller

Country Status (1)

Country Link
JP (1) JPH0619646B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02269801A (en) * 1989-04-12 1990-11-05 Wacoal Corp Panty

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS592921B2 (en) * 1975-12-19 1984-01-21 株式会社東芝 digital controller
JPS5342533A (en) * 1976-09-30 1978-04-18 Toshiba Corp Interlock unit for memory content alteration
JPS5860318A (en) * 1981-10-07 1983-04-09 Omron Tateisi Electronics Co Programmable controller
JPS5935237A (en) * 1982-08-23 1984-02-25 Hitachi Ltd Software correcting method

Also Published As

Publication number Publication date
JPS6139104A (en) 1986-02-25

Similar Documents

Publication Publication Date Title
JPH0619646B2 (en) Programmable controller
EP0757305B1 (en) A control processor
JPH0619645B2 (en) Programmable controller
JPH01298422A (en) Method and device for controlling stop of power source of processor
JP2567220B2 (en) Automatic idle speed controller for construction vehicle engine
JPS6133509A (en) Sequencer
JPS60119990A (en) Electric washer
EP0408761A4 (en) Method of safely operating a robot
JPH10118378A (en) Sewing machine provided with safe mode
KR0155284B1 (en) Brake embedded motor control method
JPH09198289A (en) Backup device for file
JPH04259005A (en) Sequence controller
JPH02121047A (en) Input/output control system
JPS62209604A (en) Power supply cut-off system for information processing system
JPH04127214A (en) Power unit control system
JPS62296216A (en) Electric power source control system
JP2917405B2 (en) Commercial motor / inverter operation switching control method for motor
JPS63105249A (en) Civil engineering construction machine
JPH0250716A (en) Clock fault processing system
JPS6053887B2 (en) information processing system
JPS61267155A (en) Initial program load system
JPH04189443A (en) Stop switch device for machine tool
JPH0883187A (en) Data processor
JPH07101361B2 (en) Control target value setter
JPH0538186A (en) Motor controller

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term