JPH0410081B2 - - Google Patents

Info

Publication number
JPH0410081B2
JPH0410081B2 JP57223959A JP22395982A JPH0410081B2 JP H0410081 B2 JPH0410081 B2 JP H0410081B2 JP 57223959 A JP57223959 A JP 57223959A JP 22395982 A JP22395982 A JP 22395982A JP H0410081 B2 JPH0410081 B2 JP H0410081B2
Authority
JP
Japan
Prior art keywords
program
memory
management information
function program
function
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
JP57223959A
Other languages
Japanese (ja)
Other versions
JPS59114602A (en
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 filed Critical
Priority to JP22395982A priority Critical patent/JPS59114602A/en
Publication of JPS59114602A publication Critical patent/JPS59114602A/en
Publication of JPH0410081B2 publication Critical patent/JPH0410081B2/ja
Granted 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)

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明はプログラマブルコントローラに係り、
特に運転中にプログラムの変更を可能としたプロ
グラマブルコントローラに関する。
[Detailed Description of the Invention] [Technical Field of the Invention] The present invention relates to a programmable controller,
In particular, it relates to a programmable controller that allows programs to be changed during operation.

〔発明の技術的背景及び問題点〕[Technical background and problems of the invention]

プログラマブルコントローラ(以下単にコント
ローラと記す)はプロセス入出力点数、演算機能
及びシステム構成規模等から簡易形から高機能形
まで多種類に分類され、その適用形態はプラント
制御に応用される例が多い。特に高機能形は高信
頼が要求され、オンラインでのプログラムモニタ
ー、データモニター、データ変更等が可能となつ
ている。
Programmable controllers (hereinafter simply referred to as controllers) are classified into many types, from simple types to highly functional types, based on the number of process input/output points, calculation functions, system configuration scale, etc., and are often applied to plant control. In particular, high-performance models are required to be highly reliable, and enable online program monitoring, data monitoring, data modification, etc.

コントローラは一般にプログラミング言語とし
てラダーダイヤグラムが多く用いられている。
Ladder diagrams are commonly used as a programming language for controllers.

第1図はラダーダイヤグラムによるプログラム
の例を示した図である。
FIG. 1 is a diagram showing an example of a program using a ladder diagram.

第2図は第1図のラダーダイヤグラムに対応し
たコンパイルプログラムによりプロセツサの命令
語に変換したプログラム図である。ラダーダイヤ
グラムはコンパイラにより機械語に変換されプロ
セツサにより実行するプログラム方式を採用して
いる。
FIG. 2 is a program diagram converted into processor command words by a compile program corresponding to the ladder diagram of FIG. 1. The ladder diagram uses a program method that is converted into machine language by a compiler and executed by a processor.

第3図は機械語の形式を示す。機械語はプロセ
ツサにより8ビツト又は16ビツト等と種々ある
が、オペコード1とオペランド2で構成されてい
る。
Figure 3 shows the format of the machine language. The machine language varies depending on the processor, such as 8 bits or 16 bits, but it consists of an opcode 1 and an operand 2.

前述のプログラム方式においてオペランド2を
変更することは1ワードのデータを書き換えるだ
けでよい。すなわちプログラム全体をシフトし、
挿入するような作業は必要としない。又命令語を
同一ワード数の別命令語に変更することもプログ
ラム全体をシフトすることなくメモリデータの書
き換えで行なうことができる。現在オンラインで
のプログラム変更として行なわれているのは上述
のようなオペランド又は命令語単位である。
In the above programming method, changing operand 2 only requires rewriting one word of data. i.e. shift the entire program,
No insertion work is required. Furthermore, changing an instruction word to another instruction word having the same number of words can be done by rewriting memory data without shifting the entire program. Currently, online program changes are performed in units of operands or instruction words as described above.

最近コントローラの高機能化に伴ないラダーダ
イヤグラムの中にプログラムの制御を行なうIF
文、DO文等の構文命令、sinx、ex等の特殊関数
演算等がプログラムできるようになつている。
Recently, with the increasing functionality of controllers, there is an IF that controls the program in the ladder diagram.
Syntax commands such as statements and DO statements, and special function operations such as sinx and e x can be programmed.

