JPH09244714A - Programming device - Google Patents

Programming device

Info

Publication number
JPH09244714A
JPH09244714A JP4729896A JP4729896A JPH09244714A JP H09244714 A JPH09244714 A JP H09244714A JP 4729896 A JP4729896 A JP 4729896A JP 4729896 A JP4729896 A JP 4729896A JP H09244714 A JPH09244714 A JP H09244714A
Authority
JP
Japan
Prior art keywords
comment
screen
programming device
displayed
symbol
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP4729896A
Other languages
Japanese (ja)
Inventor
Tsutomu Sunaga
勉 須永
Kenichi Nagakura
賢一 長倉
Norihiro Aida
憲弘 會田
Mitsuru Soga
満 曽我
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.)
Hitachi Ltd
Hitachi Keiyo Engineering Co Ltd
Original Assignee
Hitachi Ltd
Hitachi Keiyo Engineering Co Ltd
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 Hitachi Ltd, Hitachi Keiyo Engineering Co Ltd filed Critical Hitachi Ltd
Priority to JP4729896A priority Critical patent/JPH09244714A/en
Publication of JPH09244714A publication Critical patent/JPH09244714A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)
  • Programmable Controllers (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide the programming device which can perform efficient programming by improving the input efficiency of an I/O number when a sequence program is generated. SOLUTION: According to information supplied from a keyboard 22 or mouse 20, an I/O number list consisting of I/O numbers to be given to previously stored symbols is displayed on the screen of a CRT 18 at least partially together with a ladder diagram and once a specific I/O number to be given to one symbol is selected out of the display I/O number list with the mouse 20, the selected I/O number is given to the symbol. Specially, the I/O number which is given to the symbol and already used and unused I/O numbers are displayed on the screen of the CRT 18 distinctively.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明はプログラマブルコン
トローラ(PC)のプログラミング装置に関し、特に、
ラダーダイヤグラムを作成する際にI/O番号などを入
力するためのプログラミング装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a programmable controller (PC) programming device, and more particularly,
The present invention relates to a programming device for inputting an I / O number and the like when creating a ladder diagram.

【0002】[0002]

【従来の技術】プログラマブルコントローラ(PC)
は、機械やプロセスを制御するための特定のシーケンス
プログラムをメモリに記憶し、このシーケンスプログラ
ムを構成する命令に基づき、演算、順序制御などを実行
するものである。このようなPCのメモリに格納すべき
シーケンスプログラムを入力する際に、従来より、CR
Tなどの表示装置上に表示されたラダーダイヤグラムを
参照して、入力装置を用いて所定の順序で接点などのシ
ンボルを入力し、或いは、特定のアセンブリ言語を用い
て、所定の順序で特定の命令を入力している。
2. Description of the Related Art Programmable controller (PC)
Stores a specific sequence program for controlling a machine or a process in a memory, and executes calculation, sequence control, etc. based on an instruction constituting the sequence program. When inputting a sequence program to be stored in the memory of such a PC, the CR
With reference to a ladder diagram displayed on a display device such as T, input symbols are input in a predetermined order using an input device, or a specific assembly language is used to specify a specific order in a predetermined order. You are entering an instruction.

【0003】たとえば、特開平4−348404号公報には、
ラダーダイヤグラムを作成するためのプログラミング装
置が開示されている。この技術によれば、表示装置中の
入力位置カーソルの位置に、所望のシンボル、および、
パラメータすなわちI/O番号を、入力装置を用いて入
力し、シンボル、パラメータが、それぞれ、所定のよう
にメモリの領域に記憶され、これによりプログラムが作
成される。
For example, Japanese Patent Laid-Open No. 4-348404 discloses that
A programming device for creating a ladder diagram is disclosed. According to this technique, at the position of the input position cursor in the display device, the desired symbol, and
A parameter, that is, an I / O number is input using an input device, and a symbol and a parameter are stored in predetermined areas of the memory, respectively, and a program is created.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、従来の
プログラム入力装置においては、ラダーダイヤグラム中
のある位置に配置されたシンボルに対応して与えるべき
I/O番号を入力する場合に、使用することが意図され
るI/O番号を紙などに記入しき、これらから、使用可
能な、すなわち、シンボルに未だ割り当てられていない
I/O番号、或いは、既に使用されているが再度使用し
たいI/O番号などを、操作者が選択し、これを入力装
置を用いて入力する必要がある。
However, the conventional program input device can be used when inputting an I / O number to be given corresponding to a symbol arranged at a certain position in a ladder diagram. Enter the intended I / O number on a piece of paper, etc., and from this you can use an I / O number that has not been assigned to the symbol, or an I / O number that has already been used but you want to use it again. It is necessary for the operator to select, and input it using the input device.

【0005】また、ラダーダイヤグラム中のある位置に
配置されたシンボルに関する処理内容などを、コメント
として記載することが好ましい場合が考えられる。この
ような場合に、従来のプログラム入力装置においては、
ラダーダイヤグラムを作成する画面とは別個に、I/O
番号と対応付けられたコメントを入力する画面が、CR
T上に表示され、操作者は、所望のI/O番号と対応す
るように、所定のコメントを入力していた。すなわち、
ラダーダイヤグラムの作成とは全く別個に、コメントを
入力する必要があった。
In addition, it may be preferable to describe, as a comment, the processing contents relating to the symbol arranged at a certain position in the ladder diagram. In such a case, in the conventional program input device,
Separate from the screen for creating the ladder diagram, I / O
The screen for entering a comment associated with a number is CR
Displayed on T, the operator has entered a predetermined comment so as to correspond to the desired I / O number. That is,
It was necessary to enter the comment completely separately from the creation of the ladder diagram.

【0006】本発明は、PCのシーケンスプログラム
を、プログラミング装置を用いて作成する際の、I/O
番号の入力効率を向上させ、効率よくプログラミングを
実行できるプログラミング装置を提供することを目的と
する。
The present invention is an I / O for creating a PC sequence program using a programming device.
An object of the present invention is to provide a programming device that can improve the efficiency of inputting numbers and efficiently execute programming.

【0007】[0007]

【課題を解決するための手段】本発明の目的は、入力手
段により入力された情報に基づき、所定の画像を表示す
る表示手段と、前記表示手段の画面上の所望の位置を指
定する画面位置指定手段とを備え、前記入力手段および
画面位置指定手段を用いて、前記画面上にラダーダイヤ
グラムを作成することにより、プログラマブルコントロ
ーラのためのシーケンスプログラムを得るプログラミン
グ装置であって、前記入力手段および前記画面位置指定
手段の少なくとも一方により与えられた情報に基づき選
択されたシンボルに付与することが意図されるI/O番
号を記憶するI/O番号記憶手段と、前記少なくとも一
方により与えられた他の情報に基づき、前記I/O番号
記憶手段に記憶されたI/O番号からなるI/O番号一
覧表を作成する一覧表作成手段と、前記一覧表作成手段
により作成され、かつ、前記表示手段の画面上に、前記
ラダーダイヤグラムとともに少なくとも部分的に表示さ
れた前記I/O番号一覧表から、前記シンボルに付与す
べき所定のI/O番号が、前記画面位置指定手段により
選択されたことに応答して、前記シンボルに前記選択さ
れたI/O番号を付与するI/O番号付与手段とを備え
たことを特徴とするプログラミング装置により達成され
る。
It is an object of the present invention to display means for displaying a predetermined image on the basis of the information inputted by the input means, and a screen position for designating a desired position on the screen of the display means. A programming device that includes a designating unit and obtains a sequence program for a programmable controller by creating a ladder diagram on the screen using the inputting unit and the screen position designating unit. I / O number storage means for storing an I / O number intended to be given to the symbol selected based on the information given by at least one of the screen position designating means, and another one given by the at least one. Based on the information, an I / O number list consisting of I / O numbers stored in the I / O number storage means is created. The symbol should be given to the symbol from the table creating means and the I / O number list created by the list creating means and displayed at least partially with the ladder diagram on the screen of the display means. An I / O number assigning unit that assigns the selected I / O number to the symbol in response to the predetermined I / O number being selected by the screen position designating unit. Is achieved by a programming device.

【0008】本発明によれば、操作者は、表示手段の画
面上に、ラダーダイヤグラムとともに、少なくとも部分
的に表示されたI/O番号一覧表から、所望のI/O番
号を選択することにより、シンボルにI/O番号を付与
することができるため、煩雑な手順を経ることなく、効
率良くシーケンスプログラムを作成することが可能とな
る。
According to the present invention, the operator selects a desired I / O number from the I / O number list displayed at least partially along with the ladder diagram on the screen of the display means. Since it is possible to assign an I / O number to a symbol, it is possible to efficiently create a sequence program without a complicated procedure.

【0009】本発明の好ましい実施態様においては、前
記一覧表作成手段が、前記シンボルに付与され、既に使
用されたI/O番号と、未使用のI/O番号とを区別し
て表示するように、前記I/O番号一覧表を作成するよ
うに構成されている。
In a preferred embodiment of the present invention, the list forming means displays the I / O numbers which have been assigned to the symbols and which have already been used and unused I / O numbers in a distinguishable manner. , Is configured to create the I / O number list.

【0010】この実施態様によれば、操作者は、表示手
段の画面上に得られた画像を参照することにより、既に
使用されたI/O番号と、未使用のI/O番号とを容易
に識別することが可能となるため、さらに効率良く、シ
ーケンスプログラムを作成することが可能となる。
According to this embodiment, the operator can easily identify the already used I / O number and the unused I / O number by referring to the image obtained on the screen of the display means. Therefore, the sequence program can be created more efficiently.

【0011】本発明の好ましい実施態様においては、さ
らに、前記I/O番号のそれぞれに対応するI/Oコメ
ントを記憶するI/Oコメントテーブルを有し、前記入
力手段および前記画面位置指定手段の少なくとも一方か
ら与えられたさらに他の情報に応答して、前記I/Oコ
メントテーブル中の所定のI/Oコメントを、前記表示
手段上の画面上に、前記I/O番号一覧表とともに表示
するI/Oコメント制御手段を備えている。
In a preferred embodiment of the present invention, an I / O comment table for storing I / O comments corresponding to each of the I / O numbers is further provided, and the I / O comment table of the input means and the screen position designation means is further provided. In response to further information given from at least one, a predetermined I / O comment in the I / O comment table is displayed on the screen of the display means together with the I / O number list. The I / O comment control means is provided.

【0012】この実施態様によれば、I/O番号に対応
するI/Oコメントを、表示手段の画面中に、I/O番
号とともに得ることができる。
According to this embodiment, the I / O comment corresponding to the I / O number can be obtained together with the I / O number on the screen of the display means.

【0013】本発明のさらに好ましい実施態様において
は、前記I/Oコメント制御手段が、前記I/O番号と
前記I/Oコメントとを対応付けたI/Oコメント対応
表を作成し、前記表示手段の画面上に前記I/Oコメン
ト対応表を表示するように構成されている。
[0013] In a further preferred aspect of the present invention, the I / O comment control means creates an I / O comment correspondence table in which the I / O number and the I / O comment are associated with each other, and the display is performed. The I / O comment correspondence table is displayed on the screen of the means.

【0014】本発明のさらに好ましい実施態様において
は、さらに、前記I/Oコメント制御手段が、前記画面
位置指定手段により指定されたI/Oコメントに対応す
るI/O番号を検索し、前記I/O番号付与手段が、前
記検索されたI/O番号を前記シンボルに付与するよう
に構成されている。これにより、I/Oコメントを参照
することにより、I/O番号を特定し、特定されたI/
O番号を、シンボルに付与することが可能となる。
In a further preferred aspect of the present invention, the I / O comment control means further searches for an I / O number corresponding to the I / O comment designated by the screen position designation means, and The / O number assigning means is configured to assign the retrieved I / O number to the symbol. Thus, the I / O number is specified by referring to the I / O comment, and the specified I / O number is specified.
It is possible to give an O number to the symbol.

【0015】[0015]

【発明の実施の形態】以下、添付図面に基づき、本発明
の実施の形態につき説明を加える。図1は、本発明の実
施の形態にかかるプログラマブルコントローラ(PC)
のプログラミング装置、および、プログラミング装置に
接続されたPCを示すブロックダイヤグラムである。図
1に示すように、このプログラミング装置10は、プロ
グラミング装置のプログラム作成処理などを制御するC
PU12と、プログラミング装置10による作成処理プ
ログラムの処理中に必要なデータなどを一時的に記憶す
るメモリ14と、PC用のプログラムを作成するための
作成処理プログラム、該作成処理プログラムを実行した
結果得られたPC用プログラムなどを記憶する外部記憶
装置16と、PC用プログラムを作成するためのラダー
ダイヤグラムなどを表示するCRT18と、マウス20
と、キーボード22と、PCに必要なデータを送信する
ためのシリアルインタフェース(I/F)24とを備え
ている。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the accompanying drawings. FIG. 1 shows a programmable controller (PC) according to an embodiment of the present invention.
3 is a block diagram showing the programming device of FIG. 1 and a PC connected to the programming device. As shown in FIG. 1, the programming device 10 controls C for controlling program creation processing of the programming device.
The PU 12, the memory 14 for temporarily storing data and the like required during the processing of the creation processing program by the programming device 10, the creation processing program for creating the program for the PC, and the result obtained by executing the creation processing program. An external storage device 16 for storing the stored PC program, a CRT 18 for displaying a ladder diagram for creating the PC program, and a mouse 20.
A keyboard 22 and a serial interface (I / F) 24 for transmitting necessary data to the PC.

【0016】また、PC30は、プログラミング装置1
0から送信されたデータを受け入れるシリアルI/F3
2と、プログラミング装置10から与えられたPC用プ
ログラムなどを記憶するためのメモリ34と、メモリ3
4に記憶されたプログラムにしたがって、所定の処理を
実行するCPU36と、外部のプロセス(図示せず)と
接続されたI/O38とを備えている。
The PC 30 is the programming device 1
Serial I / F3 that accepts data sent from 0
2, a memory 34 for storing a PC program or the like given from the programming device 10, and a memory 3
4, a CPU 36 that executes a predetermined process according to the program stored in the memory 4, and an I / O 38 connected to an external process (not shown).

【0017】このように構成されたプログラム装置10
において、PC用プログラムの作成処理につき、以下に
詳細に説明する。図2は、PC用プログラムを作成する
ために、プログラミング装置10のCPU18により実
行される作成処理プログラムの概要を示すフローチャー
トである。図2に示すように、このプログラム作成処理
においては、まず、操作者がマウス20或いはキーボー
ド22を操作して、所定の情報をプログラム装置10の
CPU12に与えると、CPU12は、外部記憶装置1
6に記憶された作成処理プログラムを読みだして、これ
をメモリ14に記憶する。次いで、CPU12は、メモ
リ14中のプログラムにしたがって、所定の画像をCR
T18の画面上に表示する(ステップ201)。ここ
に、図3は、CRT18の画面上に表示された画像の例
を示す図である。
The program device 10 thus configured
In the following, the process of creating the program for PC will be described in detail below. FIG. 2 is a flowchart showing an outline of a creation processing program executed by the CPU 18 of the programming device 10 to create a PC program. As shown in FIG. 2, in this program creating process, first, when the operator operates the mouse 20 or the keyboard 22 to give predetermined information to the CPU 12 of the program device 10, the CPU 12 causes the external storage device 1 to operate.
The creation processing program stored in 6 is read out and stored in the memory 14. Next, the CPU 12 CRs the predetermined image according to the program in the memory 14.
It is displayed on the screen of T18 (step 201). Here, FIG. 3 is a diagram showing an example of an image displayed on the screen of the CRT 18.

【0018】図3に示すように、画面300には、ラダ
ーダイヤグラム作成用ウィンドウ301と、接点・コイ
ル入力ウィンドウ302とが設けられている。ラダーダ
イヤグラム作成用ウィンドウ301は、接点・コイル入
力ウィンドウ302から選択された接点などのシンボル
を配置するための領域である。また、コイル・接点入力
ウィンドウ302は、シンボル表示位置303を、マウ
スを操作して指定することにより得られ、マウス20の
操作により指定される接点およびコイルなどのシンボル
が表示されている。この実施の形態においては、a接点
シンボル310、b接点シンボル311およびコイル3
12から所望のシンボルを、対応するボタン313、3
14および315のうちの所望のボタンをマウス20を
操作することにより選択できる。
As shown in FIG. 3, the screen 300 is provided with a ladder diagram creation window 301 and a contact / coil input window 302. The ladder diagram creation window 301 is an area for arranging symbols such as contacts selected from the contact / coil input window 302. Further, the coil / contact input window 302 is obtained by operating the mouse to specify the symbol display position 303, and symbols such as contacts and coils specified by operating the mouse 20 are displayed. In this embodiment, the a-contact symbol 310, the b-contact symbol 311 and the coil 3 are included.
Select the desired symbol from 12 and press the corresponding buttons 313, 3
A desired button of 14 and 315 can be selected by operating the mouse 20.

【0019】また、後述するように、マウス20を所定
のように操作することにより、シンボル指定領域上に、
シンボルに与えるべき或いは既にシンボルに与えられた
I/O番号を表示するためのI/O番号表示ウィンドウ
320、および、I/Oコメントを記載するI/Oコメ
ント記載ウィンドウ321が表示できる。
Further, as described later, by operating the mouse 20 in a predetermined manner,
An I / O number display window 320 for displaying an I / O number to be given to the symbol or already given to the symbol, and an I / O comment description window 321 for describing an I / O comment can be displayed.

【0020】操作者がマウス20或いはキーボード22
を用いて、所定の情報を、CPU18に与えると、CP
U18はプログラムにしたがって、接点選択処理202
を実行する(ステップ202)。図4は接点選択処理を
示すフローチャートである。図4に示すように、この処
理においては、まず、a接点に対応するボタン313が
選択されたか否かを判断する(ステップ401)。この
ステップ401においてイエス(Y)と判断された場合
には、a接点を選択状態とし(ステップ402)、その
一方、ノー(N)と判断された場合には、b接点に対応
するボタン314が選択されたか否かを判断する(ステ
ップ403)。このステップ403においてイエス
(Y)と判断された場合には、b接点を選択状態とし
(ステップ404)、その一方、ノー(N)と判断され
た場合には、次いで、コイルに対応するボタン315が
選択されたか否かを判断する(ステップ405)。この
ステップ405においてイエス(Y)と判断された場合
には、コイルを選択状態とする。このようにして、操作
者がマウスを操作することにより、図3のコイル・接点
入力ウィンドウ302中のボタン313ないし315の
何れかが選択されると、a接点、b接点或いはコイルの
何れかが選択され、CRT18の画面300中のシンボ
ル表示位置303に、選択されたシンボルが配置され
る。
The operator operates the mouse 20 or the keyboard 22.
When given information is given to the CPU 18 using
U18 performs contact selection processing 202 according to the program.
Is executed (step 202). FIG. 4 is a flowchart showing the contact selection processing. As shown in FIG. 4, in this process, it is first determined whether or not the button 313 corresponding to the a-contact is selected (step 401). If YES (Y) is determined in this step 401, the a contact is set to the selected state (step 402). On the other hand, if NO (N) is determined, the button 314 corresponding to the b contact is pressed. It is determined whether or not it has been selected (step 403). If it is determined to be yes (Y) in this step 403, the b contact is selected (step 404). On the other hand, if it is determined to be no (N), then the button 315 corresponding to the coil is selected. It is determined whether or not is selected (step 405). If YES (Y) in this step 405, the coil is selected. In this way, when the operator operates the mouse to select any of the buttons 313 to 315 in the coil / contact input window 302 of FIG. 3, either the a contact, the b contact, or the coil is selected. The selected symbol is placed at the symbol display position 303 in the screen 300 of the CRT 18.

【0021】次いで、CPU18により、I/O番号一
覧表選択処理が実行される(ステップ203)。この処
理は、図5に示すとおり、操作者がマウス20或いはキ
ーボード22を操作して、図3のRボタン330、Xボ
タン331或いはYボタン332の何れかを選択したこ
とを判断するものである。より詳細には、Rボタン33
0が選択されたと判断した場合には、R(内部I/O)
に関するI/O番号を一覧表示する処理を実行し(ステ
ップ501、502)、Xボタン331が選択されたと
判断した場合には、X(外部I/O)に関するI/O番
号を一覧表示する処理を実行し(ステップ503、50
4)、或いは、Yボタン332が選択されたと判断した
場合には、Y(外部出力)に関するI/O番号を一覧表
示する処理を実行する(ステップ505、506)。こ
れらI/O番号は、外部記憶装置16に記憶されてお
り、たとえば、PC用プログラムの作成処理の起動時
に、該作成処理プログラムとともに、外部記憶装置16
から読み出され、メモリ14の所定の領域に記憶され
る。
Next, the CPU 18 executes an I / O number list selection process (step 203). In this process, as shown in FIG. 5, it is determined that the operator operates the mouse 20 or the keyboard 22 to select one of the R button 330, the X button 331, and the Y button 332 in FIG. . More specifically, the R button 33
If it is determined that 0 is selected, R (internal I / O)
Processing for displaying a list of I / O numbers related to X (external I / O) when it is determined that the X button 331 has been selected (steps 501 and 502) (Steps 503, 50
4) Alternatively, when it is determined that the Y button 332 is selected, a process of displaying a list of I / O numbers related to Y (external output) is executed (steps 505 and 506). These I / O numbers are stored in the external storage device 16. For example, when the creation process of the PC program is started, the I / O number is stored together with the creation process program in the external storage device 16.
Read out from and stored in a predetermined area of the memory 14.

【0022】この一覧表示処理は、図6のフローチャー
トに示すように、まず、表示すべきI/O番号の先頭の
番号である表示開始I/O番号を設定する(ステップ6
01)。この表示開始I/O番号は、前回のこの処理に
より得られた一覧表において、最終的に画面上に表示さ
れたI/O番号の先頭番号に対応する。また、装置の起
動後、はじめてこの処理が実行されるときには、R00
0、X000など、もっとも数の小さいI/O番号が、
表示開始I/O番号とされる。
In this list display process, as shown in the flowchart of FIG. 6, first, the display start I / O number which is the first number of the I / O numbers to be displayed is set (step 6).
01). This display start I / O number corresponds to the top number of the I / O numbers finally displayed on the screen in the list obtained by the previous process. Also, when this process is executed for the first time after the device is started up, R00
The smallest I / O number, such as 0 or X000,
The display start I / O number is used.

