JPH0282301A - Peripheral device for programmable controller - Google Patents
Peripheral device for programmable controllerInfo
- Publication number
- JPH0282301A JPH0282301A JP23536388A JP23536388A JPH0282301A JP H0282301 A JPH0282301 A JP H0282301A JP 23536388 A JP23536388 A JP 23536388A JP 23536388 A JP23536388 A JP 23536388A JP H0282301 A JPH0282301 A JP H0282301A
- Authority
- JP
- Japan
- Prior art keywords
- cursor
- vertical line
- key
- input
- line
- 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
Links
Landscapes
- Programmable Controllers (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
この発明は1表示部、キーボード、メモリ等かラナリ、
プログラマブルコントローラのプログラム回路を作成す
るプログラマブルコントローラの周辺装置に関するもの
である。[Detailed Description of the Invention] [Industrial Field of Application] This invention relates to a display unit, a keyboard, a memory, etc.
The present invention relates to a peripheral device for a programmable controller that creates a program circuit for the programmable controller.
プログラマブルコントローラ(Programma b
leController l以下pcという)は、「
論理演算。Programmable controller (Programma b)
leController (hereinafter referred to as pc) is “
Logical operations.
順序操作、遅延、計算および算術演算などの制御動作を
行々わせるために、制御手順を一連の命令語の形で記憶
するメモリを有し、このメモリの内容に従って、ディジ
タル、アナログの入出カモジュールを介して諸種の機械
やプロセスの制御を行なうディジタル操作形の電子装置
」(プログラマブルコントローラ応用技術ハンドブック
昭和61年6月15日第1版第1刷(株)1!気書院発
行第1章page 5 )である。したがってpcを
作動させるためには制御手順を一連の命令語の形で記憶
させなければならない。この制御手順を記述するのがプ
ログラミング言語であり、このプラミング言語を用いて
制御手順を記述することをプログラミングという。プロ
グラミング言語としては、いろいろなものが提案されて
いるが代表的なものには以下のよう々ものがある。In order to perform control operations such as sequence operations, delays, calculations, and arithmetic operations, it has a memory that stores control procedures in the form of a series of command words, and according to the contents of this memory, digital and analog input and output signals are controlled. ``Digitally operated electronic devices that control various machines and processes through modules'' (Programmable Controller Application Technology Handbook June 15, 1985, 1st edition, 1st printing, published by 1!Kishoin Co., Ltd., Chapter 1) page 5). Therefore, in order to operate a PC, a control procedure must be stored in the form of a series of commands. A programming language is used to describe this control procedure, and writing a control procedure using this programming language is called programming. A variety of programming languages have been proposed, but some of the most popular are as follows.
(A) 記述方式のプログラミング言語(A1)二−
モニツク方式
(A2)数式・特殊記号方式
(Bl 線図方式のプログラミング言語(B1)ラダ
ーダイヤグラム方式
(B2)論理図方式
(C)表示方式のプログラミング言語
(C1)フローチャート方式
(C2)タイムチャート方式
(C3)デシジョン・テーブル方式
これらの言語について説明は省略するが、この中でラダ
ーダイヤグラム方式は開接点、閉接点。(A) Description-based programming language (A1) 2-
Monik method (A2) Numerical formula/special symbol method (Bl) Diagram method programming language (B1) Ladder diagram method (B2) Logic diagram method (C) Display method programming language (C1) Flowchart method (C2) Time chart method ( C3) Decision table method The explanation of these languages will be omitted, but the ladder diagram method uses open contact and closed contact.
出力(コイル)などの回路素子を図記号化して。Convert circuit elements such as outputs (coils) into diagrams and symbols.
表示しこれを連結させてプログラム回路を描いていく方
式である。こうして描かれた図はラダー図と呼ばれ、こ
の書き方の一般的ルールは以下のとおりである。This is a method of displaying and connecting them to draw a program circuit. Diagrams drawn in this way are called ladder diagrams, and the general rules for drawing them are as follows.
(1)書式は一般に横書きで、二次元の配列として描か
れる。(1) The format is generally written horizontally and drawn as a two-dimensional array.
(11)一つの行の要素数(ブロック数)は2表示器の
制約もあり2個数に制限がある。(11) The number of elements (block number) in one row is limited to two due to the restriction of two displays.
(iit) 電流は左右方向について左から右の一方
向に、そして上下方向については両方向に流れる。(iit) Current flows in one direction from left to right in the horizontal direction, and in both directions in the vertical direction.
(1■)出力(コイル)は最右端に配置する。(1■) Place the output (coil) at the rightmost end.
(V) 持続のない線の交差は許されない。(V) Crossing of lines without continuity is not allowed.
さて、この発明に係るPCの周辺装置は、上記のラダー
ダイヤグラム方式のプログラミング言語を用いてラダー
図を描き、PC用のプログラムを作成する装置であり、
このため、ラダー図を表示する表示部、開接点や閉接点
や出力コイルなどの回路素子を示す図記号を入力するキ
ーボード、ラダー図と作成されたプログラム回路を記憶
するメモリ、これら表示部とキーボードとメモリをコン
トロールする制御部を有している。Now, the PC peripheral device according to the present invention is a device that draws a ladder diagram using the above-mentioned ladder diagram programming language and creates a program for the PC.
For this purpose, there is a display section that displays the ladder diagram, a keyboard that inputs graphical symbols indicating circuit elements such as open contacts, closed contacts, and output coils, a memory that stores the ladder diagram and the created program circuit, and these display sections and the keyboard. and a control section that controls the memory.
以下従来のPCの周辺装置について説明する。Conventional PC peripheral devices will be explained below.
第12図はpcの周辺装置の構造図であり2図において
σBはpcの周辺装置本体、(+2は図記号等を入力す
るキーボード、 (13はラダー図を表示するCRT、
α心はキーボード(12から操作された内容に従って周
辺装置σBを制御する制御部、a!1はキーボード(1
zより入力されたラダー図の接点、コイル。Figure 12 is a structural diagram of the PC's peripheral equipment. In Figure 2, σB is the main body of the PC's peripheral equipment, (+2 is the keyboard for inputting graphic symbols, etc., (13 is the CRT for displaying the ladder diagram,
The α core is a control unit that controls the peripheral device σB according to the contents operated from the keyboard (12), and a!1 is the keyboard (12).
Contacts and coils in the ladder diagram input from z.
分岐などの図記号のコードを記憶するためのキャラクタ
メモリ、01はキャラクタメモリaつのラダー図を一連
の命令コードに変換したプログラムを記iするシーケン
スプログラムメモリである。A character memory 01 is a character memory for storing codes of diagram symbols such as branches, and a sequence program memory 01 stores a program in which one ladder diagram is converted into a series of instruction codes.
第13図はキーボード113のラダー図作成に関係のあ
るキーの内容を示す図である。aηはラダー図作成の開
始指令をだす書込キー、 (lsは作成したラダー図を
PCが処理できる一連の命令コードに変換指令をだす変
換キー、Hはラダー図入力中にカーソルを移動させるた
めのカーソル邸動キー、(イ)は開接点と閉接点の接点
記号を入力する接点キーCDはラダー図の接点とコイル
等を接続する横線キー、(至)はラダー図を並列分岐す
るための縦線キー(ハ)はコイル記号を入力するコイル
キーである。FIG. 13 is a diagram showing the contents of keys related to creating a ladder diagram on the keyboard 113. aη is a write key that issues a command to start creating a ladder diagram, (ls is a conversion key that issues a command to convert the created ladder diagram into a series of command codes that can be processed by a PC, and H is used to move the cursor while inputting a ladder diagram. cursor movement key, (a) is the contact key for inputting the contact symbols of open and closed contacts, CD is the horizontal line key for connecting the contacts and coils, etc. of the ladder diagram, and (to) is for parallel branching of the ladder diagram. The vertical line key (C) is a coil key for inputting a coil symbol.
第14図はORT ti3に表示されたラダー図とキャ
ラクタメモリ0!9の関係を表わす図である。(イ)は
ORT 63に表示されたラダー図の一例である。FIG. 14 is a diagram showing the relationship between the ladder diagram displayed on ORT ti3 and character memories 0 to 9. (A) is an example of a ladder diagram displayed on the ORT 63.
(51)はラダー図を構成している単位となるブロック
であり、この例では一行9ブロック、−列6ブロックの
配列のラダー図である。キャラクタメモリ(l!19も
CRT ti3表示にあわせて二次元の配列で構成され
ておりそのひとつの構成単位はひとつのブロック61)
に対応している。そしてこのひとつの構成単位にはキー
ボード1カより入力されt接点。(51) is a block that is a unit configuring a ladder diagram, and in this example, it is a ladder diagram with an arrangement of 9 blocks per row and 6 blocks in a -column. Character memory (l!19 is also composed of a two-dimensional array to match the CRT ti3 display, and one constituent unit is one block 61)
It corresponds to And this one structural unit receives input from one keyboard and has a T contact.
コイル、縦線、横線等の図記号をそれぞれの図記号に対
応したコードで記憶している。Graphical symbols such as coils, vertical lines, horizontal lines, etc. are stored in codes corresponding to each graphical symbol.
第15図は書込キー面によって制御部α4の処理がラダ
ー図の作成処理になってからの処理内容を示すフローチ
ャートである。(2)はキーボード+12よりラダー層
を作成するためのキー人力操作である。FIG. 15 is a flowchart showing the processing contents after the processing of the control unit α4 becomes the ladder diagram creation processing depending on the write key surface. (2) is a manual key operation for creating a ladder layer using the keyboard +12.
(3)はキー人力処理(2)で入力されたキーによって
各処理に分岐する処理である。カーソル移動キー09が
入力された時は+4)のカーソル移動処理にてカーソル
を移動する。接点キー彌、横線キーc2n、縦線キー■
が入力された時は(3)の接点、横線、縦線キー処理に
て入力された図記号に対応した第14図のコードをカー
ソル位置に対応したキャラクタメモリ(1ツの構成単位
に書き込み、カーソルを右へ1ブロック分移動させる。(3) is a process that branches into each process depending on the key input in the key manual process (2). When the cursor movement key 09 is input, the cursor is moved by the cursor movement process +4). Contact key Ya, horizontal line key c2n, vertical line key■
is input, the code shown in Figure 14 corresponding to the graphic symbol input using the contact, horizontal line, and vertical line key processing in (3) is written into the character memory (one structural unit) corresponding to the cursor position. Move the cursor one block to the right.
コイルキー(至)が入力された時はコイルキー処理(7
)にてコイルが描かれたブロックに対応するキャラクタ
メモリ(15)の構成単位にコイル記号のコードを書き
込み、カーソルは次の行の先頭(左端)に移動させる。When the coil key (to) is input, coil key processing (7
), the code of the coil symbol is written in the constituent unit of the character memory (15) corresponding to the block in which the coil is drawn, and the cursor is moved to the beginning (left end) of the next line.
+41. +3)、 +71のいずれかの処理後、(9
)のCRT表示処理にてキャラクタメモリO9の内容を
CRTに表示させ、キー人力操作(2)に戻る。(2)
で変換キー0梯が押された時はalのキャラクタメモリ
変換処理にてキャラクタメモリ(151をPCの処理で
きる命令コードに変換してシーケンスプログラムメモリ
(13)に書き込む処理を実行する。そしてラダー図に
よるプログラム作成という一連の操作を完了する。+41. After processing either +3) or +71, (9
) The contents of the character memory O9 are displayed on the CRT in the CRT display process, and the process returns to key manual operation (2). (2)
When the conversion key 0 ladder is pressed, al's character memory conversion process converts the character memory (151) into an instruction code that can be processed by the PC and writes it to the sequence program memory (13).Then, the ladder diagram Complete a series of operations called program creation.
第16図から第20図は第16図のラダー図の状態から
第20図のラダー図のようにするための入力手順とOR
T (1:l上の表示状態を示している。Figures 16 to 20 are the input procedure and OR to change the state of the ladder diagram in Figure 16 to the ladder diagram in Figure 20.
T (1: Indicates the display state on l.
第16図から第19図を用いて動作について説な
明する。第16図のよう軽ラダー図から第20図のよう
に彌とc3υのコイルを追加してい(とき、第16図で
は翰のところにはカーソルがあるためカーソルキー09
で右に4ブロック分移動させ縦線キー器を入力すると第
17図のように04の縦線が作図され、カーソルも(2
)のところに移動する。次にコイルキー(至)を入力す
ると第18図のように右端にコイル器が追加され、カー
ソルは改行してa9の位置に移動する。The operation will be explained using FIGS. 16 to 19. From the light ladder diagram as shown in Figure 16, the coils of Aya and c3υ are added as shown in Figure 20.
When you move 4 blocks to the right and input the vertical line key, vertical line 04 will be drawn as shown in Figure 17, and the cursor will also move to (2).
). Next, when the coil key (to) is input, a coil device is added to the right end as shown in FIG. 18, and the cursor is moved to position a9 with a new line.
さらにGllのコイルを追加する念め先と同じようにカ
ーソルキー01でカーソルを0ηの位置に移動させ縦線
キー力で咽の縦線を作図する。さらにコイルキー(ハ)
を入力することによって(111のコイルが入力され第
20図のようなラダー図が作成できる。Furthermore, in the same way as when adding the Gll coil, use the cursor key 01 to move the cursor to the 0η position and use the vertical line key to draw a vertical line for the throat. Furthermore, the coil key (c)
By inputting (111 coils), a ladder diagram as shown in FIG. 20 can be created.
カーソルは改行してheの位置に移動する。The cursor is moved to the he position with a new line.
従来のpcの周辺装置は以上のような処理を行なってい
るので、コイルを複数追加する時に常にカーソルを縦線
を入力するところまで移動させ縦線を入力しコイルを入
力するといった操作を繰り返さなければならず、縦線や
カーソル移動キーを操作する回数が多(なる等の問題点
があった。Conventional PC peripheral devices perform the above processing, so when adding multiple coils, you must always move the cursor to the point where you want to input the vertical line, input the vertical line, and then input the coil, and repeat the process. In addition, there were problems such as having to operate the vertical line and cursor movement keys many times.
この発明は上記のような問題点を解消するためになされ
たもので、縦線キーやカーソル移動キーを入力する回数
を減らすと、!:によりラダー図作成の操作性を向上さ
せたpcの周辺装置を得ることを目的とする。This invention was made to solve the above-mentioned problems, and by reducing the number of inputs using vertical line keys and cursor movement keys,! The purpose of the present invention is to obtain a PC peripheral device that improves the operability of creating ladder diagrams.
この発明に係るpcの周辺装置は、以下の手段を具備し
たものである。The PC peripheral device according to the present invention includes the following means.
(’b1) カーソルのあるブロックから2列方向に
ある連続した未使用のブロックに縦線を引く手段
(b2)改行の際、カーソルを上記(b1)で引いた縦
線の右側へ移動する手段
(b3)カーソルを同一行の第一列目に移動させ。('b1) A means of drawing a vertical line between two consecutive unused blocks from the block where the cursor is located (b2) A means of moving the cursor to the right side of the vertical line drawn in (b1) above when starting a new line (b3) Move the cursor to the first column of the same row.
その行以下にある上記(b1)で引いた縦線を消去する
手段。Means for erasing the vertical line drawn in the above (b1) below that line.
この発明におけるpcの周辺装置は、コイルを複数追加
するのに、カーソルの存在するブロックから2列方向に
連続した未使用のブロックに縦線を自動的に引くことに
より縦線キーの入力数を減少させる。またコイル入力後
に改行するときカーソルをこの縦線の右側に移動させる
ことにより。The PC peripheral device according to the present invention reduces the number of vertical line key inputs by automatically drawing a vertical line from the block where the cursor is located to continuous unused blocks in two columns when adding multiple coils. reduce Also, by moving the cursor to the right side of this vertical line when starting a line break after inputting a coil.
従来性なっていたカーソルを右に移動させるキー人力を
省略できる。また、上記の縦線が多すぎて必要でなくな
る場合があることを考えて、カーソルを左端に一度に移
動させると同時にそのカーソルが存在する行以下にある
上記の縦線を一度に消去できるようにした。これにより
、カーソルを左に移動させるキー人力や、この不用な縦
線を消去するオペレーションが省略でキル。This eliminates the need for manual keystrokes to move the cursor to the right, which is conventional. Also, considering that there may be cases where there are too many vertical lines and they are no longer needed, we have added a new feature that allows you to move the cursor to the left end at once and simultaneously erase the vertical lines below the line where the cursor is located. I made it. This eliminates the need to manually move the cursor to the left or erase unnecessary vertical lines.
以下、この発明の一実施例を図について説明する。第1
図は書込キーaηによって制御部Iがラダー図の作成処
理になってからの処理内容を示すフローチャートであり
、従来の第15図にf1)のカーソル位置に縦線が入力
された時、またはカーソル位置の上のブロックに縦線が
ある時に図記号がくるまでまたは配列の最下行のブロッ
クまで縦線を列方向に自動的に表示する縦線コード自動
入力処理と、(5)のカーソル左端移動キー処理と、(
a)のコイル入力時のカーソル移動処理を追加した内容
になっている。An embodiment of the present invention will be described below with reference to the drawings. 1st
The figure is a flowchart showing the processing contents after the control unit I starts the ladder diagram creation process by using the write key aη. When there is a vertical line in the block above the cursor position, the vertical line code automatic input process automatically displays the vertical line in the column direction until the graphic symbol is reached or the block in the bottom row of the array, and (5) the left end of the cursor Movement key processing and (
The contents include the cursor movement process when inputting a coil in a).
第2図はキーボードazの図であり、aηから(ハ)ま
でのキーは従来と同じであり、(財)はカーソルを左端
まで移動させるカーソル左端移動キーである。FIG. 2 is a diagram of the keyboard az, and the keys from aη to (c) are the same as before, and (goods) is a cursor left end movement key that moves the cursor to the left end.
まず従来のように書込キーo71によって制御部α4処
理がラダー図の作成処理になり、(1)でカーソル位置
に縦線が入力され念か、カーソル位置の上のブロックに
縦線があるか判断し次の図記号がくるまで、または配列
の最下行ブロックまで縦線を列方向自動的に入力する。First, as in the past, the control unit α4 process is changed to the ladder diagram creation process by using the write key o71, and in (1) a vertical line is input at the cursor position. Vertical lines are automatically input in the column direction until the next graphic symbol or the bottom row block of the array is determined.
すなわち、縦方向に連続した未使用のブロックに縦線を
引(。次に従来と同じ!2)、 +31の処理にて各処
理に分岐する。カーソル移動処理(4)と接点、横線、
縦線キー処理(3)、コイル記号処理+71.CRT表
示処理(9)、変換処理o1は従来と同じ処理である。That is, a vertical line is drawn in unused blocks that are continuous in the vertical direction (.Next, same as before! 2), and branching to each process is performed at +31 process. Cursor movement processing (4) and contact points, horizontal lines,
Vertical line key processing (3), coil symbol processing +71. CRT display processing (9) and conversion processing o1 are the same as conventional processing.
カーソル左端移動キーC4がキー人力操作(2)で入力
された時はカーソル左端移動キー処理(5)でカーソル
を左端に移動させその行以下にある縦線を消す。When the cursor left end movement key C4 is input by manual key operation (2), the cursor is moved to the left end by cursor left end movement key processing (5) and the vertical line below that line is erased.
また、コイル記号処理(7)の後、カーソル移動処理(
a)でカーソルが縦線の右位置で入力されたか。Also, after the coil symbol processing (7), the cursor movement processing (
In a), was the cursor input at the right position of the vertical line?
そして、縦線が下の行に連続しているかを判断し縦線の
右位置で入力され縦線が連続している時はカーソルを次
の行の縦線の右側に移動させる。Then, it is determined whether the vertical line is continuous to the line below, and if the input is made at the right position of the vertical line and the vertical line is continuous, the cursor is moved to the right side of the vertical line in the next line.
第3図から第7図では従来と同じ操作を今回の発明に係
る周辺装置の処理によってどう処理されるかの入力手順
とCRTの表示状態を示している。3 to 7 show the input procedure and display state of the CRT, showing how the same operations as in the past are processed by the processing of the peripheral device according to the present invention.
第3図から第7WJを用いて動作について説明する。第
3図のようなラダー図を第7図のように(イ)とGIl
のコイルを追加してい(とき、第3図では(イ)の所に
カーソルがあるためα9のカーソルキーで右に4ブロッ
ク分移動させ縦線キー■を入力すると。The operation will be explained using the seventh WJ from FIG. 3. The ladder diagram shown in Figure 3 is changed to (A) and GIl as shown in Figure 7.
When adding a coil, the cursor is at (a) in Figure 3, so use the α9 cursor key to move it four blocks to the right and press the vertical line key ■.
縦線コード自動入力処理(1)により第4図のように額
の縦線が自動的に作図されカーソルは(至)の所に移動
する。次にコイルキー(ハ)を入力すると第5図のよう
に翰のコイルが追加され、カーソル移動処理(a)によ
りカーソルは次の行の縦線の右側(至)の位置に移動す
る。さらにL311のコイルを追加するためコイルキー
器を入力すればC31+のコイルが入力され。By the vertical line code automatic input process (1), a vertical line on the forehead is automatically drawn as shown in FIG. 4, and the cursor is moved to (to). Next, when the coil key (c) is input, a coil is added as shown in FIG. 5, and the cursor movement process (a) moves the cursor to a position to the right (to) the vertical line of the next line. Furthermore, if you input the coil key device to add the L311 coil, the C31+ coil will be input.
カーソル移動処理(a)によりカーソルは次の行の縦線
の右側C32+の位置に移動され第6図のようになる。By the cursor movement process (a), the cursor is moved to the position C32+ on the right side of the vertical line in the next line, as shown in FIG.
そして424)のカーソル左端移動キーを入力するとカ
ーソル左端移動キー処理(5)によりカーソルは同一行
の左端[有]の位置に移動され面の縦線のはみ出してい
た部分は消されて(2)のようになシ第7図になる。Then, when you input the cursor left edge movement key (424), the cursor is moved to the left edge position of the same line by the cursor left edge movement key process (5), and the protruding part of the vertical line on the surface is erased (2). The result will be as shown in Figure 7.
なお、ラダー図が第8図のようになっており器と(7)
の回路のM K I4T1のコイルを追加するときはま
ず、第8図ではカーソルがCηの位置にあるためカーソ
ルキー(L値で第8図の縦線の位置−の下のブロックに
移動すると縦線コード自動入力処理(1)により(至)
の縦線が自動的に作図され第9図のようになる。In addition, the ladder diagram is as shown in Figure 8, and the vessel and (7)
When adding the MK I4T1 coil to the circuit, first, in Figure 8, the cursor is at the position of Cη, so use the cursor key (L value to move to the block below the vertical line in Figure 8). Due to line code automatic input processing (1) (to)
A vertical line is automatically drawn as shown in Figure 9.
次にコイルキー(ハ)を入力する七l4(lのコイルが
追加され、カーソルはカーソル移動処理(a)により縦
線の右側(41)の位置に移動し第10図のように々る
。Next, inputting the coil key (c) adds a coil of 7l4(l), and the cursor moves to the right side of the vertical line (41) by the cursor movement process (a), as shown in FIG.
次にカーソル左端移動キー(財)を入力するとカーソル
左端移動キー処理(5)によシ(至)の縦線のはみ出て
いた部分が消されて+5のようになり、カーソルは左端
に移動し第13図のようになる。Next, when you input the cursor left end movement key (goods), the cursor left end movement key process (5) erases the protruding part of the vertical line of ``to'' and makes it look like +5, and the cursor moves to the left end. It will look like Figure 13.
なお、上記実施例ではラダー図の場合を説明したが、そ
の他の線図方式のプログラミング言語(論理図方式)や
2表示方式のプログラミング言語(フローチャート方式
、タイムチャート方式々ど)は、記号や線図を描いてプ
ログラムを作成してゆくものであり2 これらの描写に
一定のルールがあることは、ラダー図の場合と同様であ
る。特にカーソルの制御や、線図の入力を効率よく行な
う事は重要であり、この発明に係る周辺装置を他のプロ
グラミング言語にも適用でき、上記実施例と同様の効果
を奏する。In the above example, the case of a ladder diagram was explained, but other line diagram type programming languages (logical diagram type) and two display type programming languages (flow chart type, time chart type, etc.) can be used with symbols and lines. Programs are created by drawing diagrams.2 Similar to the case of ladder diagrams, there are certain rules for these depictions. In particular, it is important to efficiently control the cursor and input diagrams, and the peripheral device according to the present invention can be applied to other programming languages, producing the same effects as the above embodiments.
以上のように、この発明によればカーソル位置に縦線が
入力されたとき、またはカーソルの位置が縦線の下にき
たときそのブロックから縦線を。As described above, according to the present invention, when a vertical line is input at the cursor position or when the cursor position is below the vertical line, a vertical line is drawn from that block.
縦方向に連続する未使用のブロックに自動的に表示し、
改行の際は、この縦線の右側へカーソルを移動しこの縦
線が不用になったときはカーソルの位置以下にあるはみ
田た縦線を消し、同時にカーソルを左端へ移動させるキ
ーを設けるようにしたため縦線キー カーソル移動キー
の操作がほとんどなくなりキー人力における操作性が向
上する。Automatically display on unused blocks that are continuous vertically,
When starting a new line, move the cursor to the right side of this vertical line, and when this vertical line is no longer needed, provide a key that erases the vertical line below the cursor position and moves the cursor to the left end at the same time. This eliminates the need to use vertical line keys and cursor movement keys, improving the operability of keys manually.
第1図はこの発明の実施例によるラダー図の作成処理の
フローチャート、第2図はこの発明の実例による操作手
順とCRTの表示状態を示す図。
第8図から第11図は他の実施例による操作手順とCR
Tの表示状態を示す図、第12図は念0発pcの周辺装
置の構成図、第1十
図はラダー図とキャラクタメモリの関係を示す図。
第13図は従来のキーボードのラダー図作成に関係のあ
るキー内容を示す図、第15図は従来のラダー図の作成
処理のフローチャート、第16図から第20図は従来の
操作手順とCRTの表示状態を示す図である。
(1)は縦線コード自動入力処理、(2)はキー人力操
作、(3)はキー人力により各処理に分岐する処理。
(4)はカーソル移動処理、(5)はカーソル左端移動
キー処理、(3)は接点、横線、縦線キー処理、(7)
はコイルキー処理、(a)はカーソル移動処理、(9)
はCRT表示処理、 fIIはキャラクタメモリ変換処
理、αDはpcの周辺装置、 n71はキーボード、α
3はCRT。
α41は制御部、0暖はキャラクタメモリ、αeはシー
ケンスプログラムメモリ、αηは書込キー、a樽は変換
キー、翰はカーソル移動キー、(4)は接点キー、勾は
横線キー、■は縦線キー、(731はコイルキー、 0
4)はカーソル左端移動キ
図中、同一符号は同一または相当部分を示す。FIG. 1 is a flowchart of a ladder diagram creation process according to an embodiment of the invention, and FIG. 2 is a diagram showing an operating procedure and a CRT display state according to an actual embodiment of the invention. FIG. 8 to FIG. 11 are operation procedures and CR according to other embodiments.
FIG. 12 is a diagram showing the configuration of the peripheral equipment of the Nen-0-shot PC, and FIG. 10 is a diagram showing the relationship between the ladder diagram and character memory. Fig. 13 is a diagram showing key contents related to the creation of a conventional keyboard ladder diagram, Fig. 15 is a flowchart of the conventional ladder diagram creation process, and Figs. It is a figure which shows a display state. (1) is vertical line code automatic input processing, (2) is manual key operation, and (3) is a process that branches into each process by manual key operation. (4) is cursor movement processing, (5) is cursor left end movement key processing, (3) is contact, horizontal line, vertical line key processing, (7)
is coil key processing, (a) is cursor movement processing, (9)
is CRT display processing, fII is character memory conversion processing, αD is PC peripheral device, n71 is keyboard, α
3 is CRT. α41 is the control unit, 0 is the character memory, αe is the sequence program memory, αη is the write key, a barrel is the conversion key, Kan is the cursor movement key, (4) is the contact key, gradient is the horizontal line key, ■ is the vertical Line key, (731 is coil key, 0
4) In the cursor left end movement diagram, the same reference numerals indicate the same or equivalent parts.
Claims (1)
ラマブルコントローラの周辺装置において、下記の(b
^1)から(b^3)の要素を備えたことを特徴とする
プログラマブルコントローラの周辺装置(a)、(a^
1)から(a^4)の要素 (a^1)ひとつのブロックを単位とする所定の大きさ
の二次元の配列を表示し、この配列を構成する各ブロッ
クに回路素子を示す図記号を表示しながらプログラム回
路を作成する表示部 (a^2)回路素子を示す図記号キーとカーソル移動キ
ーを有するキーボード (a^3)表示部の内容およびプログラム回路を記憶す
るメモリ (a^4)上記のキーボードからの入力を上記の表示部
に表示して二次元に配列した図記号によりプログラマブ
ルコントローラのプログラム回路を作成し、これを上記
のメモリに記憶させる制御部 (b)、(b^1)から(b^3)の要素 (b^1)カーソルのあるブロックから、列方向にある
連続した未使用のブロックに縦線を引く手段 (b^2)改行の際、カーソルを上記(b^1)で引い
た縦線の右側へ移動する手段 (b^3)カーソルを同一行の第一列目に移動させ、そ
の行以下にある上記(b^1)で引いた縦線を消去する
手段。[Claims] In a peripheral device for a programmable controller having the following elements (a^1) to (a^4), the following (b)
Programmable controller peripheral devices (a) and (a^3) characterized by being equipped with the elements ^1) to (b^3)
Elements (a^1) of (a^4) from 1) Display a two-dimensional array of a predetermined size with one block as a unit, and attach a graphical symbol indicating a circuit element to each block constituting this array. A display section (a^2) for creating a program circuit while displaying it; a keyboard (a^3) having graphic symbol keys indicating circuit elements and cursor movement keys; and a memory (a^4) for storing the contents of the display section and the program circuit. Control unit (b), (b^1) which displays the input from the keyboard on the display unit, creates a program circuit for the programmable controller using two-dimensionally arranged graphical symbols, and stores it in the memory. ) to (b^3) element (b^1) Means of drawing a vertical line from the block where the cursor is located to consecutive unused blocks in the column direction (b^2) When starting a line break, move the cursor to the above (b Method of moving to the right side of the vertical line drawn in ^1) (b^3) Move the cursor to the first column of the same row and erase the vertical line drawn in the above (b^1) below that line. means to do.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP23536388A JPH0282301A (en) | 1988-09-20 | 1988-09-20 | Peripheral device for programmable controller |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP23536388A JPH0282301A (en) | 1988-09-20 | 1988-09-20 | Peripheral device for programmable controller |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0282301A true JPH0282301A (en) | 1990-03-22 |
Family
ID=16984977
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP23536388A Pending JPH0282301A (en) | 1988-09-20 | 1988-09-20 | Peripheral device for programmable controller |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0282301A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2009099021A (en) * | 2007-10-18 | 2009-05-07 | Koyo Electronics Ind Co Ltd | Ladder diagram edition system |
| JP2010218067A (en) * | 2009-03-13 | 2010-09-30 | Omron Corp | Method for controlling cursor behavior in ladder circuit diagram type programming device for plc |
-
1988
- 1988-09-20 JP JP23536388A patent/JPH0282301A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2009099021A (en) * | 2007-10-18 | 2009-05-07 | Koyo Electronics Ind Co Ltd | Ladder diagram edition system |
| JP2010218067A (en) * | 2009-03-13 | 2010-09-30 | Omron Corp | Method for controlling cursor behavior in ladder circuit diagram type programming device for plc |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US3848232A (en) | Interpretive display processor | |
| US4101879A (en) | Cursor movement control device for screen-segmented display apparatuses | |
| CA1119326A (en) | Variable format alphanumeric display system | |
| USRE34835E (en) | Method and apparatus for editing document in colors | |
| JPS6221127B2 (en) | ||
| JPH08179817A (en) | Display operation device for machine tools | |
| JPH0282301A (en) | Peripheral device for programmable controller | |
| US4326207A (en) | Programmable sequence controller | |
| US5630040A (en) | Edit screen display control device to confirm data layout without switching to screen showing entire layout | |
| JPS6037004A (en) | Programming device | |
| JPS59116785A (en) | Character/graphic information input display system | |
| JPS60173588A (en) | Multi-window display processing method | |
| JP2658578B2 (en) | Programmable controller | |
| JPS60246100A (en) | Test pattern generator | |
| JPS61254982A (en) | Cursor control systm for display unit | |
| JPS6362755B2 (en) | ||
| JP2671365B2 (en) | Character / graphic editing device | |
| JPH0313601B2 (en) | ||
| JPS607275B2 (en) | display device | |
| JPH0445875B2 (en) | ||
| JPS6155117B2 (en) | ||
| JP2606579B2 (en) | Character display device | |
| Jones | A macro facility for interactive display | |
| JPH0330054A (en) | document processing device | |
| JPS58107583A (en) | Display unit |