これらのプログラムを変更する場合、かならず
プログラム全体のシフト又はリロケーシヨンが必
要となるため、オンラインで実行することは不可
能であるという問題がある。
Changing these programs necessarily requires shifting or relocation of the entire program, which poses a problem in that it is impossible to execute it online.

〔発明の目的〕[Purpose of the invention]

本発明は、上記の事情に基づきなされたもので
プロセス制御を中断することなく、プログラムの
変更を可能とし、又変更した新たなプログラムが
制御に不具合又は不整合が有る場合に、ただちに
以前のプログラムに戻すことを可能とすることに
よりプラント制御の連続性、及びより高信頼性を
具備するプログラマブルコントローラを提供する
ことを目的とする。
The present invention has been made based on the above circumstances, and it is possible to change a program without interrupting process control, and if the new program that has been changed has a defect or inconsistency in control, it is possible to immediately change the program from the previous program. The purpose of the present invention is to provide a programmable controller that provides continuity of plant control and higher reliability by making it possible to restore plant control.

〔発明の概要〕[Summary of the invention]

本発明は、シーケンスプログラムを記憶するプ
ログラムメモリと、演算の途中結果及びデータ等
を記憶するデータメモリと、外部から入力される
情報を取り込む入力部と、該入力部あるいは該デ
ータメモリからの情報を用いて演算を行う演算制
御部と、該演算制御部の演算結果を出力する出力
部と、プログラム及びデータ等の入力あるいは表
示を行うプログラムローダとの間で情報交換を行
うインターフエース部を備えたプログラマブルコ
ントローラにおいて、複数のフアンクシヨンプロ
グラムで成るシーケンスプログラムを格納する第
1のメモリ(プログラムエリア)と、該フアンク
シヨンプログラム毎の先頭アドレス、プログラム
サイズ等の管理情報を記憶する第2のメモリ(フ
アンクシヨンプログラム管理エリア)と、該管理
情報に基づいて該フアンクシヨンプログラムを実
行するシーケンスプログラム実行手段と、該プロ
グラムローダから変更フアンクシヨンプログラム
をオンライン中の逐次走査時間内に少しずつ該第
1のメモリに書き込む手段と、該変更フアンクシ
ヨンプログラムの管理情報を格納する第3のメモ
リ(変更フアンクシヨンプログラム管理情報エリ
ア)と、被変更フアンクシヨンプログラムの管理
情報を保存する第4のメモリ(フアンクシヨンプ
ログラム管理情報保存エリア)と、オンライン中
に該第2のメモリの被変更フアンクシヨンプログ
ラムの管理情報を該第4のメモリに保存して該第
3のメモリの管理情報に入れ替え、フアンクシヨ
ンプログラムの変更を可能にすると共に、該第4
のメモリに保存した管理情報を該第2のメモリに
戻して元のフアンクシヨンプログラムに復帰でき
る手段を設け、運転中にフアンクシヨンプログラ
ムの変更を可能にしたプログラマブルコントロー
ラである。
The present invention includes a program memory for storing a sequence program, a data memory for storing intermediate results of calculations, data, etc., an input section for taking in information input from the outside, and an input section for taking in information from the input section or the data memory. an interface unit that exchanges information between a calculation control unit that performs calculations using the computer, an output unit that outputs the calculation results of the calculation control unit, and a program loader that inputs or displays programs, data, etc. In a programmable controller, a first memory (program area) stores a sequence program consisting of a plurality of function programs, and a second memory stores management information such as a start address and program size for each function program. (function program management area), a sequence program execution means for executing the function program based on the management information, and a sequence program execution means for executing the function program based on the management information; means for writing into the first memory; a third memory (changed function program management information area) for storing management information of the changed function program; and a third memory (changed function program management information area) for storing management information of the changed function program. A fourth memory (function program management information storage area), and management information of the function program to be changed in the second memory is saved in the fourth memory while online, and is stored in the third memory. It replaces the management information, enables the function program to be changed, and also
This programmable controller is provided with means for returning management information stored in the second memory to the second memory and returning to the original function program, thereby making it possible to change the function program during operation.

〔発明の実施例〕[Embodiments of the invention]

第4図は本発明のプログラマブルコントローラ
のブロツク図である。3は演算制御装置でコント
ローラ特有のシーケンス演算命令処理、及び高機
能形に付加される算術演算、構文命令処理を行な
うと同時にコントローラの制御を行なうのに必要
な命令を実行する。4はROMでコントローラの
モード制御、プログラム実行管理、ローダインタ
フエイスの制御等を行なう実行管理プログラム
(以下OSと略す)を格納している。5はRAMで
後述するプログラム、フインクシヨン管理テーブ
ル、セーブテーブル等が格納される。このRAM
5は通常、不揮発性になつており、電源がOFF
してもその内容は保存される。6はプロセス入出
力モジユールで外部プロセスからの信号の入力、
及び外部プロセスへの信号を出力する。7はプロ
グラムローダのインタフエイスでプログラムのロ
ーデイング、プログラム実行状態のモニターリン
グ等のデータ伝送が行なわれる。データ伝送の方
法は種々あるが、一般的にシリアル伝送の形態が
取られ、1フレームの中にコマンドとテキストが
入つている。CPUはそのコマンドを解釈しテキ
ストの処理を行なう。テキストがなく、コマンド
のみの場合もある。これは主としてコントローラ
の制御モードを変更する場合に指令を与えるもの
である。
FIG. 4 is a block diagram of the programmable controller of the present invention. Reference numeral 3 denotes an arithmetic control unit which processes sequence arithmetic commands specific to the controller, arithmetic operations added to the high-function type, and syntax command processing, and at the same time executes commands necessary to control the controller. A ROM 4 stores an execution management program (hereinafter abbreviated as OS) that controls the mode of the controller, manages program execution, and controls the loader interface. A RAM 5 stores programs, a function management table, a save table, etc., which will be described later. This RAM
5 is normally non-volatile and the power is turned off.
However, the contents will be saved. 6 is a process input/output module that inputs signals from external processes;
and output signals to external processes. Reference numeral 7 denotes a program loader interface for data transmission such as program loading and monitoring of program execution status. Although there are various data transmission methods, serial transmission is generally used, and a command and text are contained in one frame. The CPU interprets the command and processes the text. Sometimes there is no text, just a command. This is mainly used to give commands when changing the control mode of the controller.

8はプログラムローダである。プログラムロー
ダはCRTデイスプレイ、専用キーボード、外部
記憶装置等から構成される。外部記憶装置により
コントローラとは切り離し、プログラムローダ単
体でプログラミングできる。
8 is a program loader. The program loader consists of a CRT display, a dedicated keyboard, an external storage device, etc. The external storage device allows it to be separated from the controller and programmed using the program loader alone.

第5図は本発明のプログラマブルコントローラ
のRAM5のメモリエリアを機能別に示したメモ
リマツプ図で、プログラムの構成を示したもので
ある。
FIG. 5 is a memory map diagram showing the memory area of the RAM 5 of the programmable controller of the present invention by function, and shows the structure of the program.

5−1はプログラムを格納するRAM5中のプ
ログラムエリアを示し、プログラムはプロセス制
御の機能に応じ複数のフアンクシヨンプログラム
5−11〜5−1nに分割して格納される。
5-1 indicates a program area in the RAM 5 in which a program is stored, and the program is divided into a plurality of function programs 5-11 to 5-1n and stored according to the process control function.

5−2は各フアンクシヨンプログラム5−11
〜5−1nの先頭アドレス、プログラムサイズ等
の管理情報を格納するRAM5中のフアンクシヨ
ンプログラム管理エリアで、フアンクシヨンプロ
グラム5−11〜5−1nがプログラム空間上ど
こに存在するかを管理するためのものである。
5-2 is each function program 5-11
The function program management area in the RAM 5 stores management information such as the start address of 5-1n and program size, and manages where the function programs 5-11 to 5-1n exist in the program space. It is for.

5−3はRAM5中のフアンクシヨンプログラ
ム管理情報保存エリアで、所定のフアンクシヨン
プログラムを新しい別のフアンクシヨンプログラ
ムに変更した時、被変更フアンクシヨンプログラ
ムのフアンクシヨン管理情報を格納して保存する
ものである。
5-3 is a function program management information storage area in the RAM 5, which stores the function management information of the changed function program when a given function program is changed to a new function program. It is something to preserve.

フアンクシヨンプログラムは外部割込に対応し
て実行する割込処理フアンクシヨン、遂次走査に
同期して実行するスキヤンフアンクシヨン、遂次
走査時間内で割込処理フアンクシヨン及びスキヤ
ンフアンクシヨンの実行の残り時間に処理される
バツチ処理フアンクシヨン等に分類される。
Function programs include interrupt processing functions executed in response to external interrupts, scan functions executed in synchronization with sequential scanning, and execution of interrupt processing functions and scan functions within sequential scanning time. It is classified as a batch processing function, etc., which is processed during the remaining time.

第6図は遂次走査時間内でのフアンクシヨンの
実行状態を示したタイムチヤートである。
FIG. 6 is a time chart showing the execution status of functions within the sequential scanning time.

フアンクシヨンプログラムの実行はROM4中
に格納している前記OS4−1により管理される。
フアンクシヨンプログラムの実行要因(割込、遂
次走査)が発生するとOS4−1はフアンクシヨ
ンプログラム管理エリア5−2から該当フアンク
シヨンプログラムの登録アドレスを取り出しその
フアンクシヨンプログラムを起動する。
The execution of the function program is managed by the OS 4-1 stored in the ROM 4.
When a function program execution factor (interrupt, sequential scan) occurs, the OS 4-1 retrieves the registered address of the corresponding function program from the function program management area 5-2 and starts the function program. .

起動したフアンクシヨンプログラムの実行が終
了すると再びOS4−1に戻り、次に起動するフ
アンクシヨンプログラムを探し出し、探し出した
フアンクシヨンプログラムの登録アドレスをフア
ンクシヨンプログラム管理エリアから取り出して
次のフアンクシヨンプログラムの実行が開始され
る。以下、同様にしてOS4−1の管理の基に
次々とフアンクシヨンプログラムが実行される。
第7図はOS4−1とフアンクシヨンプログラム
5−11〜5−1nの起動順序を示した状態図で
ある。
When the started function program finishes running, it returns to OS4-1, searches for the next function program to start, retrieves the registered address of the found function program from the function program management area, and executes the next function program. Execution of the function program begins. Thereafter, function programs are executed one after another under the control of the OS 4-1 in the same manner.
FIG. 7 is a state diagram showing the starting order of the OS 4-1 and the function programs 5-11 to 5-1n.

任意のフアンクシヨンプログラムに対して割込
が発生し、割込の優先度が高い場合、実行中のフ
アンクシヨンプログラムを一時中断し、割込処理
フアンクシヨンプログラムが起動する。
When an interrupt occurs in an arbitrary function program and the priority of the interrupt is high, the function program being executed is temporarily suspended and the interrupt processing function program is activated.

プログラムローダの処理プログラムも割込処理
と同様に実行中のフアンクシヨンプログラムを中
断し優先的に処理する。
Similarly to interrupt processing, the processing program of the program loader also interrupts the currently executing function program and processes it preferentially.

第8図〜第11図はオンライン変更のプロセス
を示した状態図である。
FIGS. 8-11 are state diagrams illustrating the online change process.

第8図はプログラムローダ8によりフアンクシ
ヨンプログラムの登録エリアを検索する状態図で
ある。プログラムローダ8からの割込指令により
フアンクシヨンプログラム管理エリア5−2から
各フアンクシヨンプログラムの先頭アドレスとプ
ログラムサイズを読み出してプログラムローダ8
に伝送し、新に登録できるプログラムエリア5−
1の登録先頭アドレスと登録スペースを算出す
る。登録スペースが不足の場合は、オンライン変
更は不可能となる。
FIG. 8 is a state diagram in which the program loader 8 searches for a function program registration area. The program loader 8 reads the start address and program size of each function program from the function program management area 5-2 in response to an interrupt command from the program loader 8.
Program area 5- that can be transmitted to and newly registered
1. Calculate the registration start address and registration space. If there is insufficient registration space, online changes will not be possible.

