JPH08263245A - Display picture preparing device for programmable display - Google Patents

Display picture preparing device for programmable display

Info

Publication number
JPH08263245A
JPH08263245A JP7069259A JP6925995A JPH08263245A JP H08263245 A JPH08263245 A JP H08263245A JP 7069259 A JP7069259 A JP 7069259A JP 6925995 A JP6925995 A JP 6925995A JP H08263245 A JPH08263245 A JP H08263245A
Authority
JP
Japan
Prior art keywords
display
program
programmable
programmable display
screen
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
JP7069259A
Other languages
Japanese (ja)
Inventor
Yasuaki Taki
康朗 多喜
Yoshimitsu Nawa
祥光 名和
Hirotaka Matsumoto
博貴 松本
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.)
Idec Izumi Corp
Original Assignee
Idec Izumi 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 Idec Izumi Corp filed Critical Idec Izumi Corp
Priority to JP7069259A priority Critical patent/JPH08263245A/en
Publication of JPH08263245A publication Critical patent/JPH08263245A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)
  • User Interface Of Digital Computer (AREA)
  • Programmable Controllers (AREA)
  • Digital Computer Display Output (AREA)

Abstract

PURPOSE: To specify the control operation of a programmable controller and the display operation of a programmable display by displaying the symbol of the programmable display inside a single ladder program together with the symbol of that controller. CONSTITUTION: A programmable display 2 is connected to a display picture preparing device 1 only when preparing and correcting a program for specifying the display operation of the programmable display 2 and the control operation of a programmable controller 3. While the control operation to a controller 4 is executed, the programmable controller 3 simultaneously executes the exchange of data with the programmable display 2 and displays the symbol of the programmable display 2 inside the single ladder program together with the symbol of the programmable controller 3. Thus, the control operation of the programmable controller 3 and the display operation of the programmable display 2 can be specified.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、プログラマブル表示
器の表示動作を規定する表示プログラムを作成する表示
画面作成装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a display screen creating apparatus for creating a display program that defines a display operation of a programmable display.

【0002】[0002]

【従来の技術】工場等における制御対象のシーケンス制
御を行うプログラマブルコントローラ(以下、PCとい
う。)には、PCの動作状態を表示するプログラマブル
表示器が接続される。プログラマブル表示器は、表示部
においてPCの動作状態を表示するが、表示部の大型化
にともない、PCに対する動作命令の入力を受け付ける
入力スイッチを表示するものもある。このようなプログ
ラマブル表示器の表示内容は、PCの制御内容等によっ
て異なる。このため、パーソナルコンピュータ等の表示
画面作成装置において表示プログラムを作成し、作成し
た表示プログラムをプログラマブル表示器に供給するよ
うにしている。
2. Description of the Related Art A programmable controller (hereinafter, referred to as a PC) for performing sequence control of a controlled object in a factory or the like is connected with a programmable display device for displaying an operating state of the PC. Although the programmable display displays the operating state of the PC on the display unit, there is also a programmable display that displays an input switch that receives an operation command input to the PC as the display unit becomes larger. The display contents of such a programmable display differ depending on the control contents of the PC and the like. For this reason, a display program is created in a display screen creation device such as a personal computer, and the created display program is supplied to a programmable display.

【0003】また、プログラマブル表示器に複数の画面
を切換表示させる場合には、それぞれの画面について独
立した複数の表示プログラムを作成し、これをプログラ
マブル表示器に供給する。
Further, when a plurality of screens are switched and displayed on the programmable display, a plurality of independent display programs are created for each screen and are supplied to the programmable display.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、従来の
プログラマブル表示器に供給される表示プログラム(図
7(A)参照)は、PCに供給される動作プログラムと
して一般的なラダープログラム(図7(B)参照)とは
異なる概念で構成されていた。このため、制御システム
の設計者は、ラダープログラムと作画プログラムとの両
方のデータファイルを扱う必要があり、それぞれのプロ
グラムに習熟しなければならず、制御システムの設計作
業や変更作業が煩雑になる問題があった。
However, the display program (see FIG. 7A) supplied to the conventional programmable display is a general ladder program (FIG. 7B) as an operation program supplied to the PC. ) See) was composed of a different concept. Therefore, the control system designer needs to handle the data files of both the ladder program and the drawing program, and must be familiar with each program, which complicates the control system design work and change work. There was a problem.

