[go: up one dir, main page]

JP2731166B2 - Programmable controller - Google Patents

Programmable controller

Info

Publication number
JP2731166B2
JP2731166B2 JP63156477A JP15647788A JP2731166B2 JP 2731166 B2 JP2731166 B2 JP 2731166B2 JP 63156477 A JP63156477 A JP 63156477A JP 15647788 A JP15647788 A JP 15647788A JP 2731166 B2 JP2731166 B2 JP 2731166B2
Authority
JP
Japan
Prior art keywords
sequence program
sequence
programmable controller
programs
flag
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
JP63156477A
Other languages
Japanese (ja)
Other versions
JPH025103A (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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP63156477A priority Critical patent/JP2731166B2/en
Publication of JPH025103A publication Critical patent/JPH025103A/en
Application granted granted Critical
Publication of JP2731166B2 publication Critical patent/JP2731166B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Programmable Controllers (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は生産システムや自動機等を制御するプログ
ラマブルコントローラに関するものである。
Description: TECHNICAL FIELD The present invention relates to a programmable controller for controlling a production system, an automatic machine, and the like.

〔従 来 の 技 術〕[Conventional technology]

プログラマブルコントローラにおいて、一つのシーケ
ンスプログラムの実行中に実行シーケンスプログラムを
他のシーケンスプログラムに切り替えるには、以下の
〜のような方法があった。
In a programmable controller, there are the following methods to switch an execution sequence program to another sequence program during execution of one sequence program.

プログラマブルコントローラ内の記憶部に実行中の
第1のシーケンスプログラムとは異なる第2のシーケン
スプログラムを格納しておき、プログラミング装置を操
作して、第1のシーケンスプログラムと第2のシーケン
スプログラムとを切り替え、第2のシーケンスプログラ
ムを実行する。
A second sequence program different from the first sequence program being executed is stored in a storage unit in the programmable controller, and the programming device is operated to switch between the first sequence program and the second sequence program. , The second sequence program is executed.

上位プログラマブルコントローラあるいは上記コン
ピュータ内に第1のシーケンスプログラムを記憶してお
き、第1のシーケンスプログラムの実行中に第2のシー
ケンスプログラムをプログラマブルコントローラに転送
する。
The first sequence program is stored in the host programmable controller or the computer, and the second sequence program is transferred to the programmable controller during execution of the first sequence program.

第1のシーケンスプログラムの実行中に上位プログ
ラマブルコントローラあるいは上位コンピュータから第
2のシーケンスプログラムを転送し前記上位プログラマ
ブルコントローラあるいは上位コンピュータの切替指示
により、第1のシーケンスプログラムと第2のシーケン
スプログラムとを切り替える。
During the execution of the first sequence program, the second sequence program is transferred from the upper programmable controller or the upper computer, and the first sequence program and the second sequence program are switched according to the switching instruction of the upper programmable controller or the higher computer. .

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

ところが、上記各シーケンスプログラムの切替技術に
は、それぞれつぎのような欠点があった。
However, each of the above-described sequence program switching techniques has the following disadvantages.

のプログラミング装置を操作する方法では、シーケン
スプログラムの切替のためにプログラミング装置を操作
する必要があり、実行すべきシーケンスプログラムを切
り替えることが容易でない。
According to the method of operating the programming device, it is necessary to operate the programming device for switching the sequence program, and it is not easy to switch the sequence program to be executed.

上位プログラマブルコントローラあるいは上位コン
ピュータにより転送を行う方法では、上位プログラマブ
ルコントローラあるいは上位コンピュータから転送され
る第2のシーケンスプログラムが実行中の第1のシーケ
ンスプログラムと切替完了するまでの時間、つまりシー
ケンスプログラム転送時間が必要であり、この時間内は
プログラマブルコントローラを停止させる必要がある。
In the method in which the transfer is performed by the host programmable controller or the host computer, the time until the switching of the second sequence program transferred from the host programmable controller or the host computer to the first sequence program being executed is completed, that is, the sequence program transfer time It is necessary to stop the programmable controller during this time.

上位プログラマブルコントローラあるいは上位コン
ピュータの切り替え指示による方法では、切替条件の判
断が困難であり、切替のタイミングを得るために通信を
行う必要があって、応答性が悪い。
In the method based on the switching instruction of the host programmable controller or the host computer, it is difficult to determine the switching condition, and it is necessary to perform communication in order to obtain the switching timing, and the response is poor.

したがって、この発明の目的は、実行シーケンスプロ
グラムの切替を適正なタイミングで短時間のうちに容易
に行うことができるプログラマブルコントローラを提供
することである。
Therefore, an object of the present invention is to provide a programmable controller that can easily switch an execution sequence program at an appropriate timing in a short time.

〔課題を解決するための手段〕[Means for solving the problem]

この発明のプログラマブルコントローラは、記憶部内
に格納されているシーケンスプログラムに従って、入力
部からの入力情報および内部情報を取り込んで論理演算
を行い、論理演算に基づいて得られた出力情報を出力部
に送る制御部を有するプログラマブルコントローラであ
って、記憶部に第1および第2のシーケンスプログラム
を格納する第1および第2のシーケンスプログラムエリ
アを設けるとともに第1および第2のシーケンスプログ
ラムが存在することを示すフラグおよびシーケンスプロ
グラム切替フラグを格納する特殊メモリエリアを設け、
制御部に前記シーケンスプログラム切替フラグの状態に
応じて第1および第2のシーケンスプログラムのいずれ
か一方を実行すべきシーケンスプログラムとして選択す
るシーケンスプログラム切替手段を設けたことを特徴と
する。
A programmable controller according to the present invention takes in input information and internal information from an input unit according to a sequence program stored in a storage unit, performs a logical operation, and sends output information obtained based on the logical operation to an output unit. A programmable controller having a control unit, wherein a first and a second sequence program area for storing a first and a second sequence program are provided in a storage unit, and the presence of the first and the second sequence programs is indicated. A special memory area for storing a flag and a sequence program switching flag is provided,
The control unit is provided with sequence program switching means for selecting one of the first and second sequence programs as a sequence program to be executed in accordance with the state of the sequence program switching flag.

この際、第1および第2のシーケンスプログラムの何
れか少なくとも一方にシーケンスプログラム切替フラグ
の状態を変更するための演算ステップを含ませている場
合もある。
At this time, at least one of the first and second sequence programs may include an operation step for changing the state of the sequence program switching flag.

〔作用〕[Action]

この発明の構成によれば、シーケンスプログラム切替
手段がシーケンスプログラム切替フラグの状態に応じて
第1および第2のシーケンスプログラムの何れかを実行
シーケンスプログラムとして選択することになり、実行
シーケンスプログラムの切替は、シーケンスプログラム
切替フラグの状態の変化に連動することになる。
According to the configuration of the present invention, the sequence program switching means selects one of the first and second sequence programs as the execution sequence program in accordance with the state of the sequence program switching flag. , In conjunction with a change in the state of the sequence program switching flag.

この際、シーケンスプログラム切替フラグの状態に変
化があると、現在実行中の例えば第1のシーケンスプロ
グラムの実行サイクルが終了した後、すぐに第2のシー
ケンスプログラムの実行が開始されることになる。な
お、シーケンスプログラム切替フラグの状態の変更は、
スイッチ等の操作に基づき制御部が行うことになる。
At this time, if there is a change in the state of the sequence program switching flag, the execution of the second sequence program is started immediately after the execution cycle of, for example, the currently executed first sequence program ends. In addition, the change of the state of the sequence program switching flag
The control unit performs the operation based on the operation of the switch and the like.

また、第1および第2のシーケンスプログラムの何れ
か少なくとも一方、例えば第1のシーケンスプログラム
にシーケンスプログラム切替フラグの状態を変更するた
めの演算ステップを含ませている場合には、第1のシー
ケンスプログラムの実行に伴って自動的に実行シーケン
スプログラムの切替を行うことができる。
If at least one of the first and second sequence programs, for example, the first sequence program includes an operation step for changing the state of the sequence program switching flag, the first sequence program , The execution sequence program can be automatically switched.

〔実 施 例〕〔Example〕

この発明の一実施例を第1図ないし第5図に基づいて
説明する。このプログラマブルコントローラは、ハード
ウェア的には第1図に示すような構成となっている。第
1図において、入力部1は、外部入力機器からの入力情
報を入力するものである。記憶部2は、シーケンスプロ
グラムや演算結果等を格納しておくものである。制御部
3は、記憶部2に格納されているシーケンスプログラム
に従って入力部1からの入力情報や内部情報を取り込ん
で論理演算を行い、論理演算に基づいて得られた出力情
報を出力部6に送ることになる。操作部4は、制御部3
に対し各種指令を行うものである。表示部5は、内部情
報やシーケンスプログラム等を表示するものである。出
力部6は、制御部3で論理演算された結果を出力するも
のである。
One embodiment of the present invention will be described with reference to FIGS. This programmable controller has a hardware configuration as shown in FIG. In FIG. 1, an input unit 1 is for inputting input information from an external input device. The storage unit 2 stores a sequence program, a calculation result, and the like. The control unit 3 fetches input information and internal information from the input unit 1 according to a sequence program stored in the storage unit 2, performs a logical operation, and sends output information obtained based on the logical operation to the output unit 6. Will be. The operation unit 4 includes the control unit 3
To perform various commands. The display unit 5 displays internal information, a sequence program, and the like. The output unit 6 outputs the result of the logical operation performed by the control unit 3.

この場合、記憶部2に第1および第2のシーケンスプ
ログラムを格納する第1および第2のシーケンスプログ
ラムエリアを設けるとともに第1および第2のシーケン
スプログラムが存在することを示すフラグおよびシーケ
ンスプログラム切替フラグを格納する特殊メモリエリア
を設け、制御部3にシーケンスプログラム切替フラグの
状態に応じて第1および第2のシーケンスプログラムの
いずれか一方を実行すべきシーケンスプログラムとして
選択するシーケンスプログラム切替手段(図示せず)を
設けている。
In this case, the storage unit 2 is provided with first and second sequence program areas for storing the first and second sequence programs, and a flag indicating that the first and second sequence programs exist and a sequence program switching flag. Is provided in the control unit 3 to select one of the first and second sequence programs as a sequence program to be executed in accordance with the state of the sequence program switching flag. Zu).

また、第1のシーケンスプログラムにシーケンスプロ
グラム切替フラグの状態を変更するための演算ステップ
を含ませている。
Further, the first sequence program includes an operation step for changing the state of the sequence program switching flag.

記憶部2の内部構成は、例えば第2図に示すような構
成になっている。第2図において、11は入力情報を格納
する入力情報エリア、12は出力情報を格納する出力情報
エリア、13は内部情報を格納する内部メモリエリア、14
はシーケンスプログラム切替フラグBおよび第1および
第2のシーケンスプログラムが存在することを示すフラ
グA等を格納する特殊メモリエリア、15は第1のシーケ
ンスプログラムを格納する第1のシーケンスプログラム
エリア、16は第2のシーケンスプログラムを格納する第
2のシーケンスプログラムエリアである。
The internal configuration of the storage unit 2 is, for example, as shown in FIG. In FIG. 2, 11 is an input information area for storing input information, 12 is an output information area for storing output information, 13 is an internal memory area for storing internal information, 14
Is a special memory area for storing a sequence program switching flag B and a flag A indicating that the first and second sequence programs are present, 15 is a first sequence program area for storing the first sequence program, and 16 is a first sequence program area. It is a second sequence program area for storing a second sequence program.

第3図はプログラマブルコントローラの動作を示す概
略図であり、以下この図により、プログラマブルコント
ローラの動作を説明する。プログラマブルコントローラ
は、[初期処理21→入力情報の読み込み22→・・・→シ
ーケンスプログラム(第1または第2のシーケンスプロ
グラム)の実行23→演算結果の出力24→表示部,操作部
の処理25→・・・]の一連の動作を繰り返すことにな
り、この中でシーケンスプログラムの実行23において、
例えば第4図に示すようなラダー表現で入力されたシー
ケンスプログラム31が第1ステップから最終ステップま
で1回だけ実行されることになる。
FIG. 3 is a schematic diagram showing the operation of the programmable controller. Hereinafter, the operation of the programmable controller will be described with reference to FIG. The programmable controller [initial processing 21 → reading of input information 22 →... → execution of sequence program (first or second sequence program) 23 → output of calculation result 24 → processing of display unit and operation unit 25 → ..] Are repeated. In this, in execution 23 of the sequence program,
For example, the sequence program 31 input in a ladder expression as shown in FIG. 4 is executed only once from the first step to the last step.

上記シーケンスプログラム31が例えば第1のシーケン
スプログラムであって、その中に例えば破線32で囲んだ
部分が存在すると、ある条件(破線32で囲んだ部分の内
容によって決まる)が満たされたときに実行シーケンス
プログラムが第1のシーケンスプログラムから第2のシ
ーケンスプログラムに切り替えられることになる。この
点について詳しく説明する。破線32で囲んだ部分は、フ
ラグAと入力IN0とのアンド条件でシーケンスプログラ
ム切替フラグBをオンにすることを意味し、例えば第1
のシーケンスプログラムの実行を繰り返している場合に
おいて、入力IN0がオンとなると、シーケンスプログラ
ム切替フラグBがオンとなり、実行シーケンスプログラ
ムが第1のシーケンスプログラムから第2のシーケンス
プログラムに切り替わることになる。この際、シーケン
スプログラム切替フラグBがオンとなった時ではなく、
第1のシーケンスプログラムについての第3図に示した
1サイクルの動作が終了した後で、第2のシーケンスプ
ログラムについて第3図のサイクル動作が開始されるこ
とになる。
If the sequence program 31 is, for example, a first sequence program and includes a portion surrounded by a broken line 32, for example, the sequence program 31 is executed when a certain condition (determined by the content of the portion surrounded by the broken line 32) is satisfied. The sequence program is switched from the first sequence program to the second sequence program. This will be described in detail. Portion enclosed by a broken line 32 is meant to turn on the sequence program switching flag B at AND condition of the flags A and the input IN 0, for example, the first
In case you are repeats execution of the sequence program, the input IN 0 is the turned on, a sequence program switch flag B is turned on, execution sequence program is to switch to the second sequence program from the first sequence program. At this time, not when the sequence program switching flag B is turned on,
After the operation of one cycle shown in FIG. 3 for the first sequence program is completed, the cycle operation of FIG. 3 is started for the second sequence program.

なお、フラグAがオフ、すなわちシーケンスプログラ
ムが一つしかなければ、たとえ入力IN0がオンとなって
も実行シーケンスプログラムの切替動作は行われない。
Incidentally, the flag A is turned off, i.e., if there is only one sequence program is not performed switching operation of executing the sequence program even if the input IN 0 is turned on.

ここで、シーケンスプログラム切替フラグBのオンオ
フに伴う実行シーケンスプログラムの切替動作(シーケ
ンスプログラム切替手段に対応する)を第5図を用いて
さらに詳しく説明する。例えば、いまシーケンスプログ
ラム切替フラグBがオフであるとする。この状態では、
第5図において、矢印Xで示すように、[初期処理21→
入力情報の読み込み22→・・・→シーケンスプログラム
切替フラグBのオンオフの判定(オフ)26→第1のシー
ケンスプログラムの実行23A→演算結果の出力24→表示
部,操作部の処理25→・・・]の一連の動作が繰り返さ
れる。
Here, the switching operation of the execution sequence program (corresponding to the sequence program switching means) accompanying the turning on and off of the sequence program switching flag B will be described in more detail with reference to FIG. For example, assume that the sequence program switching flag B is now off. In this state,
In FIG. 5, as indicated by an arrow X, [initial processing 21 →
Read input information 22 → ・ ・ ・ → On / off determination of sequence program switching flag B (off) 26 → Execution of first sequence program 23A → Output of calculation result 24 → Processing of display unit and operation unit 25 → .] Is repeated.

そして、上記一連の動作の実行中に、シーケンスプロ
グラム切替フラグBがオンに変わると、その一連の動作
が終了した後で、矢印Yで示すように、[初期処理21→
入力情報の読み込み22→・・・→シーケンスプログラム
切替フラクBのオンオフの判定(オン)26→第2のシー
ケンスプログラムの実行23B→演算結果の出力24→表示
部,操作部の処理25→・・・]の一連の動作が繰り返さ
れる。
When the sequence program switching flag B is turned on during the execution of the above series of operations, after the series of operations is completed, as shown by the arrow Y, [initial processing 21 →
Read input information 22 → ・ ・ ・ → On / off determination of sequence program switching flag B (on) 26 → Execution of second sequence program 23B → Output of calculation result 24 → Processing of display unit and operation unit 25 → .] Is repeated.

また、第2のシーケンスプログラム中に第4図と同様
のシーケンスプログラム切替フラグBをオフにするステ
ップが設けられてあれば、第2のシーケンスプログラム
の繰り返し実行中において、ある条件が満たされて、シ
ーケンスプログラム切替フラグBが再びオフに変化する
と、第1のシーケンスプログラムが再度実行されること
になる。したがって、第1および第2のシーケンスプロ
グラムを交互に実行させることが可能となる。
If a step for turning off the sequence program switching flag B similar to that in FIG. 4 is provided in the second sequence program, a certain condition is satisfied during the repetitive execution of the second sequence program. When the sequence program switching flag B is turned off again, the first sequence program is executed again. Therefore, the first and second sequence programs can be alternately executed.

この実施例のプログラマブルコントローラは、記憶部
2に第1および第2のシーケンスプログラムを格納する
第1および第2のシーケンスプログラムエリアを設ける
とともに第1および第2のシーケンスプログラムが存在
することを示すフラグおよびシーケンスプログラム切替
フラグを格納する特殊メモリエリアを設け、制御部3に
シーケンスプログラム切替フラグの状態に応じて第1お
よび第2のシーケンスプログラムのいずれか一方を実行
すべきシーケンスプログラムとして選択するシーケンス
プログラム切替手段を設けたので、どのタイミングでシ
ーケンスプログラム切替フラグの状態を変化させても、
実行シーケンスプログラムの切替を適正なタイミング
(1サイクルの動作の終了時)で短時間のうちに行うこ
とができる。しかも、シーケンスプログラム切替フラグ
の状態を変化させるだけでよいので、実行シーケンスプ
ログラムの切替を容易に行うことができる。
The programmable controller of this embodiment has first and second sequence program areas for storing the first and second sequence programs in the storage unit 2 and a flag indicating that the first and second sequence programs are present. And a special memory area for storing a sequence program switching flag, and the control unit 3 selects one of the first and second sequence programs as a sequence program to be executed according to the state of the sequence program switching flag. Since the switching means is provided, no matter when the status of the sequence program switching flag is changed,
The switching of the execution sequence program can be performed at an appropriate timing (at the end of one cycle of operation) in a short time. Moreover, since it is only necessary to change the state of the sequence program switching flag, the execution sequence program can be easily switched.

なお、上記実施例では、第1および第2のシーケンス
プログラム中にシーケンスプログラム切替フラグBの状
態を変化させるステップを挿入していたが、上記とは別
にシステムプログラムにおいて、例えばスイッチの切替
操作に連動してシーケンスプログラム切替フラグBの状
態を変化させるようにしてもよい。
In the above-described embodiment, the step of changing the state of the sequence program switching flag B is inserted between the first and second sequence programs. Then, the state of the sequence program switching flag B may be changed.

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

この発明のプログラマブルコントローラによれば、記
憶部に第1および第2のシーケンスプログラムを格納す
る第1および第2のシーケンスプログラムエリアを設け
るとともに第1および第2のシーケンスプログラムが存
在することを示すフラグおよびシーケンスプログラム切
替フラグを格納する特殊メモリエリアを設け、制御部に
前記シーケンスプログラム切替フラグの状態に応じて第
1および第2のシーケンスプログラムのいずれか一方を
実行すべきシーケンスプログラムとして選択するシーケ
ンスプログラム切替手段を設けたので、どのタイミング
でシーケンスプログラム切替フラグの状態を変化させて
も、実行シーケンスプログラムの切替を適正なタイミン
グ(1サイクルの動作の終了時)で短時間のうちに行う
ことができる。しかも、シーケンスプログラム切替フラ
グの状態を変化させるだけでよいので、実行シーケンス
プログラムの切替を容易に行うことができる。
According to the programmable controller of the present invention, the storage unit is provided with the first and second sequence program areas for storing the first and second sequence programs, and the flag indicating that the first and second sequence programs are present. And a special memory area for storing a sequence program switching flag, wherein the control section selects one of the first and second sequence programs as a sequence program to be executed according to the state of the sequence program switching flag. Since the switching means is provided, the switching of the execution sequence program can be performed in a short time at an appropriate timing (at the end of one cycle of operation) regardless of the timing at which the state of the sequence program switching flag is changed. . Moreover, since it is only necessary to change the state of the sequence program switching flag, the execution sequence program can be easily switched.

また、記憶部に第1および第2のシーケンスプログラ
ムを格納する第1および第2のシーケンスプログラムエ
リアを設けるとともに第1および第2のシーケンスプロ
グラムが存在することを示すフラグおよびシーケンスプ
ログラム切替フラグを格納する特殊メモリエリアを設け
たので、複数のプログラムの1つの記憶部に格納するこ
とができ、制御部にシーケンスプログラム切替フラグの
状態に応じて第1および第2のシーケンスプログラムの
いずれか一方を実行すべきシーケンスプログラムとして
選択するシーケンスプログラム切替手段を設けたので、
バス切換手段等の外部入力を必要とすることなく、プロ
グラムの自動切換を行うことができる。さらに、上記の
ことから、プログラムの切替を人手を介することなく行
えるので、本発明で対象とする生産システムのように24
時間連続運転を行う装置に適している。
Further, first and second sequence program areas for storing the first and second sequence programs are provided in the storage unit, and a flag indicating that the first and second sequence programs are present and a sequence program switching flag are stored. Since the special memory area is provided, a plurality of programs can be stored in one storage unit, and the control unit executes one of the first and second sequence programs according to the state of the sequence program switching flag. Since a sequence program switching means for selecting a sequence program to be provided is provided,
Automatic switching of programs can be performed without requiring external input such as bus switching means. Further, from the above, since the switching of the program can be performed without human intervention, the program can be switched as in the production system targeted by the present invention.
Suitable for devices that perform continuous operation over time.

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

第1図はこの発明の一実施例のプログラマブルコントロ
ーラの構成を示す機能ブロック図、第2図は記憶部の記
憶内容を示す概略図、第3図はプログラマブルコントロ
ーラの動作を示す概略図、第4図はシーケンスプログラ
ムの一例を示すシーケンス回路図、第5図はシーケンス
プログラムの切替動作を説明するための概略図である。 1……入力部、2……記憶部、3……制御部、4……操
作部、5……表示部、6……出力部
FIG. 1 is a functional block diagram showing the configuration of a programmable controller according to one embodiment of the present invention, FIG. 2 is a schematic diagram showing the contents stored in a storage unit, FIG. 3 is a schematic diagram showing the operation of the programmable controller, FIG. FIG. 5 is a sequence circuit diagram showing an example of a sequence program, and FIG. 5 is a schematic diagram for explaining a sequence program switching operation. DESCRIPTION OF SYMBOLS 1 ... input part, 2 ... storage part, 3 ... control part, 4 ... operation part, 5 ... display part, 6 ... output part

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】記憶部内に格納されているシーケンスプロ
グラムに従って、入力部からの入力情報および内部情報
を取り込んで論理演算を行い、論理演算に基づいて得ら
れた出力情報を出力部に送る制御部を有するプログラマ
ブルコントローラであって、 前記記憶部に第1および第2のシーケンスプログラムを
格納する第1および第2のシーケンスプログラムエリア
を設けるとともに前記第1および第2のシーケンスプロ
グラムが存在することを示すフラグおよびシーケンスプ
ログラム切替フラグを格納する特殊メモリエリアを設
け、前記制御部に前記シーケンスプログラム切替フラグ
の状態に応じて第1および第2のシーケンスプログラム
のいずれか一方を実行すべきシーケンスプログラムとし
て選択するシーケンスプログラム切替手段を設けたこと
を特徴とするプログラマブルコントローラ。
1. A control unit which takes in input information from an input unit and internal information according to a sequence program stored in a storage unit, performs a logical operation, and sends output information obtained based on the logical operation to an output unit. A first and second sequence program area for storing first and second sequence programs in the storage unit, and indicating that the first and second sequence programs are present. A special memory area for storing a flag and a sequence program switching flag is provided, and the control unit selects one of the first and second sequence programs as a sequence program to be executed according to the state of the sequence program switching flag. Set the sequence program switching means. A programmable controller characterized by the fact that:
【請求項2】前記第1および第2のシーケンスプログラ
ムの何れか少なくとも一方に前記シーケンスプログラム
切替フラグの状態を変更するための演算ステップを含ま
せている特許請求の範囲第(1)項記載のプログラマブ
ルコントローラ。
2. The method according to claim 1, wherein at least one of said first and second sequence programs includes an operation step for changing a state of said sequence program switching flag. Programmable controller.
JP63156477A 1988-06-23 1988-06-23 Programmable controller Expired - Lifetime JP2731166B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63156477A JP2731166B2 (en) 1988-06-23 1988-06-23 Programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63156477A JP2731166B2 (en) 1988-06-23 1988-06-23 Programmable controller

Publications (2)

Publication Number Publication Date
JPH025103A JPH025103A (en) 1990-01-10
JP2731166B2 true JP2731166B2 (en) 1998-03-25

Family

ID=15628613

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63156477A Expired - Lifetime JP2731166B2 (en) 1988-06-23 1988-06-23 Programmable controller

Country Status (1)

Country Link
JP (1) JP2731166B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5937637B2 (en) 2014-04-30 2016-06-22 ファナック株式会社 Control device that outputs a switching notice signal when switching sequence programs

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5917641A (en) * 1982-07-22 1984-01-28 Yamatake Honeywell Co Ltd Device for switching program of programmable sequence controller
JPS61148531A (en) * 1984-12-24 1986-07-07 Mitsubishi Electric Corp Input device for arithmetic processing data

Also Published As

Publication number Publication date
JPH025103A (en) 1990-01-10

Similar Documents

Publication Publication Date Title
US4365312A (en) Sequence controller
JP2731166B2 (en) Programmable controller
EP0923010B1 (en) Programmable controller
JPS6236563B2 (en)
JP4037941B2 (en) Control device
JP3207333B2 (en) Programmable controller
JPH0679245B2 (en) Programmable controller sequence program execution method
JP2902888B2 (en) Programmable controller
JPS6236569B2 (en)
JP3358113B2 (en) Program creation device for programmable controller
JP2971251B2 (en) SFC programming device
JP2000214921A (en) Display device
JPH0751610Y2 (en) Programmable controller with override function
JP2519867B2 (en) Differentiating device for controller for construction machine actuator
JPS6236568B2 (en)
JPS6236565B2 (en)
JPH087600Y2 (en) PROM programmer
JPS62224805A (en) Ladder diagram display system for program of sequence programmable controller
JPS58221405A (en) Programmable controller
JPS6236566B2 (en)
JPH11167409A (en) Program controller operating by parallel language
JPS6236564B2 (en)
JPH0668694B2 (en) Programming device
JPH0566934A (en) Programming device for programmable controller
JPS62154005A (en) Programmable controller

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071219

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081219

Year of fee payment: 11

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081219

Year of fee payment: 11