JP3358800B2 - Ladder program monitoring method and computer-readable recording medium recording monitoring program - Google Patents

Ladder program monitoring method and computer-readable recording medium recording monitoring program

Info

Publication number
JP3358800B2
JP3358800B2 JP19077198A JP19077198A JP3358800B2 JP 3358800 B2 JP3358800 B2 JP 3358800B2 JP 19077198 A JP19077198 A JP 19077198A JP 19077198 A JP19077198 A JP 19077198A JP 3358800 B2 JP3358800 B2 JP 3358800B2
Authority
JP
Japan
Prior art keywords
ladder
program
screen
display
file
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
JP19077198A
Other languages
Japanese (ja)
Other versions
JP2000020113A (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.)
Schneider Electric Japan Holdings Ltd
Original Assignee
Digital Electronics 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 Digital Electronics Corp filed Critical Digital Electronics Corp
Priority to JP19077198A priority Critical patent/JP3358800B2/en
Publication of JP2000020113A publication Critical patent/JP2000020113A/en
Application granted granted Critical
Publication of JP3358800B2 publication Critical patent/JP3358800B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Testing And Monitoring For Control Systems (AREA)
  • Programmable Controllers (AREA)

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 capable of controlling the operation of a control target by executing a ladder program and displaying the operation state of the control target on a display by executing a display program. The present invention relates to a monitoring method for monitoring a ladder program on a display of a programmable display device and a recording medium on which a monitoring program is recorded.

【0002】[0002]

【従来の技術】例えば、化学工場のプラントや機械工場
の生産ライン、更にはビル内の宅配便ボックス等、各種
のオートメーション分野において、それらのシステムを
構成する1或いは複数の機器を制御対象として、制御対
象の状態を表示すると共に、オペレータの指令に応じて
制御対象の動作を制御するために、制御対象をプログラ
マブルロジックコントローラ(以下、PLCという)に接
続すると共に、該PLCには、表示装置(例えば特公平
3−68395号、特開平5−303477号、特開平
6−214535号、特開平6−162155号等参
照)を接続してなる表示/制御システムが開発されてい
る。
2. Description of the Related Art For example, in various automation fields such as a production line of a chemical factory plant or a machine factory, and a courier box in a building, one or a plurality of devices constituting those systems are controlled. The control target is connected to a programmable logic controller (hereinafter, referred to as PLC) in order to display the state of the control target and to control the operation of the control target in accordance with an operator's command. For example, a display / control system which connects Japanese Patent Publication No. 3-68395, Japanese Patent Application Laid-Open No. 5-303377, Japanese Patent Application Laid-Open No. 6-214535, and Japanese Patent Application Laid-Open No. 6-162155) has been developed.

【0003】図13は出願人の開発した表示装置(1a)の
外観を表わし、図12は該表示装置(1a)を用いた表示/
制御システムの構成を表わしている。PLC(3)は、例
えばラダー言語を用いて予め作成されたラダープログラ
ムに従って動作し、所定の制御機能を発揮する。一方、
表示装置(1a)は、CPU(11)、ROM(23)、RAM(2
4)、タッチパネル(15)、ディスプレイ(18)等から構成さ
れ、予め作成された表示用プログラムに従って動作し、
所定の表示機能を発揮する。例えば、表示装置(1a)のタ
ッチパネル(15)の操作によって入力されたデータは、P
LC(3)へ供給され、該データに基づいてPLC(3)の
制御用プログラムに従って作成された動作制御データ
が、制御対象(2)へ出力される。この結果、制御対象
(2)の動作が制御されることになる。又、制御対象(2)
の動作状態に応じて変化するデータがPLC(3)に入力
され、該入力データに基づいてPLC(3)のラダープロ
グラムによって作成された出力データが、表示装置(1a)
へ供給される。これに応じて表示装置(1a)は、表示用プ
ログラムに従って表示制御データを作成し、ディスプレ
イ(18)に制御対象(2)の動作状態を表示する。
FIG. 13 shows the appearance of a display device (1a) developed by the applicant, and FIG. 12 shows a display / display using the display device (1a).
2 shows a configuration of a control system. The PLC (3) operates according to a ladder program created in advance using, for example, a ladder language, and exhibits a predetermined control function. on the other hand,
The display device (1a) includes a CPU (11), a ROM (23), and a RAM (2
4), a touch panel (15), a display (18), etc., which operate according to a display program created in advance,
Performs a predetermined display function. For example, data input by operating the touch panel (15) of the display device (1a) is P
The operation control data supplied to the LC (3) and created based on the data in accordance with the control program of the PLC (3) is output to the control target (2). As a result,
The operation of (2) is controlled. Also, the controlled object (2)
The data that changes according to the operation state of the display device (1a) is input to the PLC (3), and the output data created by the ladder program of the PLC (3) based on the input data is
Supplied to In response, the display device (1a) creates display control data in accordance with the display program, and displays the operation state of the control target (2) on the display (18).

【0004】表示用プログラム及びラダープログラムは
夫々、パーソナルコンピュータ等によって構成される作
画エディター及びラダーエディターを用いて作成され、
表示用プログラムは画面ファイルとして表示装置(1a)に
ダウンロードされ、ラダープログラムはラダーファイル
としてPLC(3)にダウンロードされる。
A display program and a ladder program are created using a drawing editor and a ladder editor, each of which is constituted by a personal computer or the like.
The display program is downloaded to the display device (1a) as a screen file, and the ladder program is downloaded to the PLC (3) as a ladder file.

【0005】例えば、作画エディターを用いた作画処理
においては、エディター画面上に、制御対象を構成する
複数の機器に対応させて、スイッチ、ランプ、タイマー
等の機能部品の図形を作成、配置した後、各機能部品で
使用する“変数名”、“アドレス”等を入力する。ここ
で“変数名”は機能部品を識別するためのものであっ
て、例えばスイッチについてはSW1、SW2、…等
と、ランプについてはLAMP1、LAMP2、…等と
付与される。又、“アドレス”は、ラダープログラムに
よる制御を実行する際に参照すべきPLCの入出力端子
番号を特定するための情報(物理アドレス若しくは論理
アドレス)であって、例えば入力点についてはXB00
01、XB0002、…等と、出力点についてはYB0
001、YB0002、…等と付与される。
[0005] For example, in a drawing process using a drawing editor, a graphic of a functional component such as a switch, a lamp, and a timer is created and arranged on an editor screen so as to correspond to a plurality of devices constituting a control target. "Variable name", "address", etc. used in each functional component are input. Here, the “variable name” is used to identify a functional component, and for example, SW1, SW2,... For a switch, and LAMP1, LAMP2,. The “address” is information (physical address or logical address) for specifying the input / output terminal number of the PLC to be referred to when executing the control by the ladder program.
01, XB0002,..., And the output point is YB0
001, YB0002,...

