JP3491781B2 - How to create a scale conversion program in tabular format - Google Patents

How to create a scale conversion program in tabular format

Info

Publication number
JP3491781B2
JP3491781B2 JP02761195A JP2761195A JP3491781B2 JP 3491781 B2 JP3491781 B2 JP 3491781B2 JP 02761195 A JP02761195 A JP 02761195A JP 2761195 A JP2761195 A JP 2761195A JP 3491781 B2 JP3491781 B2 JP 3491781B2
Authority
JP
Japan
Prior art keywords
unit
variable
conversion
column
symbol
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
Application number
JP02761195A
Other languages
Japanese (ja)
Other versions
JPH08202416A (en
Inventor
純久 本田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yaskawa Electric Corp
Original Assignee
Yaskawa Electric 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 Yaskawa Electric Corp filed Critical Yaskawa Electric Corp
Priority to JP02761195A priority Critical patent/JP3491781B2/en
Publication of JPH08202416A publication Critical patent/JPH08202416A/en
Application granted granted Critical
Publication of JP3491781B2 publication Critical patent/JP3491781B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、プログラマブルコント
ローラおけるデータのスケール変換に関し、特にアナ
ログデータまたはカウンタデータ等の入力変数または出
力変数をスケール変換するプログラムの作成方法に関す
る。
The present invention relates to relates to scaling of data definitive to the programmable controller, and more particularly to creating a program for scaling an input or output variable, such as analog data or counter data.

【0002】[0002]

【従来の技術】従来、システムコントローラの入力変数
または出力変数スケール変換用プログラムを作成する場
合、スケール変換の設定画面は図3に示すようになって
いた。図は入力変数の例であるが、出力変数のスケール
変換についても同様にプログラムされるので、図示は省
略している。図において、IW0100は入力変数のア
ドレスすなわち番号、×1000÷1024はスケール
変換指定、→MW02000はスケール変換結果をアド
レスMW02000に格納する指示を表している。
2. Description of the Related Art Conventionally, when a program for input variable or output variable scale conversion of a system controller is created, a scale conversion setting screen is as shown in FIG. Although the figure is an example of the input variable, the scale conversion of the output variable is programmed in the same manner, so that the illustration is omitted. In the figure, IW0100 represents the address of the input variable, that is, the number, × 1000 ÷ 1024 represents the scale conversion designation, and → MW02000 represents an instruction to store the scale conversion result in the address MW02000.

【0003】[0003]

【発明が解決しようとする課題】このように従来技術で
は、入力変数に対応した名称、シンボル、単位や名称が
なく、変数の番号だけを手掛かりにしてスケール変換用
プログラムを作成する方法をとっていた。ところが、従
来技術では、入力変数に対応した名称、スケール変換前
の変数のシンボルや単位、スケール変換後の変数のシン
ボルや単位がないので、入出力スケール変換用プログラ
ムを記述するためには、入出力仕様が記載された文書、
たとえば操作説明書をたびたび参照しなければならず、
スケール変換用プログラムの作成が容易でなかった。ま
た、そのプログラムを保守する場合にも、プログラミン
グ装置の画面上で変数の名称や単位を見ることができな
いため効率的でなかった。そこで本発明は、入力変数お
よび出力変数のスケール変換用プログラムを容易に作成
する方法を提供する。
As described above, in the conventional technique, there is no name, symbol, unit or name corresponding to the input variable, and a method for creating a scale conversion program is created by using only the variable number as a clue. It was However, in the conventional technology, there is no name corresponding to the input variable, the symbol or unit of the variable before scale conversion, and the symbol or unit of the variable after scale conversion. A document that describes the output specifications,
For example, I often have to refer to the operating instructions,
It was not easy to create a scale conversion program. Further, even when the program is maintained, it is not efficient because the name and unit of the variable cannot be seen on the screen of the programming device. Therefore, the present invention provides a method for easily creating a scale conversion program for input variables and output variables.

【0004】[0004]

【課題を解決するための手段】上記問題を解決するた
め、第1の発明は、データを演算処理プログラムに変換
するコンパイラを備え、プラント用システムコントロー
ラに外部から取り込まれた複数の入力変数をスケール変
換する入力変数スケール変換用プログラムの作成方法に
おいて、コントローラのプログラミング装置の画面に表
示されたデータが表形式であり、前記表形式のデータと
して、番号欄に変換前の番号を入力すると予め登録され
ている情報によりシンボル欄と単位欄と名称欄にそれぞ
れ変換前の変数のシンボルと変換前の変数の単位と変換
前の変数の名称を自動的に表示し、第2の番号欄に変換
後の番号を入力すると予め登録されている情報により第
2のシンボル欄と第2の単位欄にそれぞれ変換後の変数
のシンボルと変換後の変数の単位を自動的に表示し、ス
ケール変換指定欄に返還前の単位を変換後の単位となる
ようにスケール変換するプログラムを入力し、こうして
作られた前記表形式のデータを前記コンパイラにより機
械語に変換するようにしたのである。また、第2の発明
は、データを演算処理プログラムに変換するコンパイラ
を備え、プラント用システムコントローラの内部から制
御データを外部へ出力する出力変数スケール変換用プロ
グラムの作成方法において、コントローラのプログラミ
ング装置の画面に表示されたデータが表形式であり、前
記表形式のデータとして、番号欄に変換前の番号を入力
すると予め登録されている情報によりシンボル欄と単位
欄と名称欄にそれぞれ変換前の変数のシンボルと変換前
の変数の単位と変換前の変数の名称を自動的に表示し、
第2の番号欄に変換後の番号を入力すると予め登録され
ている情報により第2のシンボル欄と第2の単位欄にそ
れぞれ変換後の変数のシンボルと変換後の変数の単位を
自動的に表示し、スケール変換指定欄に返還前の単位を
変換後の単位となるようにスケール変換するプログラム
を入力し、こうして作られた前記表形式のデータを前記
コンパイラにより機械語に変換するようにしたものであ
る。
In order to solve the above problems, the first invention is to convert data into an arithmetic processing program.
Equipped with a compiler that scales multiple input variables externally imported to the plant system controller.
In the method of creating the program for converting the input variable scale to be converted, the data displayed on the screen of the programming device of the controller is in a table format , and as the data in the table format, it is registered in advance when the number before conversion is input in the number column.
The symbol column, the unit column, and the
Symbol of variable before conversion and unit and conversion of variable before conversion
Automatically display the name of the previous variable and convert it to the second number field
If you enter the subsequent number, the
Variables after conversion into the 2 symbol column and the 2nd unit column respectively
The symbol and the unit of the converted variable are automatically displayed and
The unit before conversion will be the unit after conversion in the kale conversion specification field
Enter the program to convert the scale so that
The created tabular data can be processed by the compiler.
I converted it into a machine language. The second invention
Is a compiler that converts data into arithmetic programs
Control from inside the plant system controller.
Output variable scale conversion professional that outputs the data to the outside
The programming method of the controller
The data displayed on the screen of the
Enter the pre-conversion number in the number field as table format data
Then, according to the information registered in advance, the symbol column and unit
In the column and name column, the symbol of the variable before conversion and before conversion
The unit of the variable of and the name of the variable before conversion are automatically displayed,
If you enter the converted number in the second number field, it will be registered in advance.
The second symbol column and the second unit column are
The symbol of the converted variable and the unit of the converted variable are
It is automatically displayed and the unit before return is displayed in the scale conversion specification column.
A program to convert the scale so that it becomes the converted unit.
And enter the tabular data created in this way
It is designed to be converted into a machine language by a compiler .

【0005】[0005]

【作用】上記手段により、入出力変数の名称、変換前の
変数のシンボルや単位、変換後の変数のシンボルや単位
が明確になるので、プログラミング装置の画面上で入出
力スケール変換のプログラムを作成することが容易にな
る。また、変数の持つ重みが明確になるので、プログラ
ムの保守も効率的に行うことができる。
By the above means, the name of the input / output variable, the symbol and unit of the variable before conversion, and the symbol and unit of the variable after conversion can be clarified, so a program for input / output scale conversion can be created on the screen of the programming device. Easy to do. In addition, since the weight of the variable becomes clear, the program can be efficiently maintained.

【0006】[0006]

【実施例】以下、本発明の実施例を図に基づいて説明す
る。図1は、プログラミング装置の画面に表示されたス
ケール変換指定画面の例である。図において、1は入出
力変数の名称、2は変換前の変数の番号欄、3は変換
前の変数のシンボル、4は変換前の変数の単位、5
はスケール変換指定、6は変換後の変数の番号、7
は変換後の変数のシンボル、8は変換後の変数の単位
を表す。図2はオペレータがスケール変換指定を行う
ときの手順を表すフローチャートである。変数が図1の
入側ライン速度実績の場合について、図1、図2を参照
しながらこの手順を説明する。まず、2の番号欄に変換
前の番号「IW0100」を入力する。このデータが入
力されると、コントローラのデータとして予め登録され
ている情報により、3のシンボル欄、4の単位欄、1の
名称欄それぞれに自動的に「E−L−SP」「100m
/min/1024」「入側ライン速度実績」が表示さ
れる。シンボル、単位及び名称は必要に応じて修正する
こともできる。次に,6の番号欄に変換後の番号「MW
02000」を入力する。このデータが入力されると、
コントローラのデータとして予め登録されている情報に
より、7のシンボル欄、8の単位欄それぞれに自動的に
「E−SPEED」「0.1m/min」が表示され
る。シンボル及び単位は必要に応じて修正することもで
きる。次に,8のスケール変換指定欄に、変換前の単位
を変換後の単位となるようにスケール変換するプログラ
ム、図では「×1000÷1024」を入力する。同様
にして、他の行すなわち「中央張力検出」「巻取長カウ
ンタ」等についても図2の手順で入力する。このように
して作成された表データは、コントローラのプログラミ
ング装置のコンパイラにより、コントローラの機械言語
に変換される。実施例は入力変数のスケール変換につい
て述べたが、出力変数のスケール変換についても同様で
あるので説明は省略した。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is an example of a scale conversion designation screen displayed on the screen of the programming device. In the figure, 1 is a name column of input / output variables, 2 is a number column of variables before conversion , 3 is a symbol column of variables before conversion, 4 is a unit column of variables before conversion, 5
Is a scale conversion designation field , 6 is a variable number field after conversion, and 7
Is the symbol column of the variable after conversion, 8 is the unit of the variable after conversion
Represents a column . FIG. 2 is a flow chart showing the procedure when the operator specifies the scale conversion. This procedure will be described with reference to FIGS. 1 and 2 in the case where the variable is the actual incoming line speed in FIG. First, the number “IW0100” before conversion is input in the number field of 2. When this data is entered, "ELSP" and "100 m" are automatically added to the 3 symbol columns, 4 unit columns, and 1 name column according to the information registered in advance as controller data.
"/ Min / 1024""entrance line speed record" is displayed. The symbols, units and names can be modified as needed. Next, the converted number "MW
Enter "02000". Once this data is entered,
"E-SPEED" and "0.1 m / min" are automatically displayed in each of the symbol column 7 and the unit column 8 by the information registered in advance as the data of the controller. The symbols and units can be modified as needed. Next, in the scale conversion designation field of 8, enter a program for scale conversion so that the unit before conversion becomes the unit after conversion, “× 1000 ÷ 1024” in the figure. Similarly, other lines, that is, "central tension detection", "winding length counter", etc. are input in the procedure of FIG. The table data created in this way is converted into the machine language of the controller by the compiler of the programming device of the controller. Although the embodiment has been described with respect to the scale conversion of the input variable, the same applies to the scale conversion of the output variable, and thus the description thereof is omitted.

【0007】[0007]

【発明の効果】以上述べたように、本発明によれば、プ
ログラミング装置の画面に表示された表形式のプログラ
ム仕様に入力するデータが直感的で分かり易いので、入
力変数または出力変数スケール変換用プログラムの作成
が容易になり、保守が効率的に行えるという効果があ
る。
As described above, according to the present invention, the data to be input to the tabular program specifications displayed on the screen of the programming device is intuitive and easy to understand. This has the effect of facilitating program maintenance and efficient maintenance.

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

【図1】スケール変換指定画面[Figure 1] Scale conversion specification screen

【図2】スケール変換指定の手順を表すフローチャートFIG. 2 is a flowchart showing a procedure for specifying scale conversion.

【図3】従来のスケール変換プログラム画面[Figure 3] Conventional scale conversion program screen

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

1 変数の名称欄、 2 変換前変数の番号
欄、 3 変換前変数のシンボル欄、 4 変換前変数の単位
欄、 5 スケール変換指定欄、 6 変換後変数の番号
欄、 7 変換後変数のシンボル欄、 8 変換後変数の単位欄
1 variable name column, 2 pre-conversion variable number column, 3 pre-conversion variable symbol column, 4 pre-conversion variable unit column, 5 scale conversion specification column, 6 post-conversion variable number column, 7 post-conversion variable symbol Column, 8 Unit column for converted variables

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G05B 19/05 ─────────────────────────────────────────────────── ─── Continuation of the front page (58) Fields surveyed (Int.Cl. 7 , DB name) G05B 19/05

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】データを演算処理プログラムに変換するコ
ンパイラを備え、プラント用システムコントローラに外
部から取り込まれた複数の入力変数をスケール変換する
入力変数スケール変換用プログラムの作成方法におい
て、 コントローラのプログラミング装置の画面に表示された
データが表形式であり、 前記表形式のデータとして、番号欄に変換前の番号を入力すると予め登録されている
情報によりシンボル欄と単位欄と名称欄にそれぞれ変換
前の変数のシンボルと変換前の変数の単位と変換前の変
数の名称を自動的に表示し、 第2の番号欄に変換後の番号を入力すると予め登録され
ている情報により第2のシンボル欄と第2の単位欄にそ
れぞれ変換後の変数のシンボルと変換後の変数の単位を
自動的に表示し、 スケール変換指定欄に返還前の単位を変換後の単位とな
るようにスケール変換するプログラムを入力し、 こうして作られた前記表形式のデータを前記コンパイラ
により機械語に変換する ことを特徴とする表形式による
スケール変換用プログラムの作成方法。
1. A method for converting data into an arithmetic processing program
In the method of creating a program for input variable scale conversion , which is provided with a compiler and scale-converts a plurality of input variables externally taken into the system controller for plant.
The data is in tabular form , and as the data in the tabular form, it is already registered when the number before conversion is entered in the number field.
Converted to symbol column, unit column and name column respectively according to information
The symbol of the previous variable and the unit of the variable before conversion and the
The name of the number is automatically displayed, and the converted number is entered in the second number field to register in advance.
The second symbol column and the second unit column are
The symbol of the converted variable and the unit of the converted variable are
It is automatically displayed, and the unit before return is set as the unit after conversion in the scale conversion specification field.
Input a program to convert the scale so that the tabular data created in this way
A method for creating a scale conversion program in a table format, which is characterized by converting to a machine language by.
【請求項2】データを演算処理プログラムに変換するコ
ンパイラを備え、プラント用システムコントローラの内
部から制御データを外部へ出力する出力変数スケール変
換用プログラムの作成方法において、 コントローラのプログラミング装置の画面に表示された
データが表形式であり、 前記表形式のデータとして、番号欄に変換前の番号を入力すると予め登録されている
情報によりシンボル欄と単位欄と名称欄にそれぞれ変換
前の変数のシンボルと変換前の変数の単位と変換前の変
数の名称を自動的に表示し、 第2の番号欄に変換後の番号を入力すると予め登録され
ている情報により第2のシンボル欄と第2の単位欄にそ
れぞれ変換後の変数のシンボルと変換後の変数の単位を
自動的に表示し、 スケール変換指定欄に返還前の単位を変換後の単位とな
るようにスケール変換するプログラムを入力し、 こうして作られた前記表形式のデータを前記コンパイラ
により機械語に変換する ことを特徴とする表形式による
スケール変換用プログラムの作成方法。
2. A method for converting data into an arithmetic processing program
In the method for creating the output variable scale conversion program that outputs control data from the inside of the plant system controller to the outside, it is displayed on the screen of the controller programming device.
The data is in tabular form , and as the data in the tabular form, it is already registered when the number before conversion is entered in the number field.
Converted to symbol column, unit column and name column respectively according to information
The symbol of the previous variable and the unit of the variable before conversion and the
The name of the number is automatically displayed, and the converted number is entered in the second number field to register in advance.
The second symbol column and the second unit column are
The symbol of the converted variable and the unit of the converted variable are
It is automatically displayed, and the unit before return is set as the unit after conversion in the scale conversion specification field.
Input a program to convert the scale so that the tabular data created in this way
A method for creating a scale conversion program in a table format, which is characterized by converting to a machine language by.
JP02761195A 1995-01-23 1995-01-23 How to create a scale conversion program in tabular format Expired - Fee Related JP3491781B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP02761195A JP3491781B2 (en) 1995-01-23 1995-01-23 How to create a scale conversion program in tabular format

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP02761195A JP3491781B2 (en) 1995-01-23 1995-01-23 How to create a scale conversion program in tabular format

Publications (2)

Publication Number Publication Date
JPH08202416A JPH08202416A (en) 1996-08-09
JP3491781B2 true JP3491781B2 (en) 2004-01-26

Family

ID=12225737

Family Applications (1)

Application Number Title Priority Date Filing Date
JP02761195A Expired - Fee Related JP3491781B2 (en) 1995-01-23 1995-01-23 How to create a scale conversion program in tabular format

Country Status (1)

Country Link
JP (1) JP3491781B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19733001A1 (en) * 1997-07-31 1999-02-04 Volkswagen Ag Process for recording, evaluating and displaying measured values
US7054694B2 (en) * 2001-05-30 2006-05-30 Yokogawa Electric Corporation Process control system
JP6969318B2 (en) * 2017-11-24 2021-11-24 オムロン株式会社 Conversion information acquisition device, program development support device, conversion information acquisition method and conversion information acquisition program

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
早坂 弘和、他2名,ビル管理データ作成システム,FUJITSU,日本,富士通株式会社,1993年 3月10日,第44巻,第2号,p.113−118

Also Published As

Publication number Publication date
JPH08202416A (en) 1996-08-09

Similar Documents

Publication Publication Date Title
JP2938374B2 (en) Sequence sequence program creation device and control device
JP3491781B2 (en) How to create a scale conversion program in tabular format
JPS63118928A (en) Crt displaying and slip print outputting system
US20030030674A1 (en) User interface for data acquisition
JPH08194510A (en) Programming device
JPS6293745A (en) Table information correcting system at the time of table format data is inputted
JP2003262696A (en) Engineering tool for nuclear power plant
JPH04353933A (en) Program execution control language conversation device
JPH0334100B2 (en)
JPS6385818A (en) Program data area forming system
JPH04130533A (en) Method for preparing flowchart
JPS62135958A (en) Simulation system
JPH04220721A (en) Prograom specification generation device
JPS62206644A (en) Display system for assembler code
JPH03171302A (en) Store method for display of program comment
JPH04178722A (en) Screen transition display device
JPH04267482A (en) System for editing flow chart
JPH02236722A (en) System for controlling common use of input/output picture format
JPS63219075A (en) Processing system for parts list automatic preparation
JPS6141011B2 (en)
JPH1124908A (en) Automatic software generating device
JPH0352019A (en) Data nonediting display system
JPH03116223A (en) Screen control system for input of variable length data
JPH04216101A (en) User program compiler for programmable controller
JPH03208122A (en) Setting method for screen item attribute

Legal Events

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

Free format text: PAYMENT UNTIL: 20071114

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20081114

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20081114

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20091114

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20101114

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20101114

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20111114

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20111114

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20121114

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees