JPH0777930A - System definition generating device - Google Patents

System definition generating device

Info

Publication number
JPH0777930A
JPH0777930A JP22239293A JP22239293A JPH0777930A JP H0777930 A JPH0777930 A JP H0777930A JP 22239293 A JP22239293 A JP 22239293A JP 22239293 A JP22239293 A JP 22239293A JP H0777930 A JPH0777930 A JP H0777930A
Authority
JP
Japan
Prior art keywords
system definition
programmable controller
information
definition
input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP22239293A
Other languages
Japanese (ja)
Inventor
Keisuke 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 JP22239293A priority Critical patent/JPH0777930A/en
Publication of JPH0777930A publication Critical patent/JPH0777930A/en
Pending legal-status Critical Current

Links

Landscapes

  • Programmable Controllers (AREA)

Abstract

PURPOSE:To easily and securely register system definitions. CONSTITUTION:A system definition generating process part 11 reads parameter initial values of system definitions of a programmable controller as an object of system definition registration and displays them at a display part 14. Then the parameter set value of a specified parameter and held diagnostic information are read out of the system definition information of the programmable controller which refers to the system definitions on the basis of a definition information readout command and a diagnostic information readout command, the corresponding parameter at the display part 14 is updated and displayed, and the diagnostic information is displayed. On the basis of parameter setting information from an input part 13, the corresponding parameter value at the display part 14 is updated to generate system definitions and when a write command is inputted, the generated system definitions are written in the programmable controller as the object of registration.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、プログラマブルコント
ローラと周辺装置とで構築されるシステムにおいて、プ
ログラマブルコントローラへのシステム定義情報の登録
を行うシステム定義作成装置に関し、プログラマブルコ
ントローラに格納されている実システム定義情報をもと
に新たなシステム定義情報を作成することのできるシス
テム定義作成装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a system definition creating apparatus for registering system definition information in a programmable controller in a system constructed by a programmable controller and peripheral devices, and an actual system stored in the programmable controller. The present invention relates to a system definition creating device that can create new system definition information based on definition information.

【0002】[0002]

【従来の技術】一般に、プログラマブルコントローラを
動作させる場合には、その使用方法、関連周辺装置の種
類等によって、各インタフェースを識別するための約束
事であるシステム定義を登録する必要がある。このシス
テム定義には、プログラマブルコントローラの運転状態
を規定するシステム登録、ユーザが作成したプログラム
の監視指定であるプログラム登録、プログラマブルコン
トローラと接続する入出力装置の規則を指定するTリン
ク登録、プログラマブルコントローラどうしの接続の指
定であるPリンク登録等がある。
2. Description of the Related Art Generally, when operating a programmable controller, it is necessary to register a system definition, which is a convention for identifying each interface, depending on its usage, the type of associated peripheral device, and the like. This system definition includes system registration that defines the operating status of the programmable controller, program registration that is the monitoring specification of the program created by the user, T-link registration that specifies the rules of the input / output device connected to the programmable controller, and programmable controllers. P link registration, which is the designation of the connection.

【0003】そして、プログラマブルコントローラを使
用する場合には、これらの登録情報を設計用ドキュメン
ト等を利用して個別に登録し、所望とするシステムを構
築している。従来、各プログラマブルコントローラへの
システム定義の登録は、オペレータが設計ドキュメント
等を参照しながら、プログラムローダでのキー操作等に
よって、登録している。
When the programmable controller is used, the registration information is individually registered using a design document or the like to construct a desired system. Conventionally, the system definition is registered in each programmable controller by an operator referring to a design document or the like by operating a key in a program loader or the like.

【0004】図6は、システム定義登録時のプログラム
ローダの処理手順を示したフローチャートである。予め
プログラマブルコントローラとプログラムローダとを接
続した状態で、プログラムローダによってプログラマブ
ルコントローラ内に予め格納されているシステム定義を
読み出し、表示部に表示する(ステップS21)。次い
でステップS22に移行し、オペレータがプログラムロ
ーダのキー操作等によって読み出したシステム定義の各
パラメータを設計ドキュメント等にしたがって、構築す
るシステムに合った値に設定することにより、システム
定義を作成する。
FIG. 6 is a flowchart showing the processing procedure of the program loader at the time of system definition registration. In the state where the programmable controller and the program loader are connected in advance, the system definition stored in advance in the programmable controller is read by the program loader and displayed on the display unit (step S21). Next, in step S22, the system definition is created by setting each parameter of the system definition read by the operator by operating the key of the program loader or the like to a value suitable for the system to be constructed according to the design document or the like.