第9図はプログラムローダ8による割込処理に
よりプログラムエリア5−1の登録先頭アドレス
から変更フアンクシヨンプログラム5−1xがロ
ーデイングされた状態を示している。尚、ローデ
イングの実行はオンライン中にプロセス制御に影
響のない様に遂次走査時間内の僅かの時間に少し
づつ行なわれる。
FIG. 9 shows a state in which the modified function program 5-1x is loaded from the registered start address of the program area 5-1 by interrupt processing by the program loader 8. Note that loading is performed little by little during a short period of time within the sequential scanning time so as not to affect process control while online.

第10図は被変更フアンクシヨンプログラム5
−1yと変更フアンクシヨンプログラム5−1x
のフアンクシヨンプログラム管理エリア5−2の
管理情報登録変更を示した状態図である。前述の
様にしてローデイングが完了した後に変更フアン
クシヨンプログラム5−1xの管理情報5−1
XCが変更フアンクシヨンプログラム管理情報エ
リア5−4に登録される。
Figure 10 shows modified function program 5.
-1y and change function program 5-1x
FIG. 4 is a state diagram showing management information registration changes in the function program management area 5-2 of FIG. After the loading is completed as described above, the management information 5-1 of the modified function program 5-1x is
XC is registered in the changed function program management information area 5-4.

プログラムローダ8により、変更フアンクシヨ
ンプログラム5−1xの登録指令が与えられると
フアンクシヨンプログラム管理エリア5−2にあ
る被変更フアンクシヨンプログラムの管理情報5
−1YCをフアンクシヨンプログラム管理情報保
存エリア5−3に格納し、フアンクシヨンプログ
ラム管理エリア5−2の被変更フアンクシヨンプ
ログラム5−1yの管理情報5−1YCを変更フ
アンクシヨンプログラム管理情報エリア5−4の
管理情報5−1XCに書き替える。この処理によ
り変更フアンクシヨンプログラム5−1xの先頭
アドレス、プログラムサイズ等の管理情報がオン
ライン中に登録されるが、これ等の一連の処理は
第6図に示す様に遂次走査の開始に先立つてOS
により実行される。
When the program loader 8 gives a command to register the modified function program 5-1x, the management information 5 of the modified function program in the function program management area 5-2
-1YC is stored in the function program management information storage area 5-3, and the management information 5-1YC of the modified function program 5-1y in the function program management area 5-2 is changed.Function program management Rewrite the information area 5-4 to management information 5-1XC. Through this processing, management information such as the start address and program size of the modified function program 5-1x is registered while online, but this series of processing is performed at the start of sequential scanning as shown in Figure 6. OS in advance
Executed by

第12図はフアンクシヨンプログラムFn2を
Fn2Aに変更した場合の変更前後の実行状態を
示したタイムチヤートである。この様にしてプラ
ント制御の実行を中断することなくフアンクシヨ
ンプログラムの変更を実現することができる。
Figure 12 shows the function program Fn2.
This is a time chart showing the execution status before and after changing to Fn2A. In this way, it is possible to change the function program without interrupting the execution of plant control.

第11図は被変更フアンクシヨンプログラムの
復元を示した状態図である。プログラムローダ8
から復元の指令が与えられると、第6図に示す遂
次走査の開始に先立つてフアンクシヨンプログラ
ム管理情報保存エリア5−3から復元フアンクシ
ヨンプログラムの管理情報5−1YCを読み出し
てフアンクシヨンプログラム管理エリア5−2の
該当場所に格納する。これにより旧フアンクシヨ
ンプログラム5−1Yへの復元はスキヤンの切れ
目で実行されプラント制御の実行を中断させるこ
となく行うことができる。
FIG. 11 is a state diagram showing the restoration of the modified function program. Program loader 8
When a restoration command is given from , the management information 5-1YC of the restoration function program is read out from the function program management information storage area 5-3 before starting the sequential scanning shown in FIG. The program management area 5-2 is stored at the appropriate location. As a result, the restoration to the old function program 5-1Y is executed at the end of the scan, and can be performed without interrupting the execution of plant control.

〔発明の効果〕〔Effect of the invention〕

以上述べたように本発明のプログラマブルコン
トローラによれば制御を実行中に、フアンクシヨ
ンプログラム単位でのプログラム変更が可能とな
り、制御の最適化をオンラインで短時間に実現す
ることが可能となり、試運転時においても調整能
率の良いプログラマブルコントローラを提供する
ことができる。
As described above, according to the programmable controller of the present invention, it is possible to change programs in function program units while control is being executed, and control optimization can be achieved online in a short time, making it possible to perform test runs. Therefore, it is possible to provide a programmable controller with good adjustment efficiency even when the time comes.

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

第1図はラダーダイヤグラムによるプログラム
図、第2図はプロセツサの命令語に変換したプロ
グラム図、第3図は機械語の構成図、第4図は本
発明のプログラマブルコントローラのブロツク
図、第5図はRAM5のメモリマツプ図、第6図
は遂次走査時間内でのフアンクシヨンの実行状態
を示すタイムチヤート、第7図は実行管理プログ
ラムOSによる起動順序を示した状態図、第8図
〜第11図はオンライン変更を示した各メモリエ
リアの状態図、第12図はプログラム変更前後の
実行状態を示したタイムチヤートである。 3……CPU、4……ROM、4−1……実行管
理プログラム、5……RAM、5−1……プログ
ラムエリア、5−2……フアンクシヨンプログラ
ム管理エリア、5−3……フアンクシヨンプログ
ラム管理情報保存エリア、5−4……変更フアン
クシヨンプログラム管理情報エリア。
Fig. 1 is a program diagram using a ladder diagram, Fig. 2 is a program diagram converted into processor command words, Fig. 3 is a configuration diagram of machine language, Fig. 4 is a block diagram of the programmable controller of the present invention, and Fig. 5 is a memory map diagram of RAM 5, Figure 6 is a time chart showing the execution state of functions within the sequential scanning time, Figure 7 is a state diagram showing the startup order by the execution management program OS, and Figures 8 to 11. 12 is a state diagram of each memory area showing online change, and FIG. 12 is a time chart showing the execution state before and after the program change. 3...CPU, 4...ROM, 4-1...Execution management program, 5...RAM, 5-1...Program area, 5-2...Function program management area, 5-3...Fan Function program management information storage area, 5-4...Change function program management information area.

Claims (1)

【特許請求の範囲】[Claims] 1 シーケンスプログラムを記憶するプログラム
メモリと、演算の途中結果及びデータ等を記憶す
るデータメモリと、外部から入力される情報を取
り込む入力部と、該入力部あるいは該データメモ
リからの情報を用いて演算を行う演算制御部と、
該演算制御部の演算結果を出力する出力部と、プ
ログラム及びデータ等の入力あるいは表示を行う
プログラムローダとの間で情報交換を行うインタ
ーフエース部を備えたプログラマブルコントロー
ラにおいて、複数のフアンクシヨンプログラムで
成るシーケンスプログラムを格納する第1のメモ
リ(プログラムエリア)と、該フアンクシヨンプ
ログラム毎の先頭アドレス、プログラムサイズ等
の管理情報を記憶する第2のメモリ(フアンクシ
ヨンプログラム管理エリア)と、該管理情報に基
づいて該フアンクシヨンプログラムを実行するシ
ーケンスプログラム実行手段と、該プログラムロ
ーダから変更フアンクシヨンプログラムをオンラ
イン中の逐次走査時間内に少しずつ該第1のメモ
リに書き込む手段と、該変更フアンクシヨンプロ
グラムの管理情報を格納する第3のメモリ(変更
フアンクシヨンプログラム管理情報エリア)と、
被変更フアンクシヨンプログラムの管理情報を保
存する第4のメモリ(フアンクシヨンプログラム
管理情報保存エリア)と、オンライン中に該第2
のメモリの被変更フアンクシヨンプログラムの管
理情報を該第4のメモリに保存して該第3のメモ
リの管理情報に入れ替え、フアンクシヨンプログ
ラムの変更を可能にすると共に、該第4のメモリ
に保存した管理情報を該第2のメモリに戻して元
のフアンクシヨンプログラムに復帰できる手段を
設けたことを特徴とするプログラマブルコントロ
ーラ。
1. A program memory that stores a sequence program, a data memory that stores intermediate results of calculations, data, etc., an input section that takes in information input from the outside, and an operation that uses information from the input section or the data memory. an arithmetic control unit that performs
A programmable controller equipped with an interface unit that exchanges information between an output unit that outputs the calculation results of the calculation control unit and a program loader that inputs or displays programs and data, etc. a first memory (program area) that stores a sequence program consisting of a sequence program; a second memory (function program management area) that stores management information such as the start address and program size for each function program; sequence program execution means for executing the function program based on the management information; means for writing the modified function program from the program loader into the first memory little by little during online sequential scanning time; a third memory (changed function program management information area) for storing management information of the changed function program;
A fourth memory (function program management information storage area) that stores management information of the function program to be changed;
The management information of the function program to be changed in the memory is saved in the fourth memory and replaced with the management information in the third memory, making it possible to change the function program, and A programmable controller characterized in that a programmable controller is provided with means for returning management information stored in the second memory to the second memory and returning to the original function program.
JP22395982A 1982-12-22 1982-12-22 Programmable controller Granted JPS59114602A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22395982A JPS59114602A (en) 1982-12-22 1982-12-22 Programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22395982A JPS59114602A (en) 1982-12-22 1982-12-22 Programmable controller

Publications (2)

Publication Number Publication Date
JPS59114602A JPS59114602A (en) 1984-07-02
JPH0410081B2 true JPH0410081B2 (en) 1992-02-24

Family

ID=16806372

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22395982A Granted JPS59114602A (en) 1982-12-22 1982-12-22 Programmable controller

Country Status (1)

Country Link
JP (1) JPS59114602A (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6211903A (en) * 1985-07-10 1987-01-20 Fuji Electric Co Ltd Programmable controller
JP2617926B2 (en) * 1987-03-09 1997-06-11 松下電器産業株式会社 Program transfer device
JPH0259930A (en) * 1988-08-26 1990-02-28 Hitachi Ltd Program changing system
JPH0327443A (en) * 1989-06-26 1991-02-05 Toshiba Corp Microcontroller
JPH03181205A (en) * 1989-12-11 1991-08-07 Fuji Elelctrochem Co Ltd Dielectric filter
JP2002063042A (en) 2000-08-21 2002-02-28 Nec Microsystems Ltd Program module management system, management method therefor and recording medium with its management program recorded on the same

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
JPS57117001A (en) * 1981-01-12 1982-07-21 Toshiba Corp Control device
JPS57134706A (en) * 1981-02-12 1982-08-20 Toshiba Corp Program selection controller

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
JPS57117001A (en) * 1981-01-12 1982-07-21 Toshiba Corp Control device
JPS57134706A (en) * 1981-02-12 1982-08-20 Toshiba Corp Program selection controller

Also Published As

Publication number Publication date
JPS59114602A (en) 1984-07-02

Similar Documents

Publication Publication Date Title
RU2002127807A (en) RESTARTED TRANSLATED TEAMS
JPH0869447A (en) Data processor
JPH0410081B2 (en)
US6009268A (en) Device for programming a stored program controller
JPH10214203A (en) Information processor
JPH06242819A (en) Signal state control system for programmable controller
JPS5835648A (en) Program execution controlling system
JP3341064B2 (en) Control program creation device
JPS63157238A (en) Computer
JP2727023B2 (en) Information processing device
KR0161830B1 (en) The scan time reducing method for plc
JP2513142B2 (en) Program simulator device
JPH05250221A (en) Simulator execution system
JPH11259308A (en) Programmable controller
JPS6348698A (en) Memory storage control device
JP2003263328A (en) Starting method for event-driven function block, event- driven controller, compiler for event-driven function block, and compiler for event-driven control program
JP2658699B2 (en) Method of managing device under test of input / output device test program
JP3260788B2 (en) Robot control device and method
JP2003271207A (en) Execution method of program and program development support device
JP2000172574A (en) Information processor
JPS5949609A (en) Programmable controller equipped with simulation performing function
JPH10240569A (en) Tracing device for computer
JPH0454548A (en) Memory check system for computer system
JP2000215042A (en) In-operation update system for control program
JPH0844570A (en) System and method for program execution