【0006】これによって、図11(b)に示す如き画面
ファイル(8)が作成されることになる。画面ファイル
(8)は、図形データファイル部(81)と属性データファイ
ル部(82)から構成され、図形データファイル部(81)に
は、作成した機能部品についての図形データが格納さ
れ、属性データファイル部(82)は、図形データファイル
部(81)と対応して、入力した各機能部品につき、デバイ
スの変数名やアドレス等が格納される。この様にして作
成された画面ファイル(8)は表示装置(1a)にダウンロー
ドされる。
As a result, a screen file (8) as shown in FIG. 11 (b) is created. Screen file
(8) is composed of a graphic data file part (81) and an attribute data file part (82). The graphic data file part (81) stores the graphic data of the created functional parts, (82) stores device variable names, addresses, and the like for each input functional component, corresponding to the graphic data file section (81). The screen file (8) thus created is downloaded to the display device (1a).

【0007】又、ラダープログラムの作成においては、
制御対象を構成する複数の機器を対象として、ラダー言
語を用いてラダー命令を記述し、命令毎に、当該命令で
使用する“変数名”や“アドレス”を入力する。これに
よって、図11(a)に示す如きラダーファイル(7)が作
成されることになる。ラダーファイル(7)は、コマンド
ファイル部(71)と属性データファイル部(72)から構成さ
れ、コマンドファイル部(71)には、作成したコマンドに
ついてのニーモニックとオペランドが格納され、属性デ
ータファイル部(72)には、コマンドファイル部(71)と対
応して、入力した各コマンドにつき、デバイスの変数名
とアドレスが格納される。この様にして作成されたラダ
ーファイル(7)はPLC(3)にダウンロードされる。
In creating a ladder program,
A ladder instruction is described using a ladder language for a plurality of devices constituting a control target, and a "variable name" and "address" used in the instruction are input for each instruction. As a result, a ladder file (7) as shown in FIG. 11A is created. The ladder file (7) includes a command file part (71) and an attribute data file part (72). The command file part (71) stores mnemonics and operands for the created command, In (72), in correspondence with the command file section (71), a variable name and an address of a device are stored for each input command. The ladder file (7) created in this way is downloaded to the PLC (3).

【0008】一方、出願人は、図9に示す如く、上述の
PLCの制御機能を発揮すべきI/O制御インターフェ
ース(20)及び入出力ユニット(21)を具えたプログラマブ
ル表示装置(1)を提案している。該プログラマブル表示
装置(1)においては、入出力ユニット(21)に制御対象(2
a)を直接に接続することにより、該制御対象(2a)の動作
を制御し、或いは該制御対象(2a)の状態をディスプレイ
(18)に表示することが出来る。又、従来の表示装置と同
様、通信コントローラ(19)にPLC(3)を接続し、該P
LC(3)に制御対象(2b)を接続して、該制御対象(2b)の
動作を制御し、或いは該制御対象(2b)の状態をディスプ
レイ(18)に表示することが出来る。
On the other hand, as shown in FIG. 9, the applicant has proposed a programmable display device (1) having an I / O control interface (20) and an input / output unit (21) for performing the above-mentioned PLC control function. is suggesting. In the programmable display device (1), the control target (2
a) is connected directly to control the operation of the controlled object (2a) or display the state of the controlled object (2a)
It can be displayed in (18). Also, similarly to the conventional display device, the PLC (3) is connected to the communication controller (19),
The control object (2b) can be connected to the LC (3) to control the operation of the control object (2b), or the state of the control object (2b) can be displayed on the display (18).

【0009】図9に示すプログラマブル表示装置(1)に
おいては、CPU(11)に、バスラインを介して、システ
ムプログラムメモリ(12)、データ格納メモリ(13)、ユー
ザデータメモリ(10)、タッチパネルコントローラ(14)、
グラフィックコントローラ(16)及び通信コントローラ(1
9)が接続され、タッチパネルコントローラ(14)にはタッ
チパネル(15)が、グラフィックコントローラ(16)にはビ
デオRAM(17)及びディスプレイ(18)が接続されてい
る。又、CPU(11)には、上述のI/O制御インターフ
ェース(20)及び入出力ユニット(21)が接続されている。
In the programmable display device (1) shown in FIG. 9, a system program memory (12), a data storage memory (13), a user data memory (10), and a touch panel are connected to a CPU (11) via a bus line. Controller (14),
Graphic controller (16) and communication controller (1
9) is connected, a touch panel (15) is connected to the touch panel controller (14), and a video RAM (17) and a display (18) are connected to the graphic controller (16). The above-mentioned I / O control interface (20) and input / output unit (21) are connected to the CPU (11).

【0010】システムプログラムメモリ(12)には、上述
の画面ファイルやラダーファイルの格納エリアが設けら
れており、従来の表示装置(1a)と同様に作画エディター
及びラダーエディターを用いて作成された表示用プログ
ラム及びラダープログラムが、夫々画面ファイル及びラ
ダーファイルとしてプログラマブル表示装置(1)にダウ
ンロードされ、システムプログラムメモリ(12)に格納さ
れる。
The system program memory (12) is provided with a storage area for the above-mentioned screen file and ladder file. The display area created by using the drawing editor and the ladder editor is the same as the conventional display device (1a). The program for use and the ladder program are downloaded to the programmable display device (1) as a screen file and a ladder file, respectively, and stored in the system program memory (12).

【0011】ここで表示用プログラム(ユーザ作成画面)
に使用される処理指示語Wは、ベース画面上で実行され
るべき事象毎に作成され、基本的には図10(a)に示す
様に、表示制御動作を実行すべきベース画面のファイル
番号Fと、該ベース画面上で実行すべき動作内容を特定
する事象名Nと、各実行事象毎に参照される1或いは複
数のデータからなる参照情報rとを一組として具えたも
のであって、該参照情報rには、参照すべきデータのア
ドレスやディスプレイ上の表示位置等、表示に関するパ
ラメータが含まれている。
Here, a display program (user created screen)
Is generated for each event to be executed on the base screen, and basically, as shown in FIG. 10 (a), the file number of the base screen on which the display control operation is to be executed F, an event name N for specifying an operation content to be executed on the base screen, and reference information r including one or a plurality of data referred to for each execution event. The reference information r includes display-related parameters such as the address of the data to be referenced and the display position on the display.

【0012】一方、PLC(3)内のメモリ若しくはプロ
グラマブル表示装置(1)のデータ格納メモリ(13)には、
入出力されるデータが数値の如きワードデータに対して
はワードデバイスが、オン/オフ状態の如きビットデー
タに対してはビットデバイスが、アドレス指定により格
納場所を特定可能に設定されている。これによって、P
LC(3)内の任意のワードデバイス或いはビットデバイ
スをアクセスするだけで、制御対象機器を制御し、或い
はその動作状態に関する情報を個別に取り出すことが出
来る。
On the other hand, a memory in the PLC (3) or a data storage memory (13) of the programmable display device (1) includes:
A word device is set for input / output word data such as a numerical value, and a bit device for bit data such as an on / off state is set so that a storage location can be specified by address designation. This gives P
Only by accessing an arbitrary word device or bit device in the LC (3), the control target device can be controlled or information on the operation state can be individually taken out.

【0013】上述のビットデバイス或いはワードデバイ
スが示す状態情報の内、必要なものを適時に読み込む一
方、処理指示語Wを繰返し読み出し、各処理指示語Wの
事象名Nで特定される内容の動作を、状態情報を参照し
ながら実行することにより、ビットデバイス或いはワー
ドデバイスの内容変化に応じて変化する表示動作が行な
われる。
While the necessary information among the status information indicated by the bit device or the word device is read in a timely manner, the processing instruction word W is repeatedly read, and the operation of the content specified by the event name N of each processing instruction word W is performed. Is performed with reference to the state information, thereby performing a display operation that changes according to a change in the content of the bit device or the word device.

【0014】例えば図10(b)に示す処理指示語WL
は、予めファイル番号F1として格納しておいたベース
画面上に、ファイル番号F2として格納されたスイッチ
等の機能部品の図形を合成して表示すると共に、その図
形の表示色を特定のビットデバイスの値に対応させて表
示変更するものであって、ベース画面のファイル番号F
1、図形の呼び出しを特定する事象名N、呼び出す図形
を特定するファイル番号F2、図形の表示時に参照する
ビットデバイスA1、ビットデバイスが“On”又は
“Off”のときの色を特定する情報M1、及び図形を
表示すべきディスプレイ上の座標データX1から構成さ
れる。
For example, a processing instruction word WL shown in FIG.
Combines a graphic of a functional component such as a switch stored as a file number F2 on a base screen previously stored as a file number F1 and displays the synthesized color, and displays the display color of the graphic on a specific bit device. The display is changed according to the value, and the file number F of the base screen is changed.
1, an event name N for specifying a figure to be called, a file number F2 for specifying a figure to be called, a bit device A1 to be referred to when displaying a figure, and information M1 for specifying a color when the bit device is "On" or "Off". , And coordinate data X1 on the display on which the graphic is to be displayed.

【0015】又、図10(c)に示す処理指示語WTは、
タッチパネルの押圧操作と連動して、PLC(3)若しく
は入出力ユニット(21)側へ所定のデータを送って、PL
C(3)に接続された制御対象(2b)若しくは入出力ユニッ
ト(21)に接続された制御対象(2a)の制御を可能とする
「タッチタグ」についての処理指示語であって、ベース
画面のファイル番号F1、タッチパネルの操作を特定す
る事象名N、タッチパネルの入力操作を有効とするディ
スプレイ上の入力座標範囲X2,X3、タッチパネルの
操作と連動してデータを書き込むべきデバイスのアドレ
スA2、データの書込みに関する動作モードM2、及び
書き込まれるワードデータ又はワード中のビット位置情
報Dから構成される。
The processing instruction word WT shown in FIG.
In conjunction with the touch operation of the touch panel, predetermined data is sent to the PLC (3) or the input / output unit (21), and the
A processing instruction word for a "touch tag" that enables control of the control target (2b) connected to C (3) or the control target (2a) connected to the input / output unit (21), and File number F1, event name N specifying touch panel operation, input coordinate range X2, X3 on the display for validating touch panel input operation, device address A2 to which data is to be written in conjunction with touch panel operation, data It comprises an operation mode M2 relating to writing, and word data to be written or bit position information D in the word.

【0016】[0016]

【発明が解決しようとする課題】ところで、上述の表示
装置(1a)を用いた表示/制御システムにおいて、PLC
(3)に登録されているラダープログラムをデバッグ等の
ためにモニターする場合、従来は、図14に示す様にP
LC(3)にパーソナルコンピュータ等から構成されるモ
ニター装置(5)を接続して、モニター装置(5)に登録さ
れているモニタープログラムによって、ラダープログラ
ムを表わすラダー図をモニター装置(5)の画面に描画す
るのである。又、上述のプログラマブル表示装置(1)を
用いた表示/制御システムにおいても、プログラマブル
表示装置(1)に登録されているラダープログラムをモニ
ターする際は、専用のモニタープログラムが登録された
モニター装置(5)を接続して、モニター装置(5)の画面
にラダー図を描画する。
By the way, in a display / control system using the above-mentioned display device (1a), a PLC
When monitoring the ladder program registered in (3) for debugging or the like, conventionally, as shown in FIG.
A monitor device (5) composed of a personal computer or the like is connected to the LC (3), and a ladder diagram representing the ladder program is displayed on the screen of the monitor device (5) according to the monitor program registered in the monitor device (5). It is drawn on. In a display / control system using the above-described programmable display device (1), when monitoring a ladder program registered in the programmable display device (1), a monitor device (registered with a dedicated monitor program) is used. 5) is connected, and a ladder diagram is drawn on the screen of the monitor device (5).

【0017】しかしながら、ラダープログラムのモニタ
ーに際して、その都度、モニター装置を接続するのは煩
雑である問題があった。そこで本発明の目的は、従来の
モニター装置を接続することなく、プログラマブル表示
装置のディスプレイ上でラダープログラムのモニターを
可能とすることである。
However, when monitoring the ladder program, there is a problem that it is complicated to connect a monitoring device each time. Therefore, an object of the present invention is to enable monitoring of a ladder program on a display of a programmable display device without connecting a conventional monitor device.

【0018】[0018]

【課題を解決する為の手段】プログラマブル表示装置
は、ラダープログラムの実行によって制御対象の動作を
制御すると共に、表示用プログラムの実行によって、制
御対象の動作状態を表わす複数の機能部品からなる部品
画面をディスプレイに表示するものであって、各機能部
品には、機能部品の表示に関するパラメータが付加され
る。
A programmable display device controls the operation of a controlled object by executing a ladder program, and executes a display program to display a component screen including a plurality of functional components representing the operating state of the controlled object. Is displayed on the display, and a parameter relating to the display of the functional component is added to each functional component.

【0019】本発明に係るラダープログラムのモニター
方法は、上記プログラマブル表示装置を対象として、プ
ログラマブル表示装置のディスプレイ上でラダープログ
ラムをモニターするための方法であって、ラダープログ
ラムが記述されたラダーファイルを読み込むステップ
と、読み込んだラダーファイルを解析して、ラダープロ
グラムを構成する一連の複数のラダー命令を認識するス
テップと、認識された各ラダー命令について、表示用プ
ログラムによって描画されるべき複数の機能部品から、
ラダー命令に対応する1つの機能部品を選択すると共
に、該機能部品に付加すべき必要なパラメータを設定す
るステップと、前記ステップによって選択された複数の
機能部品と各機能部品について設定されたパラメータと
に基づいて、ラダープログラムを表わす部品画面を生成
すると共に、ディスプレイ上の表示をラダープログラム
の表示画面とユーザ作成画面との間で切り換えるための
画面番号変更部品を前記部品画面に追加し、画面番号変
更部品の追加された部品画面を画面ファイルとして保存
するステップと、 前記保存された画面ファイルと、ユー
ザが作成した表示用プログラムが記述された画面ファイ
ルとに個別の画面番号を付与して、両ファイルを合成
し、プログラマブル表示装置にダウンロードするステッ
とを有している。
A method for monitoring a ladder program according to the present invention is a method for monitoring a ladder program on a display of a programmable display device for the programmable display device. A reading step, analyzing the read ladder file to recognize a series of a plurality of ladder instructions constituting the ladder program, and a plurality of functional objects to be drawn by the display program for each recognized ladder instruction. From
Selecting one functional component corresponding to the ladder instruction and setting necessary parameters to be added to the functional component; and selecting a plurality of functional components selected in the step and parameters set for each functional component. Generates component screens representing ladder programs based on
Ladder program
To switch between the display screen of the
The screen number change part is added to the parts screen, and the screen number change
And storing the added component screen of further components as screen file, and the stored screen file, Yu
Screen file that describes the display program created by
And assign a unique screen number to the files and combine them.
Steps to download to a programmable display device.
And a flop.

【0020】上記本発明のモニター方法は、例えばパー
ソナルコンピュータによって読み取り可能なモニター用
の画面生成プログラムとして、ハードディスク、CD−
ROM等の記録媒体等に書き込まれている。尚、画面生
成プログラムの実行に際しては、予め、ラダープログラ
ムを構成すべき全てのラダー記号を夫々機能部品として
図形化し、パーソナルコンピュータに登録しておく。
The monitor method of the present invention can be implemented as a monitor screen generating program readable by a personal computer, for example, as a hard disk, a CD-ROM, or the like.
It is written on a recording medium such as a ROM. When the screen generation program is executed, all the ladder symbols to be included in the ladder program are formed into graphics as functional components and registered in a personal computer in advance.

【0021】ラダーファイルの解析によって、ラダープ
ログラムを構成する一連の複数のラダー命令を認識する
機能は、従来のラダーエディタが有しているものと同一
である。ラダー命令が認識されることによって、命令の
種類(LD、AND、OUT等)が判明すると共に、当該
命令で使用する変数名及びアドレス、その他のパラメー
タが判明することになる。従って、判明したラダー命令
の種類に基づいて、上述の如く予め登録されている複数
の機能部品の中から、ラダー命令に対応する1つの機能
部品、即ちラダー記号を選択することが出来る。又、判
明した変数名、アドレス、その他のパラメータに基づい
て、該ラダー記号の図形に付加すべき必要なパラメータ
を設定することが出来る。尚、ラダー記号の図形の表示
位置は、ラダー命令の種類から決定することが出来、ラ
ダー記号の図形の大きさは、予め適切な大きさとして規
定しておくことが出来る。この様にして、全てのラダー
命令についてラダー記号を順次選択しつつ、必要なパラ
メータを設定することによって、ラダープログラムを表
わす部品画面が完成することになる。
The function of recognizing a series of plural ladder commands constituting a ladder program by analyzing a ladder file is the same as that of a conventional ladder editor. By recognizing the ladder instruction, the type of the instruction (LD, AND, OUT, etc.) is determined, and the variable name, address, and other parameters used in the instruction are determined. Therefore, one functional component corresponding to the ladder command, that is, a ladder symbol, can be selected from the plurality of functional components registered in advance as described above, based on the type of the ladder command that has been found. Further, necessary parameters to be added to the figure of the ladder symbol can be set based on the found variable names, addresses, and other parameters. Note that the display position of the ladder symbol graphic can be determined from the type of the ladder command, and the size of the ladder symbol graphic can be defined in advance as an appropriate size. In this way, the part screen representing the ladder program is completed by setting necessary parameters while sequentially selecting ladder symbols for all ladder instructions.

【0022】上述の部品画面は、従来のプログラマブル
表示装置における部品画面と全く同一の情報、即ち機能
部品の図形、機能部品で使用する変数名、アドレス、そ
の他のパラメータを、同一フォーマットで含んでいる。
従って、上述のラダープログラムを表わす部品画面で構
成された画面ファイルをプログラマブル表示装置にダウ
ンロードすれば、プログラマブル表示装置のディスプレ
イにラダープログラムを表示することが出来る。
The above-described component screen contains exactly the same information as the component screen in the conventional programmable display device, that is, the graphic of the functional component, the variable names, addresses, and other parameters used in the functional component in the same format. .
Therefore, if the screen file composed of the component screens representing the ladder program is downloaded to the programmable display device, the ladder program can be displayed on the display of the programmable display device.

【0023】又、ラダープログラムの画面ファイルと、
ユーザが作成した表示用プログラムの画面ファイルとを
合成して、プログラマブル表示装置にダウンロードする
構成により、画面番号の指定によって、ラダープログラ
ムの表示画面とユーザ作成画面の間の切り換えを行なう
ことが出来る。
A screen file of a ladder program;
Combine with the screen file of the display program created by the user and download to the programmable display device
With this configuration, it is possible to switch between the display screen of the ladder program and the user-created screen by specifying the screen number.

【0024】[0024]

【発明の効果】本発明に係るラダープログラムのモニタ
ー方法及びモニター用プログラムを記録した記録媒体に
よれば、プログラマブル表示装置のディスプレイ上でラ
ダープログラムをモニターすることが出来るので、従来
の如く専用のモニター装置を接続する必要がなく、モニ
ター作業が簡便となる。
According to the method for monitoring a ladder program and the recording medium on which the program for monitoring is recorded according to the present invention, the ladder program can be monitored on the display of the programmable display device. There is no need to connect devices, and monitoring work is simplified.

【0025】[0025]

【発明の実施の形態】以下、図9に示すプログラマブル
表示装置(1)のラダープログラムのモニターに本発明を
実施した形態につき、図面に沿って具体的に説明する。
尚、プログラマブル表示装置(1)には、作画エディター
及びラダーエディターを用いて作成した表示用プログラ
ム及びラダープログラムが、夫々画面ファイル及びラダ
ーファイルとしてシステムプログラムメモリ(12)に格納
されているものとする。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment in which the present invention is applied to a monitor of a ladder program of a programmable display device (1) shown in FIG. 9 will be specifically described with reference to the drawings.
In the programmable display device (1), a display program and a ladder program created using a drawing editor and a ladder editor are stored in the system program memory (12) as a screen file and a ladder file, respectively. .

【0026】本発明に係るモニター用の画面生成プログ
ラムは、図1に示す如くパーソナルコンピュータ(4)に
よって読み取り可能なCD−ROM等の記録媒体(41)に
書き込まれている。尚、図4に示す如く、ラダープログ
ラムを構成すべき全てのラダー記号が、プログラマブル
表示装置(1)のディスプレイに表示すべき機能部品とし
て予め図形化され、パーソナルコンピュータ(4)のハー
ドディスクに格納されているものとする。
The monitor screen generating program according to the present invention is written in a recording medium (41) such as a CD-ROM readable by a personal computer (4) as shown in FIG. As shown in FIG. 4, all the ladder symbols constituting the ladder program are preliminarily figured as functional components to be displayed on the display of the programmable display device (1) and stored in the hard disk of the personal computer (4). It is assumed that

【0027】モニター用画面生成プログラムは、図2に
示す画面ファイル作成手続きと、図3に示すダウンロー
ド手続きとから構成されている。図2の画面ファイル作
成手続きにおいては、先ずステップS1にて、パーソナ
ルコンピュータ上に存在するラダーファイルを読み込
み、ステップS2では、読み込んだラダーファイルを解
析する。ここでラダーファイルの解析は、ラダーエディ
ターを用いて作成されたラダープログラムをラダー図と
して表示する際に行なう解析と同じであって、この解析
によって、ラダープログラムを構成している各ラダー命
令の種類(LD、AND、OUT等)が判明すると共に、
当該命令で使用する変数名及びアドレス、その他のパラ
メータが判明することになる。
The monitor screen generation program includes a screen file creation procedure shown in FIG. 2 and a download procedure shown in FIG. In the screen file creation procedure of FIG. 2, first, at step S1, a ladder file existing on the personal computer is read, and at step S2, the read ladder file is analyzed. Here, the analysis of the ladder file is the same as the analysis performed when a ladder program created using the ladder editor is displayed as a ladder diagram, and the type of each ladder instruction constituting the ladder program is analyzed by this analysis. (LD, AND, OUT, etc.)
The variable name, address, and other parameters used in the instruction will be known.

【0028】そして、ステップS3では、上述の様に判
明したラダー命令の種類に基づいて、ハードディスクに
格納されている複数の機能部品(図4参照)の中から、各
ラダー命令に対応する機能部品、即ちラダー記号を選択
する。又、上述の様に判明した変数名、アドレス、その
他のパラメータに基づいて、該ラダー記号の図形に付加
すべき必要なパラメータ(デバイス名、大きさ、位置等)
を設定する。ここで、ラダー記号の図形の表示位置は、
ラダー記号の選択順序とラダー命令の種類から自動的に
決定される。又、ラダー記号の図形の大きさは、予め規
定された適切な大きさに決定される。ステップS3の更
に具体的な手続きについては後述する。この結果、図5
に示す如く、ラダープログラムを複数のラダー記号で表
わした1或いは複数枚の部品で構成された画面(部品画
面)が完成することになる。
In step S3, based on the type of the ladder command determined as described above, a functional component corresponding to each ladder command is selected from a plurality of functional components (see FIG. 4) stored in the hard disk. , That is, the ladder symbol is selected. Also, necessary parameters (device name, size, position, etc.) to be added to the ladder symbol figure based on the variable names, addresses, and other parameters found as described above.
Set. Here, the display position of the ladder symbol figure is
It is automatically determined from the selection order of ladder symbols and the type of ladder instruction. Further, the size of the figure of the ladder symbol is determined to an appropriate size defined in advance. A more specific procedure of step S3 will be described later. As a result, FIG.
As shown in (1), a screen (parts screen) composed of one or a plurality of parts in which the ladder program is represented by a plurality of ladder symbols is completed.

【0029】続いて、図2のステップS4では、ディス
プレイ上の表示をユーザ作成画面とモニター画面の間で
切り換えるための画面番号変更部品や、ラダープログラ
ムを動作させるためのRUN/STOP等のラダー状態
変更用タグを、各部品画面に追加する。その後、ステッ
プS5では、作成された1或いは複数枚の部品画面を、
図12(b)に示すユーザ作成の画面ファイル(8)と同一
フォーマットを有するラダーモニター用画面ファイルと
して、パーソナルコンピュータ(4)のハードディスクに
保存する。
Subsequently, in step S4 of FIG. 2, a screen number change component for switching the display on the display between the user created screen and the monitor screen, and a ladder state such as RUN / STOP for operating the ladder program. Add a change tag to each component screen. Then, in step S5, one or more created component screens are displayed.
It is stored on the hard disk of the personal computer (4) as a ladder monitor screen file having the same format as the user-created screen file (8) shown in FIG.

【0030】図3のダウンロード手続きにおいては、先
ずステップS21にて、ラダーモニター用画面ファイル
とユーザ作成の画面ファイルとを合成する。即ち、これ
らのファイルに個別の画面番号を付与し、これらを1つ
のプロジェクトファイルにまとめる。そして、ステップ
S22では、合成された画面ファイルをプログラマブル
表示装置(1)にダウンロードする。続いて、ステップS
23では、ラダーファイルをプログラマブル表示装置
(1)にダウンロードする。最後にステップS24では、
プログラマブル表示装置(1)のディスプレイ(18)に表示
すべき画面をラダーモニター用画面に切り替えて、手続
きを終了する。
In the download procedure of FIG. 3, first, in step S21, a ladder monitor screen file and a user-created screen file are combined. That is, individual screen numbers are assigned to these files, and they are combined into one project file. Then, in step S22, the synthesized screen file is downloaded to the programmable display device (1). Then, step S
In 23, a ladder file is stored in a programmable display device.
Download to (1). Finally, in step S24,
The screen to be displayed on the display (18) of the programmable display device (1) is switched to the ladder monitor screen, and the procedure ends.

【0031】この結果、図1に示す如く、プログラマブ
ル表示装置(1)のディスプレイ(18)には、ラダー記号を
用いたラダープログラムが表示されることになる。尚、
パーソナルコンピュータ(4)から画面ファイル及びラダ
ーファイルをプログラマブル表示装置(1)にダウンロー
ドした後は、プログラマブル表示装置(1)からパーソナ
ルコンピュータ(4)を切り離すことが可能であって、プ
ログラマブル表示装置(1)単独で、ラダープログラムを
モニターすることが出来る。
As a result, as shown in FIG. 1, a ladder program using ladder symbols is displayed on the display (18) of the programmable display device (1). still,
After downloading the screen file and the ladder file from the personal computer (4) to the programmable display device (1), the personal computer (4) can be separated from the programmable display device (1), and the programmable display device (1) can be disconnected. ) A ladder program can be monitored by itself.

【0032】図6は、ラダープログラムの解析結果に基
づいてラダーモニター用画面を作成するための具体的な
手続きを表わしている。先ずステップS31にて、カウ
ンターiをリセットした後、ステップS32にて、ラダ
ープログラムを構成している複数のラダー命令の中か
ら、i番目のラダー命令を読み込む。そして、ステップ
S33にて、読み込んだラダー命令の種類を判断する。
FIG. 6 shows a specific procedure for creating a ladder monitor screen based on the analysis result of the ladder program. First, in step S31, the counter i is reset, and in step S32, the ith ladder instruction is read from a plurality of ladder instructions constituting the ladder program. Then, in step S33, the type of the read ladder instruction is determined.

【0033】読み込み命令LDであると判断されたとき
は、ステップS41に移行して、ハードディスクに格納
されている複数の機能部品の中からLD部品を選択し、
ステップS42では、LD部品の銘板に、ラダー命令に
含まれるデバイス名(変数名)をセットする。次にステッ
プS43では、タッチタグの動作設定(図10(c)参照)
を行なう。更にステップS44では、LD部品のOn/
Off時の色設定(図10(b)参照)を行なう。
If it is determined that the read command is a read command LD, the process shifts to step S41 to select an LD component from a plurality of functional components stored in the hard disk.
In step S42, the device name (variable name) included in the ladder instruction is set on the name plate of the LD component. Next, in step S43, the operation setting of the touch tag (see FIG. 10C)
Perform Further, in step S44, On /
The color setting at the time of Off (see FIG. 10B) is performed.

