JPH10105211A - Method for processing data received by programmable display device with control function according to kind of the same data - Google Patents

Method for processing data received by programmable display device with control function according to kind of the same data

Info

Publication number
JPH10105211A
JPH10105211A JP8259082A JP25908296A JPH10105211A JP H10105211 A JPH10105211 A JP H10105211A JP 8259082 A JP8259082 A JP 8259082A JP 25908296 A JP25908296 A JP 25908296A JP H10105211 A JPH10105211 A JP H10105211A
Authority
JP
Japan
Prior art keywords
control
display
display device
communication data
data
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
JP8259082A
Other languages
Japanese (ja)
Inventor
Hiroshi Umebayashi
浩 梅林
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.)
DIGITAL KK
Original Assignee
DIGITAL KK
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 DIGITAL KK filed Critical DIGITAL KK
Priority to JP8259082A priority Critical patent/JPH10105211A/en
Publication of JPH10105211A publication Critical patent/JPH10105211A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Programmable Controllers (AREA)

Abstract

PROBLEM TO BE SOLVED: To decide the kind of communication data without changing communication protocol. SOLUTION: The programmable display device 1 is connected to an external controlled system and controls it to display the state of the controlled system. A procedure which processes communication data received from a support device 7 which supports a display function or control function decides whether the communication data are for display or control first according to a connection check command received from the support device 7 and processes the received communication data according to the decided kind.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、外部の制御対象に
接続され、それを制御する機能を有するプログラマブル
表示装置において、表示機能または制御機能を支援する
サポート装置から受信される通信データが、表示用又は
制御用の何れの種類の通信データであるかを判別し、判
明した種類に基づいて、受信される通信データの処理を
行なう方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a programmable display device which is connected to an external control object and has a function of controlling the same, wherein communication data received from a support device supporting the display function or the control function is displayed. The present invention relates to a method of determining which type of communication data is used for communication or control, and processing received communication data based on the determined type.

【0002】[0002]

【従来の技術】従来より、図4に示すように、制御対象
(9)に接続して、それの動作状態を画面に表示すると共
に制御対象を制御するためのシステムが使用されてい
る。該システムは、表示機能を具えたプログラマブル表
示装置(10)と、制御機能を具えたプログラマブル制御装
置(11)とを具え、両装置(10)(11)を通信ケーブル(82)に
よって互いに接続している。プログラマブル表示装置(1
0)は、CRT、LCD等から構成される表示デバイス(2
0)と、該表示デバイス(20)の画面に貼り付けた透明のタ
ッチパネル等から構成される操作デバイス(21)と、マイ
クロコンピュータ等から構成される制御回路(40)と、表
示制御用のメモリ(50)を具える。また、プログラマブル
表示装置(10)は、外部と通信するための通信用I/F
(インターフェース)(60)(62)を具える。一方の通信用
I/F(60)は、ケーブル(80)を介して表示用サポート装
置(70)に接続される。表示用サポート装置(70)は、表示
デバイス(20)に表示するべき画像データを作成し、画像
データを表示制御用メモリ(50)との間で送受信し、或い
は、プログラマブル表示装置(10)における各種システム
プログラムを表示制御用メモリ(50)に送信する。表示用
サポート装置(70)及びプログラマブル表示装置(10)間の
各種データ又はプログラムの送受信は、所定の通信プロ
トコルに基づいて行なわれる。
2. Description of the Related Art Conventionally, as shown in FIG.
A system is connected to (9) for displaying the operating state of the system on a screen and controlling a control target. The system includes a programmable display device (10) having a display function and a programmable control device (11) having a control function, and the two devices (10) and (11) are connected to each other by a communication cable (82). ing. Programmable display device (1
0) is a display device (2
0), an operation device (21) composed of a transparent touch panel or the like pasted on the screen of the display device (20), a control circuit (40) composed of a microcomputer or the like, and a display control memory. (50). Further, the programmable display device (10) has a communication I / F for communicating with the outside.
(Interface) (60) (62) is provided. One communication I / F (60) is connected to a display support device (70) via a cable (80). The display support device (70) creates image data to be displayed on the display device (20), transmits and receives the image data to and from the display control memory (50), or in the programmable display device (10). Various system programs are transmitted to the display control memory (50). Transmission and reception of various data or programs between the display support device (70) and the programmable display device (10) are performed based on a predetermined communication protocol.