【0005】そして、ステップS23において、作成し
たシステム定義をプログラマブルコントローラに書き込
み、ステップS24で、プログラマブルコントローラを
動作状態として、異常があるか否かを判定し、正常であ
るときにシステム定義登録を完了するが、異常である場
合には、ステップS22に戻って、プログラマブルコン
トローラの異常を一つづつ確認しながら、再度、システ
ム定義の各パラメータの設定を行い、新たなシステム定
義を作成するようにしている。
Then, in step S23, the created system definition is written in the programmable controller, and in step S24, it is determined whether or not there is an abnormality with the programmable controller in an operating state. When it is normal, the system definition registration is completed. However, if there is an abnormality, the process returns to step S22 to check each abnormality of the programmable controller and set each parameter of the system definition again to create a new system definition. There is.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、上記従
来のシステム定義作成装置にあっては、システム定義作
成時に、オペレータのキー操作等によって、各プログラ
マブルコントローラそれぞれに対してシステム定義の各
パラメータを設定しなければならず、システムが大規模
になるにしたがって、また、プログラマブルコントロー
ラの機能が高度化するにしたがって、登録しなければな
らない情報が増加及び複雑化するために、システム定義
作成に要する時間が増加してしまうという未解決の課題
がある。
However, in the above-mentioned conventional system definition creating apparatus, at the time of creating the system definition, each parameter of the system definition is set for each programmable controller by the key operation of the operator. As the system becomes large in scale and the function of the programmable controller becomes more sophisticated, the time required to create the system definition increases due to the increase and complexity of the information to be registered. There is an unsolved problem of doing so.

【0007】また、システム定義情報は、プログラマブ
ルコントローラシステムの構成を確実に網羅したもので
なければならないため、システム定義の全てを正しく設
定しなければ正常な登録にはならないという課題もあ
る。そこで、この発明は、上記従来の未解決の課題に着
目してなされたものであり、複雑大規模化したプログラ
マブルコントローラのシステムである場合でも、システ
ム定義の登録を確実容易に行うことのできるシステム定
義作成装置を提供することを目的としている。
Further, since the system definition information must surely cover the configuration of the programmable controller system, there is a problem that normal registration cannot be performed unless all system definitions are set correctly. Therefore, the present invention has been made in view of the above-mentioned unsolved problems of the related art, and is a system capable of reliably and easily registering a system definition even in the case of a complex and large-scale programmable controller system. The purpose is to provide a definition creating device.

【0008】[0008]

【課題を解決するための手段】上記目的を達成するため
に、本発明に関わるシステム定義作成装置は、プログラ
マブルコントローラと周辺装置とで構築されるシステム
の構成情報及び動作環境等のシステム定義情報を作成し
プログラマブルコントローラに登録するシステム定義作
成装置において、実働したプログラマブルコントローラ
に登録されている実際のシステム定義情報を読み出す定
義情報読み出し手段と、前記実働したプログラマブルコ
ントローラで保持している診断情報を読み出す診断情報
読み出し手段と、前記実際のシステム定義情報及び診断
情報を表示部に表示しながら当該システム定義情報と入
力部からの設定情報とをもとに新たなシステム定義を作
成する定義作成手段とを備えることを特徴としている。
In order to achieve the above object, a system definition creating apparatus according to the present invention stores system definition information such as system configuration information and operating environment constructed by a programmable controller and peripheral devices. In a system definition creation device for creating and registering in a programmable controller, definition information reading means for reading out actual system definition information registered in an actual programmable controller, and diagnostic for reading out diagnostic information held in the actual programmable controller. An information reading unit and a definition creating unit for creating a new system definition based on the system definition information and the setting information from the input unit while displaying the actual system definition information and the diagnostic information on the display unit. It is characterized by that.

【0009】[0009]

【作用】定義情報読み出し手段によって、実働したプロ
グラマブルコントローラに登録されている実際のシステ
ム定義情報を読み出し、同様に、診断情報読み出し手段
によって、実働したプログラマブルコントローラが保持
している診断情報を読み出し、定義作成手段において、
定義情報読み出し手段で読み出した実際のシステム定義
情報と、診断情報読み出し手段で読み出した診断情報と
を表示部に表示しながら、システム定義情報と入力部か
らの設計ドキュメント等をもとに設定した設定情報とを
もとに新たなシステム定義を作成する。
The definition information reading means reads out the actual system definition information registered in the operating programmable controller, and similarly, the diagnostic information reading means reads out the diagnostic information held by the operating programmable controller and defines it. In the creation means,
The settings set based on the system definition information and the design document from the input section while displaying the actual system definition information read by the definition information reading section and the diagnostic information read by the diagnostic information reading section on the display section. Create a new system definition based on the information.

【0010】[0010]

【実施例】以下に、本発明の実施例を図面に基づいて説
明する。図1は、本発明によるシステム定義作成装置を
適用したプログラマブルコントローラと周辺装置とから
なるシステムの一実施例を示した概略構成図である。こ
のシステムは、m個のプログラマブルコントローラPL
C1〜PLCmがリンク接続され、各プログラマブルコ
ントローラPLC1〜PLCmは、それぞれ、所定数n
(例えば、n=15)の周辺装置としての入出力機器I
/O1〜I/Onが接続可能とされており、接続される
入出力機器I/O1〜I/Onの使用方法、種別等に応
じて設定される前述したシステム定義が、システム定義
作成装置としてのプログラムローダ10によって登録さ
れる。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a schematic configuration diagram showing an embodiment of a system including a programmable controller to which a system definition creating device according to the present invention is applied and peripheral devices. This system consists of m programmable controllers PL
C1 to PLCm are linked, and each programmable controller PLC1 to PLCm has a predetermined number n.
Input / output device I as a peripheral device (for example, n = 15)
/ O1 to I / On are connectable, and the system definition described above, which is set according to the usage method, type, etc. of the connected input / output devices I / O1 to I / On, is used as a system definition creating device. Is registered by the program loader 10.

【0011】図2は、プログラマブルコントローラPL
Ci及びプログラムローダ10の構成を示すブロック図
である。プログラマブルコントローラPLC1〜PLC
mは、同一の機能構成を有し、ここでは、プログラマブ
ルコントローラPLCiについて説明する。プログラマ
ブルコントローラPLCiは、処理部21と、診断部2
2と、メモリ23とから構成され、処理部21は、プロ
グラムローダ10及び各入出力機器I/O1〜I/On
とのデータ授受を行い、プログラムローダ10から入力
された処理プログラムに基づいて処理を実行し、各入出
力機器I/O1〜I/Onとのインタフェースを識別す
るためのシステム定義の各パラメータ初期値及びパラメ
ータ設定値を入力してメモリ23に格納し、メモリ23
に格納したシステム定義に基づいて、各入出力機器I/
O1〜I/Onとのデータ授受を行う。
FIG. 2 shows a programmable controller PL.
3 is a block diagram showing the configurations of Ci and a program loader 10. FIG. Programmable controller PLC1 to PLC
m has the same functional configuration, and the programmable controller PLCi will be described here. The programmable controller PLCi includes a processing unit 21 and a diagnosis unit 2
2 and a memory 23. The processing unit 21 includes a program loader 10 and input / output devices I / O1 to I / On.
Initial values of system-defined parameters for exchanging data with each other, executing processing based on the processing program input from the program loader 10, and identifying interfaces with the input / output devices I / O1 to I / On. And parameter setting values are input and stored in the memory 23, and the memory 23
Based on the system definition stored in
Data is exchanged with O1 to I / On.

【0012】診断部22は、システム定義が登録された
とき、プログラマブルコントローラPLCiと接続され
た入出力機器I/O1〜I/Onとの間での接続状態が
正常であるか否かの自己診断を行い診断結果をメモリ2
3に格納し、処理部21は、診断部22での診断の結
果、処理プログラムの実行が可能なとき、所定の処理プ
ログラムを実行し、接続された入出力機器I/O1〜I
/Onとの間でデータの入出力を行う。
When the system definition is registered, the diagnostic section 22 self-diagnoses whether or not the connection state between the programmable controller PLCi and the connected input / output devices I / O1 to I / On is normal. Performs diagnostic results in memory 2
3, the processing unit 21 executes a predetermined processing program when the result of the diagnosis by the diagnosis unit 22 is that the processing program can be executed, and the connected input / output devices I / O1 to I / O1 to I
Data is input to and output from / On.

【0013】一方、プログラムローダ10は、プログラ
マブルコントローラPLCiとのデータの授受を行い、
プログラマブルコントローラPLCiからのシステム定
義をもとに、システム定義を作成するシステム定義作成
処理部11と、メモリ12と、キーボード等の入力部1
3と、CRTディスプレイ等の表示部14とから構成さ
れ、システム定義作成処理部11は、入力部13からの
オペレータのキー操作等に基づいて、プログラマブルコ
ントローラPLCiからシステム定義情報及び診断情報
等の所定の情報を読み出して、メモリ12に格納すると
共に表示部14に表示し、入力部13からのキー操作等
によるシステム定義設定値をもとに、システム定義を作
成する。
On the other hand, the program loader 10 exchanges data with the programmable controller PLCi,
A system definition creation processing unit 11 that creates a system definition based on the system definition from the programmable controller PLCi, a memory 12, and an input unit 1 such as a keyboard.
3 and a display unit 14 such as a CRT display, and the system definition creation processing unit 11 determines a predetermined amount of system definition information and diagnostic information from the programmable controller PLCi based on a key operation of an operator from the input unit 13. Information is read out, stored in the memory 12 and displayed on the display unit 14, and a system definition is created based on the system definition set value by the key operation from the input unit 13.

【0014】次に、上記実施例の動作を、システム定義
作成処理部11の処理手順を示す、図3のフローチャー
トに基づいて説明する。まず、ステップS1において、
入力部13でのオペレータのキー操作等によって、起動
指令を入力した場合には、プログラマブルコントローラ
PLCの処理部21に対して送信要求を行い、メモリ2
3に格納されているシステム定義のパラメータ初期値を
入力し、メモリ12に格納すると共に表示部14に表示
する。
Next, the operation of the above embodiment will be described with reference to the flowchart of FIG. 3, which shows the processing procedure of the system definition creation processing unit 11. First, in step S1,
When a start command is input by an operator's key operation on the input unit 13, a transmission request is sent to the processing unit 21 of the programmable controller PLC, and the memory 2
The system-defined parameter initial values stored in No. 3 are input, stored in the memory 12, and displayed on the display unit 14.

【0015】次いで、ステップS2に移行し、システム
定義読み出し指令を受信したか否かを判定し、システム
定義読み出し指令を受信した場合には、ステップS3に
移行し、システム定義を参照するプログラマブルコント
ローラの、システム定義の各パラメータ設定値の中か
ら、システム定義読み出し指令で指定されたパラメータ
の設定値を読み出し、メモリ12に格納されたパラメー
タ初期値の該当するパラメータ値を更新して格納すると
共に、表示部14に表示されている該当するパラメータ
値を更新して、表示部14に表示する。そして、ステッ
プS4に移行する。
Next, in step S2, it is determined whether a system definition read command has been received. If a system definition read command has been received, step S3 follows and the programmable controller that references the system definition , Reads out the setting value of the parameter specified by the system definition reading command from among the system-defined parameter setting values, updates and stores the corresponding parameter value of the parameter initial value stored in the memory 12, and displays it. The corresponding parameter value displayed on the unit 14 is updated and displayed on the display unit 14. Then, the process proceeds to step S4.

【0016】ステップS2で、システム定義読み出し指
令を受信しない場合には、そのままステップS4に移行
し、ステップS4では、入力部13から診断情報読み出
し指令を入力したか否かを判定し、診断情報読み出し指
令を入力した場合には、ステップS5に移行し、システ
ム定義を参照するプログラマブルコントローラPLCで
保持している診断情報を入力し、表示部14に表示する
と共に、メモリ12に格納する。そして、ステップS6
に移行する。
If the system definition read command is not received in step S2, the process proceeds to step S4 as it is. In step S4, it is determined whether or not the diagnostic information read command is input from the input unit 13 to read the diagnostic information. When a command is input, the process proceeds to step S5, the diagnostic information held by the programmable controller PLC that refers to the system definition is input, displayed on the display unit 14, and stored in the memory 12. Then, step S6
Move to.

【0017】ステップS4で、診断情報読み出し指令を
入力しない場合には、そのまま、ステップS6に移行
し、ステップS6では、オペレータが、プログラマブル
コントローラシステムの設計ドキュメントや、表示部1
4に表示した診断情報等をもとに、入力部13でのキー
操作等によって設定入力したパラメータ設定情報に基づ
き、表示部14に表示されている各パラメータを更新
し、作成システム定義として各パラメータを設定する。
When the diagnostic information read command is not input in step S4, the process proceeds to step S6 as it is, and in step S6, the operator selects the design document of the programmable controller system and the display unit 1.
On the basis of the diagnostic information and the like displayed in 4, the parameters displayed on the display unit 14 are updated based on the parameter setting information that is set and input by the key operation on the input unit 13, and the parameters are set as the creation system definition. To set.

【0018】次いで、ステップS7で、システム定義の
各パラメータの設定を終了するか否かを判定し、設定を
終了しない場合には、ステップS6に戻って、入力部1
3からのパラメータ設定情報に基づいて、各パラメータ
の設定を行い、設定終了の場合にはステップS8に移行
してシステム定義の作成を終了し、作成したシステム定
義をメモリ12に格納した後ステップS9に移行する。
Next, in step S7, it is determined whether or not the setting of each system-defined parameter is to be ended. If the setting is not to be ended, the process returns to step S6 and the input unit 1
Each parameter is set based on the parameter setting information from No. 3, and when the setting is completed, the process proceeds to step S8 to end the system definition creation, store the created system definition in the memory 12, and then step S9. Move to.

【0019】そして、ステップS9で、書き込み指令を
入力したか否かを判定し、書き込み指令が未入力である
場合には、これが入力されるまで待機し、書き込み指令
が入力された場合には、ステップS10に移行して、メ
モリ12に格納した作成システム定義を登録対象のプロ
グラマブルコントローラに書き込み、ステップS11に
移行する。
Then, in step S9, it is determined whether or not a write command has been input. If the write command has not been input, the process waits until it is input, and if the write command has been input, In step S10, the creation system definition stored in the memory 12 is written in the programmable controller to be registered, and the process proceeds to step S11.

【0020】ステップS11では、作成システム定義を
登録したプログラマブルコントローラでの自己診断の結
果、異常が発生したか否かを判定し、異常が発生した場
合には、ステップS6に戻って、作成システム定義の各
パラメータ設定値の設定変更を行い、異常が発生しない
場合には、正常なシステム定義が登録されたものとし
て、システム定義作成処理を終了する。
In step S11, it is determined whether or not an abnormality has occurred as a result of the self-diagnosis by the programmable controller in which the creation system definition is registered. If an abnormality has occurred, the process returns to step S6 to create the creation system definition. When the setting of each parameter setting value is changed and no abnormality occurs, it is determined that a normal system definition has been registered, and the system definition creation processing ends.

【0021】したがって、例えば、図1のプログラマブ
ルコントローラシステムのプログラマブルコントローラ
PLC1に、例えば、図4に示すような機器構成の入出
力機器I/O1〜I/O15が接続されているものと
し、プログラマブルコントローラPLC2にも、同様
に、入出力機器I/O1〜I/O15が接続されている
ものとし、プログラマブルコントローラPLC1のシス
テム定義情報において、入出力機器の“動作環境”のみ
を変更したシステム定義をプログラマブルコントローラ
PLC2に設定したい場合には、まず、プログラムロー
ダ10をプログラマブルコントローラPLC2に接続し
てプログラムローダ10を起動し、プログラマブルコン
トローラPLC2のシステム定義のパラメータ初期値を
読み出す。
Therefore, for example, assuming that the programmable controller PLC1 of the programmable controller system of FIG. 1 is connected with the input / output devices I / O1 to I / O15 having the device configuration as shown in FIG. 4, the programmable controller Similarly, it is assumed that the input / output devices I / O1 to I / O15 are also connected to the PLC2, and in the system definition information of the programmable controller PLC1, the system definition in which only the "operating environment" of the input / output device is changed is programmable. When setting to the controller PLC2, first, the program loader 10 is connected to the programmable controller PLC2 to start the program loader 10, and the system defined parameter initial value of the programmable controller PLC2 is read.

【0022】そして、プログラムローダ10をプログラ
マブルコントローラPLC1に接続し、入力部13での
キーボードのキー操作等を行って、入出力機器の動作環
境以外の機器構成等のパラメータをシステム定義読み出
し指令として指定し、これによって、プログラマブルコ
ントローラPLC1のシステム定義から、指定した機器
構成等のパラメータ設定値を読み出し、メモリ12に格
納する共に、表示部14に表示する。
Then, the program loader 10 is connected to the programmable controller PLC1 and a key operation of a keyboard in the input unit 13 is performed to specify parameters such as a device configuration other than the operating environment of the input / output device as a system definition read command. As a result, the parameter setting values such as the designated device configuration are read from the system definition of the programmable controller PLC1, stored in the memory 12, and displayed on the display unit 14.

【0023】次いで、プログラマブルコントローラPL
C1の診断情報の読み込みを行う診断情報読み込み指令
を入力し、これによって、プログラマブルコントローラ
PLC1に格納されている診断情報を読み出し、メモリ
12に格納すると共に、表示部14に表示する。そし
て、オペレータは、例えば、図5に示すように、表示部
14に表示されたプログラマブルコントローラPLC1
のシステム定義情報報及び診断情報を参照し、変更すべ
き、入出力機器の“動作環境”のパラメータを、設計ド
キュメント等に基づいて、異常の発生している、例え
ば、入出力機器I/O9及びI/O15のパラメータ設
定値の設定及び変更等の処置を行う。
Next, the programmable controller PL
A diagnostic information read command for reading the diagnostic information of C1 is input, whereby the diagnostic information stored in the programmable controller PLC1 is read out, stored in the memory 12, and displayed on the display unit 14. Then, the operator, for example, as shown in FIG. 5, displays the programmable controller PLC1 displayed on the display unit 14.
System definition information and diagnostic information, the parameters of the "operating environment" of the input / output device, which should be changed, are in an abnormal state based on the design document, for example, the input / output device I / O9. Then, the I / O 15 parameter setting values are set and changed.

【0024】これによって、プログラマブルコントロー
ラPLC2へのシステム定義の作成が終了し、プログラ
ムローダ10をプログラマブルコントローラPLC2に
接続し、オペレータが入力部13から書き込み指令を入
力することにより、作成したシステム定義がプログラマ
ブルコントローラPLC2へ送信され、プログラマブル
コントローラPLC2では、処理部21において、入力
したシステム定義をメモリ23に格納すると共に、登録
されたシステム定義をもとに診断部22において自己診
断を行い、異常が発生した場合には、プログラムローダ
10に異常を通知する。プログラムローダ10では、異
常発生の場合には、異常箇所のパラメータの設定変更を
行って再度システム定義をプログラマブルコントローラ
PLC2に登録し直す。
As a result, the creation of the system definition in the programmable controller PLC2 is completed, the program loader 10 is connected to the programmable controller PLC2, and the operator inputs a write command from the input unit 13, whereby the created system definition is programmable. Transmitted to the controller PLC2, in the programmable controller PLC2, the processing unit 21 stores the input system definition in the memory 23, and the diagnostic unit 22 performs self-diagnosis based on the registered system definition, and an abnormality has occurred. In this case, the program loader 10 is notified of the abnormality. When an abnormality occurs, the program loader 10 changes the parameter setting of the abnormal portion and re-registers the system definition in the programmable controller PLC2.

【0025】したがって、上記実施例のように、すで
に、登録されている実働したプログラマブルコントロー
ラのシステム定義情報から、パラメータ設定値の変更を
行わなくてもそのまま適用できるパラメータについて
は、そのパラメータ設定値を読み込み、そのまま、作成
システム定義の対応するパラメータのパラメータ設定値
とし、変更が必要なパラメータのみを入力部13からパ
ラメータ設定情報を入力し、パラメータ設定値として設
定することによってパラメータの設定に要する時間を大
幅に短縮することができ、基本的な設定項目等の入力作
業量軽減を計ることができる。
Therefore, as in the above-mentioned embodiment, for the parameters that can be applied as they are without changing the parameter setting values from the system definition information of the already registered programmable controller, the parameter setting values are changed. The time required for the parameter setting is read by reading the value as it is and setting it as the parameter setting value of the corresponding parameter in the creation system definition, and inputting only the parameter that needs to be changed from the input section 13 as parameter setting information. It can be greatly shortened, and the amount of input work such as basic setting items can be reduced.

【0026】また、指定したプログラマブルコントロー
ラからシステム定義情報を読み出し、それをプログラマ
ブルコントローラのシステム定義情報として置き換える
ので、システム全体を熟知していなくても、正しいシス
テム定義をプログラマブルコントローラに登録すること
ができ、難解な箇所をプログラマブルコントローラから
吸い上げてシステム定義情報の作成に利用するため、作
成作業量の軽減を計ることができる。
Further, since the system definition information is read out from the designated programmable controller and replaced with the system definition information of the programmable controller, the correct system definition can be registered in the programmable controller without being familiar with the entire system. , The difficult part is sucked up from the programmable controller and used for creating the system definition information, so that the amount of creation work can be reduced.

【0027】さらに、プログラマブルコントローラで保
持している診断情報をも読み込んで、表示するようにし
たので、ドキュメント通りにシステム定義情報を登録し
た場合でも、入出力機器に異常があった場合等に、シス
テム定義を作成しながら、入出力機器の異常を認識する
ことができるので、診断情報で異常が発生している場合
には、入力部13での操作によって、異常箇所のパラメ
ータ設定値を変更することによって、異常を早期に解決
することができ、異常発生を防止することができ、作業
効率の向上を計ることができる。
Further, since the diagnostic information stored in the programmable controller is also read and displayed, even when the system definition information is registered according to the document, when the input / output device is abnormal, Since an abnormality of the input / output device can be recognized while creating the system definition, when an abnormality occurs in the diagnostic information, the parameter setting value of the abnormal portion is changed by operating the input unit 13. As a result, the abnormality can be resolved early, the occurrence of the abnormality can be prevented, and the work efficiency can be improved.

【0028】なお、上記実施例においては、システム定
義を登録するプログラマブルコントローラと、システム
定義を参照するプログラマブルコントローラとのそれぞ
れと、プログラムローダとの接続を替えながら、システ
ム定義の作成及び登録を行っているが、例えば、プログ
ラムローダとシステム定義登録対象のプログラマブルコ
ントローラとを接続し、登録対象のプログラマブルコン
トローラとリンク接続されたシステム定義を参照するプ
ログラマブルコントローラのシステム定義を、リンクを
介して登録対象のプログラマブルコントローラから読み
出し、プログラムローダにおいて、システム定義を作成
するようにすることも可能である。
In the above embodiment, the system definition is created and registered while the connection between the programmable controller for registering the system definition and the programmable controller for referring to the system definition and the program loader is changed. However, for example, the system definition of the programmable controller that connects the program loader and the programmable controller of the system definition registration target and references the system definition linked to the programmable controller of the registration target is registered via the link. It is also possible to read from the controller and create the system definition in the program loader.

【0029】[0029]

【発明の効果】以上説明したように、本発明に関わるシ
ステム定義作成装置によれば、定義情報読み出し手段に
よって、プログラマブルコントローラに登録されている
実際のシステム定義情報を読み出し、同様に、診断情報
処理手段によってプログラマブルコントローラが保持し
ている診断情報を読み出し、定義情報読み出し手段で読
み出したシステム定義情報と、設計ドキュメント及び表
示部に表示した診断情報とをもとに設定した入力部から
の設定情報とをもとにシステム定義を作成し、書き込み
指令に基づき、該当するプログラマブルコントローラに
作成したシステム定義を格納することによって、システ
ム定義作成に要する時間を短縮することができ、容易に
システム定義の作成を行うことができる。
As described above, according to the system definition creating apparatus of the present invention, the definition information reading means reads the actual system definition information registered in the programmable controller, and similarly, the diagnostic information processing is performed. The diagnostic information held by the programmable controller by means, and the setting information from the input unit set based on the system definition information read by the definition information reading unit and the design document and the diagnostic information displayed on the display unit. By creating the system definition based on the above, and storing the created system definition in the applicable programmable controller based on the write command, the time required to create the system definition can be shortened and the system definition can be created easily. It can be carried out.

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

【図1】本発明によるシステム定義作成装置を適用した
プログラマブルコントローラシステムの一実施例を示す
概略構成図である。
FIG. 1 is a schematic configuration diagram showing an embodiment of a programmable controller system to which a system definition creating device according to the present invention is applied.

【図2】プログラムローダ及びプログラマブルコントロ
ーラの構成を示すブロック図である。
FIG. 2 is a block diagram showing configurations of a program loader and a programmable controller.

【図3】定義作成部の処理手順を示すフローチャートで
ある。
FIG. 3 is a flowchart showing a processing procedure of a definition creating unit.

【図4】本発明の動作説明に供する説明図である。FIG. 4 is an explanatory diagram for explaining the operation of the present invention.

【図5】診断情報の表示例である。FIG. 5 is a display example of diagnostic information.

【図6】従来のシステム定義作成装置の処理手順を示す
フローチャートである。
FIG. 6 is a flowchart showing a processing procedure of a conventional system definition creating device.

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

10 プログラムローダ 11 システム定義作成処理部 12 メモリ 13 入力部 14 表示部 21 処理部 22 診断部 23 メモリ 10 program loader 11 system definition creation processing unit 12 memory 13 input unit 14 display unit 21 processing unit 22 diagnostic unit 23 memory

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 プログラマブルコントローラと周辺装置
とで構築されるシステムの構成情報及び動作環境等のシ
ステム定義情報を作成しプログラマブルコントローラに
登録するシステム定義作成装置において、実働したプロ
グラマブルコントローラに登録されている実際のシステ
ム定義情報を読み出す定義情報読み出し手段と、前記実
働したプログラマブルコントローラで保持している診断
情報を読み出す診断情報読み出し手段と、前記実際のシ
ステム定義情報及び診断情報を表示部に表示しながら当
該システム定義情報と入力部からの設定情報とをもとに
新たなシステム定義を作成する定義作成手段とを備える
ことを特徴とするシステム定義作成装置。
1. In a system definition creating apparatus for creating system definition information such as system configuration information and operating environment constructed by a programmable controller and peripheral devices and registering the system definition information in the programmable controller, the system definition creating apparatus is registered in an operating programmable controller. Definition information reading means for reading the actual system definition information, diagnostic information reading means for reading the diagnostic information held by the operating programmable controller, and displaying the actual system definition information and the diagnostic information on the display unit. A system definition creating apparatus comprising: a definition creating unit that creates a new system definition based on the system definition information and the setting information from the input unit.
JP22239293A 1993-09-07 1993-09-07 System definition generating device Pending JPH0777930A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22239293A JPH0777930A (en) 1993-09-07 1993-09-07 System definition generating device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22239293A JPH0777930A (en) 1993-09-07 1993-09-07 System definition generating device

Publications (1)

Publication Number Publication Date
JPH0777930A true JPH0777930A (en) 1995-03-20

Family

ID=16781653

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22239293A Pending JPH0777930A (en) 1993-09-07 1993-09-07 System definition generating device

Country Status (1)

Country Link
JP (1) JPH0777930A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5253684B1 (en) * 2012-04-06 2013-07-31 三菱電機株式会社 PLC system design equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5253684B1 (en) * 2012-04-06 2013-07-31 三菱電機株式会社 PLC system design equipment
WO2013150654A1 (en) * 2012-04-06 2013-10-10 三菱電機株式会社 Plc system design device

Similar Documents

Publication Publication Date Title
US5177420A (en) Method of and apparatus for generating control program
US5644487A (en) Monitoring and control system and method
JP2002268707A (en) Controller and tool, and system constituted of the same
JPS60262204A (en) Programmable controller
US7386359B2 (en) Device and method for testing machine tools and production machines
JP2017142767A (en) Controller system and variable coordination support device
JPH103307A (en) Numerical controller
WO1990000764A1 (en) Interactive numerical controller
JP4102137B2 (en) Control program creation support system and support method thereof
US6711448B2 (en) Setting display apparatus for a programmable controller
JP5566473B2 (en) System design equipment
JPH0777930A (en) System definition generating device
JP2003131709A (en) Control display system, control program and recording medium storing the program
JPH10301763A (en) Program preparation supporting device for digital controller
JP2000163259A (en) Simulator and control logic construction tool
JPH03223901A (en) Semiconductor manufacturing equipment
JP3512685B2 (en) SCREEN DATA CREATION METHOD, SCREEN DATA CREATION DEVICE, AND RECORDING MEDIUM CONTAINING THE PROGRAM
JP3999477B2 (en) Control program creation system, apparatus, method, recording medium, and program
JP2533373B2 (en) Control program creation method
WO2020189142A1 (en) Control system, control method, and control program
JP3497423B2 (en) Display device for control, control system, and recording medium on which program is recorded
JP2533374B2 (en) Control program creation method
US20070157149A1 (en) Design configuration method for an automation system
JPH07253806A (en) Scheduler definition generation device
JP2533372B2 (en) Control program creation method