JPH08147007A - Method for data transmission between controller and programmable display device - Google Patents

Method for data transmission between controller and programmable display device

Info

Publication number
JPH08147007A
JPH08147007A JP28574594A JP28574594A JPH08147007A JP H08147007 A JPH08147007 A JP H08147007A JP 28574594 A JP28574594 A JP 28574594A JP 28574594 A JP28574594 A JP 28574594A JP H08147007 A JPH08147007 A JP H08147007A
Authority
JP
Japan
Prior art keywords
controller
display device
data
programmable display
block
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
JP28574594A
Other languages
Japanese (ja)
Inventor
Akihiro Suzuki
章洋 鈴木
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 JP28574594A priority Critical patent/JPH08147007A/en
Publication of JPH08147007A publication Critical patent/JPH08147007A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To prevent a display cycle from being delayed by putting plural data groups together in blocks, giving numbers to them, block by block, and registering them in controllers, and instructing a controller to transmit the block data given a specified number to a programmable display device from the controller. CONSTITUTION: Plural data groups which are referred to when the programmable display device 2 is placed in operation are put together in blocks, which are each given a number and registered in a controller 1. Further, the number given to a block to be referred to is specified to the controller 1. The controller 1 sends the data of the block given the specified number to the programmable display device 2 through a transmission line 3. Consequently, unnecessary processes can be omitted and the display cycle is never delayed.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はプログラマブルコントロ
ーラ、ロボットコントローラあるいは数値制御用コント
ローラとプログラマブル表示装置との間のデータ伝送方
法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data transmission method between a programmable controller, a robot controller or a controller for numerical control and a programmable display device.

【0002】[0002]

【従来の技術】従来、この種のデータ伝送方法は、一例
を示せば、図6に示すようなプログラマブルコントロー
ラ1とプログラマブル表示装置(以下表示装置と称す
る)2が伝送路3によって結合されたシステムにおい
て、表示装置2より図7(a)に示すフォーマットのコ
マンドをコントローラ1に送って参照したいデータを要
求し、図7(b)に示すフォーマットのレスポンスによ
り、コントローラ1より要求されたデータを伝送路3を
介して表示装置2に伝送していた。ここで、プログラマ
ブル表示装置では、ユーザプログラムが内蔵され、これ
によって表示の制御がなされる。
2. Description of the Related Art Conventionally, this type of data transmission method is, for example, a system in which a programmable controller 1 and a programmable display device (hereinafter referred to as a display device) 2 as shown in FIG. 7, the display device 2 sends a command of the format shown in FIG. 7A to the controller 1 to request the data to be referred to, and the response of the format shown in FIG. 7B transmits the data requested by the controller 1. It was transmitted to the display device 2 via the path 3. Here, in the programmable display device, a user program is built in, and the display is controlled by this.

【0003】[0003]

【発明が解決しようとする課題】上述した従来のコント
ローラとプログラマブル表示装置との間のデータ伝送方
法は、どのようなコントローラにも容易にアクセス可能
なので汎用的であるが、不連続なレジスタデータが欲し
い場合には2回もしくはそれ以上の回数に分けてコント
ローラに対して要求しなければならず、例えば、不連続
のレジスタデータ3個とI/Oデータ1個を表示装置に
表示させたい場合、レジスタデータを要求するコマンド
3回とI/Oデータを要求するコマンド1回の合計4回
のコマンドを送る必要があり、1画面を構成するデータ
を受取るのに数10回のやりとりが必要となる場合もあ
るので、無駄が多いとともに表示サイクルが遅くなると
いう欠点がある。
The above-described conventional data transmission method between the controller and the programmable display device is versatile because any controller can be easily accessed. If desired, the controller must be requested twice or more times. For example, when three discontinuous register data and one I / O data are to be displayed on the display device, It is necessary to send a total of four commands, three commands requesting register data and one command requesting I / O data, and dozens of exchanges are required to receive the data making up one screen. In some cases, there is a disadvantage that there is much waste and the display cycle becomes slow.

【0004】本発明の目的はプログラマブル表示装置に
コントローラのデータを受けて表示するにさいし、処理
が多いことにより表示サイクルが遅くなることのないコ
ントローラとプログラマブル表示装置との間のデータ伝
送方法を提供することである。
An object of the present invention is to provide a data transmission method between a controller and a programmable display device, which does not delay the display cycle due to a large amount of processing when receiving and displaying the data of the controller on the programmable display device. It is to be.

【0005】[0005]

【課題を解決するための手段】本発明のコントローラと
プログラマブル表示装置との間のデータ伝送方法は、プ
ログラマブル表示装置を操作する使用者が参照しようと
する複数のデータ群をブロックにまとめ、各ブロックご
とに番号を付与してコントローラに登録する手順と、前
記プログラマブル表示装置から、参照しようとするブロ
ックに付与された番号を前記コントローラに指定する手
順と、前記指定された番号が付与されているブロックの
データを前記コントローラより前記プログラマブル表示
装置に伝送する手順とを有する。前記コントローラはプ
ログラマブルコントローラであるものを含む。
SUMMARY OF THE INVENTION A data transmission method between a controller and a programmable display device according to the present invention includes a plurality of data groups to be referred to by a user operating the programmable display device, which are grouped into blocks. A step of assigning a number to each controller and registering it in the controller, a step of assigning a number assigned to the block to be referred to from the programmable display device to the controller, and a block to which the assigned number is assigned Data from the controller to the programmable display device. The controller includes one that is a programmable controller.

【0006】前記コントローラはロボットコントローラ
であるものを含む。前記コントローラは数値制御用コン
トローラであるものを含む。
The controller includes one which is a robot controller. The controller includes a controller for numerical control.

【0007】[0007]

【作用】ブロックに付与された番号を指定すれば、当該
ブロック中に登録されている複数のデータ群のデータが
伝送されるので、複数の不連続のレジスタデータや多数
のI/Oデータを表示しようとする場合でも、コマンド
とデータ伝送を数多く繰り返す必要がなく、無駄な処理
が省けるとともに表示サイクルを遅延させることがな
い。
When a number assigned to a block is designated, data of a plurality of data groups registered in the block is transmitted, so that a plurality of discontinuous register data and a large number of I / O data are displayed. Even when trying to do so, it is not necessary to repeat many commands and data transmissions, wasteful processing can be omitted, and the display cycle is not delayed.

【0008】[0008]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。図1は本発明のコントローラとプログラマ
ブル表示装置(以下表示装置と称する)との間のデータ
伝送方法の一実施例の手順を示す流れ図、図2は図1の
データ伝送方法においてコントローラに蓄積されるデー
タ群を示す図、図3は図2のデータ群をブロックにまと
めた一例を示す図、図4は図3のブロック#1を要求す
るコマンドのフォーマット図、図5は図4のコマンドに
対応して伝送されるレスポンスのフォーマット図であ
る。このコントローラとプログラマブル表示装置との間
のデータ伝送方法は、図6のシステムにおいて、次のよ
うに行われる。
Embodiments of the present invention will now be described with reference to the drawings. 1 is a flow chart showing a procedure of an embodiment of a data transmission method between a controller of the present invention and a programmable display device (hereinafter referred to as a display device), and FIG. 2 is stored in the controller in the data transmission method of FIG. FIG. 3 is a diagram showing a data group, FIG. 3 is a diagram showing an example in which the data group of FIG. 2 is grouped into blocks, FIG. 4 is a format diagram of a command requesting block # 1 of FIG. 3, and FIG. 5 corresponds to the command of FIG. It is a format diagram of the response transmitted by. The data transmission method between the controller and the programmable display device is performed as follows in the system of FIG.

【0009】ここで、コントローラ1は電源投入時に、
後に述べる登録されたデータがあるかどうかを認識する
ものとし、図2に示されたデータ群が蓄積されている。
また、表示装置2にはコントローラ1に登録されたデー
タがあるという前提でユーザプログラムが組まれている
ものとする。このデータ伝送方法の手順は、図1に示す
ように、まず、表示装置2の使用者は、コントローラ1
に蓄積されている図2に示すデータ群21、データ群2
2、・・・・・、データ群2Nの中から、参照したいデ
ータ群をブロックにまとめ、各ブロックに番号を付して
コントローラ1に登録する(ステップ11)。この場
合、図3に示すようにデータ群21と22をまとめてブ
ロックとし、ブロック番号を#1としている。図3のフ
ォーマットにおいて、データ群数31は2個であり、デ
ータ群32および33はデータ群21および22の具体
例を示している。
Here, when the controller 1 is turned on,
Assuming that there is registered data described later, the data group shown in FIG. 2 is stored.
Further, it is assumed that the display device 2 has a user program built therein on the assumption that there is data registered in the controller 1. The procedure of this data transmission method is as shown in FIG.
Data group 21 and data group 2 shown in FIG.
The data groups to be referred to are grouped into blocks from the data group 2N, and the blocks are numbered and registered in the controller 1 (step 11). In this case, as shown in FIG. 3, the data groups 21 and 22 are combined into a block, and the block number is # 1. In the format of FIG. 3, the number of data groups 31 is 2, and the data groups 32 and 33 show specific examples of the data groups 21 and 22.

【0010】次に、表示装置2の使用者は参照しようと
するブロックに付与された番号#1を指定した図4に示
すようなコマンドによって表示装置2よりコントローラ
1に通知する(ステップ12)。ここでコマンド中のブ
ロック番号41は#1となっている。コントローラ1は
図4のコマンドを受けると、コマンドが指示している#
1の番号が付されたブロック、すなわちデータ群32お
よび33のデータ51および52を図5に示すレスポン
スによって伝送路3上を表示装置2に伝送する(ステッ
プ13)。以上述べたステップ12、13の処理を必要
回数繰返えす。このデータ伝送方法では参照したいデー
タ群をまとめたブロックに付された番号を指定するだけ
で所望のデータが表示装置に伝送されるので、コントロ
ーラへの要求コマンドとデータ伝送の回数が、例えば1
回というように少ない回数ですむ。
Next, the user of the display device 2 notifies the controller 1 from the display device 2 by a command as shown in FIG. 4 designating the number # 1 assigned to the block to be referred to (step 12). Here, the block number 41 in the command is # 1. When the controller 1 receives the command of FIG. 4, the command indicates #
The blocks numbered 1, that is, the data 51 and 52 of the data groups 32 and 33 are transmitted to the display device 2 on the transmission line 3 by the response shown in FIG. 5 (step 13). The processes of steps 12 and 13 described above are repeated a necessary number of times. In this data transmission method, desired data is transmitted to the display device only by designating the number attached to the block in which the data group to be referred to is collected. Therefore, the request command to the controller and the number of times of data transmission are, for example, 1
As few times as possible.

【0011】本実施例のコントローラと表示装置との間
のデータ伝送方法では、表示装置への表示のためにコマ
ンドと伝送に必要以上の処理を行う無駄が省けるととも
に、表示サイクルを遅延させることがない。本実施例で
コントローラはプログラマブルコントローラであった
が、ロボットコントローラであってもよく、また数値制
御用コントローラであってもよい。
In the data transmission method between the controller and the display device according to the present embodiment, it is possible to eliminate the waste of performing unnecessary processing for the command and transmission for displaying on the display device and delay the display cycle. Absent. Although the controller is a programmable controller in this embodiment, it may be a robot controller or a numerical controller.

【0012】[0012]

【発明の効果】以上説明したように本発明は、複数のデ
ータ群をブロックにまとめてコントローラに登録するこ
とにより、登録されたブロックの番号を指定すれば参照
したいデータが最低1回のコマンド発行で得られ、プロ
グラマブル表示装置にコントローラに蓄積されているデ
ータによる画面を表示するさいに、コマンドとデータ伝
送に数多くの回数を必要とする無駄がないとともに表示
の遅延を生ずることなく、表示速度が改善されるという
効果がある。
As described above, according to the present invention, by grouping a plurality of data groups into blocks and registering them in the controller, if the registered block number is designated, the data to be referenced is issued at least once. When displaying a screen based on the data stored in the controller on the programmable display device, the number of times required for command and data transmission is not wasted and there is no delay in the display, and the display speed is high. It has the effect of being improved.

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

【図1】本発明のコントローラと表示装置の間のデータ
伝送方法の一実施例の手順を示す流れ図である。
FIG. 1 is a flowchart showing a procedure of an embodiment of a data transmission method between a controller and a display device of the present invention.

【図2】図1のデータ伝送方法においてコントローラに
蓄積されるデータ群を示す図である。
FIG. 2 is a diagram showing a data group accumulated in a controller in the data transmission method of FIG.

【図3】図2のデータ群をブロックにまとめた一例を示
す図である。
FIG. 3 is a diagram showing an example in which the data group of FIG. 2 is collected in blocks.

【図4】図3のブロック#1を要求するコマンドのフォ
ーマット図である。
FIG. 4 is a format diagram of a command requesting block # 1 in FIG.

【図5】図4のコマンドに対応して伝送されるレスポン
スのフォーマット図である。
5 is a format diagram of a response transmitted corresponding to the command of FIG.

【図6】コントローラを表示装置が伝送路によって結合
されたシステムの概要図である。
FIG. 6 is a schematic diagram of a system in which a controller and a display device are coupled by a transmission path.

【図7】(a)は図6のシステムで使用されるコマンド
の従来例のフォーマット図である。(b)は(a)のコ
マンドに対応して使用されるレスポンスのフォーマット
図である。
7 (a) is a format diagram of a conventional example of a command used in the system of FIG. (B) is a format diagram of a response used corresponding to the command of (a).

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

1 コントローラ 2 表示装置 3 伝送路 11,12,13 ステップ 21,22,・・・,2N,32,33 データ群 31 データ群数 41 ブロック番号 51,52 データ 1 Controller 2 Display Device 3 Transmission Line 11, 12, 13 Steps 21, 22, ..., 2N, 32, 33 Data Group 31 Number of Data Group 41 Block Number 51, 52 Data

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 プログラマブル表示装置に表示しようと
するデータをコントローラに要求し、前記コントローラ
より前記要求されたデータを前記プログラマブル装置に
伝送するデータ伝送方法において、 プログラマブル表示装置を操作する使用者が参照しよう
とする複数のデータ群をブロックにまとめ、各ブロック
ごとに番号を付与してコントローラに登録する手順と、 前記プログラマブル表示装置から、参照しようとするブ
ロックに付与された番号を前記コントローラに指定する
手順と、 前記指定された番号が付与されているブロックのデータ
を前記コントローラより前記プログラマブル表示装置に
伝送する手順とを有することを特徴とするコントローラ
とプログラマブル表示装置との間のデータ伝送方法。
1. A data transmission method for requesting data to be displayed on a programmable display device from a controller and transmitting the requested data from the controller to the programmable device, wherein a user operating the programmable display device refers to the data. A plurality of data groups to be collected are grouped into blocks, a number is assigned to each block and registered in the controller, and the programmable display device specifies the number assigned to the block to be referred to the controller. A method of transmitting data between a controller and a programmable display device, comprising: a procedure; and a step of transmitting data of the block to which the designated number is given from the controller to the programmable display device.
【請求項2】 前記コントローラがプログラマブルコン
トローラである請求項1記載のコントローラとプログラ
マブル表示装置との間のデータ伝送方法。
2. The data transmission method between a controller and a programmable display device according to claim 1, wherein the controller is a programmable controller.
【請求項3】 前記コントローラがロボットコントロー
ラである請求項1記載のコントローラとプログラマブル
表示装置との間のデータ伝送方法。
3. The data transmission method between a controller and a programmable display device according to claim 1, wherein the controller is a robot controller.
【請求項4】 前記コントローラが数値制御用コントロ
ーラである請求項1記載のコントローラとプログラマブ
ル表示装置との間のデータ伝送方法。
4. The data transmission method between a controller and a programmable display device according to claim 1, wherein the controller is a numerical controller.
JP28574594A 1994-11-21 1994-11-21 Method for data transmission between controller and programmable display device Pending JPH08147007A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28574594A JPH08147007A (en) 1994-11-21 1994-11-21 Method for data transmission between controller and programmable display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28574594A JPH08147007A (en) 1994-11-21 1994-11-21 Method for data transmission between controller and programmable display device

Publications (1)

Publication Number Publication Date
JPH08147007A true JPH08147007A (en) 1996-06-07

Family

ID=17695507

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28574594A Pending JPH08147007A (en) 1994-11-21 1994-11-21 Method for data transmission between controller and programmable display device

Country Status (1)

Country Link
JP (1) JPH08147007A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020149632A (en) * 2019-03-15 2020-09-17 オムロン株式会社 Control system, relay device, and relay program
JP2020149459A (en) * 2019-03-14 2020-09-17 オムロン株式会社 Control system, support device, and support program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020149459A (en) * 2019-03-14 2020-09-17 オムロン株式会社 Control system, support device, and support program
WO2020184185A1 (en) * 2019-03-14 2020-09-17 オムロン株式会社 Control system, support device, and support program
JP2020149632A (en) * 2019-03-15 2020-09-17 オムロン株式会社 Control system, relay device, and relay program
WO2020189206A1 (en) * 2019-03-15 2020-09-24 オムロン株式会社 Control system, relay device, and relay program

Similar Documents

Publication Publication Date Title
JPH08147007A (en) Method for data transmission between controller and programmable display device
JP2001313659A (en) Field device communication apparatus in distributed control system
JPH11202932A (en) Plant information collecting and display device
JP2001325010A (en) Programmable controller system
JP2715849B2 (en) Communication device for display device
JPH04317101A (en) Input/output control system of numerical controller
KR100584583B1 (en) Apparatus and method controlling a serial bus
JPS62239203A (en) Program i/o device for programmable controller
JPH0540515A (en) Numerical control system
JPH07210214A (en) Control system and processing method for data
JP2003139376A (en) Control device for air conditioner
JP2000172327A (en) Plant monitor device
JPH07236016A (en) Panel switch control method for facsimile equipment
JP2965012B2 (en) Power control device
JPH0373036B2 (en)
JPH05224583A (en) Plant simulation device
JPH0282342A (en) Data communication equipment
JPH0356983A (en) Plant simulation device and simulation code generating device used for the same
JPH04171525A (en) Screen controller
JPS6261141A (en) Data transfer system
JPH06332866A (en) Inter-program communication system
JPH052443A (en) Simultaneous output controller for character
JP2004147261A (en) Communication system
JPH0265354A (en) Maintenance terminal control system for exchange
JPH01154215A (en) Data access system