【0005】また、PCにプログラマブル表示器を接続
して制御システムを構成した場合、プログラマブル表示
器の表示プログラムの作成にあたってPCの動作を考慮
する必要があるだけでなく、PCの動作プログラムの作
成にあたってもプログラマブル表示器の表示動作を考慮
しなければならない。例えば、制御装置が異常を発生し
たことをPCが検出した際に、その異常内容をプログラ
マブル表示器に表示させる場合、異常時の表示画面への
切換命令を含む異常表示命令をPCからプログラマブル
表示器に出力する必要がある。また、プログラマブル表
示器が表示するデータが、PCにおける制御動作に必要
ないデータである場合には、PCの制御動作に関係しな
い表示用のデータを演算し保存するための動作プログラ
ムをPCに設定しておく必要がある。
When a programmable display is connected to a PC to form a control system, it is necessary not only to consider the operation of the PC when creating a display program for the programmable display, but also when creating an operation program for the PC. Must also consider the display behavior of the programmable display. For example, when the PC detects that the control device has generated an abnormality, the abnormality display instruction including a switching instruction to the display screen at the time of abnormality is displayed from the PC when the abnormality display instruction is displayed on the programmable display. Need to output to. Further, when the data displayed by the programmable display is data that is not necessary for the control operation of the PC, an operation program for calculating and storing display data that is not related to the control operation of the PC is set in the PC. Need to be kept.

【0006】このように、PCの動作プログラムとプロ
グラマブル表示器の表示プログラムとが機能的に相互に
関連しているにも拘らず、それぞれのプログラムの作成
時に相互の関連性を考慮しつつそれぞれのプログラムを
別々に作成しなければならず、この点でもプログラムの
作成作業が極めて困難なものとなる。
As described above, even though the operation program of the PC and the display program of the programmable display are functionally related to each other, the respective programs are taken into consideration while considering the mutual relationships when creating each program. The programs have to be created separately, which also makes the work of creating the programs extremely difficult.

【0007】さらに、例えば、PCの動作プログラムに
おいてデータを書き込むべきデータレジスタのアドレス
に誤りがあった場合、PCの動作プログラムを修正する
だけでなく、プログラマブル表示器の表示プログラムに
おいてデータを読み取るべきデータレジスタのアドレス
も修正しなければならない。このように、一方のプログ
ラムにおける誤りが他方のプログラムにも影響を与える
にも拘らず、それぞれのプログラムについて他方のプロ
グラムに与える影響および他方のプログラムから受けた
影響を考慮して修正を行わなければならず、デバック作
業も煩雑になる。
Further, for example, when there is an error in the address of the data register to which the data is written in the operation program of the PC, not only the operation program of the PC is corrected, but also the data to be read by the display program of the programmable display device. The address of the register must also be modified. In this way, even if an error in one program affects the other program, correction must be made in consideration of the effect of each program on the other program and the effect received from the other program. In addition, debugging work becomes complicated.

【0008】この発明の目的は、単一のプログラムにお
いてPCの制御動作およびプログラマブル表示器の表示
動作を規定することができるようにし、制御システムの
設計作業およびプログラムの作成およびデバッグ作業を
容易にすることができるプログラマブル表示器の表示画
面作成装置を提供することにある。
An object of the present invention is to enable the control operation of the PC and the display operation of the programmable display to be defined in a single program, facilitating the design work of the control system and the creation and debug work of the program. It is to provide a display screen creation device for a programmable display capable of performing the above.

【0009】また、プログラマブル表示器に複数の画面
を表示させる場合に、PCの動作プログラムを複数の画
面に共通する部分の表示プログラムにのみ含めることに
より、複数の画面に対応する複数の表示プログラムのそ
れぞれにPCの動作プログラムを含める必要をなくし、
プログラムデータ量を少なくして必要なメモリ容量の増
加を防ぐことができるプログラマブル表示器の表示画面
作成装置を提供することにある。
Further, when a plurality of screens are displayed on the programmable display, by including the operation program of the PC only in the display program of the portion common to the plurality of screens, a plurality of display programs corresponding to the plurality of screens can be displayed. Eliminating the need to include a PC operating program in each
An object of the present invention is to provide a display screen creation device for a programmable display, which can reduce the amount of program data and prevent an increase in required memory capacity.

【0010】[0010]

【課題を解決するための手段】請求項1に記載した発明
は、プログラマブルコントローラに接続されるプログラ
マブル表示器に供給する表示プログラムを作成する表示
画面作成装置において、プログラマブル表示器のシンボ
ルをPCのシンボルとともに 単一のラダープログラム
内に表示するプログラム表示手段を備えたことを特徴と
する。
According to a first aspect of the present invention, in a display screen creating apparatus for creating a display program to be supplied to a programmable display connected to a programmable controller, a symbol of the programmable display is a symbol of a PC. Along with this, a program display means for displaying in a single ladder program is provided.

【0011】請求項2に記載した発明は、前記表示プロ
グラムを、PCの動作プログラムを含み、複数の表示画
面の全てに共通する共通部分の表示プログラムと、複数
の表示画面のそれぞれについて共通部分を除く部分の表
示プログラムと、から構成したことを特徴とする。
According to a second aspect of the present invention, the display program includes a display program of a common part including an operation program of a PC and common to all of the plurality of display screens, and a common part for each of the plurality of display screens. It is characterized in that it is composed of a display program of the part to be excluded.

【0012】[0012]

【作用】請求項1に記載した発明においては、プログラ
ム表示手段により、プログラマブル表示器のシンボル
が、PCのシンボルとともに単一のラダープログラム内
に表示される。したがって、PCの動作プログラムとプ
ログラマブル表示器の表示プログラムとが設計者が習熟
しているラダープログラムにより同一の概念で設計され
る。また、PCの制御動作とプログラマブル表示器の画
面表示とが一括して同一の制御システム内で設計され
る。
In the invention described in claim 1, the program display means displays the symbols of the programmable display in a single ladder program together with the symbols of the PC. Therefore, the operation program of the PC and the display program of the programmable display are designed with the same concept by the ladder program familiar to the designer. In addition, the control operation of the PC and the screen display of the programmable display are designed together in the same control system.

【0013】請求項2に記載した発明においては、複数
の表示画面を切換表示するプログラマブル表示器に供給
する表示プログラムを、複数の表示画面の全てに共通す
る共通部分の表示プログラムと、複数の表示画面のそれ
ぞれについて共通部分を除く部分の表示プログラムと、
に分けられ、PCの動作プログラムが共通部分の表示プ
ログラムに含められる。したがって、複数の表示画面の
それぞれに対応する表示プログラムの全てにPCの動作
プログラムを含める必要がなく、全体のプログラムデー
タ量が著しく増加することがない。
According to another aspect of the present invention, a display program supplied to a programmable display device for switching and displaying a plurality of display screens is a common portion display program common to all of the plurality of display screens, and a plurality of display programs. The display program of the part excluding the common part for each of the screens,
The operation program of the PC is included in the common display program. Therefore, it is not necessary to include the operation program of the PC in all the display programs corresponding to each of the plurality of display screens, and the overall program data amount does not significantly increase.

【0014】[0014]

【実施例】図1は、この発明の実施例であるプログラマ
ブル表示器の表示画面作成装置が適用されるシステムの
構成を示す図である。制御システム5は、シーケンス制
御の対象である制御装置4、制御装置4のシーケンス制
御を実行するPC3、および、制御装置4やPC3の動
作状態等を表示するプログラマブル表示器2によって構
成されている。表示画面作成装置1は、一般的なパーソ
ナルコンピュータによって構成されており、表示画面作
成装置1は、プログラマブル表示器2の表示動作および
PC3の制御動作を規定するプログラムの作成時および
修正時においてのみプログラマブル表示器2に接続され
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a diagram showing the configuration of a system to which a display screen creating apparatus for a programmable display according to an embodiment of the present invention is applied. The control system 5 includes a control device 4 that is a target of sequence control, a PC 3 that executes sequence control of the control device 4, and a programmable display 2 that displays the operating states of the control device 4 and the PC 3. The display screen creating apparatus 1 is configured by a general personal computer, and the display screen creating apparatus 1 is programmable only when creating and modifying a program that defines the display operation of the programmable display 2 and the control operation of the PC 3. It is connected to the display 2.

【0015】PC3は、プログラマブル表示器2が接続
されるインタフェース30の他に、複数の入力端子Xi
および出力端子Yi(i=1,2,・・)を備えてい
る。PC3の入力端子Xiは、シーケンス制御の対象と
なる制御装置4のセンサ41やリミットスイッチ42等
に接続されている。また、出力端子Yiは、制御装置4
のモータ43やソレノイド44等に接続されている。P
C3はこの他に、データレジスタ31および内部リレー
32をメモリ内の所定のエリアに備えている。
The PC 3 has a plurality of input terminals Xi in addition to the interface 30 to which the programmable display 2 is connected.
And output terminals Yi (i = 1, 2, ...). The input terminal Xi of the PC 3 is connected to the sensor 41, the limit switch 42, etc. of the control device 4 which is the target of sequence control. The output terminal Yi is connected to the control device 4
Is connected to the motor 43, the solenoid 44, and the like. P
In addition to this, the C3 has a data register 31 and an internal relay 32 in a predetermined area in the memory.

【0016】PC3は、制御装置4に対する制御動作を
実行中に同時にプログラマブル表示器2とのデータの送
受信を実行することができる。プログラマブル表示器2
は、表示画面作成装置1から供給された表示プログラム
を格納するメモリ22を備えており、この表示プログラ
ムにしたがって動作する。即ち、プログラマブル表示器
2はPC3とデータの送受信を行い、入力端子Xiの入
力値の読取、出力端子Yi、データレジスタ31および
内部リレー32の設定値の読取および書込を行う。
The PC 3 can simultaneously transmit and receive data to and from the programmable display 2 while executing the control operation for the control device 4. Programmable display 2
Has a memory 22 for storing the display program supplied from the display screen creating apparatus 1, and operates according to this display program. That is, the programmable display 2 transmits / receives data to / from the PC 3, reads the input value of the input terminal Xi, and reads and writes the set value of the output terminal Yi, the data register 31, and the internal relay 32.

【0017】また、プログラマブル表示器2は、ディス
プレイ20において、図2(A)に示すメッセージ画面
6および図2(B)に示す操作画面7を表示する。操作
画面7には、従来の操作パネルに備えられていたスイッ
チ、ランプおよびメータをイメージで表すタッチスイッ
チTSW1、ランプ72およびメータ73等が表示され
る。プログラマブル表示器2のディスプレイ20の表面
には、タッチパネル21が備えられており、このタッチ
パネル21によりオペレータによるキー入力を受け付け
る。タッチスイッチTSW1としては、置数入力を受け
付けるテンキー、制御システムの起動および停止を入力
するメインスイッチ、および、制御装置4の特定の部分
のみを動作させる強制スイッチ等がある。ランプ72と
しては、制御装置4の動作が正常または異常であること
を表示する状態表示灯等がある。メータ73としては、
制御装置4に供給される電流値等を表示する電流計等が
ある。
The programmable display 2 also displays a message screen 6 shown in FIG. 2 (A) and an operation screen 7 shown in FIG. 2 (B) on the display 20. The operation screen 7 displays a touch switch TSW1, a lamp 72, a meter 73, and the like, which are images of a switch, a lamp, and a meter, which are provided in a conventional operation panel. A touch panel 21 is provided on the surface of the display 20 of the programmable display 2, and the touch panel 21 receives a key input by an operator. The touch switch TSW1 includes a ten-key pad that accepts a numeric input, a main switch that inputs start and stop of the control system, and a compulsory switch that operates only a specific part of the control device 4. As the lamp 72, there is a status indicator lamp or the like for indicating that the operation of the control device 4 is normal or abnormal. As the meter 73,
There is an ammeter or the like for displaying the current value or the like supplied to the control device 4.

【0018】図3は、上記表示画面作成装置の構成を示
すブロック図である。表示画面作成装置1は、ROM1
2およびRAM13を備えたCPU11に、キーボード
14、マウス15、CRT16およびFDD17等を接
続したものである。また、CPU11は、インタフェー
ス18を介してプログラマブル表示器2に接続される。
CPU11は、ROM12に予め書き込まれたプログラ
ムに従って入出力機器を統括制御する。この制御におい
て入出力されるデータがRAM13に一時格納される。
PC3の動作プログラムを含むプログラマブル表示器2
の表示プログラムを作成する際に使用する作画プログラ
ムは、FDD17に装填されたフロッピディスクからロ
ードされる。
FIG. 3 is a block diagram showing the configuration of the display screen creating apparatus. The display screen creating apparatus 1 is a ROM 1
The keyboard 14, the mouse 15, the CRT 16, the FDD 17, and the like are connected to the CPU 11 having the RAM 2 and the RAM 13. The CPU 11 is also connected to the programmable display 2 via the interface 18.
The CPU 11 centrally controls the input / output device according to a program written in the ROM 12 in advance. Data input / output in this control is temporarily stored in the RAM 13.
Programmable display 2 including operation program of PC3
The drawing program used when creating the display program is loaded from the floppy disk loaded in the FDD 17.

【0019】この作画プログラムは、従来のラダープロ
グラムの起動条件となる論理スイッチに加えて、タッチ
スイッチおよび常時起動を備える。また、出力として
は、従来のラダープログラムの出力リレー、演算および
転送に加えて、数値表示やランプ表示の機能を備える。
さらに、出力内容として、従来のPCのメモリに対する
データの読取/書込およびデータの演算に加えて、ディ
スプレイへのテキストとグラフィックの描画、タッチパ
ネルからの入力等の機能を含む。
This drawing program is provided with a touch switch and a constant activation in addition to the logical switch which is the activation condition of the conventional ladder program. Further, as an output, in addition to the output relay of the conventional ladder program, calculation and transfer, a function of displaying a numerical value or a lamp is provided.
Further, as output contents, in addition to reading / writing data in a memory of a conventional PC and calculating data, functions such as drawing text and graphics on a display and inputting from a touch panel are included.

【0020】この作画プログラムの数値表示機能は、起
動条件がHighの時にPC3内の特定のメモリエリア(デ
ータレジスタ31等)の内容をディスプレイ20に表示
する機能である。数値表示機能を指示する際には、読み
取るべきPC3のメモリおよび表示モードを直接入力パ
ラメータとして設定し、ディスプレイ20上の表示位置
や表示状態をグラフィック入力パラメータとして設定す
る。
The numerical display function of this drawing program is a function of displaying the contents of a specific memory area (such as the data register 31) in the PC 3 on the display 20 when the activation condition is High. When instructing the numerical display function, the memory and the display mode of the PC 3 to be read are directly set as input parameters, and the display position and display state on the display 20 are set as graphic input parameters.

