JPH10240316A - Programmable controller - Google Patents

Programmable controller

Info

Publication number
JPH10240316A
JPH10240316A JP4172597A JP4172597A JPH10240316A JP H10240316 A JPH10240316 A JP H10240316A JP 4172597 A JP4172597 A JP 4172597A JP 4172597 A JP4172597 A JP 4172597A JP H10240316 A JPH10240316 A JP H10240316A
Authority
JP
Japan
Prior art keywords
unit
unique information
user program
connection unit
storage area
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.)
Granted
Application number
JP4172597A
Other languages
Japanese (ja)
Other versions
JP3496436B2 (en
Inventor
Hidehiko Fujikawa
英彦 藤川
Yasuhisa Masuo
泰央 増尾
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 JP04172597A priority Critical patent/JP3496436B2/en
Publication of JPH10240316A publication Critical patent/JPH10240316A/en
Application granted granted Critical
Publication of JP3496436B2 publication Critical patent/JP3496436B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Programmable Controllers (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a programmable controller capable of efficiently setting the peculiar information of CPU unit, connection unit or user program. SOLUTION: This programmable controller is provided with a CPU unit 1 and a connection unit 2 connected through an information transmitting means, the CPU unit 1 is provided with a system memory 11 storing an operation system program 11a, user program memory 12 storing a user program 12a and central arithmetic processing part 14 for executing operation based on the user program 12a and the connection unit 2 is provided with a connection unit system memory 21 storing a control program 21a, data memory 22 for storing data and arithmetic processing part 23 for executing operation. Concerning such a programmable controller, this user program memory 12 is provided with a peculiar information storage part 12d for storing the peculiar information in a prescribed area.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、ユーザーが作成し
たユーザープログラムに基づいて、外部機器を制御する
プログラマブルコントローラに関するものである。
[0001] 1. Field of the Invention [0002] The present invention relates to a programmable controller for controlling an external device based on a user program created by a user.

【0002】[0002]

【従来の技術】従来、この種のプログラマブルコントロ
ーラとして、CPUユニットと、そのCPUユニットと
情報伝達手段を介して接続される接続ユニットとを備え
た構成のものが存在する。
2. Description of the Related Art Conventionally, as this kind of programmable controller, there is a programmable controller having a CPU unit and a connection unit connected to the CPU unit via information transmitting means.

【0003】CPUユニットは、システム全体を制御す
る制御手順を記述したオペレーションシステムプログラ
ムを格納したシステムメモリと、ユーザが外部機器を制
御するための演算手順を記述したユーザプログラムを格
納するユーザプログラムメモリと、通信機器と接続され
てデータを送受信する通信手段と、データを保持するレ
ジスタを有して、オペレーションシステムプログラムで
もってシステムを制御するとともにユーザプログラムに
基づいて演算を実行する中央演算処理部とを設けてい
る。
The CPU unit has a system memory storing an operation system program describing a control procedure for controlling the entire system, a user program memory storing a user program describing a calculation procedure for a user to control an external device, and the like. A communication unit connected to a communication device for transmitting and receiving data, and a central processing unit having a register for storing data, controlling the system with an operation system program, and executing a calculation based on a user program. Provided.

【0004】接続ユニットは、その接続ユニット全体を
制御する制御手順を記述した制御プログラムを格納した
接続ユニットシステムメモリと、データを格納するデー
タメモリと、制御プログラムに基づいて演算を実行する
演算処理部とを設けている。
The connection unit includes a connection unit system memory storing a control program describing a control procedure for controlling the entire connection unit, a data memory storing data, and an operation processing unit for executing an operation based on the control program. Are provided.

【0005】さらに詳しくは、図3に示すように、ユー
ザプログラムメモリAはユーザプログラムA1の他に、
ユーザーが作成してCPUユニットの動作に必要な固有
情報であるシステムレジスタA2と、システムの管理情
報であるヘッダーA3とを格納する。したがって、管理
できる固有情報はユーザプログラムメモリAに格納され
たシステムレジスタA2のみであって、システムレジス
タA2以外の固有情報は、CPUユニットのユーザプロ
グラムメモリA以外の別領域、接続ユニット、又は全く
外部の装置に格納されている。
More specifically, as shown in FIG. 3, a user program memory A stores a user program A1 in addition to a user program A1.
A system register A2 that is created by a user and is unique information necessary for the operation of the CPU unit, and a header A3 that is system management information is stored. Therefore, the unique information that can be managed is only the system register A2 stored in the user program memory A, and the unique information other than the system register A2 is stored in another area other than the user program memory A of the CPU unit, a connection unit, or a completely external unit. Stored in the device.

【0006】[0006]

【発明が解決しようとする課題】上記した従来のプログ
ラマブルコントローラでは、中央演算処理部がオペレー
ションシステムプログラムでもってシステム全体を制御
し、ユーザプログラムメモリAに格納されたユーザプロ
グラムA1に基づいて演算を実行して、外部機器を制御
できる。
In the above-mentioned conventional programmable controller, the central processing unit controls the entire system with an operation system program and executes an operation based on a user program A1 stored in a user program memory A. Thus, the external device can be controlled.

【0007】しかしながら、システムレジスタA2以外
の固有情報は、ユーザプログラムメモリA以外に格納さ
れているので拡張性に乏しく、その固有情報を個別の手
段でもってそれぞれ個別に設定しなければならず、効率
性に問題があった。
However, since the unique information other than the system register A2 is stored in other than the user program memory A, the expandability is poor, and the unique information must be individually set by individual means, and the efficiency is increased. There was a problem with sex.

【0008】本発明は、上記事由に鑑みてなしたもの
で、その目的とするところは、CPUユニット、接続ユ
ニット、又はユーザプログラムの各固有情報を効率的に
設定できるプログラマブルコントローラを提供すること
にある。
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a programmable controller that can efficiently set each unique information of a CPU unit, a connection unit, or a user program. is there.

【0009】[0009]

【課題を解決するための手段】上記した課題を解決する
ために、請求項1記載のものは、CPUユニットと、そ
のCPUユニットと情報伝達手段を介して接続された接
続ユニットとを備え、CPUユニットは、システム全体
を制御する制御手順を記述したオペレーションシステム
プログラムを格納したシステムメモリと、ユーザが外部
機器を制御するための演算手順を記述したユーザプログ
ラムを格納するユーザプログラムメモリと、通信機器と
接続されてデータを送受信する通信手段と、データを保
持するレジスタ部を有して、オペレーションシステムプ
ログラムでもってシステムを制御するとともにユーザプ
ログラムに基づいて演算を実行する中央演算処理部とを
設け、接続ユニットは、その接続ユニット全体を制御す
る制御手順を記述した制御プログラムを格納した接続ユ
ニットシステムメモリと、データを格納するデータメモ
リと、制御プログラムに基づいて演算を実行する演算処
理部と、を設けたプログラマブルコントローラにおい
て、前記ユーザプログラムメモリは、前記CPUユニッ
ト、前記接続ユニット、又は前記ユーザプログラムのう
ち少なくとも一つの固有情報が前記中央演算処理部によ
って所定エリアに格納される固有情報格納領域を設けた
構成にしてある。
According to a first aspect of the present invention, there is provided an image processing apparatus comprising: a CPU unit; and a connection unit connected to the CPU unit via information transmission means. The unit includes a system memory storing an operation system program describing a control procedure for controlling the entire system, a user program memory storing a user program describing an operation procedure for a user to control an external device, and a communication device. A communication unit connected to send and receive data; a central processing unit having a register unit for holding data, controlling the system with an operation system program, and executing an operation based on a user program; The unit describes the control procedures that control the entire connected unit A connection unit system memory storing a control program stored therein, a data memory storing data, and an operation processing unit executing an operation based on the control program, wherein the user program memory includes the CPU unit , A unique information storage area in which at least one unique information of the connection unit or the user program is stored in a predetermined area by the central processing unit.

【0010】請求項2記載のものは、請求項1記載のも
のにおいて、前記中央演算処理部は、前記固有情報を前
記通信手段を介して前記通信機器から前記固有情報格納
領域に格納する構成にしてある。
According to a second aspect of the present invention, in the first aspect, the central processing unit stores the unique information in the unique information storage area from the communication device via the communication means. It is.

【0011】請求項3記載のものは、請求項1記載のも
のにおいて、前記中央演算処理部は、前記固有情報を格
納命令が記述された前記ユーザプログラムに基づいて前
記固有情報格納領域に格納する構成にしてある。
According to a third aspect of the present invention, in the first aspect, the central processing unit stores the unique information in the unique information storage area based on the user program in which a storage instruction is described. It has a configuration.

【0012】請求項4記載のものは、請求項1記載のも
のにおいて、前記CPUユニットは、動作するために必
要なCPUユニットシステム情報からなり格納された前
記固有情報に基づいて動作するよう形成された構成にし
てある。
According to a fourth aspect of the present invention, in the first aspect, the CPU unit is formed so as to operate based on the stored unique information, which comprises CPU unit system information necessary for operation. Configuration.

【0013】請求項5記載のものは、請求項1記載のも
のにおいて、前記中央演算処理部は、前記ユーザプログ
ラムで使用される初期値データからなり格納された前記
固有情報を呼び出して、前記ユーザプログラムの起動時
に前記レジスタ部へ転送する構成にしてある。
According to a fifth aspect of the present invention, in the first aspect, the central processing unit calls the unique information, which is composed of initial value data used in the user program, and stores the unique information. When the program is started, the data is transferred to the register section.

【0014】請求項6記載のものは、請求項1記載のも
のにおいて、前記固有情報格納領域は、前記ユーザプロ
グラムに付加されるユーザプログラム付加情報からなる
前記固有情報が格納された構成にしてある。
According to a sixth aspect of the present invention, in the first aspect, the unique information storage area is configured to store the unique information including user program additional information added to the user program. .

【0015】請求項7記載のものは、請求項1記載のも
のにおいて、前記固有情報格納領域は、前記接続ユニッ
トが動作するために必要な接続ユニット初期設定情報か
らなる前記固有情報が格納された構成にしてある。
According to a seventh aspect of the present invention, in the first aspect, the unique information storage area stores the unique information including connection unit initial setting information necessary for the operation of the connection unit. It has a configuration.

【0016】請求項8記載のものは、請求項7記載のも
のにおいて、前記接続ユニットは、前記情報伝達手段を
介して前記固有情報格納領域から呼び出された前記接続
ユニット初期設定情報に基づいて動作するよう形成され
た構成にしてある。
According to an eighth aspect of the present invention, in the seventh aspect, the connection unit operates based on the connection unit initial setting information called from the unique information storage area via the information transmitting means. It is configured to be formed.

【0017】請求項9記載のものは、請求項7記載のも
のにおいて、前記接続ユニットは、前記情報伝達手段を
介して前記固有情報格納領域から転送された前記接続ユ
ニット初期設定情報が格納される初期設定情報格納領域
を前記データメモリに設け、その格納された前記接続ユ
ニット初期設定情報に基づいて動作するよう形成された
構成にしてある。
According to a ninth aspect of the present invention, in the seventh aspect, the connection unit stores the connection unit initial setting information transferred from the unique information storage area via the information transmitting means. An initial setting information storage area is provided in the data memory and configured to operate based on the stored connection unit initial setting information.

【0018】[0018]

【発明の実施の形態】本発明の第1実施形態を図1及び
図2に基づいて以下に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A first embodiment of the present invention will be described below with reference to FIGS.

【0019】1はCPUユニットで、システムメモリ1
1と、ユーザプログラムメモリ12と、通信インタフェ
イス13と、中央演算処理部14と、第1情報伝達イン
タフェイス15とを設けている。
Reference numeral 1 denotes a CPU unit.
1, a user program memory 12, a communication interface 13, a central processing unit 14, and a first information transmission interface 15.

【0020】システムメモリ11は、不揮発性のROM
により、システム全体を制御する制御手順を記述したオ
ペレーションシステムプログラム11aを格納する。
The system memory 11 is a non-volatile ROM
Thus, an operation system program 11a describing a control procedure for controlling the entire system is stored.

【0021】ユーザプログラムメモリ12は、RAM又
はROMにより、ユーザが外部機器31を制御するため
の演算手順を記述したユーザプログラム12aと、CP
Uユニット1の動作に必要な固有情報であるシステムレ
ジスタ12bと、システムの管理情報であるヘッダー1
2cとを格納する。
The user program memory 12 is a RAM or a ROM, which stores a user program 12a in which a calculation procedure for the user to control the external device 31 is described.
A system register 12b which is unique information necessary for the operation of the U unit 1, and a header 1 which is system management information
2c.

【0022】さらに、固有情報格納領域12dが設けら
れ、複数でn個の記憶領域に分割されて、アドレスを表
すポインタ、容量、ラベル、及び情報内容に分離された
所定エリア12eを有して、各アドレスに対応して各情
報内容を記憶している。
Further, a unique information storage area 12d is provided, which is divided into a plurality of n storage areas, and has a predetermined area 12e separated into a pointer representing an address, a capacity, a label, and information content. Each information content is stored corresponding to each address.

【0023】通信インタフェイス13は、通信手段を形
成し、通信機器13aと接続されて、RS232C又は
RS422Cの通信規格でもってデータをシリアルで送
受信する。ここで、通信機器13aが、プログラミング
機器で形成され、ユーザプログラム12aをプログラム
するプログラミングソフトがインストールされたパーソ
ナルコンピュータである。
The communication interface 13 forms communication means, is connected to the communication device 13a, and transmits and receives data serially according to the communication standard of RS232C or RS422C. Here, the communication device 13a is a personal computer formed of a programming device and having installed therein programming software for programming the user program 12a.

【0024】中央演算処理部14は、マイクロコンピュ
ータにより、システムメモリ11に格納されたオペレー
ションシステムプログラム11aを呼び出して、そのオ
ペレーションシステムプログラム11aに基づいてシス
テム全体を制御するとともに、ユーザプログラムメモリ
12に格納されたユーザプログラム12aを呼び出して
必要な演算を実行する。第1情報伝達インタフェイス1
5は、情報伝達手段を形成し、パラレルでデータを送受
信する。
The central processing unit 14 calls the operation system program 11a stored in the system memory 11 by the microcomputer, controls the entire system based on the operation system program 11a, and stores the data in the user program memory 12. The user program 12a is called to execute necessary operations. First information transfer interface 1
Numeral 5 forms an information transmission means for transmitting and receiving data in parallel.

【0025】2は接続ユニットで、位置決めユニット、
リンクユニット、又は高速カウンタ等で形成され、それ
ぞれが接続ユニットシステムメモリ21と、データメモ
リ22と、演算処理部23と、第2情報伝達インタフェ
イス24とを設けている。
2 is a connection unit, a positioning unit,
It is formed of a link unit, a high-speed counter, or the like, and each includes a connection unit system memory 21, a data memory 22, an arithmetic processing unit 23, and a second information transmission interface 24.

【0026】接続ユニットシステムメモリ21は、接続
ユニット2のシステム全体を制御する制御手順を記述し
た制御プログラム21aを格納する。データメモリ22
は、パラメータ等のデータを格納するとともに、演算処
理部23が作業した結果を記憶する作業領域を設け、さ
らに、初期設定情報格納領域22aを設けこのものにつ
いては詳しく後述する。
The connection unit system memory 21 stores a control program 21a describing a control procedure for controlling the entire system of the connection unit 2. Data memory 22
Is provided with a work area for storing data such as parameters and the result of work performed by the arithmetic processing unit 23, and further provided with an initial setting information storage area 22a, which will be described in detail later.

【0027】演算処理部23は、接続ユニットシステム
メモリ21に格納された制御プログラム21aに基づい
て演算を実行する。第2情報伝達インタフェイス24
は、情報伝達手段を形成し、CPUユニット1の第1情
報伝達インタフェイス15と接続されて、パラレルでデ
ータを送受信する。
The operation processing section 23 executes an operation based on the control program 21a stored in the connection unit system memory 21. Second information transmission interface 24
Forms an information transmission means, is connected to the first information transmission interface 15 of the CPU unit 1, and transmits and receives data in parallel.

【0028】このものの動作を説明する。CPUユニッ
ト1は新規機能が拡張付加される。また、オペレーショ
ンシステムプログラム11aは、CPUユニット1、接
続ユニット2、及びユーザプログラム12aの各固有情
報を、固有情報格納領域12dに格納する格納命令、及
び呼び出す呼び出し命令がそれぞれ設けられている。中
央演算処理部14は、オペレーションシステムプログラ
ム11aに基づいて、各固有情報を通信インタフェイス
13を介して通信機器13aから、固有情報格納領域1
2dの所定エリア12eのそれぞれの位置に格納する。
The operation of the above will be described. The CPU unit 1 is extended with new functions. The operation system program 11a is provided with a storage instruction for storing each unique information of the CPU unit 1, the connection unit 2, and the user program 12a in the unique information storage area 12d, and a call instruction for calling. The central processing unit 14 transmits the unique information from the communication device 13a via the communication interface 13 to the unique information storage area 1 based on the operation system program 11a.
It is stored in each position of the predetermined area 12e of 2d.

【0029】ここで、CPUユニット1の固有情報と
は、CPUユニットシステム情報及び初期値データであ
る。CPUユニットシステム情報は、CPUユニット1
が新規機能を拡張付加されたとき動作するために必要な
設定情報であって、拡張されたシステムレジスタ12b
に相当する。初期値データは、従来ユーザプログラム1
2aに記述されたものであって、ユーザが設定してユー
ザプログラム12aで使用される。
Here, the unique information of the CPU unit 1 is CPU unit system information and initial value data. The CPU unit system information is the CPU unit 1
Is setting information necessary to operate when a new function is extended and added, and the extended system register 12b
Is equivalent to The initial value data is based on the conventional user program 1.
2a, which is set by the user and used in the user program 12a.

【0030】接続ユニット2の固有情報とは、接続ユニ
ット初期設定情報であり、接続ユニット2が動作するた
めに必要な初期設定情報である。また、ユーザプログラ
ム12aの固有情報とは、ユーザプログラム付加情報で
あり、外部機器31の制御に関係せず、ユーザプログラ
ム12aに付加されるコメント又はリソース情報に相当
する。
The unique information of the connection unit 2 is the connection unit initial setting information, and is the initial setting information necessary for the operation of the connection unit 2. Further, the unique information of the user program 12a is additional information of the user program, and is not related to the control of the external device 31, and corresponds to a comment or resource information added to the user program 12a.

【0031】中央演算処理部14は、ユーザプログラム
メモリ12の固有情報格納領域12dに格納されたCP
Uユニットシステム情報を呼び出すとともに、同様にユ
ーザプログラムメモリ12に格納されたユーザプログラ
ム12aを起動し、固有情報格納領域12dに格納され
たユーザプログラム12aの初期値データを、呼び出し
てレジスタ部へ転送する。
The central processing unit 14 stores the CP stored in the unique information storage area 12 d of the user program memory 12.
While calling the U unit system information, the user program 12a similarly stored in the user program memory 12 is started, and the initial value data of the user program 12a stored in the unique information storage area 12d is called and transferred to the register unit. .

【0032】接続ユニット2は、接続ユニット初期設定
情報を転送する転送命令が記述されたオペレーションシ
ステムプログラム11aによって、CPUユニット1の
第1情報伝達インタフェイス15及び第2情報伝達イン
タフェイス24、すなわち情報伝達手段を介して、接続
ユニット初期設定情報が固有情報格納領域12dから転
送されて、初期設定情報格納領域22aに格納される。
そして、演算処理部23が格納された接続ユニット初期
設定情報に基づいて、データメモリ22の作業領域を使
用して演算動作し、演算結果を情報伝達手段を介して中
央演算処理部14に伝達する。
The connection unit 2 operates the first information transmission interface 15 and the second information transmission interface 24 of the CPU unit 1, ie, the information, according to an operation system program 11a in which a transfer command for transferring the connection unit initial setting information is described. Via the transmission means, the connection unit initial setting information is transferred from the unique information storage area 12d and stored in the initial setting information storage area 22a.
Then, the arithmetic processing unit 23 performs an arithmetic operation using the work area of the data memory 22 based on the stored connection unit initial setting information, and transmits the arithmetic result to the central processing unit 14 via information transmission means. .

【0033】ここで、CPUユニット1は外部機器31
からの外部信号が入力される入力手段3、及び演算結果
を外部機器31に出力する出力手段4が接続されてい
る。CPUユニット1の中央演算処理部14は、外部機
器31からの外部信号、接続ユニット2からの演算結
果、固有情報格納領域12dから呼び出されたCPUユ
ニットシステム情報と初期値データ、及びユーザが演算
手順を記述したユーザプログラム12aに基づいて演算
し、その演算結果を出力手段に出力して外部機器31を
制御する。
Here, the CPU unit 1 is connected to the external device 31.
An input means 3 to which an external signal is input and an output means 4 for outputting a calculation result to an external device 31 are connected. The central processing unit 14 of the CPU unit 1 includes an external signal from the external device 31, an operation result from the connection unit 2, the CPU unit system information and initial value data called from the unique information storage area 12d, and a user Is calculated on the basis of the user program 12a in which is described, and the calculation result is output to the output means to control the external device 31.

【0034】かかる第1実施形態のプログラマブルコン
トローラにあっては、上記したように、CPUユニット
1、接続ユニット2、及びユーザプログラム12aの各
固有情報が格納される固有情報格納領域12dをユーザ
プログラムメモリ12に設け、中央演算処理部14がそ
の固有情報を固有情報格納領域12dの所定エリア12
eに格納するから、外部機器31を制御するために必要
な固有情報を効率的に設定できるとともに、従来のよう
に分散した状態ではなく固有情報格納領域12dに集中
格納して、一括管理することができる。
In the programmable controller according to the first embodiment, as described above, the unique information storage area 12d storing the unique information of the CPU unit 1, the connection unit 2, and the user program 12a is stored in the user program memory. The central processing unit 14 stores the unique information in a predetermined area 12d of the unique information storage area 12d.
e, the unique information required to control the external device 31 can be set efficiently, and the information is centrally stored in the unique information storage area 12d instead of being distributed as in the related art, and is collectively managed. Can be.

【0035】また、固有情報が中央演算処理部14によ
って通信手段を介して通信機器13aから格納されるか
ら、ユーザプログラム12aを作成するプログラミング
機器等を通信機器13aとして使用して、固有情報を固
有情報格納領域12dに容易に格納することができる。
Further, since the unique information is stored by the central processing unit 14 from the communication device 13a via the communication means, a programming device for creating the user program 12a is used as the communication device 13a, and the unique information is stored. It can be easily stored in the information storage area 12d.

【0036】また、CPUユニット1が動作するために
必要なCPUユニットシステム情報からなる固有情報が
固有情報格納領域12dに格納されるとともに、CPU
ユニット1が格納されたCPUユニットシステム情報に
基づいて動作するよう形成されたから、CPUユニット
1に新規機能が拡張付加されたとき、その新規機能が動
作するために必要なCPUユニットシステム情報を格納
して、新規格納領域を確保することなく、容易にに付加
された新規機能を実現することができる。
The unique information including the CPU unit system information necessary for the operation of the CPU unit 1 is stored in the unique information storage area 12d.
Since the unit 1 is formed to operate based on the stored CPU unit system information, when a new function is extended and added to the CPU unit 1, the CPU unit system information necessary for operating the new function is stored. Thus, the newly added function can be easily realized without securing a new storage area.

【0037】また、ユーザプログラム12aのユーザが
設定する初期値データからなる固有情報が固有情報格納
領域12dに格納されるとともに、中央演算処理部14
が格納されたユーザプログラム12aの初期値データを
ユーザプログラム12aの起動時にレジスタ部に転送す
るから、初期値データを格納するためのプログラムを作
成することなく、ユーザープログラムを効率よく短時間
に作成することができる。
Further, unique information consisting of initial value data set by the user of the user program 12a is stored in the unique information storage area 12d, and the central processing unit 14
Is transferred to the register unit when the user program 12a is started, so that a user program can be efficiently and quickly created without creating a program for storing the initial value data. be able to.

【0038】また、ユーザプログラム12aに付加され
るユーザプログラム付加情報からなる固有情報が固有情
報格納領域12dに格納されたから、ユーザプログラム
付加情報としてコメント又はリソース等の固有情報を格
納して、新規記憶メモリを設けることなく、ユーザプロ
グラム12aの保守、点検、又は変更を容易に行うこと
ができる。
Further, since the unique information including the user program additional information added to the user program 12a is stored in the unique information storage area 12d, the unique information such as a comment or a resource is stored as the user program additional information and newly stored. Maintenance, inspection, or change of the user program 12a can be easily performed without providing a memory.

【0039】また、接続ユニット2が動作するために必
要な接続ユニット初期設定情報からなる固有情報が固有
情報格納領域12dに格納されたから、接続ユニット初
期設定情報としてリンクユニットや位置決めユニット等
の接続ユニット2のユーザーが設定すべき固有情報を一
括格納できるので、接続ユニット2交換のとき、その接
続ユニット2に改めて固有情報を格納していた従来と異
なって、接続ユニット2の保守、点検、又は交換を容易
に行うことができる。
Since the unique information including the connection unit initial setting information necessary for the operation of the connection unit 2 is stored in the unique information storage area 12d, the connection unit such as the link unit and the positioning unit is used as the connection unit initial setting information. 2 can store all the unique information to be set by the user, so that when the connection unit 2 is replaced, the maintenance, inspection, or replacement of the connection unit 2 is different from the conventional case where the unique information is newly stored in the connection unit 2. Can be easily performed.

【0040】また、情報伝達手段を介して固有情報格納
領域12dから転送された接続ユニット初期設定情報が
格納される初期設定情報格納領域22aを接続ユニット
2のデータメモリ22に設け、接続ユニット2が初期設
定情報格納領域22aに格納された接続ユニット初期設
定情報に基づいて動作するから、CPUユニット1のメ
モリーアクセスに制限を設ける必要がなくなって、転送
時以外のCPUユニット1の負荷を減少させることがで
きる。
Further, an initial setting information storage area 22a for storing the connection unit initial setting information transferred from the unique information storage area 12d via the information transmitting means is provided in the data memory 22 of the connection unit 2. Since the operation is performed based on the connection unit initial setting information stored in the initial setting information storage area 22a, it is not necessary to limit the memory access of the CPU unit 1, and the load on the CPU unit 1 other than during transfer is reduced. Can be.

【0041】なお、第1実施形態では、固有情報格納領
域がCPUユニット、接続ユニット、及びユーザプログ
ラムの各固有情報を中央演算処理部によって所定エリア
に格納したものとしたが、CPUユニット、接続ユニッ
ト、及びユーザプログラムの各固有情報のうち少なくと
も一つを格納すればよく、限定されない。
In the first embodiment, the unique information storage area stores each unique information of the CPU unit, the connection unit, and the user program in a predetermined area by the central processing unit. , And at least one of the pieces of unique information of the user program is not limited.

【0042】本発明の第2実施形態を以下に説明する。
なお、第2実施形態では第1実施形態と異なる機能につ
いて述べることとする。各固有情報をユーザプログラム
メモリ12の固有情報格納領域12dに格納する格納命
令がオペレーションシステムプログラム11aではな
く、ユーザプログラム12aに記述される。中央演算処
理部14は、格納命令が記述されたユーザプログラム1
2aに基づいて、各固有情報を固有情報格納領域12d
に格納する。
A second embodiment of the present invention will be described below.
In the second embodiment, functions different from those in the first embodiment will be described. A storage instruction for storing each unique information in the unique information storage area 12d of the user program memory 12 is described in the user program 12a instead of the operation system program 11a. The central processing unit 14 stores the user program 1 in which the storage instruction is described.
2a, each unique information is stored in the unique information storage area 12d.
To be stored.

【0043】かかる第2実施形態のプログラマブルコン
トローラにあっては、上記したように、固有情報が格納
命令を記述したユーザプログラム12aに基づいて中央
演算処理部14によって格納されるから、ユーザーがユ
ーザプログラム12aの格納命令を実行して、固有情報
を固有情報格納領域12dに容易に格納することができ
る。
In the programmable controller according to the second embodiment, as described above, since the unique information is stored by the central processing unit 14 based on the user program 12a in which the storage instruction is described, By executing the storage instruction of 12a, the unique information can be easily stored in the unique information storage area 12d.

【0044】本発明の第3実施形態を以下に説明する。
なお、第3実施形態では第1実施形態と異なる機能につ
いて述べることとする。接続ユニット2は、接続ユニッ
ト初期設定情報を格納する初期設定情報格納領域22a
がデータメモリ22に設けられていない。そして、演算
処理部23が情報伝達手段を介して固有情報格納領域1
2dから接続ユニット初期設定情報を呼び出して、その
呼び出された接続ユニット初期設定情報に基づいて動作
する。
The third embodiment of the present invention will be described below.
In the third embodiment, functions different from those of the first embodiment will be described. The connection unit 2 has an initial setting information storage area 22a for storing connection unit initial setting information.
Are not provided in the data memory 22. Then, the arithmetic processing unit 23 transmits the unique information storage area 1 via the information transmitting means.
The connection unit initialization information is called from 2d, and operation is performed based on the called connection unit initialization information.

【0045】かかる第3実施形態のプログラマブルコン
トローラにあっては、上記したように、情報伝達手段を
介して固有情報格納領域12dから呼び出された接続ユ
ニット初期設定情報に基づいて、接続ユニット2が動作
するから、接続ユニット2毎に固有情報を格納する新規
記憶メモリを設けることなく、接続ユニット2を安価に
形成することができる。
In the programmable controller according to the third embodiment, as described above, the connection unit 2 operates based on the connection unit initial setting information called from the unique information storage area 12d via the information transmitting means. Therefore, the connection unit 2 can be formed at low cost without providing a new storage memory for storing unique information for each connection unit 2.

【0046】[0046]

【発明の効果】請求項1記載のものは、CPUユニッ
ト、接続ユニット、又はユーザプログラムのうち少なく
とも一つの固有情報が格納される固有情報格納領域をユ
ーザプログラムメモリに設け、中央演算処理部がその固
有情報を固有情報格納領域の所定エリアに格納するか
ら、外部機器を制御するために必要な固有情報を効率的
に設定できるとともに、従来のように分散した状態では
なく固有情報格納領域に集中格納して、一括管理するこ
とができる。
According to the first aspect of the present invention, a unique information storage area for storing at least one unique information of a CPU unit, a connection unit, or a user program is provided in a user program memory, and the central processing unit is provided with the same. Since the unique information is stored in a predetermined area of the unique information storage area, the unique information required for controlling the external device can be set efficiently, and the information is stored centrally in the unique information storage area instead of being distributed as in the conventional case. And can be managed collectively.

【0047】請求項2記載のものは、請求項1記載のも
のの効果に加えて、固有情報が中央演算処理部によって
通信手段を介して通信機器から格納されるから、ユーザ
プログラムを作成するプログラミング機器等を通信機器
として使用して、固有情報を固有情報格納領域に容易に
格納することができる。
According to the second aspect, in addition to the effect of the first aspect, since the unique information is stored from the communication device through the communication means by the central processing unit, the programming device for creating the user program is provided. And the like can be used as a communication device to easily store the unique information in the unique information storage area.

【0048】請求項3記載のものは、請求項1記載のも
のの効果に加えて、固有情報が格納命令を記述したユー
ザプログラムに基づいて中央演算処理部によって格納さ
れるから、ユーザーがユーザプログラムの格納命令を実
行して、固有情報を固有情報格納領域に容易に格納する
ことができる。
According to the third aspect, in addition to the effect of the first aspect, the unique information is stored by the central processing unit based on the user program in which the storage instruction is described. By executing the storage instruction, the unique information can be easily stored in the unique information storage area.

【0049】請求項4記載のものは、請求項1記載のも
のの効果に加えて、CPUユニットが動作するために必
要なCPUユニットシステム情報からなる固有情報が固
有情報格納領域に格納されるとともに、CPUユニット
が格納されたCPUユニットシステム情報に基づいて動
作するよう形成されたから、CPUユニットに新規機能
が拡張付加されたとき、その新規機能が動作するために
必要なCPUユニットシステム情報を格納して、新規格
納領域を確保することなく、容易にに付加された新規機
能を実現することができる。
According to a fourth aspect of the present invention, in addition to the effect of the first aspect, unique information comprising CPU unit system information necessary for the operation of the CPU unit is stored in the unique information storage area. Since the CPU unit is formed to operate based on the stored CPU unit system information, when a new function is expanded and added to the CPU unit, the CPU unit stores the CPU unit system information necessary for operating the new function. Thus, it is possible to easily realize a new function added without securing a new storage area.

【0050】請求項5記載のものは、請求項1記載のも
のの効果に加えて、ユーザプログラムのユーザが設定す
る初期値データからなる固有情報が固有情報格納領域に
格納されるとともに、中央演算処理部が格納されたユー
ザプログラムの初期値データをユーザプログラムの起動
時にレジスタ部に転送するから、初期値データを格納す
るためのプログラムを作成することなく、ユーザープロ
グラムを効率よく短時間に作成することができる。
According to a fifth aspect of the present invention, in addition to the effect of the first aspect, unique information comprising initial value data set by the user of the user program is stored in the unique information storage area, and the central processing is performed. Since the initial value data of the stored user program is transferred to the register unit when the user program is started, the user program can be created efficiently and in a short time without creating a program for storing the initial value data. Can be.

【0051】請求項6記載のものは、請求項1記載のも
のの効果に加えて、ユーザプログラムに付加されるユー
ザプログラム付加情報からなる固有情報が固有情報格納
領域に格納されたから、ユーザプログラム付加情報とし
てコメント又はリソース等の固有情報を格納して、新規
記憶メモリを設けることなく、ユーザプログラムの保
守、点検、又は変更を容易に行うことができる。
According to the sixth aspect of the invention, in addition to the effect of the first aspect, the unique information including the user program additional information added to the user program is stored in the unique information storage area. As a result, unique information such as comments or resources is stored, and maintenance, inspection, or modification of the user program can be easily performed without providing a new storage memory.

【0052】請求項7記載のものは、請求項1記載のも
のの効果に加えて、接続ユニットが動作するために必要
な接続ユニット初期設定情報からなる固有情報が固有情
報格納領域に格納されたから、接続ユニット初期設定情
報としてリンクユニットや位置決めユニット等の接続ユ
ニットのユーザーが設定すべき固有情報を一括格納でき
るので、接続ユニット交換のとき、その接続ユニットに
改めて固有情報を格納していた従来と異なって、接続ユ
ニットの保守、点検、又は交換を容易に行うことができ
る。
According to the seventh aspect, in addition to the effect of the first aspect, the unique information including the connection unit initial setting information necessary for the operation of the connection unit is stored in the unique information storage area. Unique information to be set by the user of the connection unit, such as a link unit or positioning unit, can be stored collectively as the connection unit initial setting information. Thus, maintenance, inspection, or replacement of the connection unit can be easily performed.

【0053】請求項8記載のものは、請求項7記載のも
のの効果に加えて、情報伝達手段を介して固有情報格納
領域から呼び出された接続ユニット初期設定情報に基づ
いて、接続ユニットが動作するから、接続ユニット毎に
固有情報を格納する新規記憶メモリを設けることなく、
接続ユニットを安価に形成することができる。
According to the eighth aspect, in addition to the effect of the seventh aspect, the connection unit operates based on the connection unit initial setting information called from the unique information storage area via the information transmitting means. Therefore, without providing a new storage memory for storing unique information for each connection unit,
The connection unit can be formed at low cost.

【0054】請求項9記載のものは、請求項7記載のも
のの効果に加えて、情報伝達手段を介して固有情報格納
領域から転送された接続ユニット初期設定情報が格納さ
れる初期設定情報格納領域を接続ユニットのデータメモ
リに設け、接続ユニットが初期設定情報格納領域に格納
された接続ユニット初期設定情報に基づいて動作するか
ら、CPUユニットのメモリーアクセスに制限を設ける
必要がなくなって、転送時以外のCPUユニットの負荷
を減少させることができる。
According to the ninth aspect, in addition to the effect of the seventh aspect, an initial setting information storage area for storing connection unit initial setting information transferred from the unique information storage area via the information transmitting means. Is provided in the data memory of the connection unit, and the connection unit operates based on the connection unit initial setting information stored in the initial setting information storage area. Therefore, it is not necessary to limit the memory access of the CPU unit. Can be reduced.

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

【図1】本発明の第1実施形態を示す構成図である。FIG. 1 is a configuration diagram showing a first embodiment of the present invention.

【図2】同上のユーザプログラムメモリの記憶領域図で
ある。
FIG. 2 is a storage area diagram of a user program memory according to the first embodiment;

【図3】従来例を示すユーザプログラムメモリの記憶領
域図である。
FIG. 3 is a storage area diagram of a user program memory showing a conventional example.

【符号の説明】[Explanation of symbols]

1 CPUユニット 11 システムメモリ 11a オペレーションシステムプログラム 12 ユーザプログラムメモリ 12a ユーザプログラム 12d 固有情報格納領域 12e 所定エリア 13 通信インタフェイス(通信手段) 13a 通信機器 14 中央演算処理部 15 第1情報伝達インタフェイス(情報伝達手段) 2 接続ユニット 21 接続ユニットシステムメモリ 21a 制御プログラム 22 データメモリ 22a 初期設定情報格納領域 23 演算処理部 DESCRIPTION OF SYMBOLS 1 CPU unit 11 System memory 11a Operation system program 12 User program memory 12a User program 12d Unique information storage area 12e Predetermined area 13 Communication interface (communication means) 13a Communication equipment 14 Central processing unit 15 First information transmission interface (information Transmission means) 2 connection unit 21 connection unit system memory 21a control program 22 data memory 22a initial setting information storage area 23 arithmetic processing unit

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 CPUユニットと、そのCPUユニット
と情報伝達手段を介して接続された接続ユニットとを備
え、 CPUユニットは、システム全体を制御する制御手順を
記述したオペレーションシステムプログラムを格納した
システムメモリと、ユーザが外部機器を制御するための
演算手順を記述したユーザプログラムを格納するユーザ
プログラムメモリと、通信機器と接続されてデータを送
受信する通信手段と、データを保持するレジスタ部を有
して、オペレーションシステムプログラムでもってシス
テムを制御するとともにユーザプログラムに基づいて演
算を実行する中央演算処理部とを設け、 接続ユニットは、その接続ユニット全体を制御する制御
手順を記述した制御プログラムを格納した接続ユニット
システムメモリと、データを格納するデータメモリと、
制御プログラムに基づいて演算を実行する演算処理部
と、を設けたプログラマブルコントローラにおいて、 前記ユーザプログラムメモリは、前記CPUユニット、
前記接続ユニット、又は前記ユーザプログラムのうち少
なくとも一つの固有情報が前記中央演算処理部によって
所定エリアに格納される固有情報格納領域を設けたこと
を特徴とするプログラマブルコントローラ。
1. A system memory comprising a CPU unit and a connection unit connected to the CPU unit via information transmission means, wherein the CPU unit stores an operation system program describing a control procedure for controlling the entire system. A user program memory for storing a user program describing an operation procedure for a user to control an external device, a communication unit connected to a communication device for transmitting and receiving data, and a register unit for holding data. A central processing unit for controlling the system with an operation system program and executing a calculation based on a user program, wherein the connection unit stores a control program describing a control procedure for controlling the entire connection unit. Unit system memory and data And data memory to be paid,
An arithmetic processing unit that performs an arithmetic operation based on a control program, wherein the user program memory includes the CPU unit,
A programmable controller having a unique information storage area in which at least one unique information of the connection unit or the user program is stored in a predetermined area by the central processing unit.
【請求項2】 前記中央演算処理部は、前記固有情報を
前記通信手段を介して前記通信機器から前記固有情報格
納領域に格納することを特徴とする請求項1記載のプロ
グラマブルコントローラ。
2. The programmable controller according to claim 1, wherein the central processing unit stores the unique information from the communication device in the unique information storage area via the communication unit.
【請求項3】 前記中央演算処理部は、前記固有情報を
格納命令が記述された前記ユーザプログラムに基づいて
前記固有情報格納領域に格納することを特徴とする請求
項1記載のプログラマブルコントローラ。
3. The programmable controller according to claim 1, wherein the central processing unit stores the unique information in the unique information storage area based on the user program in which a storage instruction is described.
【請求項4】 前記CPUユニットは、動作するために
必要なCPUユニットシステム情報からなり格納された
前記固有情報に基づいて動作するよう形成されたことを
特徴とする請求項1記載のプログラマブルコントロー
ラ。
4. The programmable controller according to claim 1, wherein said CPU unit is formed of CPU unit system information necessary for operation and operates based on the stored unique information.
【請求項5】 前記中央演算処理部は、前記ユーザプロ
グラムで使用される初期値データからなり格納された前
記固有情報を呼び出して、前記ユーザプログラムの起動
時に前記レジスタ部へ転送することを特徴とする請求項
1記載のプログラマブルコントローラ。
5. The central processing unit according to claim 1, wherein the central information processing unit calls the stored unique information including initial value data used in the user program and transfers the unique information to the register unit when the user program is started. The programmable controller according to claim 1, wherein
【請求項6】 前記固有情報格納領域は、前記ユーザプ
ログラムに付加されるユーザプログラム付加情報からな
る前記固有情報が格納されたことを特徴とする請求項1
記載のプログラマブルコントローラ。
6. The unique information storage area stores the unique information including user program additional information added to the user program.
The programmable controller as described.
【請求項7】 前記固有情報格納領域は、前記接続ユニ
ットが動作するために必要な接続ユニット初期設定情報
からなる前記固有情報が格納されたことを特徴とする請
求項1記載のプログラマブルコントローラ。
7. The programmable controller according to claim 1, wherein the unique information storage area stores the unique information including connection unit initial setting information necessary for the operation of the connection unit.
【請求項8】 前記接続ユニットは、前記情報伝達手段
を介して前記固有情報格納領域から呼び出された前記接
続ユニット初期設定情報に基づいて動作するよう形成さ
れたことを特徴とする請求項7記載のプログラマブルコ
ントローラ。
8. The connection unit according to claim 7, wherein said connection unit operates based on said connection unit initial setting information called from said unique information storage area via said information transmission means. Programmable controller.
【請求項9】 前記接続ユニットは、前記情報伝達手段
を介して前記固有情報格納領域から転送された前記接続
ユニット初期設定情報が格納される初期設定情報格納領
域を前記データメモリに設け、その格納された前記接続
ユニット初期設定情報に基づいて動作するよう形成され
たことを特徴とする請求項7記載のプログラマブルコン
トローラ。
9. The connection unit, wherein an initial setting information storage area for storing the connection unit initial setting information transferred from the unique information storage area via the information transmitting means is provided in the data memory. The programmable controller according to claim 7, wherein the programmable controller is configured to operate based on the connection unit initial setting information.
JP04172597A 1997-02-26 1997-02-26 Programmable controller Expired - Fee Related JP3496436B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP04172597A JP3496436B2 (en) 1997-02-26 1997-02-26 Programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP04172597A JP3496436B2 (en) 1997-02-26 1997-02-26 Programmable controller

Publications (2)

Publication Number Publication Date
JPH10240316A true JPH10240316A (en) 1998-09-11
JP3496436B2 JP3496436B2 (en) 2004-02-09

Family

ID=12616408

Family Applications (1)

Application Number Title Priority Date Filing Date
JP04172597A Expired - Fee Related JP3496436B2 (en) 1997-02-26 1997-02-26 Programmable controller

Country Status (1)

Country Link
JP (1) JP3496436B2 (en)

Also Published As

Publication number Publication date
JP3496436B2 (en) 2004-02-09

Similar Documents

Publication Publication Date Title
US4847751A (en) Multi-task execution control system
JP5214537B2 (en) Multiprocessor system
JP2007207136A (en) Data processor, data processing method, and data processing program
JP7093979B2 (en) Device proxy device and computer system including it
JPH10240316A (en) Programmable controller
JPH09218788A (en) Inservice direct down loading system
EP0923010B1 (en) Programmable controller
JP2000122706A (en) Programmable controller system and its constitution equipment
JPS6377685A (en) Industrial robot system
JPH06187066A (en) Microprocessor with plural cpu
JP2005135137A (en) Virtual computer system
JP2001344222A (en) Computer system
JP2000163329A (en) Data transfer system
JP2004151762A (en) Programmable controller
JP2001265610A (en) Device control method
JPH08286972A (en) Information processor
JPS6385938A (en) Controller for multiplex parallel operation of program
JPH10333716A (en) Control system of programmable controller
JP3399709B2 (en) Data extraction method in programmable controller and programmable controller
CN117041058A (en) Information processing method and device based on multiple nodes, storage medium and electronic device
JPH03223955A (en) Information processing system
JPH06187195A (en) Setting control system
JP2003186666A (en) Microcomputer and dma control circuit
JP2007206769A (en) Program download device
JPH10105413A (en) Interruption processing system

Legal Events

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

Free format text: PAYMENT UNTIL: 20081128

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20081128

Year of fee payment: 5

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20091128

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20091128

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20101128

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20111128

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20111128

Year of fee payment: 8

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

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

Free format text: PAYMENT UNTIL: 20111128

Year of fee payment: 8

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20121128

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20121128

Year of fee payment: 9

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

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

Free format text: PAYMENT UNTIL: 20121128

Year of fee payment: 9

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20121128

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20131128

Year of fee payment: 10

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees