JPH0496801A - Programmable controller - Google Patents

Programmable controller

Info

Publication number
JPH0496801A
JPH0496801A JP21519490A JP21519490A JPH0496801A JP H0496801 A JPH0496801 A JP H0496801A JP 21519490 A JP21519490 A JP 21519490A JP 21519490 A JP21519490 A JP 21519490A JP H0496801 A JPH0496801 A JP H0496801A
Authority
JP
Japan
Prior art keywords
program
memory
input device
system program
external input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP21519490A
Other languages
Japanese (ja)
Inventor
Jiyunji Ichiriyama
一里山 淳司
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 Electric Works Co Ltd
Original Assignee
Matsushita Electric Works 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 Works Ltd filed Critical Matsushita Electric Works Ltd
Priority to JP21519490A priority Critical patent/JPH0496801A/en
Publication of JPH0496801A publication Critical patent/JPH0496801A/en
Pending legal-status Critical Current

Links

Landscapes

  • Programmable Controllers (AREA)

Abstract

PURPOSE:To freely change a system program by an external input device and to easily cope with system correction, version up, etc., by storing a system program into a reloadable memory. CONSTITUTION:When an external input device D is connected to a CPU unit A and an application system program written on a floppy disk E is transferred from the external input device D, the CPU unit A stores this program into the system program area in accordance with an OS program stored in a submemory. Since the program is freely rewritten in this manner, various languages are arbitrarily used. When a programmable controller is used, a user program is executed by the CPU in accordance with the written program. Thus, system correction, version up, etc., are facilitated.

Description

【発明の詳細な説明】 し産業上の利用分野1 本発明は、予め記憶されたプログラムに促って外部機器
の動作を制御するプログラマブルコントローラに関する
もグ)である。
DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application 1 The present invention relates to a programmable controller that controls the operation of external equipment in response to a pre-stored program.

[従来の技術] プログラマブルコントローラは、予めシステムプログラ
ム及びユーザプログラムを記憶しておき、外部機器から
の入力データを読み込んで上記10グラノ、に従って演
算を行い、その演算結果に応じて外部機器の制御信号等
を出力するものである。
[Prior Art] A programmable controller stores a system program and a user program in advance, reads input data from an external device, performs calculations according to the above 10, and outputs control signals for the external device according to the calculation results. etc. is output.

[発明が解決しようとする課題] ところが、この種の従来のプログラマブルコントローラ
では、書込み不可能なROMにシステムプロゲラlいが
記憶されているため、システム修正やバージョンアップ
等のシステムプログラムの変更を行う場合、システムプ
ログラムを記憶するROMを取り換えなければならず、
システムプログラムの変更に容易に対応できないという
問題があった。
[Problems to be Solved by the Invention] However, in this type of conventional programmable controller, the system program is stored in a ROM that cannot be written to, so it is difficult to change the system program such as system modification or version upgrade. If you do so, you will have to replace the ROM that stores the system program.
There was a problem in that it was not easy to adapt to changes in the system program.

本発明は上述の点に鑑みて為されたものであり、その目
的とするところは、システムプログラムの変更に容易に
対応することができるプログラマブルコントローラを掃
供することにある。
The present invention has been made in view of the above points, and its purpose is to provide a programmable controller that can easily accommodate changes in system programs.

[課題を解決するための手段] 上記目的を達成するために、本発明はシステムプログラ
ム及びユーザプログラムを記憶する書換え自在なメモリ
と、外部機器からの入力データを読み込んでシステムプ
ログラム及びユーザプログラムに従って演算を行うと共
に、その演算結果に応じて外部機器の制御信号等を出力
するCPUと、外部入力装置からシステムプログラムを
上記メモリに書き込む際に必要なプログラムを記憶する
書換え不可能なサブメモリとを備えている。
[Means for Solving the Problems] In order to achieve the above object, the present invention includes a rewritable memory that stores a system program and a user program, and a rewritable memory that reads input data from an external device and performs calculations according to the system program and the user program. and a non-rewritable sub-memory that stores a program necessary for writing a system program into the memory from an external input device. ing.

[作用] 本発明は、上述のようにシステムプログラムを書換え自
在なメモリに記憶することにより、外部入力装置により
システムプログラムを自由に変更して、システム修正や
バージョンアップ等に容易に対応できるようにしたもの
である。
[Function] As described above, the present invention stores the system program in a rewritable memory, so that the system program can be freely changed using an external input device to easily respond to system corrections, version upgrades, etc. This is what I did.

[実施例] 第1図及び第2図に本発明の一実施例を示す。[Example] An embodiment of the present invention is shown in FIGS. 1 and 2. FIG.

本実施例のプログラマブルコントローラは、第2図に示
すように、CPU1を内蔵するCPUユニットAと、外
部機器とCPUユニットAとの間のデータの入出力を行
う複数のI10ユニットB及び電源ユニットCで構成さ
れており、CPUユニットAは、第1図に示すように、
システムプログラム及びユーザプログラムを記憶する書
換え自在なメモリ(例えば、RAMあるいはE2PRO
M)2と、外部機器(図示せず)からの入力データをI
10ユニットBを介して読み込んでシステムプログラム
及びユーザプログラムに従って演算を行うと共に、その
演算結果に応じて外部機器の制御信号等をI10ユニッ
トBを介して出力するC P Lllと、このCPUI
の演算処理のために用いられるワークメモリ(DRAM
)3と、外部入力装置りからシステムプログラムを上記
メモリ2に書き込む際に必要なオペレーションシステム
(O3)プログラム(例えば、外部入力装置りとのデー
タの受は渡しを行う際に必要なプログラム)を記憶する
書換え不可能なサブメモリ(ROM>4とで構成されて
いる。
As shown in FIG. 2, the programmable controller of this embodiment includes a CPU unit A that includes a built-in CPU 1, a plurality of I10 units B and a power supply unit C that input and output data between external equipment and the CPU unit A. The CPU unit A is composed of, as shown in FIG.
A rewritable memory (e.g. RAM or E2PRO) that stores system programs and user programs.
M)2 and input data from an external device (not shown) to I.
10 unit B, and performs calculations according to the system program and user program, and outputs control signals, etc. for external devices according to the calculation results via I10 unit B, and this CPU I
Work memory (DRAM) used for calculation processing
) 3 and the operating system (O3) program necessary when writing the system program from the external input device to the memory 2 (for example, the program necessary when receiving and passing data to and from the external input device). It is composed of a non-rewritable sub-memory (ROM>4) for storing data.

本実施例の場合には第2図に示すようにパソコン等の外
部入力装置りをCPUユニットAに接続し、外部入力装
置りからフロッピディスクEに書き込まれているアブリ
ケーションンステムプログラ18を転送すると、CPU
ユニットAではサブメモリ4に記憶されたOSプログラ
ムに従って、そのアプリケーションシステムプログラム
をシステムプログラムエリアに格納することができる。
In the case of this embodiment, as shown in FIG. 2, an external input device such as a personal computer is connected to the CPU unit A, and the application system program 18 written on the floppy disk E is transferred from the external input device. ,CPU
In unit A, according to the OS program stored in submemory 4, the application system program can be stored in the system program area.

このようにアプリケーションシステムプログラムを書き
換え自在とすれば、シーケンスラダー、BASIC,C
言語、SFC等の各種言語を任意に使用でき、使用者に
よって便利なものとなる。しかも、アプリケーションシ
ステムプログラムとユーザプログラムとが同じメモリ2
内に格納しであるため、ユーザプログラムを格納する容
量が足りない場合等には、不要のシステムプログラムを
除いてユーザプログラムを格納する容量を増やすことが
可能となる。なお、言うまでもないが、システムプログ
ラムは一度インストールすると、消去や変更を行わない
限り、電源切断後に電源を再投入しても自動的にシステ
ムが立ち上がりユーザプログラムを実行し、再度アプリ
ケーションシステムプログラムをインストールしなくて
も良いようになっている。
If application system programs can be rewritten in this way, sequence ladder, BASIC, C
Various languages such as English, SFC, etc. can be used arbitrarily, making it convenient for each user. Moreover, the application system program and the user program are stored in the same memory 2.
Therefore, if there is insufficient storage capacity for user programs, unnecessary system programs can be removed to increase the storage capacity for user programs. Needless to say, once a system program is installed, unless it is erased or modified, the system will automatically start up, run the user program, and install the application system program again even if the power is turned off and then turned on again. It is now possible to do without it.

そして、プログラマブルコントローラ(71pp用時に
は、上述のようにして書き込まれたアプリケーションシ
ステムプログラムに従ってユーザ10グラノ・をc p
 t+ tが実行する。なお、このユーザプログラムの
実行にはワークメモリ3がスタックや仮レジスタとして
使用される。
Then, when using the programmable controller (71pp), the user 10 Grano is programmed according to the application system program written as described above.
t+t executes. Note that the work memory 3 is used as a stack and a temporary register to execute this user program.

[発明の効果] 本発明は上述のように、システl、プログラノ、及びユ
ーザプログラムを記憶するM換疋自在なメモリと、外部
M!4器からの入力データを読み込んでシステムプログ
ラム、及びユーザ10グラノ、に従って演算を行うと共
に、その演算結果に応じて外部機器の制御信号等を出力
するC P し+と、外部入力装置からシステノ、プロ
グラムを上記メモリに書き込む際に必要なプログラムを
記憶する書換え不可能なサブメモリとを備えているので
、外部入力装置によりシステムプロゲラl、を自由に変
更することができ、このためシステム修正やバージョン
アップ等に容易に行うことができ、個々のユーザに合っ
たシステムを構築することができる利点がある。
[Effects of the Invention] As described above, the present invention includes an M-compatible memory for storing a system, a program program, and a user program, and an external M! CP +, which reads input data from the 4 devices and performs calculations according to the system program and the user 10, and outputs control signals, etc. for external equipment according to the calculation results; Since it is equipped with a non-rewritable sub-memory that stores the programs necessary when writing the program to the above memory, the system programmer can be freely changed using an external input device. It has the advantage that version upgrades can be easily performed and a system suitable for each individual user can be constructed.

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

第1図は本発明の一実施例の構成を示すブロック図、第
2図は外部入力装置からプログラムを書き込む方法の説
明図である。 1はCPU、2はメモリ、4はサブメモリ、Dは外部入
力装置である。 代理人 弁理士 石 1)長 七 フX 甲〉 x′F C’l マ
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, and FIG. 2 is an explanatory diagram of a method for writing a program from an external input device. 1 is a CPU, 2 is a memory, 4 is a sub-memory, and D is an external input device. Agent Patent Attorney Ishi 1) Chief 7F

Claims (1)

【特許請求の範囲】[Claims] (1)システムプログラム及びユーザプログラムを記憶
する書換え自在なメモリと、外部機器からの入力データ
を読み込んでシステムプログラム及びユーザプログラム
に従って演算を行うと共に、その演算結果に応じて外部
機器の制御信号等を出力するCPUと、外部入力装置か
らシステムプログラムを上記メモリに書き込む際に必要
なプログラムを記憶する書換え不可能なサブメモリとを
備えて成るプログラマブルコントローラ。
(1) A rewritable memory that stores system programs and user programs, reads input data from external devices, performs calculations according to the system program and user programs, and outputs control signals, etc. of external devices according to the calculation results. A programmable controller comprising an output CPU and a non-rewritable sub-memory that stores a program necessary for writing a system program into the memory from an external input device.
JP21519490A 1990-08-14 1990-08-14 Programmable controller Pending JPH0496801A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21519490A JPH0496801A (en) 1990-08-14 1990-08-14 Programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21519490A JPH0496801A (en) 1990-08-14 1990-08-14 Programmable controller

Publications (1)

Publication Number Publication Date
JPH0496801A true JPH0496801A (en) 1992-03-30

Family

ID=16668243

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21519490A Pending JPH0496801A (en) 1990-08-14 1990-08-14 Programmable controller

Country Status (1)

Country Link
JP (1) JPH0496801A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100383896B1 (en) * 2000-03-28 2003-05-14 신대섭 Machinery and Tools Control System

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100383896B1 (en) * 2000-03-28 2003-05-14 신대섭 Machinery and Tools Control System

Similar Documents

Publication Publication Date Title
JP3884464B2 (en) BIOS data storage device for computer system and driving method thereof
JPH0496801A (en) Programmable controller
JPH0612253A (en) Microcomputer
JPH0821009B2 (en) CHANNEL CONTROLLER INITIALIZATION METHOD AND SYSTEM FOR THE INITIALIZATION
JP3480957B2 (en) Memory programming equipment
JP3442972B2 (en) Information processing apparatus and rewritable nonvolatile memory rewriting method
JPS63249206A (en) Programmable controller
JPH02176882A (en) Semiconductor integrated circuit
JPH01114940A (en) Signal processor
JPH0193801A (en) Loading device for control program
JPH04107630A (en) Central processing unit
JPH0266667A (en) Parallel computing element
JPH03103924A (en) Data processor
JPS63136154A (en) Microcomputer device
JPH10133719A (en) Programmable controller
JPH06139102A (en) Digital control device and its debugging method
JPH03235119A (en) Information processor
JPH0158522B2 (en)
JPS62271143A (en) Coprocessor
JPS62256138A (en) Data processor
JP2002163243A (en) Micro-computer
JPH01102643A (en) Data processing system
JPH02129745A (en) Computer
JPH05204750A (en) Data holding system for program controller
JPH01266642A (en) Memory controller