【0021】タッチスイッチ機能は、タッチパネル21
の特定の領域が押圧されているか否かの状態を起動条件
として扱う機能である。タッチスイッチ機能を指示する
際には、モメンタリまたはオルタネートのタッチスイッ
チの動作モードを直接入力パラメータとして設定し、タ
ッチパネル21上の特定の領域をグラフィック入力パラ
メータとして設定する。
The touch switch function is performed by the touch panel 21.
This is a function that handles the state of whether or not a specific area is pressed as a starting condition. When instructing the touch switch function, the operation mode of the momentary or alternate touch switch is set as a direct input parameter, and a specific area on the touch panel 21 is set as a graphic input parameter.

【0022】ランプ機能は、起動条件となるPC3内の
単一のメモリエリアのHigh/Low状態、または、複数のメ
モリエリアのHigh/Low状態の論理演算結果をディスプレ
イ20の特定の領域に表示する機能である。ランプ機能
を指示する際には、ディスプレイ20上の表示位置をグ
ラフィック入力パラメータとして設定する。
The lamp function displays a logical operation result of a high / low state of a single memory area in the PC 3 or a high / low state of a plurality of memory areas, which is a starting condition, in a specific area of the display 20. It is a function. When instructing the lamp function, the display position on the display 20 is set as a graphic input parameter.

【0023】論理スイッチ機能は、PC3内のメモリの
論理値を起動条件のHigh/Low状態として扱う機能であ
る。論理スイッチ機能を指示する際には、読み取るべき
PC3のメモリエリアを直接入力パラメータとして設定
する。
The logic switch function is a function that handles the logic value of the memory in the PC 3 as the high / low state of the start condition. When instructing the logical switch function, the memory area of the PC 3 to be read is directly set as an input parameter.

【0024】演算機能は、PC3の特定のメモリエリア
の内容を読み取って四則演算、論理演算または比較演算
し、その演算結果をPC3のメモリエリアに格納する機
能である。演算機能を指示する際には、読取/書込する
メモリエリア、および、演算種を直接入力パラメータと
して設定する。
The arithmetic function is a function of reading the contents of a specific memory area of the PC 3, performing four arithmetic operations, logical operations or comparison operations, and storing the operation result in the memory area of the PC 3. When instructing the calculation function, the memory area to be read / written and the calculation type are directly set as input parameters.

【0025】転送機能は、PC3内の特定のメモリエリ
アの値を他のメモリエリアに格納する機能である。転送
機能を指示する際には、読取/書込するメモリエリアを
直接入力パラメータとして設定する。
The transfer function is a function of storing the value of a specific memory area in the PC 3 in another memory area. When instructing the transfer function, the memory area to be read / written is directly set as the input parameter.

【0026】常時起動機能は、起動条件を常にHigh状態
とする機能である。
The constant activation function is a function for keeping the activation condition always in the high state.

【0027】図4は、上記表示画面作成装置の処理手順
を示すフローチャートである。CPU11は、FDD1
7に装填されたフロッピディスクから読み取った作画プ
ログラムにしたがって、ラダープログラムによるPC3
の動作プログラムおよびプログラマブル表示器2の表示
プログラムの作成処理を実行する。この作成処理におい
てCPU11は、まず、CRT16にラダー画面71
(図5(A)参照)を入力パラメータの設定画面72と
ともに表示する(s1)。ラダー画面71は、作成中の
ラダープログラムを表示する画面である。設定画面72
は、上記直接入力パラメータおよびグラフィック入力パ
ラメータの設定内容を表示する画面である。次いで、C
PU11は、ラダープログラムを構成する要素の指示を
受け付ける(s2)。CPU11は、指示された要素が
グラフィック入力パラメータを含むか否かを判断する
(s3)。
FIG. 4 is a flow chart showing the processing procedure of the display screen creating apparatus. CPU11 is FDD1
PC3 by the ladder program according to the drawing program read from the floppy disk loaded in 7.
The operation program and the display program of the programmable display 2 are created. In this creation process, the CPU 11 first sets the ladder screen 71 on the CRT 16.
(See FIG. 5A) is displayed together with the input parameter setting screen 72 (s1). The ladder screen 71 is a screen for displaying the ladder program being created. Setting screen 72
Is a screen displaying the setting contents of the direct input parameter and the graphic input parameter. Then C
PU11 receives the instruction | indication of the element which comprises a ladder program (s2). The CPU 11 determines whether the designated element includes a graphic input parameter (s3).

【0028】タッチスイッチTSW等のグラフィック入
力パラメータを含む機能が指示された場合には、直接入
力パラメータの設定およびグラフィック入力パラメータ
の設定を受け付ける(s4,s5)。この後、CPU1
1は、図5(B)に示すように、ラダー画面71上の指
示された位置にプログラマブル表示器2の機能のシンボ
ルを表示するとともに、その機能のプログラマブル表示
器2における表示状態を設定画面72に表示する(s
6)。
When the function including the graphic input parameter such as the touch switch TSW is instructed, the setting of the direct input parameter and the setting of the graphic input parameter are accepted (s4, s5). After this, CPU1
As shown in FIG. 5B, 1 displays a symbol of the function of the programmable display 2 at the designated position on the ladder screen 71, and sets the display state of the function on the programmable display 2 on the setting screen 72. Display on (s
6).

【0029】一方、入力端子X1等のデバイスまたは演
算処理等のグラフィック入力パラメータを含まない機能
が指示された場合には、CPU11は、設定画面72に
おいて直接入力パラメータの設定を受け付け(s7)、
ラダー画面71上の指示された位置にPC3の入力端子
X1等のシンボルを表示する(s8)。CPU11は以
上のs2〜s8の処理をプログラムの作成が終了するま
で継続して実行する。以上の処理により、例えば、PC
3の入力端子X1および入力端子X2の論理和とプログ
ラマブル表示器2のタッチスイッチTSW1の操作との
論理積を起動条件として、PC3の出力端子Y1をオン
する場合、表示画面作成装置1のCRT16内のラダー
画面71には図5(C)に示すように表示される。
On the other hand, when the device such as the input terminal X1 or the function not including the graphic input parameter such as the arithmetic processing is instructed, the CPU 11 directly accepts the setting of the input parameter on the setting screen 72 (s7),
Symbols such as the input terminal X1 of the PC 3 are displayed at the designated position on the ladder screen 71 (s8). The CPU 11 continuously executes the processing of s2 to s8 described above until the program creation is completed. By the above processing, for example, a PC
When the output terminal Y1 of the PC3 is turned on with the logical product of the logical sum of the input terminal X1 and the input terminal X2 of No. 3 and the operation of the touch switch TSW1 of the programmable display 2 as the start condition, the CRT16 of the display screen creating apparatus 1 The ladder screen 71 is displayed as shown in FIG.

【0030】このように、PC3のデバイスである入力
端子X1およびX2と、プログラマブル表示器2のデバ
イスであるタッチスイッチTSW1とを同一のラダープ
ログラム内に表示するため、従来のラダープログラムに
よるPC3の動作プログラムの作成に習熟したユーザで
あれば、同様の手順で容易にプログラマブル表示器2の
表示プログラムを作成することができる。また、単一の
装置と単一のアプリケーションソフトウェアによってプ
ログラマブル表示器2の表示プログラムとPC3の動作
プログラムとを作成することができ、設備および労力の
効率化を図ることができる。
As described above, since the input terminals X1 and X2 which are the devices of the PC3 and the touch switch TSW1 which is the device of the programmable display 2 are displayed in the same ladder program, the operation of the PC3 by the conventional ladder program is performed. A user who is familiar with creating a program can easily create a display program for the programmable display device 2 by the same procedure. Further, the display program of the programmable display 2 and the operation program of the PC 3 can be created by a single device and a single application software, and the efficiency of equipment and labor can be improved.

【0031】また、制御装置が異常を発生した時にPC
3からの命令によりプログラマブル表示器2の表示画面
をその異常内容を表示する異常表示画面に切り換える場
合に、従来は、異常状態を検出する動作プログラムを、
PC3において記憶していた。この発明の実施例では、
異常状態を検出する動作プログラムをプログラマブル表
示器2に供給する各表示画面の表示プログラム内に作成
することができる。なお、異常状態を検出する動作プロ
グラムを複数の表示画面の表示プログラムの全てに付加
することによるプログラムの大型化は、異常状態を検出
する動作プログラムを後述する共通プログラム(図6参
照)内に作成することにより改善することができる。
Further, when the control device has an abnormality, the PC
Conventionally, when switching the display screen of the programmable display device 2 to the abnormal display screen for displaying the contents of the abnormality by the command from 3, the operation program for detecting the abnormal state is
It was stored in PC3. In an embodiment of the present invention,
An operation program for detecting an abnormal state can be created in the display program of each display screen supplied to the programmable display 2. It should be noted that the size increase of the program by adding the operation program for detecting the abnormal state to all the display programs of the plurality of display screens is caused by creating the operation program for detecting the abnormal state in a common program (see FIG. 6) described later. Can be improved.

【0032】さらに、プログラマブル表示器2にPC3
の2つのデータレジスタの合計を表示する場合、その演
算処理および演算結果を別のデータレジスタに格納する
処理のためのPC3の動作プログラムをプログラマブル
表示器2に供給する表示プログラムと同一のラダープロ
グラム上において作成することができる。
Further, the programmable display 2 has a PC 3
When displaying the total of the two data registers of the above, the operation program of the PC 3 for the arithmetic processing and the processing of storing the arithmetic result in another data register is displayed on the same ladder program as the display program that supplies the programmable display 2. Can be created in.

【0033】このように、プログラマブル表示器2の表
示プログラムと機能的に相互に関連しているPC3の動
作プログラムを、表示プログラムと同一のラダープログ
ラム上で、単一の装置を用いて作成することができ、プ
ログラムの作成作業が極めて容易になる。
As described above, the operation program of the PC 3 which is functionally related to the display program of the programmable display 2 is created on the same ladder program as the display program using a single device. This makes it extremely easy to create a program.