【0034】又、アンド命令ANDであると判断された
ときは、ステップS45に移行して、ハードディスクに
格納されている複数の機能部品の中からAND部品を選
択し、ステップS46では、AND部品の銘板に、ラダ
ー命令に含まれるデバイス名(変数名)をセットする。次
にステップS47では、タッチタグの動作設定(図10
(c)参照)を行なう。更にステップS48では、AND
部品のOn/Off時の色設定(図10(b)参照)を行な
う。
If it is determined that the AND command is AND, the process proceeds to step S45 to select an AND component from a plurality of functional components stored in the hard disk. Set the device name (variable name) included in the ladder instruction on the nameplate. Next, in step S47, the operation setting of the touch tag (FIG. 10)
(Refer to (c)). Further, in step S48, AND
The on / off color setting of the component is performed (see FIG. 10B).

【0035】又、出力命令OUTであると判断されたと
きは、ステップS49に移行して、ハードディスクに格
納されている複数の機能部品の中からOUT部品を選択
し、ステップS50では、OUT部品の銘板に、ラダー
命令に含まれるデバイス名(変数名)をセットする。次に
ステップS51では、タッチタグの動作設定(図10
(c)参照)を行なう。更にステップS52では、OUT
部品のOn/Off時の色設定(図10(b)参照)を行な
う。
If it is determined that the output command is an output command OUT, the process proceeds to step S49 to select an OUT component from among a plurality of functional components stored in the hard disk. Set the device name (variable name) included in the ladder instruction on the nameplate. Next, in step S51, the operation setting of the touch tag (FIG. 10)
(Refer to (c)). Further, in step S52, OUT
The on / off color setting of the component is performed (see FIG. 10B).

【0036】他のラダー命令であるときも、同様にパラ
メータを付加した後、ステップS53に移行し、パラメ
ータを付加した部品を配列Array[i]に格納す
る。その後、ステップS54にて、iをカウントアップ
した後、ステップS55にて、ラダー命令がまだ存在す
るかどうかを判断し、イエスの場合は、ステップS32
に戻って、ステップS32〜S54を繰り返す。そし
て、ステップS55にてノーと判断されたときは、ステ
ップS56に移行して、部品配列Arrayをベース画
面に配置し、手続きを終了する。
In the case of another ladder command, after the parameter is similarly added, the process proceeds to step S53, and the component to which the parameter is added is stored in the array Array [i]. Thereafter, in step S54, i is counted up, and in step S55, it is determined whether or not the ladder instruction still exists.
And the steps S32 to S54 are repeated. If the determination is NO in step S55, the process proceeds to step S56, where the component array Array is arranged on the base screen, and the procedure ends.

【0037】図7(a)(b)(c)は、上記手続きの実行に
よって、ラダープログラムを構成する複数行のラダー命
令がそれぞれ機能部品に変換された後、ベース画面に配
置されていく様子を模式的に表わしたものである。図示
する例では、先ず、図7(a)の読み込み命令LDに基づ
いて、同図(b)のLD部品P1が選択されると共に、変
数名XB0に基づいて銘板“XB0”がセットされ、該
部品がArray[0]に格納される。次に、図7(a)
のアンド命令ANDに基づいて、同図(b)のAND部品
P2が選択されると共に、変数名XB1に基づいて銘板
“XB1”がセットされ、該部品がArray[1]に
格納される。その後、図7(a)の出力命令OUTに基づ
いて、同図(b)のOUT部品P3が選択されると共に、
変数名YB0に基づいて銘板“YB0”がセットされ、
該部品がArray[2]に格納される。
FIGS. 7A, 7B, and 7C show how the ladder instructions constituting the ladder program are converted into functional components by the execution of the above-described procedure, and then are arranged on the base screen. Is schematically represented. In the illustrated example, first, the LD part P1 in FIG. 7B is selected based on the read command LD in FIG. 7A, and the nameplate “XB0” is set based on the variable name XB0. The part is stored in Array [0]. Next, FIG.
Based on the AND command AND, the AND part P2 in FIG. 13B is selected, and a nameplate "XB1" is set based on the variable name XB1, and the part is stored in Array [1]. Thereafter, based on the output command OUT in FIG. 7A, the OUT component P3 in FIG.
Nameplate “YB0” is set based on the variable name YB0,
The part is stored in Array [2].

【0038】上記Array[0]、[1]及び[2]
は、同図(c)に示す様に、一定の規則に従ってベース画
面上に配列され、ラダー図を構成する。即ち、初期状態
のラダー図に対して、先ずArray[0]のLD命令
が追加され、続いてArray[1]のAND命令が追
加され、その後、Array[2]のOUT命令が追加
される。そして、最後に、空白部分が線部品で埋められ
る。尚、各部品に対するパラメータの設定において、各
部品の位置は、従来のラダーエディターによるラダー図
の描画に用いられている技術によって、容易に決定する
ことが出来る。各部品の大きさは、予め適切な大きさと
して規定されているものを付加する。又、On/Off
時の色は、ユーザが予め決定したものを付加する。
The above Arrays [0], [1] and [2]
Are arranged on the base screen according to a certain rule, as shown in FIG. That is, first, an LD instruction of Array [0] is added to the ladder diagram in the initial state, an AND instruction of Array [1] is added, and then an OUT instruction of Array [2] is added. Finally, the blank portion is filled with the line component. In setting the parameters for each component, the position of each component can be easily determined by a technique used for drawing a ladder diagram using a conventional ladder editor. For the size of each component, a size specified in advance as an appropriate size is added. Also, On / Off
The color of the time is determined by the user.

【0039】上述の様にして得られるラダープログラム
の部品で構成された画面(部品画面)は、ユーザが作画エ
ディターを用いて作成する画面と同一の情報を同一フォ
ーマットで含んでいるので、ラダープログラムの画面フ
ァイルをパーソナルコンピュータ(4)からプログラマブ
ル表示装置(1)にダウンロードすれば、ユーザ作成画面
と同様に、プログラマブル表示装置(1)のディスプレイ
(18)にラダープログラムを表示することが出来る。従っ
て、従来の如く専用のモニター装置を接続する必要がな
く、モニター作業が簡便となる。
The screen (parts screen) composed of the parts of the ladder program obtained as described above contains the same information in the same format as the screen created by the user using the drawing editor. If the screen file of (1) is downloaded from the personal computer (4) to the programmable display device (1), the display of the programmable display device (1) is displayed in the same manner as the screen created by the user.
A ladder program can be displayed in (18). Therefore, it is not necessary to connect a dedicated monitor device as in the related art, and the monitoring operation is simplified.

【0040】ところで、ラダーファイル(7)には、図8
(a)に示す如くラダー命令に使用している変数の型を規
定した変数テーブル(73)が設定されており、該変数テー
ブル(73)を対象として、本発明に係るモニター方法を応
用することも可能である。例えば変数テーブル(73)から
同図(b)の如くディスクリート(Discrete)型の変数のみ
を抽出し、これらの変数を同図(c)に示すビットスイッ
チ部品としてベース画面上に配置した部品画面を作成す
る。各ビットスイッチ部品には、図11(b)に示す処理
指示語WLと、同図(c)に示す処理指示語WT(タッチ
タグ)とを設定する。この様にして作成された画面ファ
イルをプログラマブル表示装置(1)にダウンロードし、
ディスプレイ(18)に表示する。
By the way, the ladder file (7) contains FIG.
As shown in (a), a variable table (73) defining the type of a variable used in a ladder instruction is set, and the monitoring method according to the present invention is applied to the variable table (73). Is also possible. For example, a component screen in which only discrete (Discrete) type variables are extracted from the variable table (73) as shown in FIG. (B) and these variables are arranged on the base screen as bit switch components shown in FIG. create. In each bit switch component, a processing instruction word WL shown in FIG. 11B and a processing instruction word WT (touch tag) shown in FIG. 11C are set. The screen file created in this way is downloaded to the programmable display device (1),
Display on the display (18).

【0041】この状態で、例えば、何れかのビットスイ
ッチ部品を押圧操作すると、これによって入力されたデ
ータに応じて、ラダープログラムに従って作成されるデ
ータが変化することになる。そして、このデータの変化
に応じて、ディスプレイ(18)に表示されている他のビッ
トスイッチ部品の表示色が変更されることになる。この
様にして、ビットスイッチ部品を押圧操作し、ラダープ
ログラムを動作させることによって、デバッグ作業等を
行なうことが出来る。
In this state, for example, when any one of the bit switch parts is pressed, the data created in accordance with the ladder program changes according to the data input thereby. Then, in accordance with the change in the data, the display color of the other bit switch components displayed on the display (18) is changed. In this way, by pressing the bit switch component and operating the ladder program, debugging and the like can be performed.

【0042】又、変数テーブル(73)から整数型の変数の
みを抽出し、数値表示部品に変数を割り付けた部品画面
や、カウンター変数のみを抽出し、カウンター値表示部
品及びカウンタープリセット値変更部品に変数を割り付
けた部品画面、若しくは、タイマー変数のみを抽出し、
タイマー値表示部品及びタイマープリセット値変更部品
に変数を割り付けた部品画面を作成することも可能であ
る。
Also, only the integer type variables are extracted from the variable table (73) and only the component screens in which the variables are assigned to the numerical value display components and the counter variables are extracted, and the counter value display components and the counter preset value change components are extracted. Extract only the component screen to which the variable is assigned or the timer variable,
It is also possible to create a component screen in which variables are assigned to the timer value display component and the timer preset value changing component.

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

【図1】本発明を実施すべきプログラマブル表示装置に
パーソナルコンピュータを接続した状態を表わす図であ
る。
FIG. 1 is a diagram illustrating a state in which a personal computer is connected to a programmable display device in which the present invention is to be implemented.

【図2】本発明に係るモニター方法における画面ファイ
ル作成手続きを表わすフローチャートである。
FIG. 2 is a flowchart illustrating a screen file creation procedure in the monitor method according to the present invention.

【図3】本発明に係るモニター方法におけるダウンロー
ド手続きを表わすフローチャートである。
FIG. 3 is a flowchart illustrating a download procedure in the monitoring method according to the present invention.

【図4】ラダー記号の機能部品を表わす図である。FIG. 4 is a diagram illustrating functional components of a ladder symbol.

【図5】ラダープログラムの部品画面を表わす図であ
る。
FIG. 5 is a diagram illustrating a component screen of a ladder program.

【図6】部品画面作成の手続きを表わすフローチャート
である。
FIG. 6 is a flowchart illustrating a procedure for creating a component screen.

【図7】複数行のラダー命令がそれぞれ機能部品に変換
された後、ベース画面に配置されていく様子を表わす模
式図である。
FIG. 7 is a schematic diagram showing a state in which a plurality of lines of ladder instructions are converted into functional components and then arranged on a base screen.

【図8】変数テーブルに基づいて複数のビットスイッチ
部品からなる部品画面を作成する処理を説明する図であ
る。
FIG. 8 is a diagram illustrating a process of creating a component screen including a plurality of bit switch components based on a variable table.

【図9】プログラマブル表示装置の構成を表わすブロッ
ク図である。
FIG. 9 is a block diagram illustrating a configuration of a programmable display device.

【図10】処理指示語のフォーマットを説明する図であ
る。
FIG. 10 is a diagram illustrating a format of a processing instruction word.

【図11】ラダーファイル及び画面ファイルのデータ構
造を説明する図である。
FIG. 11 is a diagram illustrating a data structure of a ladder file and a screen file.

【図12】従来の表示装置の構成を表わすブロック図で
ある。
FIG. 12 is a block diagram illustrating a configuration of a conventional display device.

【図13】該表示装置の外観を表わす一部破断斜視図で
ある。
FIG. 13 is a partially cutaway perspective view showing the appearance of the display device.

【図14】PLCに従来のモニター装置を接続した状態
を表わす図である。
FIG. 14 is a diagram showing a state in which a conventional monitoring device is connected to a PLC.

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

(1a) 表示装置 (1) プログラマブル表示装置 (15) タッチパネル (18) ディスプレイ (3) PLC (4) パーソナルコンピュータ (1a) Display device (1) Programmable display device (15) Touch panel (18) Display (3) PLC (4) Personal computer

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

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 ラダープログラムの実行によって制御対
象の動作を制御すると共に、表示用プログラムの実行に
よって、制御対象の動作状態を表わす複数の機能部品か
らなる部品画面をディスプレイに表示することが可能で
あり、各機能部品には、機能部品の表示に関するパラメ
ータが付加されるプログラマブル表示装置を対象とし
て、プログラマブル表示装置のディスプレイ上でラダー
プログラムをモニターするための方法であって、 ラダープログラムが記述されたラダーファイルを読み込
むステップと、 読み込んだラダーファイルを解析して、ラダープログラ
ムを構成する一連の複数のラダー命令を認識するステッ
プと、 認識された各ラダー命令について、表示用プログラムに
よって描画されるべき複数の機能部品から、ラダー命令
に対応する1つの機能部品を選択すると共に、該機能部
品に付加すべき必要なパラメータを設定するステップ
と、 前記ステップによって選択された複数の機能部品と各機
能部品について設定されたパラメータとに基づいて、ラ
ダープログラムを表わす部品画面を生成すると共に、デ
ィスプレイ上の表示をラダープログラムの表示画面とユ
ーザ作成画面との間で切り換えるための画面番号変更部
品を前記部品画面に追加し、画面番号変更部品の追加さ
れた部品画面を画面ファイルとして保存するステップ
と、 前記保存された画面ファイルと、ユーザが作成した表示
用プログラムが記述された画面ファイルとに個別の画面
番号を付与して、両ファイルを合成し、プログラマブル
表示装置にダウンロードするステップ とを有することを
特徴とするラダープログラムのモニター方法。
A control program is executed by executing a ladder program.
Control the movement of the elephant and execute the display program
Therefore, if there are multiple functional components that represent the operating state of the
Component screen can be displayed on the display.
Each functional component has parameters related to the display of the functional component.
For programmable display devices to which data is added.
Ladder on the display of the programmable display device
A method for monitoring a program, which reads a ladder file containing a ladder program.
Ladder file is analyzed and the ladder program
A step that recognizes a series of multiple ladder instructions
And each recognized ladder instruction in the display program
Therefore, ladder instructions are sent from multiple functional objects to be drawn.
To select one functional component corresponding to
For setting necessary parameters to be added to the product
And the plurality of functional components and each device selected in the step.
Based on the parameters set for the functional parts.
A component screen that represents the header programAlong with
The display on the display is displayed on the display screen of the ladder program.
Screen number change section for switching between user creation screens
Part is added to the parts screen, and the screen number
Parts screenSteps to save as screen file
When, The saved screen file and the display created by the user
Screen and screen file in which the application program is described
Assign a number, combine both files, and program
Step of downloading to the display device And having
Characteristic ladder program monitoring method.
【請求項2】 更に、ダウンロードされた画面ファイル
に基づいて、プログラマブル表示装置の画面にラダープ
ログラムを表示するステップを有する請求項1に記載の
モニター方法。
2. The monitoring method according to claim 1, further comprising the step of displaying a ladder program on a screen of a programmable display device based on the downloaded screen file.
【請求項3】 ラダープログラムの実行によって制御対
象の動作を制御すると共に、表示用プログラムの実行に
よって、制御対象の動作状態を表わす複数の機能部品か
らなる部品画面をディスプレイに表示することが可能で
あり、各機能部品には、機能部品の表示に関するパラメ
ータが付加されるプログラマブル表示装置を対象とし
て、プログラマブル表示装置のディスプレイ上でラダー
プログラムをモニターするためのプログラムを記録した
記録媒体であって、 ラダープログラムが記述されたラダーファイルを読み込
む処理と、 読み込んだラダーファイルを解析して、ラダープログラ
ムを構成する一連の複数のラダー命令を認識する処理
と、 認識された各ラダー命令について、表示用プログラムに
よって描画されるべき複数の機能部品から、ラダー命令
に対応する1つの機能部品を選択すると共に、該機能部
品に付加すべき必要なパラメータを設定する処理と、 前記処理によって選択された複数の機能部品と各機能部
品について設定されたパラメータとに基づいて、ラダー
プログラムを表わす部品画面を生成すると共に、ディス
プレイ上の表示をラダープログラムの表示画面とユーザ
作成画面との間で切り換えるための画面番号変更部品を
前記部品画面に追加し、画面番号変更部品の追加された
部品画面を画面ファイルとして保存する処理と、 前記保存された画面ファイルと、ユーザが作成した表示
用プログラムが記述された画面ファイルとに個別の画面
番号を付与して、両ファイルを合成し、プログラマブル
表示装置にダウンロードする処理 とを実行させるモニタ
ー用プログラムが記録されたコンピュータ読み取り可能
な記録媒体。
3. A control program executed by executing a ladder program.
Control the movement of the elephant and execute the display program
Therefore, if there are multiple functional components that represent the operating state of the
Component screen can be displayed on the display.
Each functional component has parameters related to the display of the functional component.
For programmable display devices to which data is added.
Ladder on the display of the programmable display device
Recorded a program to monitor the program
Reads a ladder file in which a ladder program is written on a storage medium
Analysis of the read ladder file and the ladder program
Recognizing a series of multiple ladder instructions that make up a system
And for each recognized ladder instruction, the display program
Therefore, ladder instructions are sent from multiple functional objects to be drawn.
To select one functional component corresponding to
A process for setting necessary parameters to be added to the product;
Ladder based on the parameters set for the product
Generate parts screens representing programsAnd at the same time
Ladder program display screen and user display on play
Screen number change parts for switching to the creation screen
Added a screen number change part to the part screen
Parts screenProcessing to save as screen fileWhen, The saved screen file and the display created by the user
Screen and screen file in which the application program is described
Assign a number, combine both files, and program
Download to display device AndRunmonitor
Computer readable computer program
Recording medium.
JP19077198A 1998-07-06 1998-07-06 Ladder program monitoring method and computer-readable recording medium recording monitoring program Expired - Fee Related JP3358800B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19077198A JP3358800B2 (en) 1998-07-06 1998-07-06 Ladder program monitoring method and computer-readable recording medium recording monitoring program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19077198A JP3358800B2 (en) 1998-07-06 1998-07-06 Ladder program monitoring method and computer-readable recording medium recording monitoring program

Publications (2)

Publication Number Publication Date
JP2000020113A JP2000020113A (en) 2000-01-21
JP3358800B2 true JP3358800B2 (en) 2002-12-24

Family

ID=16263461

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19077198A Expired - Fee Related JP3358800B2 (en) 1998-07-06 1998-07-06 Ladder program monitoring method and computer-readable recording medium recording monitoring program

Country Status (1)

Country Link
JP (1) JP3358800B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4542494B2 (en) * 2005-10-17 2010-09-15 株式会社キーエンス Programmable display device, debugging support program, and debugging device control method

Also Published As

Publication number Publication date
JP2000020113A (en) 2000-01-21

Similar Documents

Publication Publication Date Title
JP3847585B2 (en) Editor registration device, registration program, and recording medium recording the same
JP4462426B2 (en) PLC tool device
JP3358800B2 (en) Ladder program monitoring method and computer-readable recording medium recording monitoring program
JPH10283020A (en) Programmable display device
JP3297844B2 (en) Download system and computer-readable recording medium recording download program
JP2015187860A (en) Information processor, information processing method, and program
JP3283225B2 (en) Editor device and computer-readable recording medium recording editor program
JP3479222B2 (en) Display screen creation support device for a programmable display device
JPH07248809A (en) Programming device
JP3363056B2 (en) Programmable display
JPH11265280A (en) Graphic editor and computer-readable recording medium for recording editor program
JP4970404B2 (en) Editor device and program
JP2001075790A (en) Editor device and recording medium recording editor program
JP3392659B2 (en) Operation screen creation method for programmable display device
JP2003223204A (en) Programming method of programmable controller, system thereof and recording medium thereof
JP2003044277A (en) Program development support device, program development support program and recording medium having the same program recorded thereon
JP2003044105A (en) Editor device, editor program, and recording medium where the same is recorded
JP2003122408A (en) Method of preparing data for control system
JP3481436B2 (en) File management system
JP2000215035A (en) Operation image generating method for program type display device
JP2971251B2 (en) SFC programming device
JP2003295912A (en) Editor device for recording medium recording editor program
JPS6132106A (en) Programming device of programmable controller
JP2001282598A (en) Operation screen management method for program expression display device
JPH07230307A (en) Program developing device for sequencer

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20071011

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20081011

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20091011

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20101011

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20111011

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees