JPH03262005A - Program transfer device - Google Patents

Program transfer device

Info

Publication number
JPH03262005A
JPH03262005A JP6000190A JP6000190A JPH03262005A JP H03262005 A JPH03262005 A JP H03262005A JP 6000190 A JP6000190 A JP 6000190A JP 6000190 A JP6000190 A JP 6000190A JP H03262005 A JPH03262005 A JP H03262005A
Authority
JP
Japan
Prior art keywords
program
transfer
controller
different
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.)
Granted
Application number
JP6000190A
Other languages
Japanese (ja)
Other versions
JP2761788B2 (en
Inventor
Hiroyuki Wada
和田 宏行
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

Landscapes

  • Programmable Controllers (AREA)
  • Stored Programmes (AREA)

Abstract

PURPOSE:To facilitate program transfer and to share a program resource by converting a program at a transfer destination into a program which can be run by a program controller and then transferring it automatically. CONSTITUTION:This device is provided with a discrimination means 1 which discriminates whether or not the control language of the program controller at the transfer origin and the control language at the program transfer destination are different. When it is discriminated that the control language is different, a converting means 2 converts the program to be transferred which is stored in the program controller at the transfer origin into the program described in the control language of the program controller at the transfer destination and a transfer means 3 transfers the converted program to the program controller at the program transfer destination. The program transfer between different kinds of program controllers which operate with different control languages is performed at a time automatically. Consequently, the program transfer between the program controllers is facilitated and the resource can be shared.

Description

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

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

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

〔従来の技術〕[Conventional technology]

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

第4図は、従来のサポート装置を介してのプログラム・
コントローラ間でのプログラム転送方式を説明する図で
ある。
Figure 4 shows how the program is run via conventional support equipment.
FIG. 3 is a diagram illustrating a program transfer method between controllers.

同図において、プログラム・コントローラ1゜(以後、
PCIOと略称する)及びプログラム・コントローラ2
0(以後、PC20と略称する)は、それぞれの機種に
対応するコードを示す機種コ−FA、BをROM (リ
ード・オンリ・メモリ)11.2N、:記憶しており、
PCIOは、RAM(ランダム・アクセス・メモリ)も
しくはROM(リード・オンリ・メモリ)等のメモリ1
2内に機器制御用のプログラムAを格納している。サポ
ート装置30は、上記PCIOのメモリ12内に格納さ
れているプログラムAをPC20に転送する場合には、
マイクロプロセッサ等から成るCPU32がまず転送元
のPCIOの機種コードAと転送先の機種コードBに基
づいて、PCloとPC20が同一機種であるが否がの
判別を行い、同一機種であればPCIOのメモリがらプ
ログラムAを読み出し、−旦メモリ31に格納した後、
さらにPC20のメモリ22へ転送する。一方、同一機
種でない場合には機種が異なる旨のエラーメツセージを
、特に図示していないパネルの表示部等に表示する。
In the figure, the program controller 1° (hereinafter referred to as
(abbreviated as PCIO) and program controller 2
0 (hereinafter abbreviated as PC20) stores model codes FA and B indicating codes corresponding to each model in a ROM (read-only memory) 11.2N.
PCIO is memory 1 such as RAM (Random Access Memory) or ROM (Read Only Memory).
2 stores a program A for device control. When the support device 30 transfers the program A stored in the memory 12 of the PCIO to the PC 20,
The CPU 32 consisting of a microprocessor etc. first determines whether PClo and PC20 are the same model based on the model code A of the transfer source PCIO and the model code B of the transfer destination, and if they are the same model, the After reading the program A from the memory and storing it in the memory 31,
Furthermore, it is transferred to the memory 22 of the PC 20. On the other hand, if the models are not the same, an error message indicating that the models are different is displayed on a display section of a panel (not particularly shown).

このように、エラーメツセージが表示され、PCIOと
PC20が異なる機種であることが確認された場合には
、ユーザはプログラムの転送元であるPCIOのプログ
ラムAを、サポート装置30のメモリ31に転送(複写
)した後、そのプログラムAを一旦中間言語に変換し、
続けてその中間言語を、転送先であるPC20の機種コ
ードBに基づいてPC20で動作可能なプログラムBに
変換し、さらにその変換したプログラムBをPC20の
メモリ22へ転送するという作業を手作業で行っていた
In this way, if an error message is displayed and it is confirmed that the PCIO and PC 20 are different models, the user can transfer the program A of the PCIO, which is the program transfer source, to the memory 31 of the support device 30 ( After copying), convert the program A into an intermediate language,
Next, the intermediate language is converted into a program B that can run on the PC 20 based on the model code B of the PC 20 that is the transfer destination, and the converted program B is then transferred to the memory 22 of the PC 20 manually. I was going.

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

上述したように、従来のサポート装置においては、PC
IOとPC20間のプログラム転送を行うとき、PCI
OとPC20が異機種であった場合には、ユーザ自身が
転送するプログラムを、旦中間言語に変換し、さらにそ
の中間言語を転送先のPC20で動作可能なプログラム
に変換するという煩雑な作業を行わねばならず、非常に
不便であり、作業効率が悪がった。
As mentioned above, in the conventional support device, the PC
When transferring programs between IO and PC20, PCI
If O and the PC 20 are of different models, the user must first convert the program to be transferred into an intermediate language, and then convert that intermediate language into a program that can run on the destination PC 20. This was extremely inconvenient and resulted in poor work efficiency.

本発明は、動作する制御用言語が異なる異機種のプログ
ラム・コントローラ間でのプログラム転送を一括して自
動的に行うことが可能で、プログラム・コントローラ間
でプログラム資源を共有することかできる便利なプログ
ラム転送装置を提供することを目的とする。
The present invention is a convenient system that can automatically transfer programs between different types of programs and controllers that operate in different control languages, and that allows program resources to be shared between programs and controllers. The purpose is to provide a program transfer device.

〔課題を解決するための手段〕 第1図は本発明の原理説明図である。[Means to solve the problem] FIG. 1 is a diagram explaining the principle of the present invention.

図中、lは判別手段であり、プログラム・コントローラ
間でプログラム転送を行う際に、プログラム転送元のプ
ログラム・コントローラで動作する制御用言語とプログ
ラム転送先のプログラム・コントローラで動作する制御
用言語とが互いに異なるか否か判別する。
In the figure, l is a discrimination means, and when transferring a program between program controllers, there is a control language that operates on the program controller that is the source of the program transfer and a control language that operates on the program controller that is the destination of the program transfer. determine whether they are different from each other.

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

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

変換手段2は、上記プログラム変換の際、例えば前記転
送すべきプログラムを一旦中間言語に変換した後、転送
先のプログラム・コントローラ用の制御用言語で記述さ
れたプログラムに変換する。
When converting the program, the converting means 2 first converts the program to be transferred into an intermediate language, and then converts it into a program written in a control language for the destination program controller.

また、上記判別手段1、変換手段2は例えばマイクロプ
ロセッサ等で構成され、上記転送手段3は、例えばマイ
クロプロセ・7す、またはDMAコントローラ(Dir
ect Memory Access  コントローラ
)等で構成される。
Further, the discrimination means 1 and the conversion means 2 are composed of, for example, a microprocessor, and the transfer means 3 is composed of, for example, a microprocessor 7 or a DMA controller (Dir).
ect Memory Access controller), etc.

〔作  用〕[For production]

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

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

上記動作により、プログラム転送元のプログラム・コン
トローラとプログラム転送先のプログラム・コントロー
ラとで、動作可能な制御用言語が互いに異なっている場
合でも、転送すべきプログラムが転送先のプログラム・
コントローラで動作可能な制御用言語で記述されたプロ
グラムに自動的に変換されて、転送先のプログラム・コ
ントローラに転送される。したがって、ユーザは、動作
可能な制御用言語が互いに異なる異機種のプログラム・
コントローラ間でプログラム転送を行う場合、それらの
プログラム・コントローラで動作する制御用言語が互い
に異なっていても、従来のように転送すべきプログラム
を修正する作業を行う必要がなくなり、動作する制御用
言語が異なる異機種のプログラム・コントローラ間での
プログラム転送の作業効率が向上すると共に、プログラ
ム・コントロール間でプログラム資源を共有することも
可能となる。
With the above operation, even if the operable control languages of the program controller of the program transfer source and the program controller of the program transfer destination are different from each other, the program to be transferred will be transferred to the program controller of the transfer destination.
It is automatically converted into a program written in a control language that can run on the controller, and then transferred to the destination program controller. Therefore, users are required to use heterogeneous programs that have different operable control languages.
When transferring programs between controllers, even if the control languages running on those programs and controllers are different, there is no need to modify the program to be transferred as in the past, and the operating control language This improves the work efficiency of program transfer between different types of program controllers with different types, and also makes it possible to share program resources between program controllers.

〔実  施  例〕〔Example〕

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

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

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

PCloo、PC200は、それぞれ内蔵するROMl
0I、102内に機種コードを記憶しており、PClo
oの機種コードはコードa、PC200のコードはコー
ドbと互いに異なっている。
PCloo and PC200 each have built-in ROM1.
The model code is stored in 0I and 102, and PClo
The model code of o is different from code a, and the code of PC 200 is different from code b.

また、PClooはRAM (ランダム・アクセフ・メ
モリ)もしくはROM(リード・オンリ・メモリ)等か
ら成るメモリ102を有しており、そのメモリ102内
に制御用のプログラムPRAを格納している。またPC
200は制御用のプログラムを格納するためのRAM 
(ランダム・アクセス・メモリ)等から成るメモリ20
2を有している。
Further, PCloo has a memory 102 consisting of RAM (random access memory) or ROM (read only memory), and a control program PRA is stored in the memory 102. Also PC
200 is a RAM for storing control programs
Memory 20 consisting of (random access memory) etc.
It has 2.

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

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

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

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

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

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

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

■ 制御部301は、PClooのメモリ102からプ
ログラムPRAを読み出し、その読み出したプログラム
PRAをメモリ302のメモリ領域302aに格納する
(2) The control unit 301 reads the program PRA from the PCloo memory 102 and stores the read program PRA in the memory area 302a of the memory 302.

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

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

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

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

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

上記動作により、PClooとPC200が、互いに機
種が異なり、かつプログラムを記述する制御用言語が異
なっていても、人手を介すことなく、サポート装置30
0によりPC100用のプログラムPRAがPC200
で動作可能な制御用言語で記述されたプログラムPRC
に自動的に変換され、PRC200へ転送される。
With the above operation, even if PCloo and PC 200 are different models and use different control languages for writing programs, the support device 30 can be used without any human intervention.
0, the program PRA for PC100 is changed to PC200.
A program PRC written in a control language that can operate in
is automatically converted into and transferred to the PRC200.

また、逆にPC200からPC100ヘプログラム転送
を行う場合にも、上述と同様にして、サポート装置30
0は、PC200用の制御用言語で記述されたプログラ
ムを、−旦中間言語に変換した後、さらにその中間言語
をPC100用の制御用言語に変換して、PC100用
の制御用言語で記述されたプログラムを生成し、そのプ
ログラムをPClooへ転送する。このことにより、P
C200からPClooへのプログラム転送も、PC1
00用の制御言語で記述されたプログラムがPC200
用の制御用言語で記述されたプログラムに自動的に変換
されて行われる。
Conversely, when transferring a program from the PC 200 to the PC 100, the support device 30
0 first converts a program written in a control language for PC200 into an intermediate language, then converts the intermediate language into a control language for PC100, and writes it in a control language for PC100. generate a program and transfer the program to PCloo. By this, P
Program transfer from C200 to PCloo is also possible using PC1.
A program written in the control language for PC200
The program is automatically converted into a program written in a specific control language.

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

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

以上説明したように、本発明によれば、プログラム・コ
ントローラ間でプログラム転送を行う際、転送元のプロ
グラム・コントローラで動作する制御用言語と転送先の
プログラム・コントローラで動作する制御用言語とが互
いに異なるか否か判別し、異なっている場合には転送先
のプログラム・コントローラで動作可能なプログラムに
自動的に変換した後に、さらにその変換したプログラム
を転送先のプログラム・コントローラに自動的に転送す
るので、動作可能な制御用言語が互いに異なるプログラ
ム・コントローラ間でプログラム転送を行う際、ユーザ
は従来のように手作業により転送プログラムを修正する
必要がなくなり、上記のプログラム転送を容易かつ高速
に行うことができる。さらに、各プログラム・コントロ
ーラ間でプログラム資源を共有することも可能となるの
で、プログラム資源の有効利用が可能となる。
As explained above, according to the present invention, when a program is transferred between a program controller, a control language that operates on a transfer source program controller and a control language that operates on a transfer destination program controller are used. Determine whether they are different from each other, and if they are different, automatically convert the program to one that can run on the destination program controller, and then automatically transfer the converted program to the destination program controller. Therefore, when transferring programs between program controllers with different operable control languages, the user no longer needs to manually modify the transfer program as in the past, making the program transfer easier and faster. It can be carried out. Furthermore, since program resources can be shared between program controllers, program resources can be used effectively.

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

第1図は本発明の原理説明図、 第2図は本発明に係る一実施例のシステム構成図、 第3図は上記実施例の動作を説明する図、第4図は従来
のサポート装置によるPC間のプログラム転送方式を説
明する図である。 1・・・判別手段、 2・・・変換手段、 3・・・転送手段。 本部日月の爪理’ix日月図 第1図
Fig. 1 is a diagram explaining the principle of the present invention, Fig. 2 is a system configuration diagram of an embodiment of the present invention, Fig. 3 is a diagram explaining the operation of the above embodiment, and Fig. 4 is a diagram illustrating the conventional support device. FIG. 2 is a diagram illustrating a program transfer method between PCs. 1... Discrimination means, 2... Conversion means, 3... Transfer means. Motobu Sun Moon Tsume Ri'ix Sun Moon Map Figure 1

Claims (1)

【特許請求の範囲】 1)プログラム・コントロール間でのプログラム転送を
行うプログラム転送装置において、プログラム転送元の
プログラム・コントローラで動作する制御用言語とプロ
グラム転送元のプログラム・コントローラで動作する制
御用言語とが互いに異なるか否かを判別する判別手段(
1)と、該判別手段(1)により、前記2つのプログラ
ム・コントロールで動作する制御用言語が互いに異なる
と判別された場合、転送元のプログラム・コントローラ
に格納されている転送すべきプログラムをプログラム転
送先のプログラム・コントローラ用の制御用言語で記述
されたプログラムに変換する変換手段(2)と、 該変換手段(2)により変換されたプログラムを前記プ
ログラム転送先のプログラマブル・コントローラに転送
する転送手段(3)と、 を具備することを特徴とするプログラム転送装置。 2)前記変換手段(2)は、前記転送すべきプログラム
を一旦中間言語に変換した後、転送先のプログラマブル
・コントローラ用の制御用言語で記述されたプログラム
に変換することを特徴とする請求項1記載のプログラム
転送装置。
[Claims] 1) In a program transfer device that transfers programs between program controls, a control language that operates on a program controller that is a program transfer source and a control language that operates on a program controller that is a program transfer source. A discriminating means (
1), and if the determining means (1) determines that the control languages operating in the two program controls are different from each other, the program to be transferred stored in the transfer source program controller is transferred to the program controller. a conversion means (2) for converting the program into a program written in a control language for the program controller at the transfer destination; and a transfer unit for transferring the program converted by the conversion means (2) to the programmable controller at the program transfer destination. A program transfer device comprising: means (3); 2) The converting means (2) first converts the program to be transferred into an intermediate language, and then converts the program into a program written in a control language for a programmable controller to be transferred. 1. The program transfer device according to 1.
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 true JPH03262005A (en) 1991-11-21
JP2761788B2 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)

Cited By (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
JP2014052669A (en) * 2012-09-04 2014-03-20 Keyence Corp Programmable logic controller

Citations (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
JPS6255704A (en) * 1985-09-05 1987-03-11 Hitachi Ltd Distributed control method
JPS62224806A (en) * 1986-03-25 1987-10-02 Toyota Motor Corp Input-output device for programmable controller
JPS63143603A (en) * 1986-12-05 1988-06-15 Omron Tateisi Electronics Co Programmable controller
JPH01195381A (en) * 1988-01-29 1989-08-07 Mitsubishi Electric Corp Measuring program generating device

Patent Citations (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
JPS6255704A (en) * 1985-09-05 1987-03-11 Hitachi Ltd Distributed control method
JPS62224806A (en) * 1986-03-25 1987-10-02 Toyota Motor Corp Input-output device for programmable controller
JPS63143603A (en) * 1986-12-05 1988-06-15 Omron Tateisi Electronics Co Programmable controller
JPH01195381A (en) * 1988-01-29 1989-08-07 Mitsubishi Electric Corp Measuring program generating device

Cited By (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
JP2014052669A (en) * 2012-09-04 2014-03-20 Keyence Corp Programmable logic controller

Also Published As

Publication number Publication date
JP2761788B2 (en) 1998-06-04

Similar Documents

Publication Publication Date Title
KR100285956B1 (en) Apparatus and method for controlling synchronous and asynchronous devices connected to high speed serial bus
JPH0612526B2 (en) Programmable interrupt controller
JPH07295622A (en) Control system
JPH03262005A (en) Program transfer device
JP3570489B2 (en) Program creation support method and apparatus
JPS60134282A (en) System screen display system
JPH03185558A (en) Document editing device and method
JP2776443B2 (en) Programmable controller
JPH0518138B2 (en)
JPH0542517Y2 (en)
JPH04264652A (en) Dma control system
JPH0795296B2 (en) Information sharing processing method in data processing system
JP3177423B2 (en) Peripheral device testing system
KR910004529B1 (en) Cash register system
JPS63158654A (en) Microcontroller
JPH02165323A (en) Multiwindow display device
JPH05282232A (en) Device control mechanism
JPH10105226A (en) Programmable display device
JPS62203256A (en) Peripheral equipment of computer system
JPS62281032A (en) Program start up system
JPS63129461A (en) Kana-kanji conversion processor
JPH04362736A (en) Software development controller
JPH0784924A (en) How to download data in network system
JPH03294928A (en) Peripheral controller
JPS63228301A (en) Programmable controller