【0034】また、上記のような機能的な関連性により
プログラム上の誤りが相互に影響を与えるプログラマブ
ル表示器2の表示プログラムおよびPC3の動作プログ
ラムに対して、同一のラダープログラム上で、単一の装
置を用いてデバッグ処理を行うことができ、デバック作
業が極めて容易になる。
Further, with respect to the display program of the programmable display unit 2 and the operation program of the PC 3 in which program errors influence each other due to the above-mentioned functional relationships, a single ladder program is used. Debug processing can be performed using the above device, and the debugging work becomes extremely easy.

【0035】図6は、上記プログラマブル表示器のメモ
リにおける要部のメモリマップである。プログラマブル
表示器2に対して、表示画面作成装置1から供給された
表示プログラムは、プログラマブル表示器2における複
数の表示画面毎の個別プログラム81a〜81nに分け
られている。また、複数の表示画面の全てに共通する例
えば、日付表示部分や画面切換キー等の共通部分の表示
プログラムは、共通プログラム82として独立して格納
される。この共通プログラム82は、プログラマブル表
示器2のディスプレイ20に共通部分の画面を表示する
ための表示プログラム82aと、PC3の動作プログラ
ム82bとによって構成されている。画面1を表示する
場合には個別プログラム81aと共通プログラム82と
を実行し、画面2を表示する場合には個別プログラム8
1bと共通プログラム82とを実行する。
FIG. 6 is a memory map of essential parts in the memory of the programmable display. The display program supplied from the display screen creation apparatus 1 to the programmable display device 2 is divided into individual programs 81a to 81n for each of a plurality of display screens in the programmable display device 2. Further, a display program common to all of the plurality of display screens, for example, a common part such as a date display part and a screen switching key is independently stored as a common program 82. The common program 82 is composed of a display program 82a for displaying the screen of the common part on the display 20 of the programmable display 2 and an operation program 82b of the PC 3. The individual program 81a and the common program 82 are executed when the screen 1 is displayed, and the individual program 8 is executed when the screen 2 is displayed.
1b and the common program 82 are executed.

【0036】このように、全ての個別プログラムととも
に実行される共通プログラム82にPC3の動作プログ
ラム82bを含めることにより、複数の個別プログラム
81a〜81nのそれぞれにPC3の動作プログラムを
備える必要がなく、表示プログラムのデータ量を削減す
ることができ、メモリ容量の増加を招くことがない。
As described above, by including the operation program 82b of the PC3 in the common program 82 executed together with all the individual programs, it is not necessary to provide each of the plurality of individual programs 81a to 81n with the operation program of the PC3, and the display is performed. The data amount of the program can be reduced and the memory capacity does not increase.

【0037】[0037]

【発明の効果】請求項1に記載した発明によれば、プロ
グラマブル表示器のシンボルをPCのシンボルとともに
単一のラダープログラム内に表示することにより、機能
的に密接に関連するPCの動作プログラムおよびプログ
ラマブル表示器の表示プログラムの作成作業およびデバ
ッグ作業を、設計者が習熟しているラダープログラムに
より同一の概念で同一のプログラム上に単一の装置を用
いて実行することができ、制御システムの設計作業およ
びプログラムの作成作業を極めて容易に行うことができ
る。
According to the invention described in claim 1, by displaying the symbols of the programmable display together with the symbols of the PC in a single ladder program, the operation program of the PC which is functionally closely related and It is possible to execute the creation work and debug work of the display program of the programmable display by the ladder program that the designer is familiar with, using the same concept and the same program using a single device, and designing the control system. Work and program creation work can be performed extremely easily.

【0038】請求項2に記載した発明においては、PC
の動作プログラムを共通部分の表示プログラムに含める
ことにより、複数の表示画面のそれぞれに対応する表示
プログラムの全てにPCの動作プログラムを含める必要
がなく、全体のプログラムデータ量を削減してメモリ容
量の増加を防ぐことができる。
In the invention described in claim 2, a PC
By including the operation program of the above in the display program of the common part, it is not necessary to include the operation program of the PC in all of the display programs corresponding to each of the plurality of display screens. You can prevent the increase.

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

【図1】この発明の実施例であるプログラマブル表示器
の表示画面作成装置が適用されるシステムの構成を示す
図である。
FIG. 1 is a diagram showing a configuration of a system to which a display screen creation device for a programmable display according to an embodiment of the present invention is applied.

【図2】上記プログラマブル表示器の表示画面を示す図
である。
FIG. 2 is a diagram showing a display screen of the programmable display.

【図3】上記表示画面作成装置の構成を示すブロック図
である。
FIG. 3 is a block diagram showing a configuration of the display screen creation device.

【図4】上記表示画面作成装置の処理手順を示すフロー
チャートである。
FIG. 4 is a flowchart showing a processing procedure of the display screen creating apparatus.

【図5】上記表示画面作成装置の作画プログラムの作成
時における表示状態を示す図である。
FIG. 5 is a diagram showing a display state at the time of creating a drawing program of the display screen creating apparatus.

【図6】上記プログラマブル表示器のメモリにおける要
部のメモリマップである。
FIG. 6 is a memory map of a main part in the memory of the programmable display.

【図7】従来のプログラマブル表示器に供給される表示
プログラム、および、一般的なラダープログラムを示す
図である。
FIG. 7 is a diagram showing a display program supplied to a conventional programmable display and a general ladder program.

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

1−表示画面作成装置 2−プログラマブル表示器 3−PC 4−制御装置 5−制御システム 16−CRT 20−ディスプレイ 21−タッチパネル 1-Display screen creation device 2-Programmable display 3-PC 4-Control device 5-Control system 16-CRT 20-Display 21-Touch panel

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】プログラマブルコントローラに接続される
プログラマブル表示器に供給する表示プログラムを作成
する表示画面作成装置において、 プログラマブル表示器のシンボルをプログラマブルコン
トローラのシンボルとともに単一のラダープログラム内
に表示するプログラム表示手段を備えたことを特徴とす
るプログラマブル表示器の表示画面作成装置。
1. A display screen creating apparatus for creating a display program to be supplied to a programmable display connected to a programmable controller, the program display displaying a symbol of the programmable display together with a symbol of the programmable controller in a single ladder program. An apparatus for creating a display screen of a programmable display, characterized by comprising means.
【請求項2】前記表示プログラムを、プログラマブルコ
ントローラの動作プログラムを含み、複数の表示画面の
全てに共通する共通部分の表示プログラムと、複数の表
示画面のそれぞれについて共通部分を除く部分の表示プ
ログラムと、から構成した請求項1に記載のプログラマ
ブル表示器の表示画面作成装置。
2. A display program of a common part common to all of a plurality of display screens, including a program for operating a programmable controller, and a display program of a part excluding the common part of each of the plurality of display screens. 2. A display screen creation device for a programmable display device according to claim 1, which is configured by:
JP7069259A 1995-03-28 1995-03-28 Display picture preparing device for programmable display Pending JPH08263245A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7069259A JPH08263245A (en) 1995-03-28 1995-03-28 Display picture preparing device for programmable display

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7069259A JPH08263245A (en) 1995-03-28 1995-03-28 Display picture preparing device for programmable display

Publications (1)

Publication Number Publication Date
JPH08263245A true JPH08263245A (en) 1996-10-11

Family

ID=13397541

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7069259A Pending JPH08263245A (en) 1995-03-28 1995-03-28 Display picture preparing device for programmable display

Country Status (1)

Country Link
JP (1) JPH08263245A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7073124B1 (en) 2000-04-03 2006-07-04 Mitsubishi Denki Kabushiki Kaisha Display drafting apparatus and system therefor
JP2007318562A (en) * 2006-05-26 2007-12-06 Kyocera Mita Corp Image forming apparatus
JP5870214B2 (en) * 2012-12-14 2016-02-24 発紘電機株式会社 Programmable controller system, its programmable display, support device, program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7073124B1 (en) 2000-04-03 2006-07-04 Mitsubishi Denki Kabushiki Kaisha Display drafting apparatus and system therefor
JP2007318562A (en) * 2006-05-26 2007-12-06 Kyocera Mita Corp Image forming apparatus
JP5870214B2 (en) * 2012-12-14 2016-02-24 発紘電機株式会社 Programmable controller system, its programmable display, support device, program

Similar Documents

Publication Publication Date Title
JPS60262204A (en) Programmable controller
JPH08221107A (en) Sequence control program generating device
JPH08179817A (en) Display manipulator for machine tool
JPH08263245A (en) Display picture preparing device for programmable display
TW201439699A (en) Programmable controller system, programmable display therefor, assistance device, and program
JPH04105101A (en) Abnormality processing form setting method for controller
JP3978619B2 (en) Graphical user interface device
JPH10221129A (en) Analyzer
JP3531975B2 (en) Logic simulation analyzer
JP2002268737A (en) Intelligent type graphic control panel and component display method
JP3358113B2 (en) Program creation device for programmable controller
JPH08272405A (en) Sequence controller
JPH0546220A (en) Numerical controller
JPH04191906A (en) User program execution control system for programmable controller
JPH0614330B2 (en) Microprocessor device
JPH02226307A (en) Numerical controller
JP2001022411A (en) Programmable controller, its program setting device and recording medium storage its program
JP3384141B2 (en) Programmable controller and programmable controller maintenance device
JP2653409B2 (en) Programmable controller program development equipment
JPH0239346A (en) Screen shift control system
JPH11282662A (en) Input display control device and storage medium
JPH08286714A (en) Monitor device for programmable display device
JP2004178303A (en) Display device, screen data generating device and program thereof
JPH08166982A (en) Pattern input device
JPS6186841A (en) Electronic list device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040924

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20041012

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20050222