【0023】次いで、I/O番号が使用中であるか否か
を判断し(ステップ602)、使用中である場合には、
そのI/O番号を反転表示するよう決定し(ステップ6
03)、その一方、未使用である場合には、そのI/O
番号を普通に表示するように決定する(ステップ60
4)。このI/O番号の使用或いは未使用は、あるI/
O番号が、少なくとも一つのシンボルに対応付けられて
いるか否かを意味する。
Next, it is judged whether or not the I / O number is in use (step 602), and if it is in use,
Decide to display the I / O number in reverse video (step 6
03), on the other hand, if it is unused, its I / O
Decide to display numbers normally (step 60)
4). Whether this I / O number is used or not
It means whether or not the O number is associated with at least one symbol.

【0024】ステップ605およびステップ606を経
て、ステップ602ないしステップ604の処理を、表
示すべき全てのI/O番号に対して実行した後に、処理
が終了する。この一覧表示処理により、CRT18の画
面上には、操作者により接点との対応付けのされたI/
O番号が反転して表示され、その一方、未使用のI/O
番号は普通に表示される。ここに、図3に示す例は、操
作者がマウス20などを操作して、Rボタン330を選
択した結果得られた画像であることが理解できるであろ
う。
After steps 605 and 606, the processes of steps 602 to 604 are executed for all I / O numbers to be displayed, and then the process ends. By this list display processing, the I / O associated with the contact by the operator is displayed on the screen of the CRT 18.
O number is displayed in reverse, while unused I / O
The numbers are printed normally. It will be understood that the example shown in FIG. 3 is an image obtained as a result of the operator operating the mouse 20 or the like and selecting the R button 330.

【0025】さらに、I/O番号一覧表選択処理(図2
のステップ203)の後に、I/O番号選択処理が実行
される(ステップ204)。この処理を図7のフローチ
ャートに示す。まず、選択状態が変更されているか否か
が判断される(ステップ701)。これは、CRT18
の画面300のI/O番号表示ウィンドウ320中のI
/O番号の何れかが、マウス22をクリックすることに
より指定されたか否かを判断している。このステップで
ノー(N)と判断された場合には、処理を終了し、その
一方、イエス(Y)と判断された場合には、指定された
I/O番号を選択状態にする(ステップ702)。本実
施の形態においては、指定されたI/O番号を、普通に
表示する色彩と異なる色彩で表示するように構成されて
いる。
Further, I / O number list selection processing (see FIG. 2)
After step 203), the I / O number selection processing is executed (step 204). This process is shown in the flowchart of FIG. First, it is determined whether the selection state has been changed (step 701). This is CRT18
In the I / O number display window 320 of the screen 300 of
It is determined whether any of the / O numbers is designated by clicking the mouse 22. If it is determined to be no (N) in this step, the process ends, while if it is determined to be yes (Y), the designated I / O number is set to the selected state (step 702). ). In the present embodiment, the designated I / O number is displayed in a color different from the color normally displayed.

【0026】次いで、この指定されたI/O番号に対応
するI/Oコメントが存在するかどうかを判断する(ス
テップ703)。このI/Oコメントについては、後に
詳述する。このステップにおいてノー(N)と判断され
た場合には処理を終了し、その一方、イエス(Y)と判
断された場合には、I/OコメントをI/Oコメント表
示ウィンドウ321に表示する(ステップ704)。
Next, it is judged whether or not there is an I / O comment corresponding to the designated I / O number (step 703). This I / O comment will be described in detail later. If it is determined to be no (N) in this step, the process ends, while if it is determined to be yes (Y), the I / O comment is displayed in the I / O comment display window 321 ( Step 704).

【0027】さらに、CPU12は、コメント入力処理
を実行する(ステップ205)。図8のフローチャート
に示すように、コメント入力処理においては、操作者が
マウス20を操作することによりI/Oコメント表示ウ
ィンドウ321にカーソルが移動され、キーボード22
を用いて文字或いは数字などの何らかの入力がなされた
か否かが判断される(ステップ801)。このステップ
801においてイエス(Y)と判断された場合には、こ
の入力を、メモリ14の所定の領域に一時的に記憶する
(ステップ802)。
Further, the CPU 12 executes a comment input process (step 205). As shown in the flowchart of FIG. 8, in the comment input process, the operator operates the mouse 20 to move the cursor to the I / O comment display window 321, and the keyboard 22
It is determined whether or not any input such as letters or numbers has been made by using (step 801). If YES is determined in step 801, this input is temporarily stored in a predetermined area of the memory 14 (step 802).

【0028】コメント入力処理(ステップ205)の後
に、CPU12はコメント選択処理を実行する(ステッ
プ206)。図9のフローチャートに示すように、この
処理においては、まず、選択入力があったか否かが判断
される(ステップ901)。
After the comment input process (step 205), the CPU 12 executes a comment selection process (step 206). As shown in the flowchart of FIG. 9, in this process, it is first determined whether or not a selection input has been made (step 901).

【0029】この選択入力とは、I/Oコメント表示ウ
ィンドウ321の側部に設けられたボタン上に、マウス
カーソル(図示せず)を移動し、その状態で、操作者が
マウス20をクリックすることを意味している。このス
テップ901においてイエス(Y)と判断された場合に
は、CPU12は、外部記憶装置16から読み出され、
メモリ14内に一時的に記憶されたI/O情報記憶テー
ブルを参照する。ここに、図10は、I/O情報記憶テ
ーブルの構成を示すメモリマップである。図10に示す
ように、I/O情報記憶テーブル100には、使用する
ことが意図されるI/O番号のそれぞれに対応して、I
/Oコメントを記憶するI/Oコメント記憶領域110
と、そのI/O番号のラダーダイヤグラム中の使用回数
を記憶する使用回数記憶領域111とが設けられてい
る。図10に示すように、I/O情報記憶テーブル10
0には、初期的には、I/O番号のみが記憶され、対応
するI/Oコメント記憶領域には何らデータが記憶され
ておらず、また、使用回数記憶領域111のそれぞれに
は、0が記憶されている。
This selection input is to move a mouse cursor (not shown) to a button provided on the side of the I / O comment display window 321, and in that state, the operator clicks the mouse 20. It means that. If YES is determined in step 901, the CPU 12 reads from the external storage device 16,
The I / O information storage table temporarily stored in the memory 14 is referred to. FIG. 10 is a memory map showing the configuration of the I / O information storage table. As shown in FIG. 10, in the I / O information storage table 100, I / O numbers corresponding to respective I / O numbers intended to be used are stored.
I / O comment storage area 110 for storing I / O comments
And a use count storage area 111 for storing the use count in the ladder diagram of the I / O number. As shown in FIG. 10, the I / O information storage table 10
Initially, only the I / O number is stored in 0, no data is stored in the corresponding I / O comment storage area, and 0 is stored in each of the use count storage areas 111. Is remembered.

【0030】さて、図9のステップ901においてイエ
ス(Y)と判断された場合には、CPU12により、こ
のI/O情報記憶テーブルが参照され、現在、CRT1
8の画面300上のI/Oコメント表示ウィンドウ32
1に表示されているI/O番号の次のI/O番号に対応
するI/Oコメントが表示される(ステップ902)。
次いで、CPU12は、この表示されたI/Oコメント
に対応するI/O番号を選択状態とする(ステップ90
3)。これにより、選択されたI/O番号が、図3の画
面300のI/O番号表示ウィンドウ320中で、普通
に表示する色彩と異なる色彩で表示される。
If YES is determined in step 901 of FIG. 9, the CPU 12 refers to this I / O information storage table, and the CRT 1 is currently set.
8 I / O comment display window 32 on screen 300
The I / O comment corresponding to the I / O number next to the I / O number displayed in 1 is displayed (step 902).
Next, the CPU 12 brings the I / O number corresponding to the displayed I / O comment into the selected state (step 90).
3). As a result, the selected I / O number is displayed in a color different from the color normally displayed in the I / O number display window 320 of the screen 300 of FIG.

【0031】次いで、CPU12により入力決定処理が
実行される(図2のステップ207)。この処理を図1
1に示す。入力決定処理においては、操作者がマウス2
0を操作することにより、図3の画面300中のOKボ
タンがクリックされたか否かが判断される(ステップ1
101)。ステップ1101においてノー(N)と判断
された場合には、処理を終了し、その一方、イエス
(Y)と判断された場合には、接点選択処理(図2のス
テップ202)により選択された接点と、最終的に選択
されたI/O番号とを、プログラム情報としてメモリ1
4に記憶する(ステップ1102)。このプログラム情
報は、PC用プログラムの1ステップ分に対応する。次
いで、I/O情報記憶テーブル100を参照し、選択さ
れたI/O番号に対応する使用回数をインクリメントす
る(ステップ1103)。
Next, the CPU 12 executes the input determination process (step 207 in FIG. 2). This process is shown in Figure 1.
It is shown in FIG. In the input determination process, the operator uses the mouse 2
By operating 0, it is determined whether or not the OK button in the screen 300 of FIG. 3 has been clicked (step 1
101). If it is determined to be no (N) in step 1101, the process is terminated, while if it is determined to be yes (Y), the contact selected by the contact selection process (step 202 of FIG. 2). And the finally selected I / O number as the program information in the memory 1
4 (step 1102). This program information corresponds to one step of the PC program. Next, with reference to the I / O information storage table 100, the number of times of use corresponding to the selected I / O number is incremented (step 1103).

【0032】CPU12は、メモリ14の所定の領域を
調べ、ステップ205のコメント入力処理において、コ
メントが一時的に記憶されているか否かを判断し(ステ
ップ1104)、コメントが一時的に記憶されている場
合には、これを、I/O情報記憶テーブルに、選択され
たI/O番号に対応するように記憶する(ステップ11
05)。このようにして、ある接点に対応するI/O番
号と、関連するI/Oコメントが対応付けられてされ
る。
The CPU 12 examines a predetermined area of the memory 14 and determines whether or not the comment is temporarily stored in the comment input process of step 205 (step 1104). The comment is temporarily stored. If so, it is stored in the I / O information storage table so as to correspond to the selected I / O number (step 11).
05). In this way, the I / O number corresponding to a certain contact is associated with the related I / O comment.

【0033】このような処理が終了した後に、操作者が
マウス20或いはキーボード22を操作して、ウィンド
ウクローズボタン342(図3参照)を選択することに
より、入力終了を示す情報が与えられると(ステップ2
08)、接点・入力ウィンドウ302がクローズされ
て、処理が終了する。その一方、入力終了を示す情報が
与えられない場合には、PC用のプログラムの次のステ
ップに対応するシンボルの入力などが実行される。
After the above processing is completed, the operator operates the mouse 20 or the keyboard 22 and selects the window close button 342 (see FIG. 3) to give the information indicating the end of input ( Step two
08), the contact / input window 302 is closed, and the process ends. On the other hand, when the information indicating the end of input is not given, the input of the symbol corresponding to the next step of the program for PC is executed.

【0034】上述したように、本実施の形態にかかるプ
ログラミング装置10を使用して選られ、該プログラミ
ング装置10のメモリ14に記憶された、接点などシン
ボルの種類とI/O番号との組に基づき、PC用のプロ
グラムが得られる。得られたPC用プログラムおよびI
/O情報管理テーブルは、外部記憶装置16に格納さ
れ、必要な場合に、PC用プログラムが、CPU12に
より読み出され、シリアルI/F24を介して、PC3
0のシリアルI/F32に送信される。
As described above, the combination of the type of symbol such as a contact and the I / O number, which is selected by using the programming device 10 according to the present embodiment and stored in the memory 14 of the programming device 10, is used. Based on this, a program for PC is obtained. The obtained PC program and I
The / O information management table is stored in the external storage device 16, the PC program is read by the CPU 12 when necessary, and the PC 3 is read via the serial I / F 24.
0 is transmitted to the serial I / F 32.

【0035】PC30のCPU36は、与えられたPC
用のプログラムをメモリ34に記憶し、メモリ34から
必要に応じて、プログラムの命令を順次読みだし、I/
O38を介して、プロセス(図示せず)を制御する。
The CPU 36 of the PC 30 is the given PC
Program for memory is stored in the memory 34, and the instructions of the program are sequentially read out from the memory 34 as needed, and
Control the process (not shown) via O38.

【0036】次に、本実施の形態にかかるプログラミン
グ装置10を用いてプログラムを作成する際にCRT1
8の画面に表示される画像などに基づき、より具体的
に、このプログラミング装置10を説明する。
Next, when creating a program using the programming device 10 according to this embodiment, the CRT 1
The programming device 10 will be described more specifically on the basis of images displayed on the screen of FIG.

【0037】図3に示す画面において、操作者がマウス
20を操作して、マウスカーソル(図示せず)をシンボ
ル表示位置303に移動させて、マウス20をクリック
すると、接点・コイル入力ウィンドウ302が、画面3
00上に表示される。
On the screen shown in FIG. 3, the operator operates the mouse 20, moves the mouse cursor (not shown) to the symbol display position 303, and clicks the mouse 20 to open the contact / coil input window 302. , Screen 3
Displayed above 00.

【0038】たとえば、操作者が、表示位置303に、
a接点を入力するときに、接点・コイル入力ウィンドウ
302中の、a接点ボタン313をマウス20を用いて
指定する(図12(a)参照)。このような操作によ
り、図2のステップ202の接点選択処理においてa接
点が選択状態となる(図4のステップ401およびステ
ップ402参照)。さらに、Rボタン330を選択する
ことにより、図2のステップ203において、Rに関す
るI/O番号一覧表示処理が実行され(図5のステップ
501および502、並びに、図6参照)、その結果、
Rに関するI/O番号が一覧表示される。次いで、操作
者が、I/O番号表示ウィンドウ320中の所望のI/
O番号(たとえば、R000)を選択すると、図2のI
/O番号選択処理(ステップ204)において、所定の
処理が実行され、I/O番号R000が選択状態とな
る。
For example, the operator may move the display position 303 to
When inputting an a-contact, the a-contact button 313 in the contact / coil input window 302 is designated by using the mouse 20 (see FIG. 12A). By such an operation, the a contact is brought into the selected state in the contact selection processing of step 202 of FIG. 2 (see step 401 and step 402 of FIG. 4). Further, by selecting the R button 330, the I / O number list display process regarding R is executed in step 203 of FIG. 2 (see steps 501 and 502 of FIG. 5, and FIG. 6), and as a result,
I / O numbers related to R are displayed in a list. Then, the operator selects the desired I / O number in the I / O number display window 320.
If you select the O number (eg R000), you will see I in Figure 2.
A predetermined process is executed in the I / O number selection process (step 204), and the I / O number R000 is selected.

【0039】さらに、操作者が、コメント表示ウィンド
ウ321にマウスカーソルを移動して、所望のコメント
を、キーボード22を用いて入力する。この入力された
コメントは、図2のステップ206のコメント入力処理
において、メモリ14の所定の領域に一時的に記憶され
る(図8のステップ802参照)。図13は、操作者に
よりI/O番号R000に対するコメントが入力された
後のI/O情報記憶テーブルを示すメモリマップであ
る。図13に示すように、I/Oコメント記憶領域11
0中のI/O番号R000に対応する領域110−1
に、操作者により入力された「コンベア1動作条件」と
いうI/Oコメントが格納され、対応するI/O番号
が、0から1にインクリメントされて、使用回数記憶領
域110中の該I/O番号に対応する領域111−1
に、その使用回数が格納される。
Further, the operator moves the mouse cursor to the comment display window 321, and inputs a desired comment using the keyboard 22. This input comment is temporarily stored in a predetermined area of the memory 14 in the comment input process of step 206 of FIG. 2 (see step 802 of FIG. 8). FIG. 13 is a memory map showing the I / O information storage table after the operator inputs a comment for the I / O number R000. As shown in FIG. 13, the I / O comment storage area 11
Area 110-1 corresponding to I / O number R000 in 0
The I / O comment "Conveyor 1 operating condition" input by the operator is stored in the field, the corresponding I / O number is incremented from 0 to 1, and the I / O number in the use count storage area 110 is increased. Area 111-1 corresponding to the number
The number of times of use is stored in.

【0040】このような操作者による操作およびプログ
ラミング装置10による作動の後に、操作者によりOK
ボタン350が選択されると、接点・コイル入力ウィン
ドウ302に与えられた種々の情報が確定する。すなわ
ち、図2のステップ207の入力決定処理において、図
11のステップ1102、1103および1105の処
理が実行される。これにより、図12(b)に示すよう
に、所望の位置360に、a接点およびI/O番号が表
示される。なお、I/O番号やI/Oコメントは、必ず
しも、接点或いはコイルの選択と同時に、選択或いは記
入する必要はなく、操作者が所望のときに選択或いは記
入すればよい。また、必要が無い場合には、I/Oコメ
ントを記入しなくとも良い。さらに、操作者がマウス2
0を操作して、ウィンドウクローズボタン342を選択
しない限り、この接点・コイル入力ウィンドウは、開い
たままである。
After the operation by the operator and the operation by the programming device 10 as described above, the operator can accept the operation.
When the button 350 is selected, various information given to the contact / coil input window 302 is confirmed. That is, in the input determination process of step 207 of FIG. 2, the processes of steps 1102, 1103 and 1105 of FIG. 11 are executed. As a result, as shown in FIG. 12B, the contact a and the I / O number are displayed at the desired position 360. The I / O number and the I / O comment do not necessarily have to be selected or entered at the same time when the contact point or the coil is selected, but may be selected or entered when desired by the operator. If there is no need, I / O comment need not be entered. In addition, the operator
This contact / coil input window remains open unless 0 is operated to select the window close button 342.

【0041】また、図12(a)においては、ユーザに
より、I/O番号表示ウィンドウ320中の選択された
I/O番号、すなわち、R000は、他のI/O番号と
異なる色彩で表示されており、さらに、図12(b)に
おいて、このR000は、使用中となるため、反転表示
されることにも留意すべきである。
Further, in FIG. 12A, the I / O number selected by the user in the I / O number display window 320, that is, R000, is displayed in a color different from other I / O numbers. It should also be noted that in FIG. 12B, this R000 is in use and is therefore displayed in reverse video.

【0042】引き続き、操作者がマウス20を操作し
て、新たな表示位置361に所定のシンボルなどを与え
る処理につき説明する。図14(a)に示すように、操
作者がマウス20を操作して、b接点ボタン314を指
定し、かつ、Xボタン331を選択すると、Xに関する
I/O番号が、I/O番号表示ウィンドウ320に一覧
表示される。ここに、X101が既に、ラダーダイヤグ
ラム中の他のb接点のために一回使用されていたとする
と、I/O番号X101は、他のI/O番号の表示と異
なり、反転表示される。これは、図2のステップ203
のI/O番号一覧表選択処理中のXI/O番号一覧表示
処理(図5のステップ504)において、既に使用中の
I/O番号を、反転表示するための処理が実行されるこ
とに起因する(図6のステップ602およびステップ6
03参照)。
Next, a process in which the operator operates the mouse 20 to give a predetermined symbol or the like to the new display position 361 will be described. As shown in FIG. 14A, when the operator operates the mouse 20 to specify the b-contact button 314 and selects the X button 331, the I / O number relating to X is displayed as the I / O number. A list is displayed in the window 320. Here, if X101 has already been used once for another contact b in the ladder diagram, the I / O number X101 is displayed in reverse, unlike the display of other I / O numbers. This is step 203 in FIG.
In the XI / O number list display process (step 504 in FIG. 5) during the I / O number list selection process of the above, a process for highlighting the I / O numbers already in use is executed. (Step 602 and Step 6 in FIG. 6)
03).

【0043】次いで、操作者が、マウス20を操作し
て、このI/O番号X101を選択するとともに、I/
Oコメント記入ウィンドウ341に「停止ボタン入力」
というI/Oコメントを入力した後に、OKボタン35
0を選択すると、図14(b)に示すように、表示位置
361にb接点のシンボルおよびI/O番号X101が
表示される。
Next, the operator operates the mouse 20 to select this I / O number X101 and
"Stop button input" in the O comment entry window 341
After inputting the I / O comment, OK button 35
When 0 is selected, as shown in FIG. 14B, the symbol of the b contact and the I / O number X101 are displayed at the display position 361.

【0044】このような操作者の操作によりプログラミ
ング装置10が作動すると、図15に示すように、メモ
リ14内のI/O情報記憶テーブル100のI/Oコメ
ント記憶領域110には、I/O番号X101に対応し
て、「停止ボタン入力」という文字に関連する情報11
0−2が格納される。また、I/O情報記憶テーブル1
00の使用回数記憶領域111には、該I/O番号に対
応して、2という数字に関連する情報111−2が格納
される。この情報111−2は、ラダーダイヤグラムの
他のb接点に対して、I/O番号X101が一回使用さ
れており、その結果、図2のステップ207の入力決定
処理において、使用回数が1から2にインクリメントさ
れたことによる(図11のステップ1103参照)。
When the programming device 10 is operated by such an operator's operation, as shown in FIG. 15, the I / O comment storage area 110 of the I / O information storage table 100 in the memory 14 stores I / O. Information 11 associated with the character "stop button input" corresponding to the number X101
0-2 is stored. Also, the I / O information storage table 1
In the number-of-uses storage area 111 of 00, information 111-2 related to the number 2 is stored corresponding to the I / O number. In this information 111-2, the I / O number X101 is used once for the other contact b in the ladder diagram. As a result, the number of times of use is 1 to 1 in the input determination process of step 207 of FIG. This is because it is incremented to 2 (see step 1103 in FIG. 11).

【0045】本実施の形態によれば、PC用のシーケン
スプログラムのラダーダイヤグラムを作成する際に、必
要なI/O番号を、CRTの画面上に表示されたI/O
番号一覧表から、選択することが可能となる。したがっ
て、従来のI/O番号の入力のように、一文字ずつ、操
作者が入力するような煩雑な手順を経ることなく、容易
に所望のI/O番号を入力することが可能となる。
According to the present embodiment, when the ladder diagram of the sequence program for PC is created, the necessary I / O number is displayed on the CRT screen.
It becomes possible to select from the number list. Therefore, it becomes possible to easily input a desired I / O number without the complicated procedure of the operator inputting each character one by one like the conventional input of the I / O number.

【0046】また、本実施の形態によれば、CRTの画
面上に表示されたI/O番号一覧表において、既に使用
されているI/O番号と、未使用のI/O番号とを区別
して表示しているため、I/O番号を選択する際に、未
使用のI/O番号を容易に確認することが可能となり、
その結果、プログラミング効率を向上させることが可能
となる。
Further, according to the present embodiment, in the I / O number list displayed on the screen of the CRT, the already used I / O numbers and the unused I / O numbers are separated. Since they are displayed separately, it is possible to easily check the unused I / O number when selecting the I / O number.
As a result, programming efficiency can be improved.

【0047】さらに、本実施の形態によれば、I/O番
号の選択の際に、該I/O番号に関するI/Oコメント
を入力することができるため、さらに、プログラミング
効率を向上させることが可能となる。また、選択したI
/O番号に既にI/Oコメントが与えられている場合
に、I/O情報記憶テーブル中の該I/Oコメントに対
応付けられたI/Oコメントが、CRTの画面上に表示
される。したがって、操作者は、このI/Oコメントを
参照し、該I/O番号の定義を確認しつつ、I/O番号
を入力することができるため、プログラミング時のI/
O番号の入力ミスを低減することが可能となる。
Furthermore, according to the present embodiment, when selecting an I / O number, an I / O comment related to the I / O number can be input, so that the programming efficiency can be further improved. It will be possible. Also, I selected
When an I / O comment is already assigned to the I / O number, the I / O comment associated with the I / O comment in the I / O information storage table is displayed on the screen of the CRT. Therefore, the operator can input the I / O number while referring to this I / O comment and confirming the definition of the I / O number.
It is possible to reduce input mistakes of O number.

【0048】本発明は、以上の実施の形態に限定される
ことなく、特許請求の範囲に記載された発明の範囲内
で、種々の変更が可能であり、それらも本発明の範囲内
に包含されるものであることは言うまでもない。
The present invention is not limited to the above embodiments, and various modifications can be made within the scope of the invention described in the claims, and these are also included in the scope of the present invention. It goes without saying that this is what is done.

【0049】たとえば、前記実施の形態においては、図
2に示すように、作成処理プログラムを構成する各処理
が、直列的に実行されるように構成されているが、これ
に限定されるものではなく、マウス或いはキーボードな
どの入力装置から与えられる情報を判別し、該与えられ
た情報の種別に応答して、所定の処理を実行するように
構成してもよい。
For example, in the above-described embodiment, as shown in FIG. 2, the processes constituting the creation processing program are configured to be executed serially, but the present invention is not limited to this. Alternatively, the information provided from an input device such as a mouse or a keyboard may be discriminated and a predetermined process may be executed in response to the type of the provided information.

【0050】また、前記実施の形態においては、I/O
番号を選択する際に、I/Oコメントを入力するように
構成されているが、これに限定されるものではない。た
とえば、上述した構成に加え、或いは、これに代えて、
図16に示す表を含む画像を、CRTの画面上に表示
し、キーボードを操作して、I/O番号に対応させて、
所望のI/Oコメントを入力するように構成しても良
い。この場合には、CPU12は、I/Oコメントの入
力に応答して、一或いはそれ以上のI/O番号と対応付
けられたI/Oコメントを、メモリの所定の領域に記憶
し、I/Oコメントの入力の終了を示す情報が、入力装
置から与えられた後に、I/O情報管理テーブルに、メ
モリに一時的に記憶されたI/Oコメントを格納する。
さらに、図16に示す表を、図3の画面300の一部に
表示し、表示された表中のI/Oコメントを、操作者が
マウスを操作して選択することにより、対応するI/O
番号を選択するように構成してもよい。
In the above embodiment, the I / O
Although it is configured to input an I / O comment when selecting a number, the number is not limited to this. For example, in addition to or instead of the configuration described above,
An image including the table shown in FIG. 16 is displayed on the screen of the CRT, and the keyboard is operated to correspond to the I / O number,
It may be configured to input a desired I / O comment. In this case, the CPU 12 stores an I / O comment associated with one or more I / O numbers in a predetermined area of the memory in response to the input of the I / O comment, and After the information indicating the end of the input of the O comment is given from the input device, the I / O comment temporarily stored in the memory is stored in the I / O information management table.
Further, the table shown in FIG. 16 is displayed on a part of the screen 300 of FIG. 3, and the operator operates the mouse to select the I / O comment in the displayed table. O
It may be configured to select a number.

【0051】また、前記実施例においては、a接点、b
接点およびコイルから、所望のシンボルを選択して、ラ
ダープログラムを作成しているが、上述したシンボル以
外のものを選択できるように構成しても良いことは明ら
かである。
Further, in the above-mentioned embodiment, the contact a, the contact b
Although a desired symbol is selected from the contacts and the coil to create the ladder program, it is obvious that a configuration other than the above-mentioned symbols may be selected.

【0052】さらに、本明細書において、手段とは、必
ずしも物理的手段を意味するものではなく、各手段の機
能が、ソフトウエアによって実現される場合も包含す
る。また、一つの手段の機能が二以上の物理的手段によ
り実現されても、二以上の手段の機能が一つの物理的手
段により実現されてもよい。
Further, in the present specification, the term "means" does not necessarily mean physical means, but also includes the case where the function of each means is realized by software. Further, the function of one means may be realized by two or more physical means, or the functions of two or more means may be realized by one physical means.

【0053】[0053]

【発明の効果】本発明によれば、PCのシーケンスプロ
グラムを、プログラミング装置を用いて作成する際の、
I/O番号の入力効率を向上させ、効率よくプログラミ
ングを実行できるプログラミング装置を提供することが
可能となる。
According to the present invention, when a PC sequence program is created using a programming device,
It is possible to improve the input efficiency of the I / O number and provide a programming device capable of efficiently executing programming.

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

【図1】 図1は、本発明の実施の形態にかかるプログ
ラマブルコントローラのプログラミング装置、および、
プログラミング装置に接続されたPCを示すブロックダ
イヤグラムである。
FIG. 1 is a programming device of a programmable controller according to an embodiment of the present invention, and
3 is a block diagram showing a PC connected to a programming device.

【図2】 図2は、PC用プログラムを作成するため
に、プログラミング装置のCPUにより実行される作成
処理プログラムの概要を示すフローチャートである。
FIG. 2 is a flowchart showing an outline of a creation processing program executed by a CPU of a programming device to create a PC program.

【図3】 図3は、本実施の形態にかかるCRTの画面
上に表示された画像の例を示す図である。
FIG. 3 is a diagram showing an example of an image displayed on the screen of the CRT according to the present embodiment.

【図4】 図4は、本実施の形態にかかるCPUにより
実行される接点選択処理を示すフローチャートである。
FIG. 4 is a flowchart showing contact selection processing executed by the CPU according to the present embodiment.

【図5】 図5は、本実施の形態にかかるCPUにより
実行されるI/O番号一覧表選択処理を示すフローチャ
ートである。
FIG. 5 is a flowchart showing an I / O number list selection process executed by the CPU according to the present embodiment.

【図6】 図6は、本実施の形態にかかるCPUにより
実行される一覧表示処理を示すフローチャートである。
FIG. 6 is a flowchart showing a list display process executed by the CPU according to the present embodiment.

【図7】 図7は、本実施の形態にかかるCPUにより
実行されるI/O番号選択処理を示すフローチャートで
ある。
FIG. 7 is a flowchart showing an I / O number selection process executed by the CPU according to the present embodiment.

【図8】 図8は、本実施の形態にかかるCPUにより
実行されるコメント入力処理を示すフローチャートであ
る。
FIG. 8 is a flowchart showing comment input processing executed by the CPU according to the present embodiment.

【図9】 図9は、本実施の形態にかかるCPUにより
実行されるコメント選択処理を示すフローチャートであ
る。
FIG. 9 is a flowchart showing a comment selection process executed by the CPU according to the present embodiment.

【図10】 図10は、本実施の形態にかかるI/O情
報記憶テーブルの構成を示すメモリマップである。
FIG. 10 is a memory map showing a configuration of an I / O information storage table according to the present embodiment.

【図11】 図11は、本実施の形態にかかるCPUに
より実行される入力決定処理を示すフローチャートであ
る。
FIG. 11 is a flowchart showing an input determination process executed by the CPU according to the present embodiment.

【図12】 図12は、CRTの画面上に表示された画
像の例を示す図である。
FIG. 12 is a diagram showing an example of an image displayed on the screen of a CRT.

【図13】 図13は、I/O情報記憶テーブルの一例
を示すメモリマップである。
FIG. 13 is a memory map showing an example of an I / O information storage table.

【図14】 図14は、CRTの画面上に表示された画
像の例を示す図である。
FIG. 14 is a diagram showing an example of an image displayed on the screen of a CRT.

【図15】 図15は、I/O情報記憶テーブルの一例
を示すメモリマップである。
FIG. 15 is a memory map showing an example of an I / O information storage table.

【図16】 図16は、CRTの画面上に表示可能な表
の例を示す図である。
FIG. 16 is a diagram showing an example of a table that can be displayed on the screen of a CRT.

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

10 プログラミング装置 12 CPU 14 メモリ 16 外部記憶装置 18 CRT 20 マウス 22 キーボード 24 シリアルI/F 10 programming device 12 CPU 14 memory 16 external storage device 18 CRT 20 mouse 22 keyboard 24 serial I / F

フロントページの続き (72)発明者 會田 憲弘 新潟県北蒲原郡中条町大字富岡46番地1 株式会社日立製作所産業機器事業部内 (72)発明者 曽我 満 新潟県北蒲原郡中条町大字富岡46番地1 株式会社日立製作所産業機器事業部内Front page continuation (72) Inventor Norihiro Aida No. 46 Tomioka, Nakajo-cho, Kitakanbara-gun, Niigata Prefecture 1 Industrial Equipment Division, Hitachi, Ltd. (72) Mana Soga 46 No. 1 Tomioka, Nakajo-machi, Kitakanbara-gun, Niigata Prefecture Hitachi Industrial Equipment Division

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 入力手段により与えられた情報に基づ
き、所定の画像を表示する表示手段と、前記表示手段の
画面上の所望の位置を指定する画面位置指定手段とを備
え、前記入力手段および画面位置指定手段を用いて、前
記画面上にラダーダイヤグラムを作成することにより、
プログラマブルコントローラのためのシーケンスプログ
ラムを得るプログラミング装置であって、 前記入力手段および前記画面位置指定手段の少なくとも
一方により与えられた情報に基づき選択されたシンボル
に付与することが意図されるI/O番号を記憶するI/
O番号記憶手段と、前記少なくとも一方により与えられ
た他の情報に基づき、前記I/O番号記憶手段に記憶さ
れたI/O番号からなるI/O番号一覧表を作成する一
覧表作成手段と、前記一覧表作成手段により作成され、
かつ、前記表示手段の画面上に、前記ラダーダイヤグラ
ムとともに少なくとも部分的に表示された前記I/O番
号一覧表から、前記シンボルに付与すべき所定のI/O
番号が、前記画面位置指定手段により選択されたことに
応答して、前記シンボルに前記選択されたI/O番号を
付与するI/O番号付与手段とを備えたことを特徴とす
るプログラミング装置。
1. A display means for displaying a predetermined image on the basis of the information given by the input means, and a screen position designating means for designating a desired position on the screen of the display means. By using the screen position designating means to create a ladder diagram on the screen,
A programming device for obtaining a sequence program for a programmable controller, the I / O number being intended to be given to a symbol selected based on information given by at least one of the input means and the screen position designation means. I /
O number storage means, and a list creation means for creating an I / O number list consisting of I / O numbers stored in the I / O number storage means based on other information given by the at least one. , Created by the list creating means,
Further, a predetermined I / O to be given to the symbol is selected from the I / O number list displayed at least partially with the ladder diagram on the screen of the display means.
A programming device comprising: an I / O number assigning unit that assigns the selected I / O number to the symbol in response to a number being selected by the screen position designating unit.
【請求項2】 前記一覧表作成手段が、前記シンボルに
付与され、既に使用されたI/O番号と、未使用のI/
O番号とを区別して表示するように、前記I/O番号一
覧表を作成することを特徴とする請求項1に記載のプロ
グラミング装置。
2. The list creation means adds the I / O numbers that have been used to the symbols and have already been used, and the unused I / O numbers.
The programming device according to claim 1, wherein the I / O number list is created so as to be displayed separately from the O number.
【請求項3】 さらに、前記I/O番号のそれぞれに対
応するI/Oコメントを記憶するI/Oコメントテーブ
ルを有し、前記入力手段および前記画面位置指定手段の
少なくとも一方から与えられたさらに他の情報に応答し
て、前記I/Oコメントテーブル中の所定のI/Oコメ
ントを、前記表示手段上の画面上に、前記I/O番号一
覧表とともに表示するI/Oコメント制御手段を備えた
ことを特徴とする請求項1または2に記載のプログラミ
ング装置。
3. An I / O comment table for storing I / O comments corresponding to each of the I / O numbers, further comprising: an I / O comment table provided from at least one of the input unit and the screen position designating unit. I / O comment control means for displaying a predetermined I / O comment in the I / O comment table together with the I / O number list on the screen of the display means in response to other information. The programming device according to claim 1 or 2, further comprising: a programming device.
【請求項4】 前記I/Oコメント制御手段が、前記I
/O番号と前記I/Oコメントとを対応付けたI/Oコ
メント対応表を作成し、前記表示手段の画面上に前記I
/Oコメント対応表を表示するように構成されたことを
特徴とする請求項4または5に記載のプログラミング装
置。
4. The I / O comment control means sets the I / O comment control means.
An I / O comment correspondence table that associates the I / O number with the I / O comment is created, and the I / O comment correspondence table is displayed on the screen of the display means.
6. The programming device according to claim 4, wherein the programming device is configured to display an / O comment correspondence table.
【請求項5】 さらに、前記I/Oコメント制御手段
が、前記画面位置指定手段により指定されたI/Oコメ
ントに対応するI/O番号を検索し、前記I/O番号付
与手段が、前記検索されたI/O番号を前記シンボルに
付与するように構成されたことを特徴とする請求項3ま
たは4に記載のプログラミング装置。
5. The I / O comment control means retrieves the I / O number corresponding to the I / O comment designated by the screen position designating means, and the I / O number assigning means stores the I / O number. The programming device according to claim 3 or 4, wherein the programming device is configured to give a searched I / O number to the symbol.
JP4729896A 1996-03-05 1996-03-05 Programming device Pending JPH09244714A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4729896A JPH09244714A (en) 1996-03-05 1996-03-05 Programming device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4729896A JPH09244714A (en) 1996-03-05 1996-03-05 Programming device

Publications (1)

Publication Number Publication Date
JPH09244714A true JPH09244714A (en) 1997-09-19

Family

ID=12771387

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4729896A Pending JPH09244714A (en) 1996-03-05 1996-03-05 Programming device

Country Status (1)

Country Link
JP (1) JPH09244714A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007058472A (en) * 2005-08-24 2007-03-08 Yokogawa Electric Corp Ladder program development support device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007058472A (en) * 2005-08-24 2007-03-08 Yokogawa Electric Corp Ladder program development support device
JP4556809B2 (en) * 2005-08-24 2010-10-06 横河電機株式会社 Ladder program development support device

Similar Documents

Publication Publication Date Title
JPH02133819A (en) Menu display method and data processor
JP2003208302A (en) User interface method and apparatus for appliance connected with host system
EP0355166B1 (en) Picture element correction method
JPH09244714A (en) Programming device
JPH07248809A (en) Programming device
JPH07219753A (en) Conversational program development support system
JP2003050698A (en) System and method for configuring picture
JP3668513B2 (en) Display control device
JPS6352209A (en) Display/operation system for man-machine interface
JP3011050B2 (en) Pointing confirmation method
JP2005143163A (en) Apparatus and method for setting function of inverter device
JPH0816518A (en) Information processor
JP2871969B2 (en) Choice creation execution method
JPH0651972A (en) Information processor
JP2002200830A (en) Display
JPS61278909A (en) Interactive programming device
JP2671907B2 (en) Method and device for displaying and reporting input characters
JPH01149120A (en) Information processor
JPH07302107A (en) Numerical controller
JP2763424B2 (en) Computer with default settings
JPS61184637A (en) Data processing device
JPH06301523A (en) Execution program setting device
JPH03182923A (en) Editing processing method for input/output information
JPH0713725A (en) Support device for development of software
JPH0660077A (en) Document preparing device and key function setting method