【0003】一方、プログラマブル制御装置(11)は、一
般にシーケンサ或いはPLC(プログラマブルロジック
コントローラ)と呼ばれ、マイクロコンピュータ等から
構成される制御回路(41)と、I/O(入出力)制御用の
メモリ(51)と、制御対象(9)に接続されるI/Oユニッ
ト(3)とを具える。また、プログラマブル制御装置(11)
は、外部と通信するための通信用I/F(61)(62)を具え
る。一方の通信用I/F(61)は、ケーブル(81)を介して
制御用サポート装置(71)に接続される。制御用サポート
装置(71)は、制御機能を動作させるための制御用プログ
ラムを作成し、制御用プログラムをI/O制御用メモリ
(51)との間で送受信し、プログラマブル制御装置(11)に
おける各種システムプログラムをI/O制御用メモリ(5
1)に送信し、或いは、制御用プログラムのモニタやデバ
ッグを行なう。制御用サポート装置(71)及びプログラマ
ブル制御装置(11)間の各種プログラム等の送受信は、所
定の通信プロトコルに基づいて行なわれる。なお、以下
では、送受信される各種のデータ、プログラム等を通信
データと呼ぶ。プログラマブル表示装置(10)の通信用I
/F(62)と、プログラマブル制御装置(11)の通信用I/
F(62)を、ケーブル(82)にて接続することにより、プロ
グラマブル表示装置(10)とプログラマブル制御装置(11)
が互いに接続される。
On the other hand, a programmable controller (11) is generally called a sequencer or a PLC (programmable logic controller), and includes a control circuit (41) composed of a microcomputer or the like and an I / O (input / output) control. It comprises a memory (51) and an I / O unit (3) connected to the control target (9). Also, the programmable controller (11)
Includes communication I / Fs (61) and (62) for communicating with the outside. One communication I / F (61) is connected to a control support device (71) via a cable (81). The control support device (71) creates a control program for operating the control function, and stores the control program in an I / O control memory.
(51), various system programs in the programmable controller (11) are stored in the I / O control memory (5).
1) or monitor or debug the control program. Transmission and reception of various programs and the like between the control support device (71) and the programmable control device (11) are performed based on a predetermined communication protocol. In the following, various data and programs transmitted and received are referred to as communication data. Communication I for programmable display device (10)
/ F (62) and the communication I / O of the programmable controller (11).
By connecting the F (62) with the cable (82), the programmable display device (10) and the programmable control device (11)
Are connected to each other.

【0004】上記プログラマブル表示装置(10)は、操作
デバイス(21)が操作されることにより、入力データを作
成し、該入力データをプログラマブル制御装置(11)に送
信する。プログラマブル制御装置(11)は、受信した入力
データに基づいて制御プログラムを実行し、制御対象
(9)の動作を制御する。従って、操作デバイス(21)の操
作によって、制御対象(9)の動作が変更されることにな
る。また、プログラマブル制御装置(11)は、制御対象
(9)の状態を示す信号を制御対象(9)から受信し、状態
データを作成してプログラマブル表示装置(10)に送信す
る。プログラマブル表示装置(10)は、伝送された状態デ
ータに基づいて表示デバイス(20)に表示する。従って、
制御対象(9)の動作状態が表示デバイス(20)に表示され
ることになる。
The programmable display device (10) generates input data by operating the operation device (21), and transmits the input data to the programmable control device (11). The programmable controller (11) executes a control program based on the received input data, and
The operation of (9) is controlled. Accordingly, the operation of the control target (9) is changed by the operation of the operation device (21). In addition, the programmable controller (11)
A signal indicating the state of (9) is received from the control target (9), and state data is created and transmitted to the programmable display device (10). The programmable display device (10) displays on the display device (20) based on the transmitted status data. Therefore,
The operation state of the control target (9) is displayed on the display device (20).

【0005】[0005]

【発明が解決しようとする課題】本願出願人は、装置全
体の小型化とデータ処理の高速化のため、図1のよう
な、プログラマブル表示装置にプログラマブル制御装置
の制御機能を具えたプログラマブル表示装置(1)を開発
した。それに伴い、メンテナンスを容易にし、且つ部品
点数を減らすために、表示用サポート装置又は制御用サ
ポート装置と送受信するための通信用I/F及びケーブ
ルコネクタを夫々1つにして、該通信用I/F(6)、該
ケーブルコネクタ(83)及びケーブル(8)を、表示用サポ
ート装置との送受信及び制御用サポート装置との送受信
の間で共用することが要求されている。しかしながら、
従来のプログラマブル表示装置(10)用に送受信される通
信データとプログラマブル制御装置(11)用に送受信され
る通信データは、データの内容、メモリへの格納場所等
が異なる。そこで、該プログラマブル表示装置(1)は、
受信した通信データが表示用又は制御用の何れであるか
を判別して、それに対応した処理を行なう必要がある。
また、従来のプログラマブル表示装置(10)との互換性を
保つために、従来のプログラマブル表示装置(10)にて用
いた通信プロトコルの仕様を変えないことも要求されて
いる。
SUMMARY OF THE INVENTION In order to reduce the size of the entire apparatus and to speed up data processing, the applicant of the present application has proposed a programmable display apparatus having a programmable control device as shown in FIG. (1) was developed. Along with this, in order to facilitate maintenance and reduce the number of parts, the communication I / F and the cable connector for transmitting and receiving with the display support device or the control support device are each one, and the communication I / F is provided. It is required that the F (6), the cable connector (83) and the cable (8) be shared between transmission / reception with the display support device and transmission / reception with the control support device. However,
The communication data transmitted / received for the conventional programmable display device (10) and the communication data transmitted / received for the programmable control device (11) have different data contents, storage locations in a memory, and the like. Therefore, the programmable display device (1)
It is necessary to determine whether the received communication data is for display or control, and to perform a process corresponding to the determination.
In addition, in order to maintain compatibility with the conventional programmable display device (10), it is also required that the specification of the communication protocol used in the conventional programmable display device (10) is not changed.

【0006】[0006]

【発明の目的】本願発明者は、上記課題を解決するため
に、伝送制御手順の初期段階に行なう回線の接続チェッ
クに注目して、以下の解決方法を考え出した。通信を行
なう際には、まず、回線の接続チェックを行なって、正
常に接続していることを確認する。このときに使用され
る接続チェックコマンドを、表示用と制御用で変えてや
れば、通信データが表示用又は制御用の何れであるかを
判別できる。本発明は、制御機能を有するプログラマブ
ル表示装置において、従来の通信プロトコルを変更する
ことなく、表示用または制御用のサポート装置から受信
されるデータの種類を判別して、判明した種類に基づい
て、受信される通信データの処理を行なう方法を提供す
ることを目的とする。
DISCLOSURE OF THE INVENTION In order to solve the above-mentioned problems, the present inventor has focused on a line connection check performed at an initial stage of a transmission control procedure and has devised the following solution. When performing communication, first, the connection of the line is checked to confirm that the connection is normal. If the connection check command used at this time is changed for display and control, it can be determined whether the communication data is for display or control. The present invention, in a programmable display device having a control function, without changing the conventional communication protocol, by determining the type of data received from the display or control support device, based on the determined type, It is an object to provide a method for processing received communication data.

【0007】[0007]

【課題を解決する為の方法】本発明は、サポート装置か
ら受信した接続チェックコマンドによって、表示用及び
制御用の何れの種類の通信データであるかを判別し、判
明した種類に基づいて、受信される通信データの処理を
行なう。
According to the present invention, a connection check command received from a support device determines which type of communication data is for display or control, and based on the determined type, the received data is received. Processing of communication data to be performed.

【0008】[0008]

【作用及び効果】上記の方法によると、サポート装置か
ら受信した接続チェックコマンドにより、通信プロトコ
ルの仕様を変えることなく通信データの種類を判別で
き、以後に受信される通信データは、判明した種類に基
づいて適切に処理されることができる。また、通信用I
/F、ケーブルコネクタ及びケーブルがそれぞれ1つだ
けで、表示用及び制御用の2種類の通信データを送受信
できるから、従来よりも、メンテナンスが容易であり、
且つ部品点数を減らすことができる。
According to the above-mentioned method, the type of communication data can be determined without changing the specification of the communication protocol by the connection check command received from the support device, and the communication data received thereafter becomes the determined type. It can be appropriately processed based on the information. The communication I
/ F, only one cable connector and one cable, and two types of communication data for display and control can be transmitted and received, so maintenance is easier than before,
In addition, the number of parts can be reduced.

【0009】[0009]

【発明の実施の形態】以下、本発明の実施形態につい
て、図面に沿って詳述する。本発明は、図1及び図2の
ような、制御機能を有するプログラマブル表示装置(1)
にて使用される。該プログラマブル表示装置(1)は、装
置本体(2)にI/Oユニット(3)を接続し、該I/Oユ
ニット(3)を介して制御対象(9)に接続される。装置本
体(2)は、LCDから構成される表示デバイス(20)と、
該表示デバイス(20)の画面に貼り付けた透明のタッチパ
ネルから構成される操作デバイス(21)と、表示デバイス
(20)及び操作デバイス(21)に接続され、マイクロコンピ
ュータから構成される制御回路(4)と、制御回路(4)に
接続される表示制御用メモリ(50)及びI/O制御用メモ
リ(51)と、制御回路(4)に接続され、外部と通信するた
めの通信用I/F(6)と、通信用I/F(6)に接続され
るケーブルコネクタ(83)とを具える。制御回路(4)は、
I/Oユニット(3)に接続される。ケーブルコネクタ(8
3)は、ケーブル(8)を介して、パーソナルコンピュータ
によって構成されるサポート装置(7)に接続される。
Embodiments of the present invention will be described below in detail with reference to the drawings. The present invention relates to a programmable display device (1) having a control function as shown in FIGS.
Used in The programmable display device (1) has an I / O unit (3) connected to the device main body (2), and is connected to a control target (9) via the I / O unit (3). The apparatus main body (2) includes a display device (20) composed of an LCD,
An operation device (21) composed of a transparent touch panel attached to the screen of the display device (20), and a display device
(20) and an operation device (21), a control circuit (4) composed of a microcomputer, a display control memory (50) and an I / O control memory (50) connected to the control circuit (4). 51), a communication I / F (6) connected to the control circuit (4) for communicating with the outside, and a cable connector (83) connected to the communication I / F (6). . The control circuit (4)
Connected to I / O unit (3). Cable connector (8
3) is connected to a support device (7) constituted by a personal computer via a cable (8).

【0010】サポート装置(7)は、従来の表示用サポー
ト装置(70)及び制御用サポート装置(71)の両方のサポー
ト機能を有する。即ち、サポート装置(7)は、表示用サ
ポート機能として、表示デバイス(20)に表示するべき画
像データ等の表示用データを作成し、表示用データを表
示制御用メモリ(50)との間で送受信することや、プログ
ラマブル表示装置(1)における表示用システムプログラ
ムを表示制御用メモリ(50)に送信することを行なう。更
に、サポート装置(7)は、制御用サポート機能として、
制御機能を動作させるための制御用プログラムを作成
し、制御用プログラムをI/O制御用メモリ(51)との間
で送受信することや、プログラマブル表示装置(1)に制
御機能を追加するための制御用システムプログラムをI
/O制御用メモリ(51)に送信することや、制御用プログ
ラム及び制御用システムプログラムのモニタやデバッグ
を行なう。
The support device (7) has a function of supporting both the conventional display support device (70) and the control support device (71). That is, the support device (7) creates display data such as image data to be displayed on the display device (20) as a display support function, and exchanges the display data with the display control memory (50). It performs transmission and reception, and transmits a display system program in the programmable display device (1) to the display control memory (50). Further, the support device (7) has a control support function,
It creates a control program for operating the control function, transmits and receives the control program to and from the I / O control memory (51), and adds a control function to the programmable display device (1). Control system program I
It transmits to the / O control memory (51) and monitors and debugs the control program and the control system program.

【0011】上記プログラマブル表示装置(1)は、ま
ず、サポート装置(7)から受信した表示用システムプロ
グラム及び表示用データを、表示制御用メモリ(50)に格
納し、サポート装置(7)から受信した制御用システムプ
ログラム及び制御用プログラムを、I/O制御用メモリ
(51)に格納する。そして、制御回路(4)は、操作デバイ
ス(21)の操作に基づいて制御用プログラムが実行され、
I/Oユニット(3)を介して制御対象(9)の動作が制御
される。また、制御回路(4)は、制御対象(9)の状態を
示す信号を制御対象(9)からI/Oユニット(3)を介し
て受信し、該状態信号に基づき、表示制御用メモリ(50)
から必要な表示用データを読み出して表示デバイス(20)
に表示する。
The programmable display device (1) first stores the display system program and display data received from the support device (7) in the display control memory (50), and receives the display system program and display data from the support device (7). The control system program and the control program obtained from the I / O control memory
Store it in (51). Then, the control circuit (4) executes the control program based on the operation of the operation device (21),
The operation of the control target (9) is controlled via the I / O unit (3). Further, the control circuit (4) receives a signal indicating the state of the control target (9) from the control target (9) via the I / O unit (3), and based on the state signal, controls the display control memory ( 50)
Read necessary display data from the display device (20)
To be displayed.

【0012】プログラマブル表示装置(1)とサポート装
置(7)の間で送受信される通信データは、表示用と制御
用の2種類の通信データであり、夫々の種類によって、
データの内容、メモリへの格納場所等が異なる。そこ
で、接続チェックコマンドを利用して、通信データの種
類を判別し、それに対応した処理を行なう。接続チェッ
クコマンドとは、実際のデータが送受信される前に、正
常に接続されているか否かを調べるために、サポート装
置(7)からプログラマブル表示装置(1)に送信するコマ
ンドをいう。接続チェックコマンドは、数バイトのデー
タであり、その値は、通信プロトコルによって異なる。
プログラマブル表示装置(1)は、サポート装置(7)から
接続チェックコマンドを受信すると、正常か異常かの応
答をサポート装置(7)に送信する。本実施形態では、従
来のプログラマブル表示装置(10)との互換性を保つた
め、サポート装置(7)及びプログラマブル表示装置(1)
間で通信データを送受信するための通信プロトコルとし
て、従来のプログラマブル表示装置(10)(図4)の通信
プロトコルが利用される。また、従来のプログラマブル
表示装置(10)では、設定モードと実行モードの2種類が
あり、表示用の通信データを送受信する際には、設定モ
ードに移行し、プログラマブル表示装置(10)を実行する
際には、実行モードに移行していた。本実施形態におけ
るプログラマブル表示装置(1)においても、表示用の通
信データを送受信する際には、設定モードに移行する。
一方、制御用の通信データを送受信する際には、プログ
ラマブル表示装置(1)を実行状態にしてモニタ及びデバ
ッグを行なうことがあるので、実行モードで行なう。
Communication data transmitted and received between the programmable display device (1) and the support device (7) are two types of communication data for display and control.
Data contents, storage locations in memory, etc. are different. Therefore, the type of communication data is determined using the connection check command, and processing corresponding to the type is performed. The connection check command is a command transmitted from the support device (7) to the programmable display device (1) in order to check whether or not the connection is normal before actual data is transmitted / received. The connection check command is several bytes of data, and its value differs depending on the communication protocol.
Upon receiving the connection check command from the support device (7), the programmable display device (1) sends a response indicating normal or abnormal to the support device (7). In the present embodiment, in order to maintain compatibility with the conventional programmable display device (10), the support device (7) and the programmable display device (1)
As a communication protocol for transmitting and receiving communication data between them, a communication protocol of a conventional programmable display device (10) (FIG. 4) is used. Further, in the conventional programmable display device (10), there are two types of a setting mode and an execution mode. When transmitting and receiving communication data for display, the mode is shifted to the setting mode and the programmable display device (10) is executed. At that time, it was shifted to the execution mode. Also in the programmable display device (1) in the present embodiment, when transmitting and receiving communication data for display, the mode is shifted to the setting mode.
On the other hand, when transmitting and receiving control communication data, monitoring and debugging may be performed with the programmable display device (1) in the execution state.

