JPH0439082B2 - - Google Patents

Info

Publication number
JPH0439082B2
JPH0439082B2 JP57003865A JP386582A JPH0439082B2 JP H0439082 B2 JPH0439082 B2 JP H0439082B2 JP 57003865 A JP57003865 A JP 57003865A JP 386582 A JP386582 A JP 386582A JP H0439082 B2 JPH0439082 B2 JP H0439082B2
Authority
JP
Japan
Prior art keywords
symbol
display
cursor
key
displayed
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 - Lifetime
Application number
JP57003865A
Other languages
Japanese (ja)
Other versions
JPS58121406A (en
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 filed Critical
Priority to JP57003865A priority Critical patent/JPS58121406A/en
Publication of JPS58121406A publication Critical patent/JPS58121406A/en
Publication of JPH0439082B2 publication Critical patent/JPH0439082B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • G05B19/056Programming the PLC
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/10Plc systems
    • G05B2219/13Plc programming
    • G05B2219/13052Display of ladder diagram

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Digital Computer Display Output (AREA)
  • Programmable Controllers (AREA)

Description

【発明の詳細な説明】 この発明は、プログラマブル・コントローラの
図示式のプログラミング装置の改良に関する。
DETAILED DESCRIPTION OF THE INVENTION This invention relates to an improved graphical programming apparatus for programmable controllers.

周知にように、この種のCRT図示式プログラ
ミング装置は、中規模以上のプログラマブル・コ
ントローラに用意され、キー入力装置を操作して
CRT画面上に、a接点やb接点等の回路素子シ
ンボルと横接続や縦接続等の接続シンボルでもつ
て任意にラダー回路図を表示させるだけで、ユー
ザが簡単に所定のプログラミングを行なうことが
できるよう工夫されたものである。
As is well known, this type of CRT graphical programming device is provided in medium-sized or larger programmable controllers, and is used to operate key input devices.
By simply displaying a ladder circuit diagram with circuit element symbols such as A contacts and B contacts, and connection symbols such as horizontal connections and vertical connections on the CRT screen, users can easily perform the specified programming. It has been devised in such a way.

すなわち、プログラミングは次のように行なわ
れる。まず、カーソル移動キーを操作してシンボ
ルを表示させたいCRT画面上の表示区画にカー
ソルを移動させる。次いで、任意のシンボルキー
や置数キー等を操作してカーソルが指定する表示
区画に希望するシンボルとその番号を表示させ
る。そして、誤りがないことを確認したら書込み
キーを操作して完了信号を入力する。この完了信
号が入力されると、CRT画面上のカーソルにて
指示された表示区画のシンボル表示は表示状態が
例えば低輝度から高輝度に変化する。これにより
ユーザはプログラム作成過程において、確認済み
のシンボルと未確認のシンボルとが簡単に区別で
きるようになつている。
That is, programming is performed as follows. First, use the cursor movement keys to move the cursor to the display section on the CRT screen where you want the symbol to be displayed. Next, by operating an arbitrary symbol key, numeric key, etc., a desired symbol and its number are displayed in the display section specified by the cursor. After confirming that there are no errors, operate the write key to input a completion signal. When this completion signal is input, the display state of the symbol display in the display section designated by the cursor on the CRT screen changes from low brightness to high brightness, for example. This allows the user to easily distinguish between confirmed symbols and unconfirmed symbols during the program creation process.

ところで、a接点やb接点上で構成されるラダ
ー回路図では、a接点が多用されているのが一般
的である。このことは、上記プログラミングにお
いて、キー入力装置の各操作キーの中でa接点シ
ンボルキーの使用頻度が高いことを示している。
By the way, in ladder circuit diagrams configured on a-contacts and b-contacts, a-contacts are generally used frequently. This shows that in the above programming, the a-contact symbol key is used more frequently among the operation keys of the key input device.

ところが、この種CRT図示式プログラミング
装置は、上述の如きキー入力装置の操作によつて
ユーザがプログラマブル・コントローラと対話し
ながらプログラムを作成する装置、つまりプログ
ラマブル・コントローラとユーザを結付けるマン
ーマシンインターフエイスとして用意されたもの
であるから、ユーザにとつてキー入力装置の操作
はできるだけ簡便であることが望ましい。
However, this type of CRT graphical programming device is a device in which the user creates a program while interacting with the programmable controller by operating the key input device as described above, that is, a man-machine interface that connects the programmable controller and the user. Since the key input device is provided as a face, it is desirable that the operation of the key input device be as simple as possible for the user.

そこで、この発明はラダー回路図中で使用頻度
の高いa接点に着目し、カーソル移動キーを操作
したとき、a接点シンボルが自動的に、かつ訂正
可の状態でカーソルが指示する表示区画に表示さ
れるとともに、その際に当該a接点シンボルが不
使用でそのままカーソル移動キーが操作されると
旧カーソル位置の上記a接点シンボルが自動消去
される一方、書込みキーの入力があつたときはa
接点シンボルが訂正済みの状態で表示されるよう
にし、a接点シンボルキーを操作せずにa接点シ
ンボルを確認済み状態で表示させ、a接点シンボ
ルキーの操作頻度を低減させた操作性の良い図示
式プログラミング装置を提供することを目的とす
る。
Therefore, this invention focuses on the frequently used A contact in a ladder circuit diagram, and when the cursor movement key is operated, the A contact symbol is automatically displayed in the display area indicated by the cursor in a correctable state. At the same time, if the cursor movement key is operated without using the a-contact symbol, the a-contact symbol at the old cursor position will be automatically deleted, while if the write key is input, the a
A diagram with good operability that displays the contact symbol in a corrected state, displays the NO contact symbol in a confirmed state without operating the NO contact symbol key, and reduces the frequency of operation of the NO contact symbol key. The purpose of this invention is to provide an expression programming device.

以下、この発明の実施例を図面に基づいて詳細
に説明する。
Hereinafter, embodiments of the present invention will be described in detail based on the drawings.

第1図はこの発明に係るCRT図示式プログラ
ミング装置の構成を示すブロツク図である。この
装置はCPU(マイクロプロセツサ)1とCPU1に
よつて実行されるプログラムを格納したROM2
およびCPU1によつて各種可変データの一時記
憶エリアとして使われるRAM3とからなる制御
装置と、キー入力装置4と、CRT表示装置5と、
プログラマブル・コントローラ7を接続するイン
ターフエイス回路6とを備えている。
FIG. 1 is a block diagram showing the configuration of a CRT graphical programming device according to the present invention. This device consists of a CPU (microprocessor) 1 and a ROM 2 that stores programs executed by CPU 1.
and a RAM 3 used as a temporary storage area for various variable data by the CPU 1, a key input device 4, a CRT display device 5,
An interface circuit 6 to which a programmable controller 7 is connected is provided.

上記CRT表示装置5は、CRT51と、全体の
同期制御やキー入力によるカーソルの表示位置制
御およびシンボル等の表示制御等を行なうCRT
制御回路52と、キヤラクタジエネレータ53
と、CRT51に表示させるデータがキヤラクタ
コードの形で格納されるデータメモリ54と、デ
ータメモリ54の各データと1対1に対応した制
御フラグが設定されたフラグメモリ55と、デー
タメモリ54およびフラグメモリ55に対して
CRT制御回路52がアクセスするかCPU1がア
クセスするかを切替えるマルチプレクサ56およ
び57と、キヤラクタジエネレータ53から読出
される並列データを直列データに変換する並直列
変換回路58と、CRT制御回路52およびフラ
グメモリ55からの制御信号を受けて動作し、並
直列変換回路58から出力されるビデオ信号を
CRT51に供給して表示させるビデオ制御回路
59とを備えている。
The above-mentioned CRT display device 5 is a CRT that performs overall synchronization control, cursor display position control by key input, symbol display control, etc. with the CRT 51.
Control circuit 52 and character generator 53
a data memory 54 in which data to be displayed on the CRT 51 is stored in the form of a character code; a flag memory 55 in which control flags are set in one-to-one correspondence with each data in the data memory 54; For flag memory 55
multiplexers 56 and 57 that switch whether the CRT control circuit 52 or the CPU 1 accesses; a parallel-to-serial conversion circuit 58 that converts parallel data read from the character generator 53 into serial data; and a CRT control circuit 52 and It operates in response to a control signal from the flag memory 55 and converts the video signal output from the parallel-to-serial conversion circuit 58.
It also includes a video control circuit 59 that supplies information to the CRT 51 for display.

第2図は上記キー入力装置4におけるキー配列
の一部を示す図である。キー入力装置4には、プ
ログラム作成時に使用される各回路素子シンボル
および各回路素子の接続・解放を示す接続シンボ
ルに対応したシンボルキー群41と、回路素子番
号やプログラムアドレス等の数値データを入力す
るためのテンキー42と、プログラム作成時に1
シンボルの作成を完了した時に完了信号を入力す
るための書込みキー43と、書込みキー43を押
下した後のCRT画面上の当該表示区画の表示内
容を変更、削除する際に利用され、当該表示区画
の表示状態を訂正可の表示状態にするための訂正
キー44と、訂正可の状態にある当該表示区画の
表示を削除するための削除キー45と、CRT画
面上の表示区画を上下左右にカーソルを移動させ
るカーソル移動キー46とを備えている。
FIG. 2 is a diagram showing a part of the key arrangement in the key input device 4. As shown in FIG. The key input device 4 is used to input symbol keys 41 corresponding to each circuit element symbol used when creating a program and connection symbols indicating connection/release of each circuit element, as well as numerical data such as circuit element numbers and program addresses. numeric keypad 42 and 1 key when creating a program.
A write key 43 is used to input a completion signal when symbol creation is completed, and is used to change or delete the display contents of the relevant display section on the CRT screen after pressing the write key 43. A correction key 44 is used to change the display state to a correctable display state, a delete key 45 is used to delete the display of the display section in a correctable state, and a cursor is pressed to move the display section on the CRT screen up, down, left and right. and a cursor movement key 46 for moving the cursor.

第3図はCRT51の表示画面の構成を示す図
である。図示の如くラダー回路図が表示される表
示区画は、座標X0,Y0〜X15,Y11で指
定される192個の表示区画からなり、各表示区画
に上下1つのシンボルとその番号とが表示される
ようになつている。1つの表示区画は、具体的実
施例としては例えば縦が2で横が5の合計10個の
キヤラクタエリアから構成される。キヤラクタジ
エネレータ53には1つのキヤラクタエリアに表
示する数値パターンやa接点、b接点、リレーコ
イル、接続線等のシンボルの表示パターンが適宜
に分割された形で格納されている。これら各表示
パターンデータに対してそれぞれパターンコード
(キヤラクタコードも勿論含む)が決められてい
て、データメモリ54にはこのパターンコードの
形で表示データが格納されており、カーソル移動
キー入力があつたとき、このデータメモリ54に
a接点の表示データがセツトされ、カーソルが指
示する表示区画にa接点のシンボルが訂正可の状
態で自動的に表示される。また、シンボルキー入
力や置数キー入力に対しては、それぞれの表示デ
ータがデータメモリ54にセツトされ、カーソル
が指示する表示区画にそれぞれ所定の表示がなさ
れる。そして、データメモリ54中の各パターン
コードと1対1に対応した制御フラグ(複数ビツ
トからなる)がフラグメモリ55に格納されてい
る。この制御フラグは対応するパターンコードの
表示パターンをCRT51の表示画面上に表示す
る態様を決める各種の制御信号(ビデオ制御回路
49がこれに基づき動作する)を設定するもの
で、この制御フラグの中には表示区画毎の表示状
態を制御するフラグ(この実施例では輝度フラグ
F1と称する)が含まれ。すなわち、この表示区
画の表示状態には、書込みキー入力があり当該表
示区画に表示されたシンボルが確認されたことを
示す状態と、未だ確認されておらず当該表示区画
に表示されているシンボルは訂正可であることを
示す状態とがある。この実施例では、輝度フラグ
F1がF1=0の場合は当該シンボルが訂正可の
状態であることを低輝度で、またF1=1の場合
は当該シンボルが確認済の状態であることを高輝
度でそれぞれ表示するようにしてあり、上述した
カーソル移動キー入力によつて輝表示されるa接
点のシンボルは低輝度で表示される。
FIG. 3 is a diagram showing the configuration of the display screen of the CRT 51. As shown in the figure, the display section where the ladder circuit diagram is displayed consists of 192 display sections specified by coordinates X0, Y0 to X15, Y11, and each display section displays one symbol and its number above and below. It's becoming like that. As a specific example, one display section is composed of a total of 10 character areas, two in length and five in width, for example. The character generator 53 stores numerical patterns to be displayed in one character area and display patterns of symbols such as a contacts, b contacts, relay coils, connection lines, etc., in an appropriately divided form. A pattern code (including a character code, of course) is determined for each of these display pattern data, and the display data is stored in the data memory 54 in the form of this pattern code. At this time, the display data of the a-contact is set in the data memory 54, and the symbol of the a-contact is automatically displayed in a correctable state in the display section indicated by the cursor. Further, in response to a symbol key input or a numeric key input, respective display data is set in the data memory 54, and a predetermined display is made respectively in the display section indicated by the cursor. A control flag (consisting of a plurality of bits) corresponding one-to-one with each pattern code in the data memory 54 is stored in the flag memory 55. These control flags are used to set various control signals (the video control circuit 49 operates based on these) that determine the manner in which the display pattern of the corresponding pattern code is displayed on the display screen of the CRT 51. includes a flag (referred to as a brightness flag F1 in this embodiment) for controlling the display state of each display section. In other words, the display status of this display section is that there is a write key input and the symbol displayed in the display section has been confirmed, and the symbol that has not yet been confirmed and is displayed in the display section is There is a state indicating that correction is possible. In this embodiment, when the brightness flag F1 is F1=0, low brightness indicates that the symbol can be corrected, and when F1=1, high brightness indicates that the symbol has been confirmed. The symbol of the a contact point, which is displayed brightly by the above-mentioned cursor movement key input, is displayed with low brightness.

更に、このフラグメモリ55にはこの発明に係
る自動表示フラグF2が設けられ、この自動表示
フラグF2はカーソル移動キー入力によつてa接
点シンボルが自動表示された時セツトされ、訂正
キー44を除く操作キー41,42,43,4
5,46の押下によるそれぞれの入力があつたと
きリセツトされる。つまり、この自動表示フラグ
F2はカーソルが指示する表示区画にa接点シン
ボルが訂正可の状態で表示されていることを示す
もので、カーソル移動キー46のみを連続して押
下するとカーソルが移動して、そのカーソルが新
たに位置する表示区画、つまり新カーソル位置に
何もシンボル表示がないときは、カーソルがその
新カーソル位置に来た際にa接点シンボルが自動
表示されると共に、新カーソル位置にカーソルが
移動するときに今まで位置していた表示区画、つ
まり旧カーソル位置のa接点シンボルはその表示
区画の自動表示フラグF2がリセツトされること
により自動消去される。また、カーソル移動キー
46を押下してa接点シンボルを自動表示させた
後に例えばb接点のシンボルキー41を押下する
と、上記a接点シンボル表示はb接点シンボル表
示に切り替わるとともに、自動表示フラグF2は
リセツトされる。また、カーソル移動キー46と
書込キー43とを引続いて押下すると、a接点シ
ンボル表示は低輝度から高輝度に代り、自動表示
フラグF2はリセツトされる。
Further, this flag memory 55 is provided with an automatic display flag F2 according to the present invention, and this automatic display flag F2 is set when the a contact symbol is automatically displayed by inputting a cursor movement key. Operation keys 41, 42, 43, 4
It is reset when each input is made by pressing 5 and 46. In other words, this automatic display flag F2 indicates that the a-contact symbol is displayed in a correctable state in the display area indicated by the cursor, and if only the cursor movement key 46 is pressed continuously, the cursor will move. , If there is no symbol displayed in the display section where the cursor is newly located, that is, the new cursor position, the a contact symbol will be automatically displayed when the cursor comes to the new cursor position, and the symbol will be displayed at the new cursor position. The display section where the cursor has been located until now, that is, the a-contact symbol at the old cursor position is automatically erased by resetting the automatic display flag F2 of that display section. Furthermore, if the cursor movement key 46 is pressed to automatically display the a-contact symbol, and then the b-contact symbol key 41 is pressed, for example, the a-contact symbol display is switched to the b-contact symbol display, and the automatic display flag F2 is reset. be done. Further, when the cursor movement key 46 and the write key 43 are pressed successively, the a contact symbol display changes from low brightness to high brightness and the automatic display flag F2 is reset.

この発明はこのように使用頻度の高いa接点の
シンボルキー41の操作回数を少くすることによ
り、キー入力装置4の繁雑なキー操作の簡略化を
実現しようとするものであり、これを第4図およ
び第5図に基づいて説明する。
This invention aims to simplify the complicated key operations of the key input device 4 by reducing the number of operations of the frequently used symbol key 41 of the a contact point. This will be explained based on the figure and FIG.

第4図は上記CRT画面上の各表示区画に任意
のシンボルを表示させてラダー回路図を作成する
途中においてカーソルKを移動させたとき、その
位置にa接点シンボルが低輝度(図中破線表示)
で輝度表示されている状態を示している。なお、
図中実線で示す表示状態は書込キー入力によつて
高輝度表示になつていることを示している。
Figure 4 shows that when you move the cursor K while creating a ladder circuit diagram by displaying arbitrary symbols in each display section on the CRT screen, the a contact symbol appears at that position with low brightness (the broken line in the figure shows )
This shows the state where the brightness is displayed. In addition,
The display state indicated by the solid line in the figure indicates that the display becomes high brightness due to input of the write key.

第5図はCPU1によつて実行される表示制御
プログラムの概要を示すフローチヤートで、特に
この発明に係わる部分を中心に表わしてある。以
下、このフローチヤートに従つて説明する。
FIG. 5 is a flowchart showing an overview of the display control program executed by the CPU 1, and particularly shows the parts related to the present invention. The process will be explained below according to this flowchart.

キー入力装置4が操作されると、まずステツプ
100でこれが検出され、ステツプ101,10
2,103,104,105および106の各ル
ーチンが実行されて、どの種のキー入力かが判断
される。
When the key input device 4 is operated, this is first detected in step 100, and the key input device 4 is detected in step 100.
Routines 2, 103, 104, 105 and 106 are executed to determine what type of key input.

まず、キー入力がカーソル移動キー入力である
場合には、ステツプ101からステツプ107に
進み、新カーソル位置の表示区画に対応する輝度
フラグF1の状態をチエツクする。その結果、F
1=1であれば、当該表示区画は上述したように
書込キー入力によつて高輝度に表示されているか
ら、カーソルのみが当該表示区画に表示される。
そして、F1=0であれば当該表示区画は低輝度
で表示され訂正可の状態であることを示している
からステツプ108に進み、旧カーソル位置の表
示区画に対応する自動表示フラグF2がF2=1
であるか否かが判断される。その結果、F2=0
であれば、旧カーソル位置の表示区画に自動表示
したa接点シンボルはカーソル移動キー入力や訂
正キー入力以外のキー入力によつてなんらかの処
理、例えばb接点のシンボル表示に変更されてい
るから、ステツプ109で新カーソル位置が
CRT表示画面上のどこに位置しているかがチエ
ツクされる。すなわち、第3図に示したCRT表
示画面において座標軸X14に位置する各表示区
画が出力シンボルであるリレーコイルのみが表示
されるエリアで、座標軸X0〜X13までに位置
する各表示区画が接点シンボルや接続シンボル等
の入力シンボルが表示されるエリアと定められて
いるから、これがステツプ110で判定される。
その結果、新カーソル位置が出力シンボルエリア
であるときは、その表示区画にカーソルのみが表
示される。そして、新カーソル位置が入力シンボ
ルエリアであるときは、ステツプ110で当該表
示区画に既にシンボルが表示されているか否かが
チエツクされ、その結果YESであればカーソル
のみが表示され、NOであればステツプ111に
進み、データメモリ54にa接点の表示データを
セツトする。その結果、第4図に示したように、
カーソルKが指示する表示区画にa接点シンボル
が自動表示されるからステツプ112で自動表示
フラグF2をF2=1にして、次のキー入力に備
える。
First, if the key input is a cursor movement key input, the process proceeds from step 101 to step 107, and the state of the brightness flag F1 corresponding to the display section at the new cursor position is checked. As a result, F
If 1=1, only the cursor is displayed in the display section because the display section is displayed with high brightness due to the input of the write key as described above.
If F1=0, this indicates that the display section is displayed at low brightness and can be corrected, so the process proceeds to step 108, and the automatic display flag F2 corresponding to the display section at the old cursor position is set to F2=0. 1
It is determined whether or not. As a result, F2=0
If so, the NO contact symbol that was automatically displayed in the display area at the old cursor position has been changed through some process, for example, to display a B contact symbol, by inputting a key other than the cursor movement key or the correction key. The new cursor position is 109.
The location on the CRT display screen is checked. That is, on the CRT display screen shown in FIG. 3, each display section located on the coordinate axis X14 is an area in which only the relay coil, which is an output symbol, is displayed, and each display section located on the coordinate axes X0 to Since this area is defined as the area where input symbols such as connected symbols are displayed, this is determined in step 110.
As a result, when the new cursor position is in the output symbol area, only the cursor is displayed in that display section. Then, when the new cursor position is in the input symbol area, it is checked in step 110 whether or not a symbol is already displayed in the display area. If the result is YES, only the cursor is displayed, and if the result is NO, then Proceeding to step 111, the display data of the a contact is set in the data memory 54. As a result, as shown in Figure 4,
Since the a-contact symbol is automatically displayed in the display section indicated by the cursor K, the automatic display flag F2 is set to F2=1 in step 112 in preparation for the next key input.

一方、ステツプ108で自動表示フラグF2が
F2=1である場合には、旧カーソル位置の表示
区画に自動表示したa接点シンボルがなんらの処
理もされず引続きカーソル移動キー入力がなされ
た訳であるから、ステツプ113で旧カーソル位
置の表示区画に対応する自動表示フラグF2をリ
セツトするとともに、その表示区画に表示されて
いるa接点シンボルを消去し、ステツプ109に
進み、新カーソル位置の表示区画の上記各処理を
行なう。
On the other hand, if the automatic display flag F2 is F2 = 1 in step 108, the cursor movement key input was continued without any processing being performed on the a contact symbol that was automatically displayed in the display section at the old cursor position. Then, in step 113, the automatic display flag F2 corresponding to the display section at the old cursor position is reset, and the a contact symbol displayed in that display section is erased, and the process proceeds to step 109, where the automatic display flag F2 corresponding to the display section at the new cursor position is reset. Perform each of the above processes.

また、ステツプ102で書込キー入力が検出さ
れると、ステツプ115でカーソルが指示する表
示区画にシンボルがあるか否かがチエツクされ、
YESであればステツプ116で該シンボルの種
類を調べる。該シンボルがa接点シンボルであれ
ば、ステツプ117で自動表示フラグF2をリセ
ツトするとともに、ステツプ118で輝度フラグ
F1をセツトし、当該表示区画を高輝度表示にす
る。すなわち、a接点シンボルが確認済みの状態
で表示される。また、該シンボルがa接点以外の
シンボルである場合には、ステツプ118に進
み、そのシンボルを高輝度表示する。
Further, when a write key input is detected in step 102, it is checked in step 115 whether or not there is a symbol in the display area pointed by the cursor.
If YES, the type of the symbol is checked in step 116. If the symbol is an a-contact symbol, the automatic display flag F2 is reset in step 117, and the brightness flag F1 is set in step 118, so that the display section is displayed with high brightness. That is, the a-contact symbol is displayed in a confirmed state. If the symbol is a symbol other than the a-contact, the process proceeds to step 118 and the symbol is displayed with high brightness.

次に、上記高輝度表示したシンボルを訂正する
ための訂正キー入力がステツプ103で検出され
ると、ステツプ119でカーソルが指示する表示
区画にシンボルがあるか否かがチエツクされ、
YESであればステツプ120で輝度フラグF1
をリセツトして当該表示区画を訂正可の状態に
し、次のキー入力に備える。
Next, when a correction key input for correcting the symbol displayed in high brightness is detected in step 103, it is checked in step 119 whether or not there is a symbol in the display area indicated by the cursor.
If YES, the brightness flag F1 is set in step 120.
The display section is reset to a state where it can be corrected, and is ready for the next key input.

また、任意のシンボルを表示させそれを書込キ
ー43によつて確認する前に削除する場合に入力
される削除キー入力がステツプ104で検出され
ると、ステツプ121で輝度フラグF1がF1=
0であるか否かがチエツクされ、YESであれば、
ステツプ122でカーソルが指示する表示区画に
表示されているシンボルを全て消去する。このと
き、この削除キー入力が入力シンボルエリアにお
けるカーソル移動キー入力の直後である場合に
は、当該シンボルはa接点シンボルで自動表示フ
ラグF2がセツトされているから、ステツプ12
3でこれをリセツトする。
Further, when a delete key input to display an arbitrary symbol and delete it before confirming it with the write key 43 is detected in step 104, in step 121 the brightness flag F1 is set to F1=
It is checked whether it is 0 or not, and if YES,
At step 122, all symbols displayed in the display area pointed to by the cursor are erased. At this time, if this delete key input is immediately after the cursor movement key input in the input symbol area, the symbol is an a-contact symbol and the automatic display flag F2 is set, so step 12 is performed.
3 to reset this.

更に、ステツプ105で置数キー入力が検出さ
れると、ステツプ124でカーソルが指示する表
示区画に対応する輝度フラグF1がF1=1であ
るか否かがチエツクされ、YESであれば、ステ
ツプ125に進み、当該表示区画に表示されてい
る回路素子シンボルの上方に、第4図に示す如く
番号を表示する。このとき、置数キー入力が入力
シンボルエリアにおけるカーソル移動キー入力の
直後である場合には、表示されている回路素子シ
ンボルはa接点シンボルであり、自動表示フラグ
F2がセツトされていから、ステツプ126でこ
れをリセツトする。
Further, when a numeric key input is detected in step 105, it is checked in step 124 whether the brightness flag F1 corresponding to the display section indicated by the cursor is F1=1, and if YES, the brightness flag F1 is checked in step 125. Then, a number is displayed above the circuit element symbol displayed in the display section as shown in FIG. At this time, if the numeric key input is immediately after the cursor movement key input in the input symbol area, the displayed circuit element symbol is an a-contact symbol, and the automatic display flag F2 is set, so step 126 is executed. Reset this with .

また、シンボルキー入力がステツプ106で検
出されると、ステツプ127でカーソルが指示す
る表示区画に対応する輝度フラグF1がF1=0
であるか否かがチエツクされ、YESであれば、
ステツプ128で当該表示区画に所定の回路素子
シンボルが表示される。このとき、シンボルキー
入力が入力シンボルエリアにおけるカーソル移動
キー入力の直後である場合には、a接点シンボル
が例えばb接点シンボルに表示がえされるととも
に、自動表示フラグF2がセツトされているか
ら、ステツプ129でこれをリセツトする。
Further, when a symbol key input is detected in step 106, the brightness flag F1 corresponding to the display section indicated by the cursor is set to F1=0 in step 127.
is checked, and if YES,
At step 128, a predetermined circuit element symbol is displayed in the display section. At this time, if the symbol key input is immediately after the cursor movement key input in the input symbol area, the a-contact symbol is changed to, for example, the b-contact symbol, and the automatic display flag F2 is set. 129 to reset this.

なお、ステツプ115,119,121,12
4,127における判定の結果NOである場合に
は操作ミスとしてステツプ130でキーインエラ
ー表示を行なう。
Note that steps 115, 119, 121, 12
If the result of the determination at step 4, 127 is NO, an operation error is detected and a key-in error is displayed at step 130.

そして、この実施例ではCRT表示画面上の表
示区画の表示状態を低輝度と高輝度で識別できる
ようにしたが、第4図に示す如く、確認済みの状
態を示す表示を実線で、未確認の状態を示す表示
を点線でそれぞれ表示するようにしても、この発
明の目的は達せられる。
In this embodiment, the display status of the display section on the CRT display screen can be identified by low brightness and high brightness, but as shown in FIG. The object of the present invention can also be achieved by displaying each status with a dotted line.

以上説明したように、この発明に係るプログラ
マブル・コントローラの図示式プログラミング装
置では、カーソル移動キーの入力によりカーソル
の移動に従い、カーソルが指示する表示区画に使
用頻度の高いa接点シンボルが訂正可の状態で自
動表示され、その際に書込みキーの入力がなく引
き続きカーソル移動キーの入力があつたときはそ
の表示区画のa接点シンボルが自動消去される一
方、書込みキーの入力があつたときはa接点シン
ボルが訂正済みの状態で表示されるようにしたた
め、a接点シンボルキーを操作せずにa接点シン
ボルを確認済み状態で表示させ、a接点シンボル
キーの操作頻度を極めて低減させることができ
る。その結果、キー入力装置の操作性が改善され
プログラム作成の能率が向上する。
As explained above, in the graphical programming device for a programmable controller according to the present invention, as the cursor is moved by inputting the cursor movement key, the frequently used a contact symbol is placed in the display area indicated by the cursor in a state where it can be corrected. If the write key is not input and the cursor movement key is subsequently input at that time, the A contact symbol in that display section will be automatically erased, but when the write key is input, the A contact symbol will be automatically displayed. Since the symbol is displayed in a corrected state, the a-contact symbol is displayed in a confirmed state without operating the a-contact symbol key, and the frequency of operation of the a-contact symbol key can be extremely reduced. As a result, the operability of the key input device is improved and the efficiency of program creation is improved.

また、a接点シンボルがカーソルの移動につれ
て自動表示される表示区画は入力シンボルエリア
であることが明確になるから、この点からもプロ
グラム作成の能率向上が図れるという利点があ
る。
Furthermore, since it becomes clear that the display section in which the a-contact symbol is automatically displayed as the cursor moves is the input symbol area, there is an advantage that the efficiency of programming can be improved from this point as well.

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

第1図はこの発明の一実施例を示すCRT図示
式プログラミング装置を示すブロツク図、第2図
はキー入力装置におけるキー配列の一部を示す
図、第3図はCRT表示画面の回路図表示エリア
の構成を示す図、第4図はプログラム作成途中に
おいてカーソル位置が指示する表示区画にa接点
シンボルが自動表示されている状態を示す図、第
5図はこの発明に係る表示制御を中心に示す表示
制御プログラムのフローチヤートである。 1……CPU、2……ROM、3……RAM、4
……キー入力装置、5……CRT表示装置、6…
…インターフエイス回路、7……プログラマブ
ル・コントローラ、K……カーソル、F1……輝
度フラグ、F2……自動表示フラグ。
FIG. 1 is a block diagram showing a CRT graphical programming device showing an embodiment of the present invention, FIG. 2 is a diagram showing a part of the key arrangement in a key input device, and FIG. 3 is a circuit diagram of a CRT display screen. FIG. 4 is a diagram showing the configuration of the area, FIG. 4 is a diagram showing a state in which the a contact symbol is automatically displayed in the display section indicated by the cursor position during program creation, and FIG. 5 is a diagram mainly showing the display control according to the present invention. 3 is a flowchart of a display control program shown in FIG. 1...CPU, 2...ROM, 3...RAM, 4
...Key input device, 5...CRT display device, 6...
...Interface circuit, 7...Programmable controller, K...Cursor, F1...Brightness flag, F2...Automatic display flag.

Claims (1)

【特許請求の範囲】 1 表示画面上の表示区画に各回路素子等のシン
ボルの訂正可状態表示を指示するシンボルキー
と、カーソルを移動するときに押下されてカーソ
ルの移動およびその方向を指示するカーソル移動
キーと、上記表示区画に表示された上記シンボル
が訂正可状態であるとき押下されてそのシンボル
の確認済み状態表示を指示する書込みキーとを有
するキー入力装置から上記各指示を受けて、表示
装置にソースプログラムとなる回路図を表示し、
かつこれをユーザプログラムに変換する機能を備
えた図示式プログラミング装置において、 上記カーソル移動キーの押下によるカーソルの
移動に従い、上記カーソルが新たに位置する表示
区画に上記シンボルによる表示がなされているか
否かを確認する確認手段と、 上記確認手段によつてカーソルが新たに位置す
る表示区画にシンボル表示がないと確認されたと
き、その表示区画にa接点のシンボルを訂正可状
態で自動表示する表示手段と、 上記a接点のシンボルが表示をされた表示区画
に上記書込みキーによる指示がないまま上記カー
ソル移動キーによるカーソルの移動入力があつた
とき、その表示区画のa接点シンボルを自動消去
する消去手段とを設け、 上記カーソルが指示する表示区画にa接点のシ
ンボルが訂正可状態で自動表示され、且つ上記書
込みキーの入力があつたときはa接点のシンボル
を確認済み状態で表示するようにしたことを特徴
とするプログラマブル・コントローラの図示方
式。
[Scope of Claims] 1. A symbol key that instructs to display the correctable state of symbols of each circuit element, etc. in a display section on the display screen, and a symbol key that is pressed when moving the cursor to instruct the movement of the cursor and its direction. Receiving each of the above instructions from a key input device having a cursor movement key and a write key that is pressed when the symbol displayed in the display section is in the correctable state and instructs to display the confirmed state of the symbol, Display the circuit diagram that becomes the source program on the display device,
and whether or not the symbol is displayed in the display section where the cursor is newly positioned in accordance with the movement of the cursor by pressing the cursor movement key in a graphical programming device equipped with a function to convert this into a user program. and a display means for automatically displaying the symbol of the a contact in a correctable state in the display section where the cursor is newly located when it is confirmed by the above confirmation means that the symbol is not displayed in the display section where the cursor is newly located. and erasing means for automatically erasing the a-contact symbol in the display section when a cursor movement input is made using the cursor movement key without any instruction using the write key in the display section in which the a-contact symbol is displayed. The symbol of the NO contact is automatically displayed in the display section indicated by the cursor in a correctable state, and when the write key is input, the symbol of the NO contact is displayed in the confirmed state. A diagrammatic method of a programmable controller characterized by:
JP57003865A 1982-01-13 1982-01-13 Crt display type programming device of programmable controller Granted JPS58121406A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57003865A JPS58121406A (en) 1982-01-13 1982-01-13 Crt display type programming device of programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57003865A JPS58121406A (en) 1982-01-13 1982-01-13 Crt display type programming device of programmable controller

Publications (2)

Publication Number Publication Date
JPS58121406A JPS58121406A (en) 1983-07-19
JPH0439082B2 true JPH0439082B2 (en) 1992-06-26

Family

ID=11569082

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57003865A Granted JPS58121406A (en) 1982-01-13 1982-01-13 Crt display type programming device of programmable controller

Country Status (1)

Country Link
JP (1) JPS58121406A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61249109A (en) * 1985-04-26 1986-11-06 Okuma Mach Works Ltd Interactive program generating system for numerical control device
JPS6215605A (en) * 1985-07-15 1987-01-24 Fuji Electric Co Ltd Programming device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5539932A (en) * 1978-09-13 1980-03-21 Nissan Motor Co Ltd Process control display device
JPS5611502A (en) * 1979-07-09 1981-02-04 Toyoda Mach Works Ltd Program correction unit in sequence controller

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5539932A (en) * 1978-09-13 1980-03-21 Nissan Motor Co Ltd Process control display device
JPS5611502A (en) * 1979-07-09 1981-02-04 Toyoda Mach Works Ltd Program correction unit in sequence controller

Also Published As

Publication number Publication date
JPS58121406A (en) 1983-07-19

Similar Documents

Publication Publication Date Title
JPS6217244B2 (en)
JPH0439082B2 (en)
JPS62130405A (en) Nc data correction method
JPH02213982A (en) Graphic editing device
JPH02266398A (en) Scrolling controller for display screen
JP2898398B2 (en) Programming device for programmable controller
JPH08147265A (en) Method and device for verifying operability
JP2698715B2 (en) Editing method of sequence program
JPH0580814A (en) Programming device for programmable controller
JP2714458B2 (en) XY plotter
JP2663133B2 (en) Command menu display method in display device
JPS6132107A (en) Programming device of programmable controller
JP3123720B2 (en) Programming method and programming device for programmable controller
JPH0519817A (en) System for editing sequence program
JPS58114203A (en) Crt indicating type programming device of programmable controller
JPH05303363A (en) Controller and its picture control method
JPH04283821A (en) Coordinate display device and its coordinate input device
JPS59148975A (en) Editing device of pattern
JP3067166B2 (en) Digital controller
JPH0454244B2 (en)
JPS58103006A (en) Programming device with crt display by diagram for programmable controller
JPS58105302A (en) Illustrating programming device of programmable controller
JP2822474B2 (en) Trend graph display
JP2981563B2 (en) Electronics
JPS6131889B2 (en)