JP2761788B2 - Program conversion device and program transfer device - Google Patents

Program conversion device and program transfer device

Info

Publication number
JP2761788B2
JP2761788B2 JP2060001A JP6000190A JP2761788B2 JP 2761788 B2 JP2761788 B2 JP 2761788B2 JP 2060001 A JP2060001 A JP 2060001A JP 6000190 A JP6000190 A JP 6000190A JP 2761788 B2 JP2761788 B2 JP 2761788B2
Authority
JP
Japan
Prior art keywords
program
programmable controller
transfer
controller
control
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
JP2060001A
Other languages
Japanese (ja)
Other versions
JPH03262005A (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.)
Fuji Electric Co Ltd
Fuji Facom Corp
Original Assignee
Fuji Electric Co Ltd
Fuji Facom Corp
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 Fuji Electric Co Ltd, Fuji Facom Corp filed Critical Fuji Electric Co Ltd
Priority to JP2060001A priority Critical patent/JP2761788B2/en
Publication of JPH03262005A publication Critical patent/JPH03262005A/en
Application granted granted Critical
Publication of JP2761788B2 publication Critical patent/JP2761788B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔概要〕 複数のプログラマブル・コントローラ間のプログラム
転送を行うプログラム転送装置に係り、特に異なる制御
用言語で動作するプログラマブル・コントローラ間での
プログラム転送を行うプログラム転送装置に関し、 動作する制御用言語が異なる異機種のプログラマブル
・コントローラ間でのプログラム転送を一括して自動的
に行うことが可能で、プログラマブル・コントローラ間
でプログラム資源を共有することができる便利なプログ
ラム転送装置を提供することを目的とし、 プログラマブル・コントローラ間でのプログラム転送
を行うプログラム転送装置において、プログラム転送元
のプログラマブル・コントローラで動作する制御用言語
とプログラム転送先のプログラマブル・コントローラで
動作する制御用言語とが互いに異なるか否かを判別する
判別手段と、該判別手段により、前記2つのプログラマ
ブル・コントローラで動作する制御用言語が互いに異な
ると判別された場合、転送元のプログラマブル・コント
ローラに格納されている転送すべきプログラムをプログ
ラム転送先のプログラマブル・コントローラ用の制御用
言語で記述されたプログラムに変換する変換手段と、該
変換手段により変換されたプログラムを前記プログラム
転送先のプログラマブル・コントローラに転送する転送
手段と、 を具備するように構成する。
The present invention relates to a program transfer device for transferring a program between a plurality of programmable controllers, and more particularly to a program transfer device for transferring a program between programmable controllers operating in different control languages. A convenient program transfer device that can automatically and simultaneously transfer programs between different types of programmable controllers that operate in different control languages and that can share program resources between programmable controllers. A program transfer device that transfers programs between programmable controllers with the aim of providing a program that runs on the programmable controller that is the source of the program and the programmable controller that is the destination of the program Discriminating means for discriminating whether or not the control languages are different from each other; and when the discriminating means determines that the control languages operated by the two programmable controllers are different from each other, Conversion means for converting the stored program to be transferred into a program described in a control language for a programmable controller to which the program is to be transferred; and a program controller which converts the program converted by the conversion means to the program transfer destination. And a transfer means for transferring the data.

〔産業上の利用分野〕[Industrial applications]

本発明は、複数のプログラマブル・コントローラ間の
プログラム転送を行うプログラム転送装置に係り、特に
異なる制御用言語で動作するプログラマブル・コントロ
ーラ間でのプログラム転送を行うプログラム転送装置に
関する。
The present invention relates to a program transfer device for transferring a program between a plurality of programmable controllers, and more particularly to a program transfer device for transferring a program between programmable controllers operating in different control languages.

〔従来の技術〕[Conventional technology]

従来、プログラマブル・コントローラ間でのプログラ
ム転送は、それらを管理、支援するサポート装置を介し
て行われている。
Conventionally, program transfer between programmable controllers has been performed via a support device that manages and supports them.

第4図は、従来のサポート装置を介してのプログラマ
ブル・コントローラ間でのプログラム転送方式を説明す
る図である。
FIG. 4 is a diagram for explaining a program transfer method between programmable controllers via a conventional support device.

同図において、プログラマブル・コントローラ10(以
後、PC10と略称する)及びプログラマブル・コントロー
ラ20(以後、PC20と略称する)は、それぞれの機種に対
応するコードを示す機種コードA,BをROM(リード・オン
リ・メモリ)11,12に記憶しており、PC10は、RAM(ラン
ダム・アクセス・メモリ)もしくはROM(リード・オン
リ・メモリ)等のメモリ12内に機器制御用のプログラム
Aを格納している。サポート装置30は、上記PC10のメモ
リ12内に格納されているプログラムAをPC20に転送する
場合には、マイクロプロセッサ等から成るCPU32がまず
転送元のPC10の機種コードAと転送先の機種コードBに
基づいて、PC10とPC20が同一機種であるか否かの判別を
行い、同一機種であればPC10のメモリからプログラムA
を読み出し、一旦メモリ31に格納した後、さらにPC20の
メモリ22へ転送する。一方、同一機種でない場合には機
種が異なる旨のエラーメッセージを、特に図示していな
いパネルの表示部等に表示する。
In the figure, a programmable controller 10 (hereinafter abbreviated as PC10) and a programmable controller 20 (hereinafter abbreviated as PC20) store model codes A and B indicating codes corresponding to respective models in a ROM (read / read). The PC 10 stores a program A for device control in a memory 12 such as a RAM (random access memory) or a ROM (read only memory). . When transferring the program A stored in the memory 12 of the PC 10 to the PC 20, the support device 30 first transmits the model code A of the transfer source PC 10 and the model code B of the transfer destination to the CPU 32 including a microprocessor or the like. It is determined whether or not PC10 and PC20 are the same model based on the program.
Is read and temporarily stored in the memory 31, and further transferred to the memory 22 of the PC 20. On the other hand, if the models are not the same model, an error message indicating that the models are different is displayed on a display unit of a panel (not shown).

このように、エラーメッセージが表示され、PC10とPC
20が異なる機種であることが確認された場合には、ユー
ザはプログラムの転送元であるPC10のプログラムAを、
サポート装置30のメモリ31に転送(複写)した後、その
プログラムAを一旦中間言語に変換し、続けてその中間
言語を、転送先であるPC20の機種コードBに基づいてPC
20で動作可能なプログラムBに変換し、さらにその変換
したプログラムBをPC20のメモリ22へ転送するという作
業を手作業で行っていた。
Thus, an error message is displayed, PC10 and PC
If it is confirmed that the model 20 is a different model, the user transfers the program A of the PC 10 which is the transfer source of the program,
After being transferred (copied) to the memory 31 of the support device 30, the program A is once converted into an intermediate language, and then the intermediate language is converted to a PC based on the model code B of the PC 20 to which the program is transferred.
The operation of converting the program B into a program B operable by the PC 20 and transferring the converted program B to the memory 22 of the PC 20 has been performed manually.

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

上述したように、従来のサポート装置においては、PC
10とPC20間のプログラム転送を行うとき、PC10とPC20が
異機種であった場合には、ユーザ自身が転送するプログ
ラムを、一旦中間言語に変換し、さらにその中間言語を
転送先のPC20で動作可能なプログラムに変換するという
煩雑な作業を行わねばならず、非常に不便であり、作業
効率が悪かった。
As described above, in the conventional support device, the PC
When program transfer between PC10 and PC20, if PC10 and PC20 are different models, the program to be transferred by the user himself is temporarily converted to an intermediate language, and the intermediate language is operated on the transfer destination PC20. Complicated work of converting to a possible program had to be performed, which was very inconvenient and work efficiency was poor.

本発明は、動作する制御用言語が異なる異機種のプロ
グラマブル・コントローラ間でのプログラム転送を一括
して自動的に行うことが可能で、プログラマブル・コン
トローラ間でプログラム資源を共有することができる便
利なプログラム転送装置を提供することを目的とする。
Advantageous Effects of Invention The present invention is capable of automatically and simultaneously performing program transfer between different types of programmable controllers operating in different control languages, and is a convenient way to share program resources between programmable controllers. It is an object to provide a program transfer device.

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

第1図は本発明の原理説明図である。 FIG. 1 is a diagram illustrating the principle of the present invention.

図中、1は判別手段であり、プログラマブル・コント
ローラ間でプログラム転送を行う際に、プログラム転送
元のプログラマブル・コントローラで動作する制御用言
語とプログラム転送先のプログラマブル・コントローラ
で動作する制御用言語とが互いに異なるか否か判別す
る。
In the drawing, reference numeral 1 denotes a discriminating means. When a program is transferred between the programmable controllers, a control language operated by the program controller of the program transfer source and a control language operated by the programmable controller of the program transfer destination are determined. Are different from each other.

判別手段1は、例えば、プログラム転送元のプログラ
マブル・コントローラとプログラム転送先のプログラマ
ブル・コントローラから、それらで動作する制御用言語
の種別を示す情報を入力し、これらの種別情報を比較す
ることにより、前記判別を行う。
The discriminating means 1 receives information indicating the type of the control language operated by the programmable controller of the program transfer source and the programmable controller of the program transfer destination, and compares the type information, for example. The above determination is performed.

2は変換手段であり、判別手段1により前記2つのプ
ログラマブル・コントローラで動作する制御用言語が互
いに異なると判別された場合、転送元のプログラマブル
・コントローラに格納されている転送すべきプログラム
をプログラム転送先のプログラマブル・コントローラ用
の制御用言語で記述されたプログラムに変換する。
Numeral 2 is a converting means. When the determining means 1 determines that the control languages operating on the two programmable controllers are different from each other, the program to be transferred stored in the source programmable controller is transferred by the program. The program is converted into a program described in the control language for the programmable controller.

変換手段2は、例えば、上記プログラム変換の際、例
えば前記転送すべきプログラムを一旦中間言語に変換し
た後、転送先のプログラマブル・コントローラ用の制御
用言語で記述されたプログラムに変換する。
For example, at the time of the above-mentioned program conversion, the conversion means 2 once converts the program to be transferred, for example, into an intermediate language, and then converts it into a program described in a control language for the programmable controller at the transfer destination.

3は転送手段であり、変換手段2により変換された前
記プログラムを前記プログラム転送先のプログラマブル
・コントローラに転送する。
Reference numeral 3 denotes a transfer unit that transfers the program converted by the conversion unit 2 to the programmable controller to which the program is transferred.

また、上記判別手段1、変換手段2は例えばマイクロ
プロセッサ等で構成され、上記転送手段3は、例えばマ
イクロプロセッサ、またはDMAコントローラ(Direct Me
mory Accessコントローラ)等で構成される。
The determining means 1 and the converting means 2 are constituted by, for example, a microprocessor or the like, and the transferring means 3 is constituted by, for example, a microprocessor or a DMA controller (Direct Me
mory Access controller).

〔作用〕[Action]

本発明では、ユーザのコマンド入力等により、一方の
プログラマブル・コントローラに格納されているプログ
ラムを他方のプログラマブル・コントローラへ転送する
旨の要求がなされると、判別手段1は転送元のプログラ
マブル・コントローラ(前記一方のプログラマブル・コ
ントローラ)で動作する制御用言語と転送先のプログラ
マブル・コントローラ(前記他方のプログラマブル・コ
ントローラ)で動作する制御用言語とが互いに異なるか
否か判別する。そして、互いに異なっていると判別され
た場合には、変換手段2は転送元のプログラマブル・コ
ントローラに格納されている転送すべきプログラムを、
プログラム転送先のプログラマブル・コントローラ用の
制御用言語で記述されたプログラムに変換する。
In the present invention, when a request to transfer a program stored in one of the programmable controllers to the other programmable controller is made by a user's command input or the like, the determination unit 1 determines whether the program is a transfer source. It is determined whether or not the control language operated by the one programmable controller and the control language operated by the destination programmable controller (the other programmable controller) are different from each other. If it is determined that they are different from each other, the conversion means 2 reads the program to be transferred stored in the transfer-source programmable controller,
The program is converted to a program written in a control language for the programmable controller to which the program is to be transferred.

