JP5141095B2 - Plant controller system - Google Patents
Plant controller system Download PDFInfo
- Publication number
- JP5141095B2 JP5141095B2 JP2007136480A JP2007136480A JP5141095B2 JP 5141095 B2 JP5141095 B2 JP 5141095B2 JP 2007136480 A JP2007136480 A JP 2007136480A JP 2007136480 A JP2007136480 A JP 2007136480A JP 5141095 B2 JP5141095 B2 JP 5141095B2
- Authority
- JP
- Japan
- Prior art keywords
- object code
- program
- plant controller
- application program
- processing means
- 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 - Fee Related
Links
Images
Landscapes
- Devices For Executing Special Programs (AREA)
Description
この発明は、プラントコントローラの新機種化による機種更新開発に関して、既存機種と新機種との機種互換性、新機種開発における効率化を図ったプラントコントローラシステムに関するものである。 The present invention relates to a plant controller system that aims to improve the model compatibility of existing models and new models and to improve the efficiency of new model development with regard to model update development by making new models of plant controllers.
新規プラントコントローラの開発時、ユーザニーズの観点から既存機種との命令語の親和性を考慮し、プログラム命令語の互換性を考慮した開発設計を実施する必要があった。 When developing a new plant controller, it was necessary to consider the compatibility of the command word with the existing model from the viewpoint of user needs and to carry out development design considering the compatibility of the program command word.
逆にプログラム命令語の互換性を考慮しなければ、既存機能・既存命令語の制約が無く新機種開発ができるが、プログラム製作時においては、新たなる命令語仕様の理解・習得をする必要があった。 Conversely, if the compatibility of program instruction words is not considered, new models can be developed without restrictions on existing functions and existing instruction words, but it is necessary to understand and acquire new instruction word specifications when creating programs. there were.
更に、機種更新時におけるプログラム設計作業時、旧新機種間で言語形態の異なる場合においては、旧機種プログラムを新機種プログラムに置き換える為の設計作業が必要となり、既存機種との命令実行に対する互換性を意識した開発設計が必要となっていた。 In addition, when the language design is different between the old and new models at the time of program design at the time of model update, design work is required to replace the old model program with the new model program, and compatibility with instruction execution with existing models is required. Development design that is conscious of this is necessary.
これら旧新機種間での言語変換については、変換作業効率の向上化等を目的に、汎用パーソナルコンピュータ等で別途、言語変換ツール等を開発する必要性があった。 Regarding language conversion between these old and new models, there was a need to develop a language conversion tool or the like separately on a general-purpose personal computer or the like for the purpose of improving conversion work efficiency.
また、新規プラントコントローラの開発時は、プラントコントローラだけでなく、コントローラに応じたプログラム編集機能、コンパイル処理にてプログラムをオブジェクトコードに変換する機能を設けたプラントコントローラ用保守ツールの開発が必要となっていた。 When developing a new plant controller, it is necessary to develop not only the plant controller but also a maintenance tool for the plant controller that has a program editing function according to the controller and a function that converts the program into an object code by compile processing. It was.
更に、オブジェクトコードを変換する際に、例えば新機種でのオブジェクト実行環境が旧機種のそれと異なる場合、旧機種のオブジェクトコードが変換できないことが発生し、変換後のオブジェクトコードが不完全であるために期待した処理が出来ず、これを作業者が認識できなかった場合には問題となる可能性があった。 Furthermore, when converting the object code, for example, if the object execution environment of the new model is different from that of the old model, the object code of the old model may not be converted, and the converted object code is incomplete. However, if the operator could not recognize the expected processing, it could be a problem.
従来、プラントコントローラの機種が更新された場合、命令語が異なる場合が多く、機種に応じた命令語によるプログラム設計を実施する必要があった。このため、プログラム設計者は、新規命令語仕様の理解/習得がその都度必要となっていた。よって、理解の為大幅な作業期間および費用を要するという問題点があった。 Conventionally, when the model of the plant controller is updated, the command word is often different, and it is necessary to design a program with the command word corresponding to the model. For this reason, the program designer is required to understand / learn new instruction word specifications each time. Therefore, there is a problem that a large work period and cost are required for understanding.
また、プラントコントローラの機種更新工事時においては、既存(従来)の命令語と新機種での命令語と双方を理解する必要がある。既存設備での設備動作を満足する為に、既存機種との命令実行に対する互換性を意識したプログラム設計、置き換え作業を行う必要があり、その為に大幅な作業期間および費用を要するという問題点があった。 In addition, it is necessary to understand both the existing (conventional) instruction word and the instruction word in the new model at the time of plant controller model update construction. In order to satisfy the equipment operation of the existing equipment, it is necessary to perform program design and replacement work with consideration for compatibility with instruction execution with existing models, which requires a large work period and cost. there were.
さらに人間により新旧機種間での命令語を手で置き換えることになる為、置き換え誤りによるプログラムバグも発生するといった問題点があった。 Furthermore, since the instruction word between new and old models is manually replaced by humans, there is a problem that a program bug due to a replacement error occurs.
これらプログラム置き換え前後の機種間の同一性評価の為、動作確認を実施する場合、ソフトウェア等でシミュレーション回路を別途製作する必要があり、製作、試験に多大な費用と期間を要すという問題点があった。 In order to evaluate the identity between models before and after replacement of these programs, it is necessary to separately manufacture a simulation circuit with software etc. when performing operation confirmation, and there is a problem that it takes a lot of cost and time for manufacturing and testing. there were.
また、プラントコントローラを新規に開発する際に、命令語を新規開発する場合には、プラントコントローラだけでなく、プラントコントローラと会話通信する為にパーソナルコンピュータ端末上等で動作するプログラムコントローラ用保守ツールを開発する必要があった。この場合、旧機種のユーザニーズも考慮する必要がある為、新旧機種命令語の互換性を意識・考慮した開発設計を実施する必要があり、保守ツール上は既存機種の命令語で扱える様にし、プログラムコントローラ用保守ツールに具備されているコンパイル処理等にてプログラムを既存命令語から新機種命令語用オブジェクトコードに変換する機能を設けるなどといった設計が必要である。よって結果的に開発期間とコストが増大化するといった問題点がある。 When developing a new plant controller, when developing a new command word, not only a plant controller but also a maintenance tool for a program controller that runs on a personal computer terminal etc. to communicate with the plant controller. There was a need to develop. In this case, since it is necessary to consider the user needs of the old model, it is necessary to carry out development design that considers and considers the compatibility of the old and new model command words. Therefore, it is necessary to design such that a function for converting a program from an existing instruction word to an object code for a new model instruction word is provided by a compiling process or the like provided in the program controller maintenance tool. As a result, there is a problem that the development period and cost increase.
また、上記によりプログラムコントローラ用保守ツールが新規に開発・製作された場合は、新機種用のプラントコントローラ用保守ツールの操作方法、操作性に慣れる必要があり、時間が掛かるといった問題点があった。 In addition, when a new program controller maintenance tool is developed and manufactured as described above, it is necessary to become familiar with the operation method and operability of the plant controller maintenance tool for the new model, which takes time. .
この発明は、上記のような課題を解決するためになされたもので、プラントコントローラ内部に旧機種と新機種間のオブジェクトコード変換機能を付加することにより、オブジェクトコードレベルで互換性が取れ、プラントコントローラの機種が更新され命令語が異なった場合でも、機種に応じたプログラム設計を実施する必要が無く、かつ新規命令語仕様の理解/習得を特に必要としないプラントコントローラシステムを得ることを目的とする。 The present invention has been made to solve the above-described problems. By adding an object code conversion function between the old model and the new model inside the plant controller, compatibility can be achieved at the object code level. Even if the controller model is updated and the instruction word is different, the purpose is to obtain a plant controller system that does not need to design a program according to the model and does not particularly need to understand / learn new instruction word specifications. To do.
この発明に係るプラントコントローラシステムは、ハードディスクに格納されたアプリケーションプログラムをプログラム編集処理手段にてプログラムの追加、変更、削除し、この追加、変更、削除されたプログラムをプログラム編集処理手段のプログラムコンパイル処理手段にてコンパイル処理し、オブジェクトコードの体系に展開するプラントコントローラ用保守ツールと、プラントコントローラ用保守ツールから転送されたオブジェクトコードを受信するプラントコントローラとを備えたプラントコントローラシステムであって、プラントコントローラ用保守ツールは、オブジェクトコードを生成する際、各オブジェクトコードと、これを生成したアプリケーションプログラムとの紐付け情報となるオブジェクト紐付け情報を生成するプログラムコンパイル処理手段と、アプリケーションプログラム検索手段とを備えており、プラントコントロ−ラは、受信したオブジェクトコードを旧機種オブジェクトコードとして扱うプログラム書換処理手段を備え、プログラム書換処理手段は、プラントコントローラ用保守ツールから転送されたオブジェクトコードを受信し、受信したオブジェクトコードを旧機種オブジェクトコードとして扱う旧機種オブジェクトコード手段と、旧機種オブジェクトコードを変換処理し、旧機種オブジェクトコードを変換できないオブジェクトコードが存在した際、そのオブジェクトコード識別子を変換不可オブジェクト情報として蓄積するオブジェクトコード変換処理手段と、オブジェクト変換処理手段で変換処理されたオブジュクトコードをプラントコントロール用保守ツールが持っているオブジェクトコードとは異なる形態の新機種オブジェクトコードへと展開する新機種オブジェクトコード手段とを備え、プラントコントローラ用保守ツールのアプリケーションプログラム検索手段は、プラントコントローラのオブジェクトコード変換処理手段が変換できなかった旧機種オブジェクトコード識別子を蓄積した変換不可オブジェクト情報を受信し、変換不可オブジェクト情報とオブジェクト紐付け情報により、変換できなかった旧機種オブジェクトコードを生成したプログラムをアプリケーションプログラムから抽出し、変換できなかったアプリケーションプログラムをプラントコントローラ用保守ツールの操作者に告知できるようにしたものである。 In the plant controller system according to the present invention, an application program stored in a hard disk is added, changed, or deleted by a program editing processing means, and the program compilation processing of the program editing processing means is performed on the added, changed, or deleted program. A plant controller system comprising a plant controller maintenance tool that compiles by means and develops into an object code system, and a plant controller that receives an object code transferred from the plant controller maintenance tool. use maintenance tools, when generating the object code, and generates a respective object code, the object corresponding information to be corresponding information of the application program that generated this A program compilation processing unit comprises an application program search means, the plant controller - la is provided with a program rewrite processing means for handling the object code received as old model object code, a program rewrite processing means, maintenance plant controller There was an old model object code means that received the object code transferred from the tool and handled the received object code as an old model object code, and there was an object code that could not convert the old model object code by converting the old model object code The object code conversion processing means for storing the object code identifier as non-convertible object information and the object code converted by the object conversion processing means are loaded. And a new model object code means to expand into new models object code of the different forms of the object code that is for the door control maintenance tools have, application program search means for the plant controller maintenance tool, object code of the plant controller The conversion processing means receives the non-convertible object information storing the old model object code identifier that could not be converted, and the program that generated the old model object code that could not be converted by the non-convertible object information and the object association information is an application program The application program that could not be converted and extracted from can be notified to the operator of the maintenance tool for the plant controller .
この発明によれば、プラントコントローラ内部でオブジェクトコード変換処理をする機能を備えたため、プラントコントローラ機種が更新されたことにより、プラントコントローラ保守ツール側で扱うオブジェクトコード形態が異なっても、旧来の機種に応じたオブジェクトコード即ち旧来の命令語でプログラム設計が可能であるとともに、新規命令語仕様の理解/習得を改めて必要としない為、理解の為の作業期間および費用の削減を実現したプラントコントローラを得られる効果がある。また、オブジェクトコード変換機能において、新機種のオブジェクトコードに変換できないオブジェクトコードが発生した際に、変換できなかったオブジェクトコードを生成したアプリケーションプログラムの部分を抽出し作業者に告知することで、オブジェクトコード変換作業を確実に行わせることが可能となる。 According to the present invention, since the plant controller has a function to perform object code conversion processing inside the plant controller, even if the object code form handled on the plant controller maintenance tool side differs, Program design is possible with the corresponding object code, that is, the old instruction word, and it is not necessary to understand / learn new instruction word specifications again, so a plant controller that realizes reduction of work period and cost for understanding is obtained. There is an effect. Also, when an object code that cannot be converted to a new model object code occurs in the object code conversion function, the part of the application program that generated the object code that could not be converted is extracted and notified to the operator. The conversion work can be performed reliably.
実施の形態1.
以下、図面を参照しながら、この発明の実施の形態1について詳細に説明する。図1はこの発明の実施の形態1を概略的に示すプラントコントローラシステムのブロック構成図である。
Hereinafter, the first embodiment of the present invention will be described in detail with reference to the drawings. 1 is a block diagram of a plant controller system schematically showing
図1において、プラントコントローラ用保守ツール1は、以下に示すソフトウェアブロック概要となっている。プラントコントローラ用保守ツール1は汎用パーソナルコンピュータ上に実現されており、ハードディスク2に格納されたアプリケーションプログラム3は、プログラム編集処理部5にて編集が可能となっているが、プログラムコンパイル処理部6を介して、オブジェクトコード4が生成されるようになっている。また、プログラムコンパイル処理部6は、オブジェクトコード4を生成する際に、同時に各オブジェクトコードと、これを生成したアプリケーションプログラムを紐付けたオブジェクト紐付け情報25を生成する。一般にアプリケーションプログラムにはプログラムアドレスのように、他と識別できる情報を持っており、これと生成したオブジェクトコードを対にすることにより紐付けは可能である。オブジェクトコード4の情報はプログラム転送処理部7から、通信経路(イーサネット(登録商標)等)8を経由し、プラントコントローラ9と接続されるようになっている。
In FIG. 1, the plant
図1において、プラントコントローラ9は、以下に示すソフトウェアブロック概要となっている。上述のオブジェクトコード4はプラントコントローラ9の要求処理部10にある通信処理受信部11にて取り込まれようになっており、旧機種オブジェクトコード13として扱われるが、要求処理部10の内部構成としては、旧機種オブジェクトコード13を新機種オブジェクトコード15に変換するオブジェクトコード変換処理部14から構成され、制御プログラム17が格納されているプログラムメモリ16と接続されている。なお、プログラム実行部18は、このプログラムメモリ16と接続されており、それとは別にデータメモリ19とも接続されている。
In FIG. 1, the plant controller 9 has the following software block outline. The above-described object code 4 is captured by the communication
次に、図1に示したこの発明の実施の形態1による動作について説明する。まず、プラントコントローラ用保守ツール1のハードディスク2に格納されたアプリケーションプログラム3は、プログラム編集処理部5にてプログラムの追加、変更、削除などの編集操作が可能となっている。生成されたプログラムはオブジェクトコード4の体系でプラントコントローラ9へ転送する必要があり、プログラム編集処理部5のプログラムコンパイル処理部6にてコンパイル処理され、オブジェクトコード4に展開される。この時、同時にオブジェクトコード4と、これを生成したアプリケーションプログラム3との紐付け情報となるオブジェクトコード紐付け情報25も生成する。オブジェクトコード4の情報は、プラントコントローラ用保守ツール1の操作者により、プラントコントローラ9への転送処理が要求された時、プログラム転送処理部7により、通信経路(イーサネット(登録商標)等)8を経由し、プラントコントローラ9へと転送されるようになっている。
Next, the operation according to the first embodiment of the present invention shown in FIG. 1 will be described. First, the
上述にてプラントコントローラ用保守ツール1のプログラム転送処理部7にて転送されたオブジェクトコード4はプラントコントローラ9の要求処理部10にて処理されるが、通信経路(イーサネット(登録商標)等)8から受信した情報は、先ず通信処理受信部11にて受信され、プログラム書換処理部12へ展開される。
The object code 4 transferred by the program
プログラム書換処理部12では受信したオブジェクトコード4を旧機種オブジェクトコード13として扱い、オブジェクトコード変換処理部14にて新機種オブジェクトコード15へと展開されるように実現されており、プラントコントローラ用保守ツール1で持っているオブジェクトコード4とは全く異なる形態のオブジェクトコードに置き換えることができる。
The program
変換されたオブジェクトコードは新機種オブジェクトコード15としてプログラム書換え可能なタイミングにて制御プログラム17として、プログラムメモリ16の内部に展開されるが、プログラム実行部18にてこの情報を展開してプログラム実行されるようになっており、制御プログラム17の内容によりデータメモリ19が読み書きされるようになっている。
The converted object code is expanded in the
オブジェクトコード変換処理部14は旧機種オブジェクトコード13を新機種オブジェクトコード15に変換するが、その際、旧機種と新機種でのオブジェクトコード構成の差異等により変換が出来ない場合が考えられる。そこで、オブジェクトコード変換処理部14は、旧機種オブジェクトコード13を変換する際に変換できないオブジェクトコードが存在した際には、該当オブジェクトコードの識別子を変換不可オブジェクトコード情報27に蓄積する。
The object code
オブジェクトコード変換処理部14が変換できなかった旧機種オブジェクトコード識別子を蓄積した変換不可オブジェクトコード情報27は、プラントコントローラ用保守ツール1の操作者の指示により、要求処理部10の通信処理送信部28により、通信経路(イーサネット(登録商標)等)8を通して、プラントコントローラ用保守ツール1内のアプリケーションプログラム検索部26に送られる。アプリケーションプログラム検索部26は、受信した変換不可オブジェクトコード情報27とオブジェクト紐付け情報25により、変換できなかった該当旧機種オブジェクトコードを生成したプログラムをアプリケーションプログラム3から抽出し、プラントコントローラ用保守ツール1の操作者に告知する。告知方法としては、変換できなったアプリケーションプログラム部分を編集画面上で色換えする等が考えられる。変換できなかったアプリケーションプログラムについては、新機種オブジェクトコードを生成できるようにアプリケーションプログラム3の修正を行う。
The non-convertible
なお、上記実施の形態1では、プラントコントローラ9の内部に、オブジェクトコード変換処理部14の機能を備えたため、プラントコントローラ機種が更新され、プラントコントローラ保守ツール1側で扱うオブジェクトコード4の形態と新機種オブジェクトコード15との相違が発生しても、オブジェクトコード同士の変換ができる。よって、旧来の機種に応じたオブジェクトコード4に対応した旧来のアプリケーションプログラム3でプログラム設計ができるとともに、プラントコントローラ9に依存した命令語仕様の理解/習得を不要とすることができる。
In the first embodiment, since the function of the object code
また、プラントコントローラ9の内部でオブジェクトコード変換処理部14を設けたため、プラントコントローラ保守ツール1でのアプリケーションプログラムの編集も、旧来の命令語で扱えるため、今までの命令言語形態でのアプリケーションプログラムリソースを活用することができる。
In addition, since the object code
また、プラントコントローラ9の内部でオブジェクトコード変換処理部14を設けたため、人為的な新旧機種間での命令語置き換え作業が不要となり、自動的にオブジェクトコードレベルでコード変換処理が可能となることから、命令語置き換え誤りによるプログラムバグの発生が抑制されるとともに、新設プラントコントローラの制御実行結果を評価する為のシミュレーション用アプリケーションソフトウェアを不要とすることができる。
In addition, since the object code
また、オブジェクトコード変換処理部14をプラントコントローラ9のプログラム書換処理部12の一部として備えたので、わざわざプラントコントローラ9の外部で命令語の変換処理を準備することなく、また特別なタイミングを必要としない形で、旧機種オブジェクトコード13を新機種オブジェクトコード15に変換できる。
In addition, since the object code
また、プラントコントローラ9の内部でオブジェクトコード変換処理部14を設けたため、命令語互換の為のツール装置や、プラントコントローラ9に対応したプラントコントローラ用保守ツール1を新規に開発・製作することを不要とすることができる。
In addition, since the object code
また、プラントコントローラ用保守ツール1内部でアプリケーションプログラム検索部26を設け、蓄積された変換不可オブジェクトコード情報27により、オブジェクトコード変換処理部14にて変換できなかったオブジェクトコードを認識できるようにしたため、変換不可オブジェクトコード情報27の情報が無くなるまでアプリケーションプログラム3を修正していくことにより、変換もれを防止することが出来るとともに、アプリケーションプログラム3を新機種オブジェクトコード15に確実に変換することができる。
In addition, the application
実施の形態2.
以下、図面を参照しながら、この発明の実施の形態2について詳細に説明する。図2はこの発明の実施の形態2を概略的に示すプラントコントローラ内のオブジェクトコード変換処理部のブロック構成図である。
Hereinafter,
図2において、図1で示すオブジェクトコード変換処理部14の内部構成としては、以下に示すソフトウェアブロック概要となっている。旧機種オブジェクトコード体系例20は32Bit構成となっており、実際にはオペコード(13Bit)、オペランド(19Bit)から構成されるコード体系となっている。オブジェクトコード変換処理部21はオペコード変換処理部22、オペランド変換処理部23から構成され、新機種オブジェクトコード体系例24に展開するような構成となっている。
2, the internal configuration of the object code
次に、図2に示したこの発明の実施の形態2による動作について説明する。旧機種オブジェクトコード体系例20は32Bit構成であり、内容はオペコード13Bit、オペランド19Bitのコード体系となっている。オブジェクトコード変換処理部21において、オペコード部をオペコード変換処理部22で、オペランド部をオペランド変換処理部23でそれぞれ新機種オブジェクトコード体系例24に展開する。なお、新機種オブジェクトコード体系例24は64Bit構成であり、内容はオペコード32Bit、オペランド32Bitのコード体系となっている。
Next, the operation according to the second embodiment of the present invention shown in FIG. 2 will be described. The old model object code system example 20 has a 32-bit configuration, and the content is an opcode 13-bit and operand 19-bit code system. In the object code
なお、上記実施の形態2では、32Bit構成である旧機種オブジェクトコード体系例20から、64Bit構成である新機種オブジェクトコード体系例24へと、コードの長さや体系の異なるオブジェクトコード同士を変換することができる。 In the second embodiment, object codes having different code lengths and systems are converted from the old model object code system example 20 having a 32-bit configuration to the new model object code system example 24 having a 64-bit configuration. Can do.
また、オブジェクトコード変換処理部21において、オペコード部をオペコード変換処理部22で、オペランド部をオペランド変換処理部23でそれぞれ新機種オブジェクトコード体系例24に、命令語コード部(オペコード)、ソースアドレス部(オペランド)それぞれの変換が個別に対応できる。
Further, in the object code
尚、ここでは32Bit構成のコード体系について述べたが、他のコード体系の場合でもオペコード変換処理部22及びオペランド変換処理部23を変更する事で対応可能となることは言うまでも無い。
Although a 32-bit code system has been described here, it is needless to say that other code systems can be handled by changing the operation code
上記実施の形態2では、オブジェクトコード体系の異なるオブジェクトコード同士を変換する機能を備えており、命令語コード部(オペコード)、ソースアドレス部(オペランド)それぞれの変換ができる機能も備えたものである為、プラントコントローラ内部で既存機種との命令実行に対する置き換え互換性が柔軟に取られている。従い、コード長、体系の異なるオブジェクトコードを自動的に展開することを実現したプラントコントローラが得られる効果がある。 The second embodiment has a function of converting object codes having different object code systems, and also has a function of converting an instruction word code part (opcode) and a source address part (operand). Therefore, the replacement compatibility for the instruction execution with the existing model is flexibly taken inside the plant controller. Accordingly, there is an effect of obtaining a plant controller that realizes automatic development of object codes having different code lengths and systems.
実施の形態3.
以下、図面を参照しながら、この発明の実施の形態3について詳細に説明する。図3はこの発明の実施の形態3を概略的に示す保守ツール内のプログラムコンパイル処理部およびアプリケーションプログラム検索部のブロック構成図である。
Hereinafter,
図3において、図1で示すプログラムコンパイル処理部6の内部構成としては、以下に示すソフトウェアブロック概要となっている。プログラムコンパイル処理部6はアプリケーションプログラム3内のプログラムを1つづつ読み出し、オブジェクトを生成する。各アプリケーションプログラムには、これを管理するため、通常先頭からのプログラム番地が付加されている。プログラムコンパイル処理部6はアプリケーションプログラム3内のプログラムを1つ読み出す際に、該当アプリケーションプログラムのプログラム番地も同時に読み出す。
プログラムコンパイル処理部6は、該当アプリケーションプログラムを旧機種オブジェクトコードに変換するが、この時、変換したオブジェクトコードに識別子を付加する。識別子はランニング番号等、他のオブジェクトコードと重複しないようルール付けされたものを付加する。この時、この識別子と各オブジェクトコードを生成したアプリケーションプログラムのプログラム番地を対にしてオブジェクト紐付け情報25に格納する。但し、1つのアプリケーションプログラムから複数のオブジェクトコードを生成する場合があるため、各オブジェクトコードには全て、生成元であるアプリケーションプログラムのプログラム番地を紐付ける。
In FIG. 3, the internal configuration of the program
The program
次に、プログラム書換処理部12内のオブジェクトコード変換処理部14では、旧機種オブジェクトコード13内の各オブジェクトコードを新機種オブジェクトコードに逐次変換していくが、この時変換できないオブジェクトコードが発生した場合は、該当オブジェクトコードの識別子を変換不可オブジェクトコード情報27に蓄積後、次のオブジェクトコードの変換を行う。
Next, the object code
アプリケーションプログラム検索部26は、蓄積された変換不可オブジェクトコード情報27から、変換できなかったオブジェクトコードを1つ読み出し、該当オブジェクトコードが持つ識別子から、オブジェクト紐付け情報25を参照しながら、該当オブジェクトコードを生成したアプリケーションプログラムのプログラム番地を検索する。検出されたプログラム番地により、アプリケーションプログラム3内の該当プログラムを限定する。
The application
上記実施の形態3では、オブジェクトコード変換機能において、新機種のオブジェクトコードに変換できないオブジェクトコードが発生した際に、変換できなかったオブジェクトコードを生成したアプリケーションプログラムの部分を抽出し作業者に告知することで、オブジェクトコード変換作業を確実に行わせることが可能となる。 In the third embodiment, when an object code that cannot be converted into an object code of a new model occurs in the object code conversion function, the part of the application program that generated the object code that could not be converted is extracted and notified to the operator. Thus, the object code conversion work can be surely performed.
1 プラントコントローラ用保守ツール、2 ハードディスク、3 アプリケーションプログラム、4 オブジェクトコード、5 プログラム編集処理部、6 プログラムコンパイル処理部、7 プログラム転送処理部、8 通信経路(イーサネット(登録商標)等)、9 プラントコントローラ、10 要求処理部、11 通信処理受信部、12 プログラム書換処理部、13 旧機種オブジェクトコード、14 オブジェクトコード変換処理部、15 新機種オブジェクトコード、16 プログラムメモリ、17 制御プログラム、18 プログラム実行部、19 データメモリ、20 旧機種オブジェクトコード体系例、21 オブジェクトコード変換処理部、22 オペコード変換処理部、23 オペランド変換処理部、24 新機種オブジェクトコード体系例、25 オブジェクトコード紐付け情報、26 アプリケーションプログラム検索部、27 変換不可オブジェクトコード情報、28 通信処理送信部
1 maintenance tool for plant controller, 2 hard disk, 3 application program, 4 object code, 5 program editing processing section, 6 program compilation processing section, 7 program transfer processing section, 8 communication path (Ethernet (registered trademark), etc.), 9 plant Controller, 10 Request processing unit, 11 Communication processing receiving unit, 12 Program rewrite processing unit, 13 Old model object code, 14 Object code conversion processing unit, 15 New model object code, 16 Program memory, 17 Control program, 18 Program execution unit , 19 Data memory, 20 Old model object code system example, 21 Object code conversion processing unit, 22 Opcode conversion processing unit, 23 Operand conversion processing unit, 24 New model object code De systematically example, 25 the object code corresponding information, 26 application
Claims (2)
前記プラントコントローラ用保守ツールは、前記オブジェクトコードを生成する際、各オブジェクトコードと、これを生成したアプリケーションプログラムとの紐付け情報となるオブジェクト紐付け情報を生成するプログラムコンパイル処理手段と、アプリケーションプログラム検索手段とを備えており、
前記プラントコントロ−ラは、受信した前記オブジェクトコードを旧機種オブジェクトコードとして扱うプログラム書換処理手段を備え、
前記プログラム書換処理手段は、
プラントコントローラ用保守ツールから転送されたオブジェクトコードを受信し、受信したオブジェクトコードを旧機種オブジェクトコードとして扱う旧機種オブジェクトコード手段と、
前記旧機種オブジェクトコードを変換処理し、旧機種オブジェクトコードを変換できないオブジェクトコードが存在した際、そのオブジェクトコード識別子を変換不可オブジェクト情報として蓄積するオブジェクトコード変換処理手段と、
前記オブジェクト変換処理手段で変換処理されたオブジュクトコードを前記プラントコントロール用保守ツールが持っているオブジェクトコードとは異なる形態の新機種オブジェクトコードへと展開する新機種オブジェクトコード手段とを備え、
前記プラントコントローラ用保守ツールのアプリケーションプログラム検索手段は、前記プラントコントローラの前記オブジェクトコード変換処理手段が変換できなかった旧機種オブジェクトコード識別子を蓄積した変換不可オブジェクト情報を受信し、変換不可オブジェクト情報とオブジェクト紐付け情報により、変換できなかった旧機種オブジェクトコードを生成したプログラムをアプリケーションプログラムから抽出し、変換できなかったアプリケーションプログラムを前記プラントコントローラ用保守ツールの操作者に告知できるようにしたことを特徴としたプラントコントローラシステム。 An application program stored in the hard disk is added, changed, or deleted by the program editing processing means, and the program that has been added, changed, or deleted is compiled by the program compilation processing means of the program editing processing means , A plant controller system comprising a maintenance tool for a plant controller that develops into a system of codes , and a plant controller that receives the object code transferred from the maintenance tool for the plant controller,
The maintenance tool for plant controller, when generating the object code, a program compile processing means for generating object linking information that becomes linking information between each object code and the application program that generated the object code, and application program search Means and
The plant controller comprises a program rewrite processing means for handling the received object code as an old model object code,
The program rewriting processing means includes:
Old model object code means that receives the object code transferred from the plant controller maintenance tool and handles the received object code as the old model object code;
Object code conversion processing means for storing the object code identifier as non-convertible object information when the old model object code is converted and there is an object code that cannot convert the old model object code;
A new model object code means for expanding the object code converted by the object conversion processing means into a new model object code in a form different from the object code that the maintenance tool for plant control has,
The application program search means of the plant controller maintenance tool receives the non-convertible object information storing the old model object code identifier that could not be converted by the object code conversion processing means of the plant controller. According to the linking information, the program that generated the old model object code that could not be converted was extracted from the application program, and the application program that could not be converted could be notified to the operator of the plant controller maintenance tool. Plant controller system .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007136480A JP5141095B2 (en) | 2007-05-23 | 2007-05-23 | Plant controller system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007136480A JP5141095B2 (en) | 2007-05-23 | 2007-05-23 | Plant controller system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2008293176A JP2008293176A (en) | 2008-12-04 |
JP5141095B2 true JP5141095B2 (en) | 2013-02-13 |
Family
ID=40167851
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007136480A Expired - Fee Related JP5141095B2 (en) | 2007-05-23 | 2007-05-23 | Plant controller system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5141095B2 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013190837A (en) * | 2012-03-12 | 2013-09-26 | Mitsubishi Electric Corp | Engineering tool |
DE112014003082B4 (en) * | 2014-06-02 | 2017-05-18 | Mitsubishi Electric Corporation | Programmable control system, programmable control, program display device and program display method |
CN113279962B (en) * | 2021-07-01 | 2023-01-13 | 华能国际电力股份有限公司上安电厂 | Air compressor controller modification method |
Family Cites Families (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5133944A (en) * | 1974-09-17 | 1976-03-23 | Fujitsu Ltd | Obujekuto puroguramugokanhoshiki |
JPS62281005A (en) * | 1986-05-30 | 1987-12-05 | Fuji Electric Co Ltd | Programming system for programmable controller |
JPS63249206A (en) * | 1987-04-06 | 1988-10-17 | Koyo Denshi Kogyo Kk | Programmable controller |
JPH0460805A (en) * | 1990-06-29 | 1992-02-26 | Fanuc Ltd | Sequence program generating method |
JP3309434B2 (en) * | 1992-07-31 | 2002-07-29 | 豊田工機株式会社 | PC programming device |
JPH0659929A (en) * | 1992-08-11 | 1994-03-04 | Sharp Corp | Computer device |
JP3114828B2 (en) * | 1992-10-27 | 2000-12-04 | 株式会社エフ・エフ・シー | Programming device |
JP2000003209A (en) * | 1998-06-15 | 2000-01-07 | Hitachi Ltd | Programmable controller |
JP2002099312A (en) * | 2000-09-22 | 2002-04-05 | Mitsubishi Electric Corp | Programmable controller and control program development supporting device |
JP2002268706A (en) * | 2001-03-07 | 2002-09-20 | Asahi Breweries Ltd | Information processing system |
JP4258140B2 (en) * | 2001-06-18 | 2009-04-30 | 富士電機ホールディングス株式会社 | Programmable controller interface device |
JP4305740B2 (en) * | 2003-07-16 | 2009-07-29 | オムロン株式会社 | Programmable controller system and connection guarantee method |
JP4786164B2 (en) * | 2004-10-28 | 2011-10-05 | 三菱電機株式会社 | Plant monitoring and control system |
-
2007
- 2007-05-23 JP JP2007136480A patent/JP5141095B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2008293176A (en) | 2008-12-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8464236B2 (en) | Data consistency in data processing systems | |
US20110126179A1 (en) | Method and System for Dynamic Patching Software Using Source Code | |
JP2008282363A (en) | Programmable controller, program creation support device, computer program and programmable logic controller (plc) system | |
JP2009146229A (en) | Programmable controller system | |
JP6866663B2 (en) | Programmable controller system, programmable controller, support device, HCI device, redundant programmable controller system | |
JP5141095B2 (en) | Plant controller system | |
JP2009157533A (en) | Programmable controller system | |
JP5636783B2 (en) | Programmable controller and method for debugging programmable controller | |
JP6135247B2 (en) | Information processing apparatus and information processing program | |
WO2012104959A1 (en) | Motion sfc program component creation device | |
CN115658140A (en) | SDK packaging method, device, terminal and storage medium | |
Al Saad et al. | ScatterClipse: A model-driven tool-chain for developing, testing, and prototyping wireless sensor networks | |
JP6455096B2 (en) | Control system, its support device, programmable control device | |
JP2013190837A (en) | Engineering tool | |
JP2008158846A (en) | Plant controller | |
JPS6022373B2 (en) | Program conversion mechanism for programmable control equipment | |
JP2007188366A (en) | Compiler | |
JP2009098963A (en) | Automatic module generation system | |
JP2006079484A (en) | Source program conversion program for system migration | |
CN110249590B (en) | Control system and path information generation method | |
US20210216309A1 (en) | Compiler device and compiling method | |
JP2008299763A (en) | Distributed object development tool | |
Todoroi | Adaptable Processing: Stage Development | |
JP2001075634A (en) | Test display method for screen data for controller | |
JP4679540B2 (en) | Program verification method, system, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20100301 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20120531 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120626 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120823 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20121023 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20121105 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20151130 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5141095 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20171124 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
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 |