【0013】図3は、本実施形態におけるプログラマブ
ル表示装置(1)にて送受信されるデータの通信プロトコ
ルを判別する手順を示している。プログラマブル表示装
置(1)における表示処理、制御処理等の各処理は、マル
チプログラミングによって実行され、この判別する手順
のプログラムも、マルチプログラミングの中の1つとし
て実行される。即ち、この判別する手順は、プログラマ
ブル表示装置(1)が動作中には常に動作し、データの受
信を待機している(S1)。このとき、データの受信が
あれば、現在のモードを調べ(S2)、設定モードでな
いならば、受信した通信データに接続チェックコマンド
が含まれているかを調べ(S3)、含まれていないなら
ば、この通信データは、制御用の通信データであると分
かるから、受信される通信データに対して制御用の処理
を実行する(S4)。一方、S3において、接続チェッ
クコマンドが含まれているならば、この通信データは、
表示用の通信データであると分かるから、モードを実行
モードから設定モードに変更し(S5)、受信される通
信データに対して表示用の処理を実行する(S6)。ま
た、S2において、設定モードであれば、表示用の通信
データを送受信していることが分かる。このとき、受信
した通信データにリセットコマンドが含まれているかを
調べ(S7)、含まれていないならば、受信される通信
データに対して表示用の処理を実行し(S6)、含まれ
ておれば、モードを設定モードから実行モードに変更す
る(S8)。制御用の処理の実行(S4)、表示用の処
理の実行(S6)又は実行モードへの変更(S8)を行
なった後、再びS1に戻って、データの受信を待機する
(S1)。
FIG. 3 shows a procedure for determining a communication protocol of data transmitted and received by the programmable display device (1) in the present embodiment. Each processing such as display processing and control processing in the programmable display device (1) is executed by multi-programming, and a program of a procedure for this determination is also executed as one of the multi-programming. That is, the procedure for this determination always operates while the programmable display device (1) is operating, and waits for data reception (S1). At this time, if data has been received, the current mode is checked (S2). If it is not the setting mode, it is checked whether a connection check command is included in the received communication data (S3). Since this communication data is known to be control communication data, the control processing is performed on the received communication data (S4). On the other hand, if the connection check command is included in S3, this communication data
Since it is determined that the communication data is display communication data, the mode is changed from the execution mode to the setting mode (S5), and display processing is performed on the received communication data (S6). Further, in the setting mode in S2, it can be understood that the communication data for display is transmitted and received. At this time, it is checked whether the reset command is included in the received communication data (S7). If the reset command is not included, a process for displaying is performed on the received communication data (S6). If so, the mode is changed from the setting mode to the execution mode (S8). After execution of the control process (S4), execution of the display process (S6), or change to the execution mode (S8), the process returns to S1 and waits for data reception (S1).

【0014】このとき、プログラマブル表示装置(1)が
受信する通信データが、表示用の通信データであるなら
ば、プログラマブル表示装置(1)は、まず始めに、接続
チェックコマンドを含む通信データを受信して、設定モ
ードに移行し、サポート装置(7)に応答する。その後、
プログラマブル表示装置(1)は、受信する通信データを
表示用に解読し、該解読に基づいて、サポート装置(7)
との間で表示用データを送受信すること、表示用システ
ムプログラムを表示制御用メモリ(50)に格納すること等
の処理を実行する。一連の処理が終了すれば、サポート
装置(7)からリセットコマンドを含む通信データが送信
され、プログラマブル表示装置(1)は、実行モードに移
って、実行動作が行なわれる。
At this time, if the communication data received by the programmable display device (1) is display communication data, the programmable display device (1) first receives communication data including a connection check command. Then, the mode is shifted to the setting mode and a response is made to the support device (7). afterwards,
The programmable display device (1) decodes the received communication data for display, and based on the decoding, the support device (7)
And processing for transmitting and receiving display data to and from the display control memory (50). When a series of processes is completed, communication data including a reset command is transmitted from the support device (7), and the programmable display device (1) shifts to an execution mode and performs an execution operation.

【0015】また、プログラマブル表示装置(1)が受信
する通信データが、制御用の通信データであるならば、
始めに送信される通信データには、接続チェックコマン
ドを含まないから、プログラマブル表示装置(1)は、実
行モードのままで、受信した通信データを制御用に解読
する。該解読に基づいて、サポート装置(7)との間で制
御用プログラムを送受信すること、制御用システムプロ
グラムをI/O制御用メモリ(51)に格納すること、制御
用プログラム及び制御用システムプログラムのモニタや
デバッグを実行すること、等の処理を実行する。
If the communication data received by the programmable display device (1) is communication data for control,
Since the communication data transmitted first does not include the connection check command, the programmable display device (1) decodes the received communication data for control in the execution mode. Transmitting and receiving a control program with the support device (7) based on the decryption, storing the control system program in the I / O control memory (51), a control program and a control system program , Monitor, debug, etc.

【0016】上記の手順に従うことにより、サポート装
置(7)から受信した接続チェックコマンドにより、通信
プロトコルの仕様を変えることなく通信データの種類を
判別でき、以後に受信される通信データは、判明した種
類に基づいて適切に処理されることができる。また、通
信用I/F、ケーブルコネクタ及びケーブルがそれぞれ
1つだけで、表示用及び制御用の2種類の通信データを
送受信できるから、従来よりも、メンテナンスが容易で
あり、且つ部品点数を減らすことができる。また、本実
施形態では、表示用の通信データを送受信する際には、
設定モードに移行するため、プログラマブル表示装置
(1)が設定モードであれば、通信データの種類を判別す
るためのステップ(S3)を経ることなく表示用の処理
を実行できる。
By following the above procedure, the type of communication data can be determined by the connection check command received from the support device (7) without changing the specification of the communication protocol, and the communication data received thereafter is determined. It can be appropriately processed based on the type. Further, since only one communication I / F, one cable connector, and one cable can be used to transmit and receive two types of communication data for display and control, maintenance is easier and the number of parts is reduced as compared with the related art. be able to. In this embodiment, when transmitting and receiving communication data for display,
Programmable display device to move to setting mode
If (1) is the setting mode, display processing can be executed without going through step (S3) for determining the type of communication data.

【0017】上記実施形態の説明は、本発明を説明する
ためのものであって、特許請求の範囲に記載の発明を限
定し、或は範囲を減縮する様に解すべきではない。又、
本発明の各部構成は上記実施形態に限らず、特許請求の
範囲に記載の技術的範囲内で種々の変形が可能であるこ
とは勿論である。例えば、本実施形態では、サポート装
置(7)は、表示用サポート機能と制御用サポート機能の
両方を有していたが、これを従来のように、表示用サポ
ート装置(70)と制御用サポート装置(71)に分けて、夫々
交換して使用することもできる。また、図1では、表示
制御用メモリ(50)とI/O制御用メモリ(51)が分れて記
載されているが、これを1つのメモリ内の別々の記憶領
域に割当てることもできる。この場合でも、表示用と制
御用によってデータの格納位置が異なることには、変わ
りがない。
The description of the above embodiments is for the purpose of explaining the present invention, and should not be construed as limiting the invention described in the claims or reducing the scope thereof. or,
The configuration of each part of the present invention is not limited to the above-described embodiment, and it is needless to say that various modifications can be made within the technical scope described in the claims. For example, in the present embodiment, the support device (7) has both the display support function and the control support function. It can also be used separately after being divided into devices (71). Further, in FIG. 1, the display control memory (50) and the I / O control memory (51) are described separately, but they can be allocated to different storage areas in one memory. Even in this case, there is no difference that the data storage positions are different for display and control.

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

【図1】本発明が使用される制御機能を有するプログラ
マブル表示装置と、その周辺装置を示すブロック図であ
る。
FIG. 1 is a block diagram showing a programmable display device having a control function in which the present invention is used and peripheral devices thereof.

【図2】本発明が使用される制御機能を有するプログラ
マブル表示装置と、サポート装置と、両者を接続するケ
ーブルとを示す斜視図である。
FIG. 2 is a perspective view showing a programmable display device having a control function in which the present invention is used, a support device, and a cable connecting the both.

【図3】本実施形態におけるプログラマブル表示装置に
て受信されるデータの種類に基づいて、該通信データの
処理を実行する手順を示すフローチャートである。
FIG. 3 is a flowchart illustrating a procedure for executing processing of the communication data based on a type of data received by the programmable display device according to the embodiment.

【図4】従来のプログラマブル表示装置及びプログラマ
ブル制御装置を示すブロック図である。
FIG. 4 is a block diagram showing a conventional programmable display device and a conventional programmable control device.

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

(1) 制御機能を有するプログラマブル表示装置 (4) 制御回路 (6) 通信用I/F (7) サポート装置 (8) ケーブル (50) 表示制御用メモリ (51) I/O制御用メモリ (1) Programmable display device having control function (4) Control circuit (6) Communication I / F (7) Support device (8) Cable (50) Display control memory (51) I / O control memory

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 制御対象(9)の状態を表示する表示デバ
イス(20)と、制御対象(9)に対する指令を入力する操作
デバイス(21)と、該操作デバイス(21)からの入力に基づ
いて制御プログラムを実行して制御対象(9)の動作を制
御し、且つ、制御対象(9)からの状態信号を受信して該
状態信号に基づいて表示デバイス(20)に表示させる制御
回路(4)と、表示機能または制御機能を支援するサポー
ト装置(7)にケーブル(8)を介して接続される通信用イ
ンターフェース(6)と、表示用データ及び表示用システ
ムプログラムを格納する表示制御用メモリ(50)と、制御
用プログラム及び制御用システムプログラムを格納する
入出力制御用メモリ(51)とを具える、制御機能を有する
プログラマブル表示装置(1)に於て、 サポート装置(7)から受信した接続チェックコマンドに
よって、表示用又は制御用の何れの種類の通信データで
あるかを判別し、判明した種類に基づいて、受信される
通信データの処理を行なう工程を含む、受信されるデー
タの種類に基づいて該データの処理を実行する方法。
1. A display device (20) for displaying a state of a control target (9), an operation device (21) for inputting a command to the control target (9), and a display device based on an input from the operation device (21). A control circuit for controlling the operation of the control target (9) by executing a control program, and receiving a status signal from the control target (9) and displaying the status signal on the display device (20) based on the status signal ( 4), a communication interface (6) connected via a cable (8) to a support device (7) for supporting a display function or a control function, and a display control for storing display data and a display system program. A programmable display device (1) having a control function, comprising a memory (50) and an input / output control memory (51) for storing a control program and a control system program, comprising: Connection check command received By determining which type of communication data for display or control, based on the determined type, including a step of processing the received communication data, based on the type of received data A method for performing processing of the data.
JP8259082A 1996-09-30 1996-09-30 Method for processing data received by programmable display device with control function according to kind of the same data Pending JPH10105211A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8259082A JPH10105211A (en) 1996-09-30 1996-09-30 Method for processing data received by programmable display device with control function according to kind of the same data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8259082A JPH10105211A (en) 1996-09-30 1996-09-30 Method for processing data received by programmable display device with control function according to kind of the same data

Publications (1)

Publication Number Publication Date
JPH10105211A true JPH10105211A (en) 1998-04-24

Family

ID=17329073

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8259082A Pending JPH10105211A (en) 1996-09-30 1996-09-30 Method for processing data received by programmable display device with control function according to kind of the same data

Country Status (1)

Country Link
JP (1) JPH10105211A (en)

Similar Documents

Publication Publication Date Title
JPH10105211A (en) Method for processing data received by programmable display device with control function according to kind of the same data
JP3267110B2 (en) Microcomputer data transfer device
JPH04105101A (en) Abnormality processing form setting method for controller
JP3134878B2 (en) Programmable controller
JP3094932B2 (en) Data test method between devices
JP3669014B2 (en) Display device
JP2003114804A (en) Real time os control unit
JP2004151762A (en) Programmable controller
JPH10105214A (en) Download system for programmable display device
JPH08286734A (en) Programmable display device
US5680646A (en) Input/output control system
JPH04107595A (en) Display system
JPS62266604A (en) Remote programming console device
JPH02226307A (en) Numerical controller
JPH0435764B2 (en)
JPH08292898A (en) Microcomputer and debugging device
JPH0883108A (en) Debugging tool for programmable controller
JPH04350736A (en) Programmable controller
JP2004302626A (en) Controller, display device, control unit, setting device, program, and recording medium
JPH0312747A (en) Microprocessor diagnostic system
JPH0887306A (en) Display device for controller
JPH01112440A (en) Debugging device
JPH04276822A (en) Register display circuit for information processor
JPH10269104A (en) Parallel system testing method
JPH04177541A (en) Program testing device

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20030121