上記プログラム変換が終了すると、転送手段3は、上
記変換2により変換されたプログラムを前記転送先プロ
グラマブル・コントローラに転送する。
When the program conversion is completed, the transfer means 3 transfers the program converted by the conversion 2 to the destination programmable controller.

上記動作により、プログラム転送元のプログラマブル
・コントローラとプログラム転送先のプログラマブル・
コントローラとで、動作可能な制御用言語が互いに異な
っている場合でも、転送すべきプログラムが転送先のプ
ログラマブル・コントローラで動作可能な制御用言語で
記述されたプログラムに自動的に変換されて、転送先の
プログラマブル・コントローラに転送される。したがっ
て、ユーザは、動作可能な制御用言語が互いに異なる異
機種のプログラマブル・コントローラ間でプログラム転
送を行う場合、それらのプログラマブル・コントローラ
で動作する制御用言語が互いに異なっていても、従来の
ように転送すべきプログラムを修正する作業を人手によ
り手作業で行う必要がなくなり、動作する制御用言語が
異なる異機種のプログラマブル・コントローラ間でのプ
ログラム転送の作業効率が向上すると共に、プログラマ
ブル・コントローラ間でプログラム資源を共有すること
も可能となる。
By the above operation, the programmable controller of the program transfer source and the programmable controller of the program transfer destination
Even if the operable control languages are different from each other, the program to be transferred is automatically converted to a program written in a control language operable by the destination programmable controller and transferred. It is transferred to the previous programmable controller. Therefore, when a program is transferred between different types of programmable controllers having different operable control languages from each other, even if the control languages operated by those programmable controllers are different from each other, the user is required to carry out the conventional method. This eliminates the need to manually modify the program to be transferred by hand, improving the efficiency of program transfer between different types of programmable controllers that operate in different control languages, and improving the efficiency of program transfer between programmable controllers. It is also possible to share program resources.

〔実施例〕〔Example〕

以下、図面を参照しながら、本発明の実施例について
説明する。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.

{構成} 第2図は、本発明に係る一実施例のシステム構成図で
ある。
<< Configuration >> FIG. 2 is a system configuration diagram of an embodiment according to the present invention.

同図において、プログラマブル・コントローラ100
(以下、PC100と略称する)、プログラマブル・コント
ローラ200(以下、PC200と略称する)は、互いに異なる
機種のプログラマブル・コントローラであり、プログラ
ムを記述する制御用言語も異なっている。
In the figure, the programmable controller 100
The programmable controller 200 (hereinafter, abbreviated as PC 200) and the programmable controller 200 (hereinafter, abbreviated as PC 200) are different types of programmable controllers, and have different control languages for writing programs.

PC100,PC200は、それぞれ内蔵するROM101,102内に機
種コードを記憶しており、PC100の機種コードはコード
a、PC200のコードはコードbと互いに異なっている。
The PCs 100 and 200 store model codes in the ROMs 101 and 102 respectively built therein, and the model code of the PC 100 is different from the code a, and the code of the PC 200 is different from the code b.

また、PC100はRAM(ランダム・アクセス・メモリ)も
しくはROM(リード・オンリ・メモリ)等から成るメモ
リ102を有しており、そのメモリ102内に制御用のプログ
ラムPRAを格納している。またPC200は制御用のプログラ
ムを格納するためのRAM(ランダム・アクセス・メモ
リ)等から成るメモリ202を有している。
The PC 100 has a memory 102 composed of a RAM (random access memory) or a ROM (read only memory) or the like, and stores a control program PRA in the memory 102. The PC 200 has a memory 202 including a RAM (random access memory) for storing a control program.

さらに、サポート装置300は、マイクロプロセッサ等
から成る制御部301、RAM等から成るメモリ302等を有し
ており、複数の異機種のPCに対し、その管理、支援を行
う機能を有すると共に、上記PC100と上記PC200間のプロ
グラム転送を行う機能も有している。このプログラム転
送機能は、後述するように異機種のプログラマブル・コ
ントローラ間での転送をも行うものである。サポート装
置300は、PC100及びPC200の両方に接続されている。
Further, the support device 300 includes a control unit 301 including a microprocessor and the like, a memory 302 including a RAM and the like, and has a function of managing and supporting a plurality of different types of PCs. It also has a function of performing program transfer between the PC 100 and the PC 200. This program transfer function also performs transfer between different types of programmable controllers as described later. The support device 300 is connected to both the PC 100 and the PC 200.

また、入力装置400はキーボード等から成り、サポー
ト装置300にPC100とPC200間のプログラム転送を指示す
るコマンド等の各種コマンドや、プログラム作成用のデ
ータ入力を行うためのものである。
The input device 400 includes a keyboard or the like, and is used to input various commands such as a command for instructing the support device 300 to transfer a program between the PC 100 and the PC 200, and data input for creating a program.

{動作} 続いて、上記構成の実施例の動作を第3図を参照しな
がら説明する。
<< Operation >> Next, the operation of the embodiment having the above configuration will be described with reference to FIG.

第3図は、サポート装置300が、PC100のメモリ102に
格納されているPC100用の制御用言語で記述されたプロ
グラムPRAを、サポート装置300を介して、PC200用の制
御用言語で記述されたプログラムPRCに変換して、PC200
へ転送する動作を説明する図である。
FIG. 3 shows a case where the support device 300 describes the program PRA described in the control language for the PC 100 stored in the memory 102 of the PC 100 via the support device 300 in the control language for the PC 200. Convert to program PRC, PC200
FIG. 9 is a diagram for explaining an operation of transferring to a.

このプログラム変換処理は、サポート装置300の制御
部301により行われる。
This program conversion process is performed by the control unit 301 of the support device 300.

まず、サポート装置300にPC100及びPC200が接続され
ると、サポート装置300の制御部301は、割り込み等によ
り、その接続を検出して、第2図に示すように、メモリ
302内にPC100用のメモリ領域302a並びにPC200用のメモ
リ領域302bを確保する。制御部301は、続いて、ROM101
からPC100の機種コード(コードa)を、ROM102からPC2
00の機種コード(コードb)を読み出し、それらの読み
出したコードをそれぞれメモリ領域302a、メモリ領域30
2b内の所定領域に格納する。
First, when the PC 100 and the PC 200 are connected to the support device 300, the control unit 301 of the support device 300 detects the connection by an interrupt or the like, and as shown in FIG.
A memory area 302a for PC 100 and a memory area 302b for PC 200 are secured in 302. The control unit 301 then proceeds to the ROM 101
The model code (code a) of PC100 from ROM102 to PC2
00 is read, and the read codes are respectively stored in the memory area 302a and the memory area 30.
It is stored in a predetermined area in 2b.

そして、ユーザが、入力装置400を介して、「PC100か
らPC200へプログラムPRAを転送する」旨のコマンドを、
サポート装置300に入力すると、サポート装置300の制御
部301により、以下に示す手順でPC100からPC200へのプ
ログラム転送が行われる。
Then, the user, via the input device 400, a command of "transfer the program PRA from PC100 to PC200",
When input to the support device 300, the control unit 301 of the support device 300 transfers a program from the PC 100 to the PC 200 in the following procedure.

制御部301は、PC100のメモリ102からプログラムPRA
を読み出し、その読み出したプログラムPRAをメモリ302
のメモリ領域302aに格納する。
The control unit 301 reads the program PRA from the memory 102 of the PC 100.
And reads the read program PRA into the memory 302.
In the memory area 302a.

続いて、メモリ領域302aに格納されているPC100の
機種コード(コードa)とメモリ領域302bに格納されて
いるPC200の機種コード(コードb)とを比較し、それ
らのコードが等しいか否か判別する。
Subsequently, the model code (code a) of the PC 100 stored in the memory area 302a is compared with the model code (code b) of the PC 200 stored in the memory area 302b, and it is determined whether or not those codes are equal. I do.

そして、コードaとコードbが等しければ、PC100
とPC200は同一機種であると判別し、メモリ領域302aに
格納されているプログラムPRAを変換することなく、そ
のままPC200のメモリ202の所定領域へ転送する。
If code a and code b are equal, PC 100
And the PC 200 are determined to be the same model, and the program PRA stored in the memory area 302a is directly transferred to a predetermined area of the memory 202 of the PC 200 without conversion.

一方、コードaとコードbが等しくなければ、コー
ドaに対応する制御用言語で記述されたプログラムPRA
を中間言語で記述されたプログラムPRBに変換し、その
プログラムPRBをメモリ領域302aの他の領域に格納す
る。
On the other hand, if the code a is not equal to the code b, the program PRA written in the control language corresponding to the code a
Is converted into a program PRB described in an intermediate language, and the program PRB is stored in another area of the memory area 302a.

続いて、上記中間言語で記述されたプログラムPRB
を、PC200の機種コードであるコードbに対応する制御
用言語で記述されたプログラムPRCに変換し、そのプロ
グラムPRCをメモリ領域302bの所定領域に格納する。
Then, the program PRB written in the above intermediate language
Is converted into a program PRC described in a control language corresponding to the code b which is the model code of the PC 200, and the program PRC is stored in a predetermined area of the memory area 302b.

そして、最後に、メモリ領域302bに格納されている
プログラムPRCをPC200のメモリ202の所定領域に転送す
る。
Then, finally, the program PRC stored in the memory area 302b is transferred to a predetermined area of the memory 202 of the PC 200.

上記動作により、PC100とPC200が、互いに機種が異な
り、かつプログラムを記述する制御用言語が異なってい
ても、人手を介すことなく、サポート装置300によりPC1
00用のプログラムPRAがPC200で動作可能な制御用言語で
記述されたプログラムPRCに自動的に変換され、PC200へ
転送される。
By the above operation, even if the PC 100 and the PC 200 have different models and different control languages for writing programs, the PC 100 can be
The program PRA for 00 is automatically converted into a program PRC described in a control language operable on the PC 200 and transferred to the PC 200.

また、逆にPC200からPC100へプログラム転送を行う場
合にも上述と同様にして、サポート装置300は、PC200用
の制御用言語で記述されたプログラムを、一旦中間言語
に変換した後、さらにその中間言語をPC100用の制御用
言語に変換して、PC100用の制御用言語で記述されたプ
ログラムを生成し、そのプログラムをPC100へ転送す
る。このことにより、PC200からPC100へのプログラム転
送も、PC100用の制御用言語で記述されたプログラムがP
C200用の制御用言語で記述されたプログラムに自動的に
変換されて行われる。
Conversely, when the program is transferred from the PC 200 to the PC 100, similarly, the support device 300 converts the program described in the control language for the PC 200 into an intermediate language, and further converts the program into the intermediate language. The language is converted into a control language for the PC 100, a program described in the control language for the PC 100 is generated, and the program is transferred to the PC 100. This allows the program written in the control language for PC100 to transfer the program from PC200 to PC100.
The program is automatically converted into a program written in a control language for C200.

尚、上記PC100とPC200間のプログラム転送は、DMA転
送を行うようにすれば、高速化が可能である。
The program transfer between the PC 100 and the PC 200 can be sped up by performing a DMA transfer.

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

以上説明したように、本発明によれば、プログラマブ
ル・コントローラ間でプログラム転送を行う際、転送元
のプログラマブル・コントローラで動作する制御用言語
と転送先のプログラマブル・コントローラで動作する制
御用言語とが互いに異なるか否か判定し、異なっている
場合には転送先のプログラマブル・コントローラで動作
可能なプログラムに自動的に変換した後に、さらにその
変換したプログラムを転送先のプログラマブル・コント
ローラに自動的に転送するので、動作可能な制御用言語
が互いに異なるプログラマブル・コントローラ間でプロ
グラム転送を行う際、ユーザは従来のように手作業によ
り転送プログラムを修正する必要がなくなり、上記のプ
ログラム転送を容易かつ高速に行うことができる。さら
に、各プログラマブル・コントローラ間でプログラム資
源を共有することも可能となるので、プログラム資源の
有効利用が可能となる。
As described above, according to the present invention, when a program is transferred between programmable controllers, a control language operated by the transfer source programmable controller and a control language operated by the transfer destination programmable controller are different. Judges whether they are different from each other, and if they are different, automatically converts them to a program operable by the destination programmable controller, and then automatically transfers the converted program to the destination programmable controller Therefore, when transferring a program between programmable controllers having different operable control languages, the user does not need to manually modify the transfer program as in the past, and the above program transfer can be performed easily and at high speed. It can be carried out. Further, since the program resources can be shared between the programmable controllers, the program resources can be effectively used.

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

第1図は本発明の原理説明図、 第2図は本発明に係る一実施例のシステム構成図、 第3図は上記実施例の動作を説明する図、 第4図は従来のサポート装置によるPC間のプログラム転
送方式を説明する図である。 1……判別手段、2……変換手段、3……転送手段.
FIG. 1 is a diagram for explaining the principle of the present invention, FIG. 2 is a system configuration diagram of an embodiment according to the present invention, FIG. 3 is a diagram for explaining the operation of the above embodiment, and FIG. FIG. 3 is a diagram illustrating a program transfer method between PCs. 1... Determination means, 2... Conversion means, 3.

フロントページの続き (58)調査した分野(Int.Cl.6,DB名) G05B 19/05 G05B 19/418 G06F 9/06 G06F 9/455 G06F 13/00Continuation of the front page (58) Field surveyed (Int.Cl. 6 , DB name) G05B 19/05 G05B 19/418 G06F 9/06 G06F 9/455 G06F 13/00

Claims (5)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】プログラム転送元のプログラマブル・コン
トローラで動作する制御用言語とプログラム転送先のプ
ログラマブル・コントローラで動作する制御用言語とが
互いに異なるか否かを判別する判別手段(1)と、 該判別手段(1)により、前記2つのプログラマブル・
コントローラで動作する制御用言語が互いに異なると判
別された場合、プログラム転送元のプログラマブル・コ
ントローラに格納されているプログラムを、プログラム
転送先のプログラマブル・コントローラ用の制御用言語
で記述されたプログラムに変換する変換手段(2)と、 を具備することを特徴とするプログラム変換装置。
A determining means for determining whether a control language operated by a program controller of a program transfer source and a control language operated by a programmable controller of a program transfer destination are different from each other; By the determination means (1), the two programmable
If it is determined that the control languages operating on the controller are different from each other, the program stored in the programmable controller of the program transfer source is converted to a program written in the control language of the programmable controller of the program transfer destination And a conversion means (2).
【請求項2】前記判別手段(1)は、プログラム転送元
のプログラマブル・コントローラとプログラム転送先の
プログラマブル・コントローラから、それらで動作する
制御用言語の種別を示す情報を入力し、これらの種別情
報を比較することにより、前記判別を行うことを特徴と
する請求項1記載のプログラム変換装置。
2. The discriminating means (1) inputs information indicating a type of a control language operated by the programmable controller as a program transfer source and a programmable controller as a program transfer destination, and outputs the type information. 2. The program conversion device according to claim 1, wherein the determination is made by comparing
【請求項3】前記変換手段(2)は、前記プログラム転
送元のプログラマブル・コントローラに格納されている
プログラムをいったん中間言語に変換した後、該中間言
語をプログラム転送先のプログラマブル・コントローラ
で動作可能なプログラムに変換することを特徴とする請
求項1記載のプログラム変換装置。
3. The conversion means (2) converts a program stored in the program controller of the program transfer source into an intermediate language, and then operates the intermediate language on the programmable controller of the program transfer destination. 2. The program conversion device according to claim 1, wherein the program conversion device converts the program into a simple program.
【請求項4】プログラマブル・コントローラ間でのプロ
グラム転送を行うプログラム転送装置において、 プログラム転送元のプログラマブル・コントローラで動
作する制御用言語とプログラム転送先のプログラマブル
・コントローラで動作する制御用言語とが互いに異なる
か否かを判別する判別手段(1)と、 該判別手段(1)により、前記2つのプログラマブル・
コントローラで動作する制御用言語が互いに異なると判
別された場合、転送元のプログラマブル・コントローラ
に格納されている転送すべきプログラムをプログラム転
送先のプログラマブル・コントローラ用の制御用言語で
記述されたプログラムに変換する変換手段(2)と、 該変換手段(2)により変換されたプログラムを前記プ
ログラム転送先のプログラマブル・コントローラに転送
する転送手段(3)と、 を具備することを特徴とするプログラム転送装置。
4. A program transfer device for transferring a program between programmable controllers, wherein a control language operated by the program controller of the program transfer source and a control language operated by the programmable controller of the program transfer destination are mutually different. Determining means (1) for determining whether or not the two are different;
If it is determined that the control languages operating on the controller are different from each other, the program to be transferred stored in the source programmable controller is replaced with the program written in the control language for the destination programmable controller. A program transfer device comprising: conversion means (2) for converting; and transfer means (3) for transferring the program converted by the conversion means (2) to the programmable controller of the program transfer destination. .
【請求項5】前記変換手段(2)は、前記転送すべきプ
ログラムを一旦中間言語に変換した後、該中間言語を転
送先のプログラマブル・コントローラ用の制御用言語で
記述されたプログラムに変換することを特徴とする請求
項4記載のプログラム転送装置。
5. The conversion means (2) converts the program to be transferred once into an intermediate language, and then converts the intermediate language into a program described in a control language for a programmable controller at a transfer destination. 5. The program transfer device according to claim 4, wherein:
JP2060001A 1990-03-13 1990-03-13 Program conversion device and program transfer device Expired - Lifetime JP2761788B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2060001A JP2761788B2 (en) 1990-03-13 1990-03-13 Program conversion device and program transfer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2060001A JP2761788B2 (en) 1990-03-13 1990-03-13 Program conversion device and program transfer device

Publications (2)

Publication Number Publication Date
JPH03262005A JPH03262005A (en) 1991-11-21
JP2761788B2 true JP2761788B2 (en) 1998-06-04

Family

ID=13129434

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2060001A Expired - Lifetime JP2761788B2 (en) 1990-03-13 1990-03-13 Program conversion device and program transfer device

Country Status (1)

Country Link
JP (1) JP2761788B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010102528A (en) * 2008-10-24 2010-05-06 Yokogawa Electric Corp Programmable logic controller
JP5992775B2 (en) * 2012-09-04 2016-09-14 株式会社キーエンス Pluggable logic controller

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61161506A (en) * 1985-01-11 1986-07-22 Toshiba Mach Co Ltd Link system of programmable controller
JPH0625926B2 (en) * 1985-09-05 1994-04-06 株式会社日立製作所 Distributed control method
JPS62224806A (en) * 1986-03-25 1987-10-02 Toyota Motor Corp Input-output device for programmable controller
JP2508038B2 (en) * 1986-12-05 1996-06-19 オムロン株式会社 Programmable controller
JPH01195381A (en) * 1988-01-29 1989-08-07 Mitsubishi Electric Corp Measuring program generating device

Also Published As

Publication number Publication date
JPH03262005A (en) 1991-11-21

Similar Documents

Publication Publication Date Title
JP2761788B2 (en) Program conversion device and program transfer device
JPH07295622A (en) Control system
JPH0695713A (en) Programmable controller and its programming method
JP2776443B2 (en) Programmable controller
JPS5854418A (en) Interruption processing system
JPS5813935B2 (en) How to select input/output devices in a multiple computer system
JP3032549B2 (en) Display device
JPS6116104B2 (en)
JPS61175746A (en) Computer system
JPH0518138B2 (en)
JP2527281Y2 (en) PROM programmer controller
JP3124569B2 (en) Download control device
JPH04209007A (en) User program editing system for programmable controller
JPS63158654A (en) Microcontroller
JPH03214319A (en) Information processor
JPS6354672A (en) Local area network system for cad
JPH10187581A (en) Interface device and interface change method
JPH0795296B2 (en) Information sharing processing method in data processing system
JPH0619746B2 (en) Information processing equipment
JPS62200945A (en) Communication control system
JPH04362736A (en) Software development controller
JPS62203256A (en) Peripheral equipment of computer system
JPH02171802A (en) Programmable controller
JPS62166430A (en) Data processing system
JPS5972551A (en) Memory control mechanism of computer device