JPH02275503A - Programmable logic controller - Google Patents
Programmable logic controllerInfo
- Publication number
- JPH02275503A JPH02275503A JP9810889A JP9810889A JPH02275503A JP H02275503 A JPH02275503 A JP H02275503A JP 9810889 A JP9810889 A JP 9810889A JP 9810889 A JP9810889 A JP 9810889A JP H02275503 A JPH02275503 A JP H02275503A
- Authority
- JP
- Japan
- Prior art keywords
- sequence
- relay
- sequence control
- normally closed
- switches
- 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
Links
Landscapes
- Programmable Controllers (AREA)
Abstract
Description
【発明の詳細な説明】
[概要コ
各ステップの処理が順次実行されるプログラムロジック
コントローラに関し、
中断したシーケンスを迅速に再開することが可能となる
プログラマブルロジックコントローラの提供を目的とし
、
上記のプログラマブルロジックコントローラにおいて、
対応したステップの実行で各々駆動される複数のスイッ
チを直列接続した、ことにより構成される。[Detailed Description of the Invention] [Summary] The present invention relates to a programmable logic controller in which processing of each step is sequentially executed, and the purpose of the present invention is to provide a programmable logic controller that can quickly restart an interrupted sequence. In the controller,
It is constructed by connecting a plurality of switches in series, each of which is driven by the execution of a corresponding step.
[産業上の利用分野]
本発明は、各ステップの処理が順次実行されるプログラ
マブルロジックコントローラに関するものである。[Industrial Application Field] The present invention relates to a programmable logic controller in which processing of each step is executed sequentially.
プログラマブルロジックコントローラは、組立ラインや
製造ラインにおける各プロセスの自動化に広く利用され
ている。Programmable logic controllers are widely used to automate various processes on assembly lines and manufacturing lines.
〔従来の技術]
ラダータイプのプログラマブルロジックコントローラの
ように、各ステップの処理が逐次的に実行されるコント
ローラでは、処理すべきステップを示すカウンタの直が
障害の発生を示すアラーム信号でリセットされ、シーケ
ンスが中断される。[Prior Art] In a controller, such as a ladder type programmable logic controller, in which processing of each step is executed sequentially, a counter indicating a step to be processed is reset by an alarm signal indicating the occurrence of a failure. Sequence is interrupted.
[発明が解決しようとする!!uコ
従来のプログラマブルロジックコントローラにおいては
、処理すべきステップを示すカウンタの直が障害の発生
時にリセットされるので、障害復旧後の動作再開時に最
初からシーケンスが開始される。[Invention tries to solve! ! In conventional programmable logic controllers, the counter indicating the steps to be processed is reset when a fault occurs, so the sequence is started from the beginning when operation is resumed after the fault is recovered.
したがって、中断状態からシーケンスを継続させること
が要望される場合には、上記カウンタの値を次のステッ
プを示すものに設定することが必要となり、このため、
シーケンスの再開に長時間を要していた。Therefore, if it is desired to continue the sequence from an interrupted state, it is necessary to set the value of the above-mentioned counter to indicate the next step.
It took a long time to restart the sequence.
本発明は上記従来の課題に鑑みてなされたものであり、
その目的は、中断したシーケンスを迅速に再開すること
が可能となるプログラマブルロジックコントローラを描
供することにある。The present invention has been made in view of the above-mentioned conventional problems,
The aim is to provide a programmable logic controller that allows to quickly resume interrupted sequences.
[課題を解決するための手段]
上記目的を達成するために、本発明にかかるコントロー
ラは第1図のように構成されている。[Means for Solving the Problems] In order to achieve the above object, a controller according to the present invention is configured as shown in FIG.
第1図において、スイッチ10−1.10−2・・・1
0−Nは直列に接続されており、対応したステップ1.
2・・・Nの実行で各々駆動される。In FIG. 1, switches 10-1, 10-2...1
0-N are connected in series, and the corresponding steps 1.
2...N are each driven.
[作用]
本発明では、実行されたステップと対応した全てのスイ
ッチが駆動され、したがフて、駆動されていないスイッ
チの先頭のもので、次に実行すべきステップが示される
。[Operation] In the present invention, all the switches corresponding to the executed step are activated, so that the first unactivated switch indicates the next step to be executed.
[実施例]
以下、図面に基づいて本発明にかかるコントローラの好
適な実施例を説明する。[Embodiments] Hereinafter, preferred embodiments of the controller according to the present invention will be described based on the drawings.
第2図には実施例の構成が示されており、ROM20の
内容に従いRAM22を用いたシーケンス制御の処理が
M P U 24で行われる。FIG. 2 shows the configuration of the embodiment, in which sequence control processing using the RAM 22 is performed in the MPU 24 according to the contents of the ROM 20.
そして人出力インターフェース26には各種のセンサ(
障害の検知時にアラーム信号を発生するものも含まれる
)、アクチュエータ(例えば、シリンダの電磁弁)が接
続されており、それらセンサ出力に応じて各アクチュエ
ータがシーケンス制御される。The human output interface 26 is equipped with various sensors (
(including those that generate an alarm signal when a fault is detected) and actuators (for example, a solenoid valve of a cylinder) are connected, and each actuator is sequence-controlled according to the output of these sensors.
第3図のラダー図ではMPU24の処理内容が説明され
ており、符号8?? (??=01.02.03−−
#15)により入出力リレーが、符号M?? (??:
00. I!IL20・・・30.31)により内部
リレーが、符号S?、?? (?、??=1..00.
1.0!、 1.02. 1.03・・・1.23
. 1.24. 1.25ン?こよりシーケンスステ・
ツブリレーが。The ladder diagram in FIG. 3 explains the processing contents of the MPU 24, and the number 8? ? (??=01.02.03--
#15), the input/output relay has the code M? ? (??:
00. I! IL20...30.31) causes the internal relay to switch to code S? ,? ? (?, ??=1..00.
1.0! , 1.02. 1.03...1.23
.. 1.24. 1.25? Koyori Sequence Station・
Tsuburi Relay.
符号T?? (77:18.19.20− ・−30,
31) ニよりタイマが、各々示されている。Code T? ? (77:18.19.20- ・-30,
31) Timers are shown from d to d.
同区において先頭のシーケンスステップを示す回路では
、すり、 −Sl、00(7) コイ)L、 ニリレー
51.0!。In the circuit showing the first sequence step in the same area, pickpocket, -Sl, 00 (7) Koi) L, Nirei 51.0! .
Sl、02. Sl、03・・・Sl、23. Sl、
24.51.25の常閉接点が直列接続される。Sl, 02. Sl, 03... Sl, 23. Sl,
24.51.25 normally closed contacts are connected in series.
そして、リレー51.01. Sl、02. Sl、0
3・・・Sl。And relay 51.01. Sl, 02. Sl, 0
3...Sl.
23、 Sl 、24.51.25の常閉接点に対して
リレー815の常閉接点が並列に接続されており、その
接点はシーケンスのリセット時に閉じられる。The normally closed contact of relay 815 is connected in parallel to the normally closed contact of 23, Sl, 24.51.25, and the contact is closed when the sequence is reset.
このため、リレーst、ooのコイルはシーケンスのリ
セット時に強制通電される。Therefore, the coils of relays st and oo are forcibly energized when the sequence is reset.
また次のシーケンスステップを示す回路においては、リ
レーMOOの京間接点、リレー801の京間接点、リレ
ー803の常閉接点がリレー51.01に直列接続され
ており、リレーMOOの常閉接点はシーケンス制御の起
動条件成立時に閉じられれ、リレー801の常閉接点は
シーケンス制御の起動時に閉じられ、リレー803の常
閉接点はシーケンス制御の中断時に間かれる。In the circuit showing the next sequence step, the relay contact of relay MOO, the relay contact of relay 801, and the normally closed contact of relay 803 are connected in series to relay 51.01, and the normally closed contact of relay MOO is The normally closed contact of relay 801 is closed when the sequence control activation condition is satisfied, and the normally closed contact of relay 803 is closed when sequence control is interrupted.
その結果、リレーS+、Otはシーケンス制御の起動時
に通電され、シーケンス制御の中断時にその通電が停止
される。As a result, relays S+ and Ot are energized when sequence control is activated, and de-energized when sequence control is interrupted.
さらに、後続のシーケンスステップを示す各回路におい
ては、リレーS1.01. Sl、02.51.03・
・・51.23. Sl、24. Sl、25のコイル
が各々順に挿入されている。Furthermore, in each circuit representing subsequent sequence steps, relays S1.01. Sl, 02.51.03・
...51.23. Sl, 24. Sl, 25 coils are inserted in order.
このため、それらシーケンスステップの処理が順に行わ
れると、リレー51.0+、 Sl、02. Sl、0
3・・−51,23,5+、24.51.25(7)各
常閉接点が逐次開カレ以上のコントローラに電源が投入
されると、最初のシーケンスステップでリレー51.0
+、 51.02゜Sl、03・・・51.23. S
l、24.51.25の常閉接点が閉じられ、リレー5
1.00のコイルが通電される。Therefore, when the processing of these sequence steps is performed in order, relays 51.0+, Sl, 02. Sl, 0
3...-51, 23, 5+, 24.51.25 (7) When the power is turned on to a controller whose normally closed contacts are successively open or higher, relay 51.0 is activated in the first sequence step.
+, 51.02°Sl, 03...51.23. S
l, 24.51.25 normally closed contacts are closed, relay 5
1.00 coil is energized.
次のシーケンスステップでは、リレーMOOの常閉接点
がシーケンス制御の起動条件成立により閉じられ、その
ときに内部リレー801の常閉接点が閉じられると、リ
レーS1.Olのコイルが通電され、シーケンス制御が
起動される。In the next sequence step, the normally closed contact of relay MOO is closed due to the fulfillment of the activation condition of the sequence control, and at that time, when the normally closed contact of internal relay 801 is closed, relay S1. The coil of Ol is energized and sequence control is activated.
このシーケンスステップでリレー51.01のコイルが
通電されると、リレーSl 、01の常閉接点がざらに
次のシーケンスステップで閉じられ、その結果、ル−5
1.01の常閉接点が開かれるとともに、リレー51.
02のコイルが通電される。When the coil of relay 51.01 is energized in this sequence step, the normally closed contacts of relay Sl, 01 are closed in the roughly next sequence step, so that
The normally closed contacts of relay 51.1.01 are opened and the normally closed contacts of relay 51.
02 coil is energized.
また次のシーケンスステップおいては、リレー51.0
2のコイル通電でその常閉接点が閉じられ、その結果、
リレーS1.02の常閉接点が間かれるとともに、リレ
ー51.03のコイルが通電される。Also, in the next sequence step, relay 51.0
2 coil energization closes its normally closed contacts, resulting in
The normally closed contacts of relay S1.02 are closed and the coil of relay 51.03 is energized.
以後は、同様にして各リレーコイルが順に通電され、例
えばリレー51.12のコイルが通電されたときには、
それ以前のステップシーケンスにおけるリレーS1.O
l、 5+、02.51.03・・・Sl、11の常閉
接点は全て開かれる。Thereafter, each relay coil is energized in turn in the same way. For example, when the coil of relay 51.12 is energized,
Relay S1 in the previous step sequence. O
1, 5+, 02.51.03...Sl, 11 normally closed contacts are all opened.
ここで、その際に障害が発生してリレーBO3の常閉接
点803がアラーム盾号の人力により間かれると、リレ
ーS!、12のコイルが通電されたまま、タイマT19
がタイムアツプしてその常閉接点が閉じた状態で、シー
ケンス制御が中断され、コントローラが停止する。At this time, if a fault occurs and the normally closed contact 803 of relay BO3 is opened manually by the alarm shield, relay S! , 12 coils remain energized, timer T19
When the time-up occurs and the normally closed contact closes, sequence control is interrupted and the controller stops.
このときにはシーケンス制御を最初から行うべきか、中
断状態からそのまま継続すべきか、が管理者により判断
される。At this time, the administrator determines whether sequence control should be performed from the beginning or whether it should be continued from the interrupted state.
そしてシーケンス制御を最初から行うべき旨の判断が行
われた場合には、最初のステップシーケンスにおける常
閉接点815が開かれる。If it is determined that sequence control should be performed from the beginning, the normally closed contact 815 in the first step sequence is opened.
これによりリレーS1.OOのコイルが通電され、シー
ケンス制御が再び最初から開始される。This causes relay S1. The coil of OO is energized and the sequence control starts again from the beginning.
また、シーケンス制御を中断状態からそのまま継続すべ
き旨の判断が行われた場合には、リレー51.01.
Sl、02. 51.03・ ・ ・Sl、23.
Sl、24. Sl、25のうちで常閉接点が閉じ
ている最初のもの(リレーS+、13)が調べられ、こ
のリレー(51,13)のコイルを通電する条件が整え
られる。Further, when it is determined that sequence control should be continued from the interrupted state, relay 51.01.
Sl, 02. 51.03・・・Sl, 23.
Sl, 24. The first one (relay S+, 13) whose normally closed contact is closed among Sl, 25 is checked, and the conditions for energizing the coil of this relay (51, 13) are established.
すなわち、内部リレーM20が駆動され、スタート用の
常閉接点802が蘭じられる。That is, internal relay M20 is driven and normally closed contact 802 for starting is connected.
その結果、リレー51.13のコイルが通電され、この
中断状態からシーケンス制御が継続開始されて行われる
。As a result, the coil of relay 51.13 is energized, and sequence control is continued and performed from this interrupted state.
第4図、第5図および第6図ではプリント基板の機能試
験機に応用されるコントローラのシーケンス制御がラダ
ー図で説明されている。In FIGS. 4, 5, and 6, sequence control of a controller applied to a printed circuit board function tester is explained using a ladder diagram.
これら第4区、第5図および第6図においては、符号3
’>7 (??=01・・・)により接点(人出力リレ
ーのもの)が、符号M?? (??=OO・・・)によ
り内部リレーが、符号7’:+7 (’)’)=:IQ
・・・)によりタイマが、符号S?、?? (?、??
:1.00・・・)により各シーケンスステップのリレ
ーが、各々示されている。In these 4th ward, Figures 5 and 6, the number 3 is
'>7 (??=01...), the contact (of the human output relay) has a code of M? ? (??=OO...) causes the internal relay to switch to code 7':+7 (')')=:IQ
), the timer is set to the code S? ,? ? (?,??
:1.00...) indicates the relays of each sequence step.
そして接点815はシーケンス制御のリセットに使用さ
れ、接点832はマニュアルモートスイッチとして使用
され、接点801はシーケンス制御の開始に使用され、
接点803はシーケンス浮止に使用される。Contact 815 is used to reset sequence control, contact 832 is used as a manual motor switch, contact 801 is used to start sequence control,
Contact 803 is used for sequence floating.
なお、この機能試験機ではシリンダのシーケンス制御が
行われ、その制御中に障害が発生したときには、各シリ
ンダを直ちに停止させることが要求される。Note that this functional testing machine performs sequence control of the cylinders, and when a failure occurs during the control, it is required to immediately stop each cylinder.
また、必要に応じてその状態からシーケンス制御を継続
させることも要求される。It is also required to continue sequence control from that state as necessary.
′is4図、第図面第5図第6図に示されたシーケンス
制御では、前述した第3図と同様に、リレーS+、01
. Sl、02. Sl、03◆−・51.23. S
L、24.51.25のコイルが順に通電され、手前の
常閉接点が逐次開かれる。In the sequence control shown in Figure 'is4, Figure 5, Figure 6, relays S+, 01
.. Sl, 02. Sl, 03◆-・51.23. S
The coils L, 24, 51, and 25 are energized in order, and the front normally closed contacts are opened one after another.
その後、リレー51.01.51.02. Sl、03
・・・St。Then relay 51.01.51.02. Sl, 03
...St.
23、5+、24.51.25のコイルが全て通電され
ると、1回のシーケンス制御が正常完了する。When all the coils 23, 5+, 24, 51, and 25 are energized, one sequence control is successfully completed.
ここで、障害の発生によるアラーム信号でシーケンス制
御が中断され、コントローラが停止したときには、シー
ケンス制御を最初から行うべきか、中断状態からそのま
ま継続すべきか、が管理者により判断される。Here, when the sequence control is interrupted by an alarm signal due to the occurrence of a failure and the controller is stopped, the administrator determines whether to perform the sequence control from the beginning or continue from the interrupted state.
その際にシーケンス制御を最初から行うべき旨の判断が
行われた場合には、接点832が操作されてマニュアル
モードへの切り替えが行われ、次に接点815が閉じら
れる。At that time, if it is determined that sequence control should be performed from the beginning, contact 832 is operated to switch to manual mode, and then contact 815 is closed.
これによりリレーst、ooのコイルが再び通電され、
シーケンス$IIIIが最初から開始される。This energizes the coils of relays st and oo again,
Sequence $III is started from the beginning.
また、シーケンス制御を中断状態からそのまま継続すべ
き旨の判断が行われた場合には、リレー81.01.
Sl、02.51.03− ・−51,23,sl、2
4. Sl、25のうちで常閉接点が閉じている最初の
もの(例えばリレー51.13)が調べられ、障害復旧
の作業後に、このリレー(Sl、+3)のコイルを通電
する条件が整えられる。Further, when it is determined that sequence control should be continued from the interrupted state, relay 81.01.
Sl, 02.51.03- ・-51,23, sl, 2
4. The first of Sl, 25 whose normally closed contacts are closed (for example relay 51.13) is checked and, after the fault recovery work, conditions are established for energizing the coil of this relay (Sl, +3).
その結果、次のシーケンスステップにおけるリレーコイ
ルが通電され、シーケンス制御がその状態から再開され
る。As a result, the relay coil in the next sequence step is energized and sequence control is restarted from that state.
以上説明したように本実施例によれば、対応したシーケ
ンスステップの実行で各々開かれる複数の常閉接点が直
列接続され、閉じたままとなっているものの先頭の密閉
接点から、次に実行すべきシーケンスステップを確認で
きるので、障害の復旧を短時間中に行なってシーケンス
制御を中断状態から迅速に再開することが可能となる。As explained above, according to this embodiment, a plurality of normally closed contacts, each of which is opened by the execution of a corresponding sequence step, are connected in series, and the first closed contact, which remains closed, is Since the correct sequence step can be confirmed, it is possible to recover from a failure within a short period of time and quickly resume sequence control from an interrupted state.
[発明の効果]
以上説明したように本発明によれば、対応したシーケン
スステップの実行で各々駆動される複数のスイッチが直
列接続されたので、駆動されていない先頭のスイッチで
、次に実行すべきシーケンスステップを確認でき、この
ため、短時間中に障害を復旧してシーケンス制御を中断
状態からそのまま迅速に再開することが可能となる。[Effects of the Invention] As explained above, according to the present invention, a plurality of switches each driven by the execution of a corresponding sequence step are connected in series, so the first switch that is not driven is used to control the next execution. The correct sequence step can be confirmed, and therefore, it is possible to recover from a failure within a short period of time and quickly resume sequence control from the interrupted state.
第1図は発明の原理説明図、
第2図は実施例の溝底説明図、
第3図は実施例の基本的な作用を説明するラダー図、
第4図、第5図および第6図は実施列のより具体的な作
用を説明するラダー図、
である。
20 φ ・ ・ ROM
22−−−RAM
24 ◆ ・ ・ MPU
26・・・人出力インターフェース
801、8(12,803,旧5. MOO,M2O・
・・接点S1.00.51.0+、 SL、02.51
.03・Φ弓1.23.5+、24. Sl、25・・
・リレー
TI9 ・・・タイマ
第1図Fig. 1 is a diagram explaining the principle of the invention, Fig. 2 is an illustration of the groove bottom of the embodiment, Fig. 3 is a ladder diagram explaining the basic operation of the embodiment, Figs. 4, 5, and 6. is a ladder diagram explaining a more specific effect of the implementation sequence. 20 φ ・ ・ ROM 22 --- RAM 24 ◆ ・ ・ MPU 26...Person output interface 801, 8 (12,803, old 5.MOO, M2O・
・・Contact S1.00.51.0+, SL, 02.51
.. 03・Φ Bow 1.23.5+, 24. Sl, 25...
・Relay TI9...Timer Figure 1
Claims (1)
ックコントローラにおいて、 対応したステップ(1、2・・・N)の実行で各々駆動
される複数のスイッチ(10−1、10−2・・・10
−N)を直列に接続した、 ことを特徴とするプログラマブルロジックコントローラ
。[Claims] In a programmable logic controller in which processing of each step is sequentially executed, a plurality of switches (10-1, 10-2) each driven by execution of a corresponding step (1, 2...N) are provided. ...10
-N) connected in series.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9810889A JPH02275503A (en) | 1989-04-18 | 1989-04-18 | Programmable logic controller |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9810889A JPH02275503A (en) | 1989-04-18 | 1989-04-18 | Programmable logic controller |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH02275503A true JPH02275503A (en) | 1990-11-09 |
Family
ID=14211132
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP9810889A Pending JPH02275503A (en) | 1989-04-18 | 1989-04-18 | Programmable logic controller |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH02275503A (en) |
-
1989
- 1989-04-18 JP JP9810889A patent/JPH02275503A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US3908117A (en) | Method and apparatus for monitoring and diagnosing troubles in sequential control operations | |
| JP3944156B2 (en) | Emergency stop circuit | |
| JPH08159924A (en) | In-vehicle electronic control device and failure detection method for in-vehicle electronic control device | |
| JPH02275503A (en) | Programmable logic controller | |
| JPS62127221A (en) | Injection controlling device of injection molder | |
| JP3211068B2 (en) | Control system status display method | |
| JP2009170317A (en) | Switching device | |
| JP3435274B2 (en) | Fail-safe circuit of programmable controller | |
| JPH02278402A (en) | Power circuit for programmable logic controller | |
| JPH0372000A (en) | Apparatus for controlling clutch brake in press | |
| JPS58184601A (en) | Emergency shutdown processing method of sequencer | |
| JP2001273012A (en) | Detector for status in sequence circuit | |
| JPH0435922Y2 (en) | ||
| KR20100054947A (en) | Modeling method of plc code test apparatus | |
| JP2542684B2 (en) | Method of preventing erroneous output of digital controller | |
| JP3029240B2 (en) | Failure detection method for time-division input circuit of sequencer | |
| JPH0443139A (en) | Diagnosis of controller for vehicle | |
| JPH0386400A (en) | Device for controlling clutch brake in press | |
| JPS5836363B2 (en) | Trouble load cut control device | |
| JPH0386399A (en) | Device for controlling clutch brake in press | |
| JPH0584750B2 (en) | ||
| JPH0386398A (en) | Device for controlling clutch brake in press | |
| JPH05173623A (en) | Robot controller check program creation system | |
| JPH0447625A (en) | Relay check device | |
| JPS58195968A (en) | Re-execution controlling system |