JPH1195819A - Programming device for programmable controller, connection method and storage medium - Google Patents

Programming device for programmable controller, connection method and storage medium

Info

Publication number
JPH1195819A
JPH1195819A JP25965497A JP25965497A JPH1195819A JP H1195819 A JPH1195819 A JP H1195819A JP 25965497 A JP25965497 A JP 25965497A JP 25965497 A JP25965497 A JP 25965497A JP H1195819 A JPH1195819 A JP H1195819A
Authority
JP
Japan
Prior art keywords
terminal
connection
terminals
cell
information storage
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
JP25965497A
Other languages
Japanese (ja)
Inventor
Masanao Goto
将直 後藤
Koji Matsumoto
宏治 松本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric 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 Fuji Electric Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP25965497A priority Critical patent/JPH1195819A/en
Publication of JPH1195819A publication Critical patent/JPH1195819A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide the programming device of a programmable controller for automatically performing inter-terminal connection correct in terms of a circuit by a straight line (horizontal line or vertical line) or an oblique line just by specifying both terminals to be connected by an operator or the like. SOLUTION: By reading and executing an application program stored in a storage part 4 or a portable storage medium 7, when the positions of the start point and end point of the connection are specified through an input part 2 by the operator or the like, the central processing unit CPU 1 for controlling the entire system of this programming device 10 refers to data inside a terminal information storage part 3-2 inside a RAM 3, confirms that the specified start point and end point of the connection are present on the terminal of first and second graphic symbols and both terminals provided on the start point and the end point are turned to the combination of input/output and then, performs a processing for connecting the start point and the end point by the straight line or the oblique line corresponding to specification.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、プログラマブルコ
ントローラのプログラム作成支援ツールであるプログラ
ミング装置に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to a programming device which is a program creation support tool for a programmable controller.

【0002】[0002]

【従来の技術】プログラマブルコントローラ(以下、P
Cという)のプログラムの作成には、一般に、そのプロ
グラム作成支援ツールであるプログラミング装置が用い
られる。このプログラミング装置は、通常、PCとは別
個のものであり、プログラムの変更や修正、或いは新た
に作成する場合等にPCに接続して用いられる。
2. Description of the Related Art Programmable controllers (hereinafter referred to as P
In general, a programming device, which is a program creation support tool, is used to create the program C). This programming device is usually separate from the PC, and is used by connecting to the PC when a program is changed, modified, or newly created.

【0003】PCのプログラム言語としては、リレーシ
ンボル、ロジックシンボル等の図形シンボルを用いたラ
ダー図等の図示表現プログラムが知られている。プログ
ラミング装置を用いた図示表現プログラムの作成は、表
示画面上に図形シンボルを表示させて、これらを接続
し、所謂回路図を作成することにより行われる。
[0003] As a PC programming language, there is known an illustration expression program such as a ladder diagram using graphic symbols such as relay symbols and logic symbols. The creation of an illustration expression program using a programming device is performed by displaying graphic symbols on a display screen, connecting them, and creating a so-called circuit diagram.

【0004】ところで、PCに用いられる図示表現プロ
グラムとしては、上記ラダー図等の他に、ファンクショ
ンブロック(Function Block)図(以下、FB図とい
う)と呼ばれる表現形式がある。FB図は、論理演算、
加減算、乗除算等の処理単位を示す“関数”の図形シン
ボル(以下、関数のセルという)の端子と、この関数の
入力データまたは出力データとなるオペランドの図形シ
ンボル(以下、オペランドのセルという)の端子または
他の関数のセルの端子との間を線で結ぶことにより、プ
ログラムを表現するものである。
By the way, as an illustration expression program used for a PC, there is an expression format called a function block diagram (hereinafter, referred to as an FB diagram) in addition to the ladder diagram and the like. The FB diagram is a logical operation,
A terminal of a "function" graphic symbol (hereinafter referred to as a "function cell") indicating a processing unit such as addition, subtraction, multiplication or division, and an operand graphic symbol (hereinafter referred to as an "operand cell") serving as input data or output data of the function. A program is expressed by connecting a line between a terminal of the function or a terminal of a cell of another function.

【0005】図6は、FB図によるプログラム作成/表
示の一例を示す図である。同図は、加算(+)の関数を
用いて、オペランド“A”の値とオペランド“B”の値
の和を求め、更に減算(−)の関数を用いて、求めた和
からオペランド“D”の値を減算して、この減算結果を
オペランド“C”に格納するプログラム(C=A+B−
D)の一例であり、その作成手順、表示の方法を示すも
のである。
FIG. 6 is a diagram showing an example of program creation / display using an FB diagram. In the figure, the sum of the value of the operand “A” and the value of the operand “B” is calculated using the function of addition (+), and the operand “D” is calculated from the calculated sum using the function of subtraction (−). "Is subtracted, and the result of the subtraction is stored in the operand" C "(C = A + B-
D) is an example, and shows a creation procedure and a display method.

【0006】まず、オペレータ等は、特に図示しないキ
ーボード等により、またはディスプレイ等の表示画面上
に表示される命令群から、加算(+)の関数、減算
(−)の関数を選択して、それぞれを表示画面上の所望
の位置に配置する操作を行う。これによって、図6
(a)に示すように、加算(+)の関数、減算(−)の
関数の図形シンボル(セル)60、70が、それぞれ表
示画面上の所定の位置に表示される。加算(+)の関数
のセル60、減算(−)の関数のセル70は、同図に示
すように、共に、2入力1出力の端子{(入力端子a,
b、出力端子c)、(入力端子d,e、出力端子f)}
を有している。
First, an operator or the like selects a function of addition (+) and a function of subtraction (-) from a group of instructions displayed on a display screen such as a display by using a keyboard or the like (not shown). Is arranged at a desired position on the display screen. As a result, FIG.
As shown in (a), the graphic symbols (cells) 60 and 70 of the addition (+) function and the subtraction (-) function are displayed at predetermined positions on the display screen, respectively. As shown in the figure, the cell 60 of the function of addition (+) and the cell 70 of the function of subtraction (-) both have a terminal の (input terminal a,
b, output terminal c), (input terminals d and e, output terminal f)}
have.

【0007】次に、オペレータ等は、上記図6(a)の
場合と同様に、命令群からオペランド記述部(〔 〕で
表示)を選択して、これらをそれぞれが対応する関数の
セルの端子の近隣に配置する操作を行う。
Next, the operator or the like selects an operand description section (indicated by []) from the instruction group, as in the case of FIG. Perform an operation to place it in the neighborhood of.

【0008】ところで、現在では、出来るだけ多くのF
B(ファンクションブロック)を一度(1画面)に表示
して、プログラムの内容を把握し易くするために、セル
が密集して配置されるようになってきている。このた
め、図6(a)に示す加算(+)の関数のセル60と減
算(−)の関数のセル70の間にオペランド“D”のセ
ル110を配置するスペースがなくなる場合がある。こ
の場合、オペレータ等は、同図(b)に示すように、オ
ペランド“D”のセル110を、例えば加算(+)の関
数のセル60の下に配置することになる。
By the way, at present, as many F
In order to display B (function block) once (one screen) and to easily understand the contents of a program, cells are being arranged densely. For this reason, there may be no space for arranging the cell 110 of the operand “D” between the cell 60 of the addition (+) function and the cell 70 of the subtraction (−) function shown in FIG. In this case, the operator or the like places the cell 110 of the operand “D” below the cell 60 of the addition (+) function, for example, as shown in FIG.

【0009】続いて、オペレータ等は、命令群から「直
線(水平線または垂直線)」を選択して、同図(c)に
示すように、各オペランドのセルの端子と、対応する関
数のセルの端子とを結線する操作を行う。
Subsequently, the operator or the like selects a "straight line (horizontal line or vertical line)" from the instruction group, and as shown in FIG. Perform the operation to connect to the terminal.

【0010】このとき、オペランド“D”のセル110
に関しては、同図(d)に示すように、折れ線状に線を
繋げて、オペランド“D”のセル110と加算(+)の
関数のセル70の端子g−e間を結線していくようにし
ていた。
At this time, the cell 110 of the operand "D"
(D), as shown in FIG. 3D, a line is connected in a polygonal line to connect the cell “ge” of the operand “D” and the terminal “ge” of the cell 70 of the addition (+) function. I was

【0011】[0011]

【発明が解決しようとする課題】上述した従来のプログ
ラミング装置では、オペレータ等は、命令群から「直
線」を選択して、当該セル同士の端子間を結線する作業
を行わなけらばならなかった。特に、上記オペランド
“D”のセル110の端子gの結線の場合、結線作業が
複雑になり、作業効率が低下していた。更に、結線しよ
うとする端子間に他の関数、オペランド等のセルが配置
されているような密集状態にある場合には、これらのセ
ルを迂回する複雑な結線を行うか、あるいはセルの移動
を行う必要があり、作業効率が低下するという問題があ
った。
In the above-described conventional programming device, the operator or the like has to select the "straight line" from the instruction group and perform the work of connecting the terminals of the cells. . In particular, in the case of the connection of the terminal g of the cell 110 of the operand "D", the connection work is complicated, and the work efficiency is reduced. Further, in a dense state in which cells of other functions, operands, etc. are arranged between terminals to be connected, a complicated connection that bypasses these cells is performed, or the cells are moved. It has to be performed, and there is a problem that the working efficiency is reduced.

【0012】また、端子と端子の結線は、入力端子と出
力端子の組合せで行わなければならないが、特に上記の
ように表示画面上に密集して表示されている場合には、
オペレータ等の勘違い等により間違った結線が行われる
場合があった。また、間違いないように逐一結線の確認
作業を行うようにすると、作業効率が低下するという問
題があった。
The connection between the terminals must be performed by a combination of the input terminal and the output terminal. Particularly, when the terminals are densely displayed on the display screen as described above,
Wrong connection was sometimes made due to misunderstanding of the operator or the like. In addition, there is a problem that the work efficiency is reduced if the work of confirming the connection is performed one by one without mistake.

【0013】本発明の課題は、オペレータ等が結線した
い両端子を指定するだけで、間違いなく自動的に直線
(水平線または垂直線)または斜め線でそれらの端子間
を結線するプログラマブルコントローラのプログラミン
グ装置を提供することである。
An object of the present invention is to provide a programming device for a programmable controller in which an operator or the like simply specifies both terminals to be connected and automatically connects the terminals with a straight line (horizontal line or vertical line) or diagonal line. It is to provide.

【0014】[0014]

【課題を解決するための手段】本発明のプログラミング
装置は、プログラマブルコントローラを動作させるプロ
グラムを、表示画面上で図形シンボル及び該図形シンボ
ルの端子間を結線して成る図示表現で作成させるプログ
ラミング装置において、表示されている第1及び第2の
図形シンボルの端子間を結線する為に、該結線の始点、
終点の位置を指定する指定手段と、該指定手段により指
定された結線の始点、終点の位置に存在する前記第1及
び第2の図形シンボルの端子を検出する検出手段と、該
検出手段により検出された各端子の端子情報に基づい
て、該各端子が入力/出力の組合せであるか否かを判定
する判定手段と、該判定手段で各端子が入力/出力の組
合せであると判定された場合、前記各端子間を結線する
結線手段とを有する。
According to the present invention, there is provided a programming apparatus for creating a program for operating a programmable controller in a graphical representation on a display screen by connecting graphic symbols and terminals of the graphic symbols. To connect the terminals of the displayed first and second graphic symbols, the starting point of the connection,
Designation means for designating the position of the end point, detection means for detecting the terminals of the first and second graphic symbols present at the start and end points of the connection designated by the designation means, and detection by the detection means Determining means for determining whether or not each terminal is an input / output combination based on the terminal information of each of the terminals, and determining that each terminal is an input / output combination by the determining means. In this case, there is provided a connecting means for connecting the terminals.

【0015】上記結線手段は、例えば、オペレータ等か
らの指定に応じて、前記各端子間を水平線、垂直線また
は斜め線で結線する。上記構成のプログラミング装置に
よれば、オペレータ等が結線の種類(水平線、垂直線、
または斜め線)を選択して、結線の始点、終点位置を指
定する操作を行うだけで、結線の始点、終点位置が第1
及び第2の端子上にあることを検出し、更に結線すべき
各端子の組合せが正しい(入力/出力の組合せである)
ことを判別してから、該各端子間を自動的に結線する。
これによって、オペレータ等は、結線すべき端子間の組
合せが正しいか否かを逐一確認する必要はなく、結線の
始点、終点位置を指定するという簡単な操作を行うだけ
で結線ミスが生じることなく確実に端子間の結線作業を
行えるので、FB図によるプログラム作成の作業効率が
従来よりも著しく向上する。
The connection means connects the terminals with a horizontal line, a vertical line, or an oblique line, for example, in accordance with a designation from an operator or the like. According to the programming device having the above configuration, the operator or the like can determine the type of connection (horizontal line, vertical line,
Or, simply select the diagonal line and specify the start and end points of the connection.
And that it is on the second terminal, and the combination of each terminal to be further connected is correct (input / output combination)
Then, the terminals are automatically connected.
This eliminates the need for the operator or the like to always check whether the combination between the terminals to be connected is correct or not, and to perform a simple operation of designating the start point and the end point of the connection without causing a connection error. Since the connection work between the terminals can be reliably performed, the work efficiency of creating a program based on the FB diagram is significantly improved as compared with the conventional case.

【0016】更に、従来は水平線/垂直線を組合せた複
雑な結線を行う必要があった場合でも、斜め線によって
結線することができるので、端子間の結線作業が簡単に
なりFB図によるプログラム作成の作業効率が従来より
も著しく向上する。
Furthermore, even if it is conventionally necessary to perform a complicated connection combining horizontal and vertical lines, the connection can be made by diagonal lines, so that the work of connecting the terminals is simplified, and a program is created based on the FB diagram. Work efficiency is significantly improved than before.

【0017】[0017]

【発明の実施の形態】以下、図面を参照して、本発明の
実施形態について説明する。図1は、本実施形態による
プログラミング装置の構成を示すブロック図である。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of the programming device according to the present embodiment.

【0018】同図において、CPU1は、プログラミン
グ装置10のシステム全体を制御する中央処理装置であ
る。入力部2は、例えばキーボード、マウス等、あるい
はタッチパネルである。
In FIG. 1, a CPU 1 is a central processing unit for controlling the entire system of the programming device 10. The input unit 2 is, for example, a keyboard, a mouse, or the like, or a touch panel.

【0019】RAM3は、セル情報格納部3−1、端子
情報格納部3−2、結線情報格納部3−3、及び結線管
理情報格納部3−4等の各情報格納部を記憶する記憶領
域を有するメモリである。これらの各情報格納部3−1
〜3−4については、後に詳述するが、これらの情報
は、オペレータ等によって図示入力されたセル等に基づ
いて作成されるプログラムデータに相当する。尚、RA
M3はバッテリーバックアップされており、電源OFF
時でもデータ消去されないようになっている。あるい
は、RAMの代わりにフラッシュメモリ等のデータのre
ad/write 可能な不揮発性記憶素子を用いるようにして
も良い。
The RAM 3 is a storage area for storing information storage units such as a cell information storage unit 3-1, a terminal information storage unit 3-2, a connection information storage unit 3-3, and a connection management information storage unit 3-4. Is a memory having Each of these information storage units 3-1
3-4 will be described in detail later, but this information corresponds to program data created based on cells and the like input and shown by an operator or the like. RA
M3 is backed up by battery and power off
Even when the data is not erased. Or, instead of RAM, re-
An ad / write-capable nonvolatile memory element may be used.

【0020】記憶部4は、例えばHDD(ハードディス
クドライブ)であり、OS(オペレーティングシステ
ム)、各種アプリケーションプログラム等を記憶する。
更に、本実施例によるプログラミング装置の機能を提供
するアプリケーションプログラムが記憶されるものであ
っても良い。
The storage unit 4 is, for example, an HDD (hard disk drive) and stores an OS (operating system), various application programs, and the like.
Furthermore, an application program that provides the function of the programming device according to the present embodiment may be stored.

【0021】表示部5は、例えばディスプレイであり、
例えば上記セル情報格納部3−1、端子情報格納部3−
2、結線情報格納部3−3、及び結線管理情報格納部3
−4に格納されたデータに基づいてFB図を画面表示す
る。
The display unit 5 is, for example, a display.
For example, the cell information storage unit 3-1 and the terminal information storage unit 3-
2. Connection information storage unit 3-3 and connection management information storage unit 3
-4 is displayed on the screen on the basis of the data stored in -4.

【0022】媒体駆動装置6は、後述する可搬記憶媒体
7に記憶されているアプリケーションプログラムやデー
タ等の読み出し、あるいは書込みを、CPU1に制御さ
れて実行する装置であり、例えばFDD、CD−ROM
ドライブ等である。
The medium driving device 6 is a device for controlling the CPU 1 to read or write application programs and data stored in a portable storage medium 7 to be described later, for example, an FDD or a CD-ROM.
Such as a drive.

【0023】可搬記憶媒体7は、少なくとも本実施例に
よるプログラミング装置の機能を提供するアプリケーシ
ョンプログラムが、媒体駆動装置6で読み出し可能で且
つCPU1により実行可能な形式で記憶されており、装
置本体とは独立して持ち運び可能な記憶媒体(記録媒
体)である。可搬記憶媒体17は、例えばFD(フロッ
ピーディスク)である。あるいは、MO(光磁気ディス
ク)、CD−ROM、PCカード等であっても良い。そ
して、この可搬記憶媒体17には、少なくとも上記本実
施例のプログラミング装置の機能を提供するアプリケー
ションプログラムが、磁気的あるいは光磁気的、又は電
気的に、媒体駆動装置6で読み出し可能で且つCPU1
で実行可能な形式で記憶されている。
The portable storage medium 7 stores at least an application program for providing the functions of the programming device according to the present embodiment in a format that can be read by the medium drive device 6 and executable by the CPU 1. Is an independently portable storage medium (recording medium). The portable storage medium 17 is, for example, an FD (floppy disk). Alternatively, it may be an MO (magneto-optical disk), CD-ROM, PC card, or the like. In the portable storage medium 17, an application program for providing at least the function of the programming device of the present embodiment can be read by the medium drive device 6 magnetically, magneto-optically, or electrically, and the CPU 1
It is stored in an executable format.

【0024】通信部8は、プログラム作成作業が完了し
てRAM3内等に格納されたプログラムデータを、PC
11内のプログラムメモリ(不図示)に転送する。ある
いは、上記PC11内のプログラムメモリに格納された
プログラムデータを一部修正する場合等に、上記PC1
1側より転送されてくるプログラムデータを受信してR
AM3に格納させるものである。
The communication unit 8 transfers the program data stored in the RAM 3 or the like after the completion of the program creation operation to a PC.
11 to a program memory (not shown). Alternatively, when partially modifying the program data stored in the program memory in the PC 11, the PC 1
1 to receive program data transferred from
This is stored in AM3.

【0025】PC11は、プログラマブル・コントロー
ラである。本実施形態によるプログラミング装置は、図
示表現で入力/作成されたFB図に基づいてセル(関数
のセルまたはオペランドのセル)情報、端子情報、結線
情報等を格納する記憶領域(情報格納部)を、例えばR
AM3内に有する。
The PC 11 is a programmable controller. The programming device according to the present embodiment has a storage area (information storage unit) for storing cell (function cell or operand cell) information, terminal information, connection information, and the like based on the FB diagram input / created in the illustrated representation. , For example, R
It has it in AM3.

【0026】図2は、各情報格納部のデータ構成を示す
図である。図2(a)は、セル情報格納部20(3−
1)のデータ構成を示す図である。同図(a)に示すよ
うに、セル情報格納部20は、各セル毎に、セル種別2
1、セル名称22、入力数23、入力端子情報格納部の
先頭位置24、出力数25、出力端子情報格納部の先頭
位置26、セルXY座標27、セル幅28、及びセル高
さ29の各データから成るセル情報を格納する。
FIG. 2 is a diagram showing the data structure of each information storage unit. FIG. 2A shows the cell information storage unit 20 (3-
It is a figure showing the data composition of 1). As shown in FIG. 2A, the cell information storage unit 20 stores a cell type 2 for each cell.
1, a cell name 22, an input number 23, a head position 24 of an input terminal information storage unit, an output number 25, a head position 26 of an output terminal information storage unit, a cell XY coordinate 27, a cell width 28, and a cell height 29 Stores cell information consisting of data.

【0027】セル種別21は、当該セルが関数のセルま
たはオペランドのセルのいずれであるかを示すデータで
ある。例えば関数のセルである場合には‘1’、オペラ
ンドのセルである場合には‘2’が格納されるようにな
っている。
The cell type 21 is data indicating whether the cell is a function cell or an operand cell. For example, "1" is stored for a function cell, and "2" is stored for an operand cell.

【0028】セル名称22は、例えば上記セル種別21
において、当該セルが関数のセルである場合には、加減
算(+、−)、乗除算(×、÷)等の演算処理単位を示
すデータが格納され、当該セルがオペランドのセルであ
る場合には、例えば上述した図6に示す“A”、
“B”、“C”等のデータが格納される。ここで、オペ
ランドにおける“A”、“B”、“C”等のデータは、
例えば関数に入力する値又は関数の演算結果を格納する
レジスタ等の名称を示す情報である。
The cell name 22 is, for example, the cell type 21
In the case where the cell is a function cell, data indicating an operation processing unit such as addition / subtraction (+,-) and multiplication / division (×, ÷) is stored. If the cell is an operand cell, Is, for example, "A" shown in FIG.
Data such as "B" and "C" are stored. Here, data such as “A”, “B”, and “C” in the operand are:
For example, this is information indicating the name of a register or the like that stores a value to be input to a function or an operation result of the function.

【0029】入力数23は、当該セルへの入力数(入力
端子数)のデータである。入力数23のデータは、通
常、当該セルが関数のセルである場合は‘2’であり、
当該セルがオペランドのセルである場合は‘0’又は
‘1’である。
The number of inputs 23 is data on the number of inputs (number of input terminals) to the cell. The data with 23 inputs is usually '2' if the cell is a function cell,
It is '0' or '1' if the cell is an operand cell.

【0030】入力端子情報格納部の先頭位置24は、各
端子に関する情報を格納する端子情報格納部30(図2
(b);これについては後述する)における上記入力端
子の情報を格納する記憶領域の先頭位置(先頭アドレ
ス)を示すデータである。
The head position 24 of the input terminal information storage unit is stored in a terminal information storage unit 30 (FIG. 2) for storing information on each terminal.
(B); this will be described later) is data indicating the head position (head address) of the storage area for storing the information of the input terminal.

【0031】出力数25は、当該セルからの出力数(出
力端子数)のデータである。出力数25のデータは、通
常、当該セルが関数のセルである場合は‘1’であり、
当該セルがオペランドのセルである場合は‘0’又は
‘1’である。
The output number 25 is data of the number of outputs (number of output terminals) from the cell. The data with 25 outputs is normally '1' if the cell is a function cell,
It is '0' or '1' if the cell is an operand cell.

【0032】出力端子情報格納部の先頭位置26は、上
記端子情報格納部30における上記出力端子の情報を格
納する記憶領域の先頭位置(先頭アドレス)を示すデー
タである。
The head position 26 of the output terminal information storage unit is data indicating the head position (head address) of the storage area in the terminal information storage unit 30 for storing the information of the output terminal.

【0033】セルXY座標27は、当該セルの表示部5
の表示画面上で配置位置を示すデータであり、例えば当
該セルの左上端の(X,Y)座標値である。そして、こ
の(X,Y)座標値のデータとセル幅28のデータ及び
セル高さ29のデータとに基づいて表示部5の表示画面
上に当該セルが表示される。
The cell XY coordinates 27 correspond to the display section 5 of the cell.
Is the data indicating the arrangement position on the display screen, for example, the (X, Y) coordinate value of the upper left corner of the cell. Then, the cell is displayed on the display screen of the display unit 5 based on the data of the (X, Y) coordinate value, the data of the cell width 28, and the data of the cell height 29.

【0034】図2(b)は、端子情報格納部30(3−
2)のデータ構成を示す図である。同図(b)に示すよ
うに、端子情報格納部30は、各端子毎に、入/出力区
分31、該当セル情報格納位置32、前端子情報格納位
置33、次端子位置情報格納位置34、端子XY座標3
5、及び結線管理情報位置36の各データから成る端子
情報を格納する。
FIG. 2B shows the terminal information storage unit 30 (3-
It is a figure which shows the data structure of 2). As shown in FIG. 3B, the terminal information storage unit 30 stores an input / output division 31, a corresponding cell information storage position 32, a previous terminal information storage position 33, a next terminal position information storage position 34, Terminal XY coordinate 3
5 and the terminal information composed of each data of the connection management information position 36 are stored.

【0035】入/出力区分31は、当該端子が入力端子
であるか、出力端子であるかを示すデータである。例え
ば、入力端子の場合は‘1’、出力端子の場合は‘2’
が格納されるようになっている。
The input / output division 31 is data indicating whether the terminal is an input terminal or an output terminal. For example, "1" for an input terminal, "2" for an output terminal
Is stored.

【0036】該当セル情報格納位置32は、セル情報格
納部20における当該端子に該当するセルの情報が格納
されている位置を示すデータ、換言すれば当該端子を有
する関数のセル又はオペランドのセルのセル情報が格納
されているセル情報格納部20内の記憶領域の先頭位置
を示すデータである。
The corresponding cell information storage position 32 is data indicating the position where the information of the cell corresponding to the terminal in the cell information storage unit 20 is stored, in other words, the cell of the function or the cell of the operand having the terminal. This is data indicating a head position of a storage area in the cell information storage unit 20 in which cell information is stored.

【0037】前端子情報格納位置33は、当該端子の前
の端子情報が格納されている端子情報格納部30内の記
憶領域の先頭位置を示すデータである。次端子情報格納
位置34は、当該端子の次の端子情報が格納されている
端子情報格納部30内の記憶領域の先頭位置を示すデー
タである。
The previous terminal information storage position 33 is data indicating the head position of a storage area in the terminal information storage section 30 in which terminal information before the terminal concerned is stored. The next terminal information storage position 34 is data indicating a head position of a storage area in the terminal information storage unit 30 in which terminal information next to the terminal is stored.

【0038】尚、前端子情報格納位置33、次端子情報
格納位置34における前又は次の端子情報とは、同一セ
ルにおける入力端子同士または出力端子同士のものであ
る。よって、ある入力端子の端子情報の次に出力端子の
端子情報が格納されていても、当該入力端子の次端子情
報格納位置34にデータは格納されない(‘0’であ
る)。
Note that the previous or next terminal information in the previous terminal information storage location 33 and the next terminal information storage location 34 is for input terminals or output terminals in the same cell. Therefore, even if terminal information of an output terminal is stored next to terminal information of a certain input terminal, data is not stored in the next terminal information storage position 34 of the input terminal ("0").

【0039】端子XY座標35は、当該端子の表示画面
上での表示位置を示す(X,Y)座標のデータである。
結線管理情報位置36は、当該端子に対応する結線管理
情報が格納されている結線管理情報格納部50(図2
(d);後述する)内の記憶領域の先頭位置を示すデー
タである。
The terminal XY coordinates 35 are (X, Y) coordinate data indicating the display position of the terminal on the display screen.
The connection management information location 36 stores a connection management information storage unit 50 (FIG. 2) in which connection management information corresponding to the terminal is stored.
(D); this is data indicating the start position of the storage area in (described later).

【0040】図2(c)は、結線情報格納部40(3−
3)のデータ構成を示す図である。同図(c)に示すよ
うに、結線情報格納部40は、各結線毎に、結線開始X
Y位置41、結線終了XY位置42、及び結線管理情報
位置43の各データから成る結線情報を格納する。
FIG. 2C shows the connection information storage unit 40 (3-
It is a figure which shows the data structure of 3). As shown in FIG. 3C, the connection information storage unit 40 stores a connection start X for each connection.
The connection information including the data of the Y position 41, the connection end XY position 42, and the connection management information position 43 is stored.

【0041】結線開始XY位置41、結線終了XY位置
42は、それぞれ当該結線の始点の(X,Y)座標、終
点の(X,Y)座標のデータである。結線管理情報位置
43は、当該結線に対応する結線管理情報が格納されて
いる結線管理情報格納部50内の記憶領域の先頭位置を
示すデータである。。
The connection start XY position 41 and the connection end XY position 42 are data of (X, Y) coordinates of a start point and (X, Y) coordinates of an end point of the connection, respectively. The connection management information position 43 is data indicating a head position of a storage area in the connection management information storage unit 50 in which connection management information corresponding to the connection is stored. .

【0042】図2(d)は、結線管理情報格納部50
(3−4)のデータ構成を示す図である。同図(d)に
示すように、結線情報格納部50は、各結線毎に、結線
情報格納位置51、始点接続先情報52(結線の始点の
接続先が端子か結線かを示す情報)、始点接続先端子情
報格納位置53、始点接続先結線情報格納位置54、終
点接続先情報55(結線の終点の接続先が端子か結線か
を示す情報)、終点接続先端子情報格納位置56、及び
終点接続先結線情報格納位置57の各データから成る結
線管理情報を格納する。
FIG. 2D shows the connection management information storage unit 50.
It is a figure showing the data composition of (3-4). As shown in FIG. 3D, the connection information storage unit 50 stores, for each connection, a connection information storage position 51, start point connection destination information 52 (information indicating whether the connection destination of the connection start point is a terminal or a connection), A start point connection destination terminal information storage position 53, a start point connection destination connection information storage position 54, an end point connection destination information 55 (information indicating whether a connection destination of a connection end point is a terminal or a connection), an end point connection destination terminal information storage position 56, and The connection management information including the data of the destination connection information storage location 57 is stored.

【0043】結線情報格納位置51は、結線情報格納部
40内で当該結線の結線情報が格納されている記憶領域
の先頭位置を示すデータである。始点接続先情報52
は、当該結線の始点が、関数、オペランド等のセルの端
子に接続しているのか、あるいは他の結線に接続してい
るのかを示すデータである。これは上述した図6(d)
に示すオペランド“D”のセル110の端子gと減算
(−)の関数のセル70の端子eとの間に折れ線状の結
線のように、ある結線の始点あるいは終点、または始
点、終点の両方が他の結線に接続している場合に対応し
ている。
The connection information storage position 51 is data indicating the head position of a storage area in the connection information storage section 40 where connection information of the connection is stored. Start point connection destination information 52
Is data indicating whether the start point of the connection is connected to a terminal of a cell such as a function or an operand, or is connected to another connection. This is shown in FIG.
The start point or the end point of a connection, or both the start point and the end point, such as a polygonal connection between the terminal g of the cell 110 of the operand "D" and the terminal e of the cell 70 of the subtraction (-) function shown in FIG. Corresponds to the case where it is connected to another connection.

【0044】始点接続先端子情報格納位置53及び始点
接続先結線情報格納位置54には、始点接続先情報52
のデータに応じていずれか一方にデータが格納される。
すなわち、当該結線の始点の接続先が端子である場合に
は、始点接続先端子情報格納位置53に、端子情報格納
部30内での上記接続先の端子の端子情報が格納されて
いる記憶領域の先頭位置を示すデータが格納される。一
方、当該結線の始点の接続先が他の結線である場合に
は、始点接続先結線情報格納位置54に、結線情報格納
部40内での上記接続先の結線の結線情報が格納されて
いる記憶領域の先頭位置を示すデータが格納される。
In the start point connection destination terminal information storage position 53 and the start point connection destination connection information storage position 54, the start point connection destination information 52 is stored.
The data is stored in one of them according to the data.
That is, when the connection destination of the connection start point is a terminal, the storage area where the terminal information of the connection destination terminal in the terminal information storage unit 30 is stored in the start point connection destination terminal information storage position 53. Is stored. On the other hand, when the connection destination of the start point of the connection is another connection, the connection information of the connection destination in the connection information storage unit 40 is stored in the start connection destination connection information storage position 54. Data indicating the head position of the storage area is stored.

【0045】上記始点の場合と同様にして、終点接続先
端子情報格納位置53及び終点接続先結線情報格納位置
54には、終点接続先情報52のデータに応じていずれ
か一方にデータが格納される。
In the same manner as in the case of the above-mentioned start point, data is stored in one of the end point connection destination information storage position 53 and the end point connection connection information storage position 54 in accordance with the data of the end point connection destination information 52. You.

【0046】すなわち、当該結線の終点の接続先が端子
である場合には、終点接続先端子情報格納位置53に、
端子情報格納部30内で上記接続先の端子の情報が格納
されている記憶領域の先頭位置を示すデータが格納され
る。一方、当該結線の終点の接続先が他の結線である場
合には、終点接続先結線情報格納位置54に、結線情報
格納部40内で上記接続先の結線の結線情報が格納され
ている記憶領域の先頭位置を示すデータが格納される。
That is, when the connection destination of the end point of the connection is a terminal, the terminal connection destination terminal information storage position 53
In the terminal information storage unit 30, data indicating the head position of the storage area in which the information of the connection destination terminal is stored is stored. On the other hand, if the connection destination of the connection destination is another connection, the connection information of the connection of the connection destination is stored in the connection information storage unit 40 in the connection information storage location 54 of the connection destination. Data indicating the head position of the area is stored.

【0047】図3は、プログラミング装置10のプログ
ラム入力支援処理の動作を説明するフローチャートであ
る。尚、ここでは、図6で作成するプログラムと同じ内
容のプログラムを作成するものとし、その図示表現によ
る表示例を図4に示す。
FIG. 3 is a flowchart for explaining the operation of the program input support process of the programming device 10. Here, it is assumed that a program having the same content as the program created in FIG. 6 is created, and a display example of the illustrated representation is shown in FIG.

【0048】以下、図3及び図4を参照して説明する。
図3において、まず、オペレータ等により命令群から加
算(+)の関数、減算(−)の関数の選択/配置の操作
が行われると、これらの各関数のセル及び端子の情報
(セル情報、端子情報)を格納する記憶領域を、それぞ
れセル情報格納部20及び端子情報格納部30内に確保
して、この確保した各記憶領域に図2(a)、(b)に
示す各情報を格納する(ステップS1)。すなわち、セ
ル情報格納部20内に確保した記憶領域に、加算(+)
の関数のセルのセル情報(セル種別21〜セル高さ2
9)と、減算(−)の関数のセルのセル情報(セル種別
21〜セル高さ29)を格納する。更に、端子情報格納
部30内に確保した記憶領域に、加算(+)の関数のセ
ルの3つの端子の各端子情報(入/出力区分31〜結線
管理情報位置36)と、減算(−)の関数のセルの3つ
の端子の各端子情報(入/出力区分31〜結線管理情報
位置36)を格納する。
Hereinafter, description will be made with reference to FIGS.
In FIG. 3, first, when an operation of selecting / arranging an addition (+) function and a subtraction (−) function from an instruction group is performed by an operator or the like, cell and terminal information (cell information, cell information, Storage areas for storing the terminal information) are secured in the cell information storage unit 20 and the terminal information storage unit 30, respectively, and the information shown in FIGS. 2A and 2B is stored in the secured storage areas. (Step S1). That is, the addition (+) is added to the storage area secured in the cell information storage unit 20.
Cell information (cell type 21 to cell height 2)
9) and cell information (cell type 21 to cell height 29) of the cell of the subtraction (-) function is stored. Further, in the storage area secured in the terminal information storage unit 30, each terminal information (input / output division 31 to connection management information position 36) of the three terminals of the cell of the addition (+) function and the subtraction (-) The terminal information of each of the three terminals (input / output division 31 to connection management information position 36) of the function cell is stored.

【0049】そして、これらセル情報格納部20、端子
情報格納部30内に格納された加算(+)、減算(−)
の各関数のセルのセル情報及び端子情報に基づいて、表
示画面上に例えば図4(a)に示すように加算(+)、
減算(−)の各関数のセル60、70及び端子a〜fを
表示する(ステップS2)。
Then, the addition (+) and the subtraction (-) stored in the cell information storage section 20 and the terminal information storage section 30 are performed.
On the display screen, for example, as shown in FIG. 4A, addition (+),
The cells 60 and 70 and the terminals a to f of the respective functions of the subtraction (-) are displayed (step S2).

【0050】次に、オペレータ等により、命令群からオ
ペランド記述部(オペランド“A”、“B”、“C”)
を選択する操作と、この選択したオペランドのセルをそ
れぞれ対応する(接続すべき)関数のセルの端子の近傍
に配置する操作が行われると、各オペランドのセル及び
端子の情報を格納する記憶領域を、セル情報格納部2
0、端子情報格納部30内に確保して、この確保した各
記憶領域に図2(a)、(b)に示す各情報を格納する
(ステップS3)。
Next, an operand description part (operand "A", "B", "C") is obtained from an instruction group by an operator or the like.
Is performed and an operation of arranging the cells of the selected operand near the terminals of the cells of the corresponding (to be connected) functions is performed, the storage area for storing the information of the cells and terminals of each operand To the cell information storage unit 2
0, the information is secured in the terminal information storage unit 30, and the information shown in FIGS. 2A and 2B is stored in the secured storage areas (step S3).

【0051】そして、セル情報格納部20、端子情報格
納部30内に格納された各オペランド“A”、“B”、
“C”のセルのセル情報及び端子情報に基づいて、例え
ば図4(b)に示すように、表示画面上に各オペランド
“A”、“B”、“C”のセル80、90、100を表
示する(ステップS4)。
Each of the operands “A”, “B”, and “C” stored in the cell information storage unit 20 and the terminal information storage unit 30, respectively.
Based on the cell information and the terminal information of the cell "C", for example, as shown in FIG. 4B, the cells 80, 90, 100 of the operands "A", "B", "C" are displayed on the display screen. Is displayed (step S4).

【0052】次に、オペレータ等により、命令群から
「直線(水平線または垂直線)」、または「斜め線」を
選択し、始点と終点を指定する操作が行われると、この
始点、終点が指定された位置を検出する(ステップS
5)。そして、端子情報格納部30を検索して、上記始
点、終点の指定位置が端子上にあるか否かを判定する
(ステップS6)。この判定は、始点、終点の(X,
Y)座標と、端子情報格納部30内に格納されている各
端子の端子XY座標35のデータとを比較して、一致す
るデータがあるか否かにより行われる。
Next, when an operator or the like selects "straight line (horizontal line or vertical line)" or "diagonal line" from the command group and designates a start point and an end point, the start point and the end point are designated. (Step S)
5). Then, the terminal information storage unit 30 is searched to determine whether the specified positions of the start point and the end point are on the terminal (step S6). This determination is based on the start point and end point (X,
Y) The coordinates are compared with the data of the terminal XY coordinates 35 of each terminal stored in the terminal information storage unit 30, and it is determined whether there is matching data.

【0053】「直線」または「斜め線」の始点、終点
が、端子上にあると判定された場合には(ステップS
6、YES)、続いて、始点の位置にある端子と終点の
位置にある端子とが、入力/出力の組合せになるか否か
を判定する(ステップS7)。これは、端子情報格納部
30において、上記始点の位置にある端子の入/出力区
分31のデータと、終点の位置にある端子の入/出力区
分31のデータとを参照して、一方が入力で他方が出力
となっているか否かを判定するものである。
If it is determined that the start point and end point of the “straight line” or “diagonal line” are on the terminal (step S
Then, it is determined whether or not the terminal at the start point and the terminal at the end point form a combination of input / output (step S7). This is because, in the terminal information storage unit 30, one of the input / output sections 31 of the terminal located at the start point and the data of the input / output section 31 of the terminal located at the end point is referred to. To determine whether the other is output.

【0054】「直線」または「斜め線」の始点、終点が
指定された位置の端子が、入力/出力の組合せになって
いると判定された場合には(ステップS7、YES)、
正しい結線の指定が行われたものとして、結線情報格納
部40、結線管理情報格納部50に該指定された結線に
関するデータを格納する。また、端子情報格納部30内
の上記始点、終点位置の各端子の結線管理情報位置36
に、上記結線管理情報格納部50内の今回のデータを格
納した記憶領域の先頭位置を示すデータを書込む(ステ
ップS8)。
If it is determined that the terminal at the position where the starting point and the ending point of the "straight line" or "diagonal line" are designated is a combination of input / output (step S7, YES),
Assuming that the correct connection has been specified, the data relating to the specified connection is stored in the connection information storage unit 40 and the connection management information storage unit 50. In addition, the connection management information position 36 of each terminal at the start point and end point positions in the terminal information storage unit 30.
Then, data indicating the head position of the storage area in which the current data is stored in the connection management information storage unit 50 is written (step S8).

【0055】そして、結線情報格納部40内に格納した
データに基づいて、表示画面上に「直線」または「斜め
線」の結線を表示する(ステップS9)。最後に、結線
作業は終了であるか、あるいは他の結線を行うかの判定
を行い(ステップS10)、他の結線作業を行う場合に
は(ステップS10、NO)、上記ステップS5〜ステ
ップS9の処理を繰り返す。
Then, based on the data stored in the connection information storage section 40, a "straight line" or "diagonal line" connection is displayed on the display screen (step S9). Finally, it is determined whether the connection work has been completed or another connection is to be performed (step S10). If another connection work is to be performed (step S10, NO), the steps S5 to S9 are performed. Repeat the process.

【0056】オペランド“A”、“B”のセル80、9
0の出力端子h,iと加算(+)の関数のセル60の各
入力端子a,bとの結線201、202、加算(+)の
関数のセル60の出力端子cと減算(−)の関数のセル
70の入力端子dとの結線301、及び減算(−)の関
数のセル70の出力端子fとオペランド“C”のセル1
00の入力端子jとの結線401は、オペレータ等によ
り命令群から「直線(水平線)」が選択されて上記処理
が行われた結果、図4(c)に示すように表示される。
Cells 80 and 9 of operands "A" and "B"
Connections 201 and 202 between the output terminals h and i of 0 and the respective input terminals a and b of the cell 60 of the addition (+) function, the output terminals c of the cell 60 of the addition (+) function and the subtraction (−) function. Connection 301 between input terminal d of function cell 70, output terminal f of subtraction (-) function cell 70 and cell 1 of operand "C"
The connection 401 with the input terminal j of “00” is displayed as shown in FIG. 4C as a result of selecting “straight line (horizontal line)” from the instruction group by the operator or the like and performing the above processing.

【0057】オペランド“D”のセル110の出力端子
gと減算(−)の関数のセル70の入力端子eとの結線
501は、直線(水平線)1本では行えず、従来では図
6(d)に示すように複数の直線(水平線及び垂直線)
を折れ線状に繋げて結線する複雑な操作が必要であっ
た。この様な場合は、オペレータ等は、命令群から「斜
め線」を選択して上記処理を行うことで、図4(d)に
示すように上記各端子g−e間が斜め線501で結線さ
れて表示される。
The connection 501 between the output terminal g of the cell 110 of the operand "D" and the input terminal e of the cell 70 of the subtraction (-) function cannot be made by a single straight line (horizontal line). ) Multiple straight lines (horizontal and vertical)
It is necessary to perform a complicated operation of connecting and connecting in a broken line. In such a case, the operator or the like selects the “diagonal line” from the instruction group and performs the above processing, thereby connecting the terminals “ge” with the diagonal line 501 as shown in FIG. Is displayed.

【0058】本発明は、上記実施形態に限定されること
はない。直線または斜め線を選択しなくても、指定され
た両端子の位置関係に応じて自動的にこの両端子間を直
線または斜め線により結線するようにしても良い。
The present invention is not limited to the above embodiment. Even if a straight line or an oblique line is not selected, the two terminals may be automatically connected by a straight line or an oblique line according to the positional relationship between the designated two terminals.

【0059】ところで、PCのプログラミング装置は、
専用に開発された装置の他に、一般のパソコン等をツー
ル本体として、PCのプログラミング機能を実現するア
プリケーションソフト(フロッピーディスク等の記憶媒
体に格納されているソフトウェア)を用いるものがあ
る。また、上記専用に開発された装置においても、フロ
ッピーディスク等を用いてアプリケーションソフトの交
換が行われる場合がある。よって、本発明は、プログラ
ミング装置本体、プログラミング装置におけるプログラ
ム作成支援方法に限らず、コンピュータにより使用され
たときに、上述の本発明の実施形態の機能をコンピュー
タに行わせるためのコンピュータ読出し可能な記録媒体
(記憶媒体)として構成することもできる。
By the way, the programming device of the PC is as follows.
In addition to a specially developed device, there is a device that uses application software (software stored in a storage medium such as a floppy disk) that realizes a PC programming function using a general personal computer as a tool body. Further, even in the device developed exclusively for the above, the application software may be exchanged using a floppy disk or the like. Therefore, the present invention is not limited to the main body of the programming device and the method of supporting program creation in the programming device, but also has a computer-readable record for causing a computer to perform the functions of the above-described embodiments of the present invention when used by the computer. It can also be configured as a medium (storage medium).

【0060】この場合、「記録媒体」には、例えば図5
に示されるように、例えばCD−ROMディスク71
0、フロッピィーディスク720(あるいはMO、DV
D、リムーバブルハードディスク等であってもよい)等
の可搬記憶媒体700や、外部の装置600(サーバ
等)内の記憶手段(不図示)、あるいは情報処理装置8
00の本体810内の記憶装置830(RAM/ROM
又はハードディスク等)が含まれる。
In this case, the “recording medium” includes, for example, FIG.
As shown in FIG.
0, floppy disk 720 (or MO, DV
D, a removable hard disk, etc.), a storage means (not shown) in an external device 600 (such as a server), or an information processing device 8
00 storage device 830 (RAM / ROM
Or a hard disk).

【0061】図5において、プログラム(データ)提供
者側の外部の装置600内の記憶手段(不図示)に記憶
されているプログラム(データ)600aは、公衆回
線、専用回線、インタフェース等である回線900を介
して、本願発明のアプリケーションプログラムの被提供
者側の情報処理装置800の上記本体810内の記憶装
置830にロードされて、実行される。
In FIG. 5, a program (data) 600a stored in a storage means (not shown) in an external device 600 on the program (data) provider side is a line such as a public line, a dedicated line, an interface, or the like. The application program of the present invention is loaded into the storage device 830 in the main body 810 of the information processing device 800 on the side of the recipient via the application program 900 and executed.

【0062】また、CD−ROM710、フロッピーデ
ィスク720等を情報処理装置800の上記本体810
に設けられた(あるいは接続された)媒体駆動装置82
0に挿入することで、これらの可搬記憶媒体700に記
憶されているプログラム(プログラム(データ)710
a、プログラム(データ)720a)は、上記媒体駆動
装置820によって読み出され(記憶装置830にロー
ドされ)実行される。
The CD-ROM 710, the floppy disk 720 and the like are stored in the main body 810 of the information processing apparatus 800.
Drive 82 provided (or connected) to the
0, the program (program (data) 710) stored in these portable storage media 700
a, the program (data) 720a) is read (loaded into the storage device 830) by the medium drive device 820 and executed.

【0063】尚、上記専用に開発された装置等はROM
交換によってプログラムを変更する形態もあるので、上
記可搬記憶媒体にはROMも含まれる。
The device and the like developed exclusively for the above are ROM
Since the program may be changed by replacement, the portable storage medium includes a ROM.

【0064】[0064]

【発明の効果】以上、詳細に説明したように、本発明の
プログラミング装置によれば、結線すべき両端子の位置
を指定(始点、終点として)するだけで、両端子の入力
/出力の組合せを自動的に確認して、該組合せが正しい
場合には上記両端子間を自動的に結線し、更に上記両端
子の配置状況に応じて上記両端子間を斜め線で結線でき
るようにしているので、オペレータ等の操作の処理負担
が軽減されて、FB図によるプログラム作成が効率的に
行えるようになる。
As described above in detail, according to the programming device of the present invention, the input / output combination of both terminals can be determined by simply designating the positions of both terminals to be connected (as the start point and the end point). Is automatically checked, and if the combination is correct, the two terminals are automatically connected, and furthermore, the two terminals can be connected diagonally according to the arrangement of the two terminals. Therefore, the processing load of the operation of the operator or the like is reduced, and the program creation based on the FB diagram can be efficiently performed.

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

【図1】本実施形態によるプログラミング装置の構成を
示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of a programming device according to an embodiment.

【図2】各情報格納部のデータ構成を示す図である。FIG. 2 is a diagram illustrating a data configuration of each information storage unit.

【図3】プログラム入力支援処理の動作を説明するフロ
ーチャートである。
FIG. 3 is a flowchart illustrating an operation of a program input support process.

【図4】FB図によるプログラム作成/表示の一例を示
す図である。
FIG. 4 is a diagram showing an example of program creation / display using an FB diagram.

【図5】記録媒体(記憶媒体)の一例を示す図である。FIG. 5 is a diagram illustrating an example of a recording medium (storage medium).

【図6】従来のFB図によるプログラム作成/表示の一
例を示す図である。
FIG. 6 is a diagram showing an example of a conventional FB diagram for creating / displaying a program.

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

1 CPU 2 入力部 3 RAM 3−1 セル情報格納部 3−2 端子情報格納部 3−3 結線情報格納部 3−4 結線管理情報格納部 4 記憶部 5 表示部 6 媒体駆動装置 7 可搬記憶媒体 8 通信部 10 プログラミング装置 11 PC 20 セル情報格納部 21 セル種別 22 セル名称 23 入力数 24 入力端子情報格納先頭位置 25 出力数 26 出力端子情報格納先頭位置 27 セルXY座標 28 セル幅 29 セル高さ 30 端子情報格納部 31 入/出力区分 32 該当セル情報格納位置 33 前端子情報格納位置 34 次端子情報格納位置 35 端子XY座標 36 該当結線管理情報格納位置 40 結線情報格納部 41 結線開始XY位置 42 結線終了XY位置 43 結線管理情報位置 50 結線管理情報格納部 51 結線情報格納位置 52 始点接続先情報 53 始点接続先端子情報格納位置 54 始点接続先結線情報格納位置 55 終点接続先情報 56 終点接続先端子情報格納位置 57 終点接続先結線情報格納位置 60 加算(+)の関数のセル 70 減算(−)の関数のセル 80 オペランド“A”のセル 90 オペランド“B”のセル 100 オペランド“C”のセル 201、202、301、401 結線(直線) 501 結線(斜め線) 600 外部の装置 600a プログラム(データ) 700 可搬記憶媒体 710 CD−ROM 710a プログラム(データ) 720 フロッピーディスク 720a プログラム(データ) 800 情報処理装置 810 本体 820 媒体駆動装置 830 記憶装置 830a プログラム(データ) 900 回線 DESCRIPTION OF SYMBOLS 1 CPU 2 Input part 3 RAM 3-1 Cell information storage part 3-2 Terminal information storage part 3-3 Connection information storage part 3-4 Connection management information storage part 4 Storage part 5 Display part 6 Medium drive device 7 Portable storage Medium 8 Communication unit 10 Programming device 11 PC 20 Cell information storage unit 21 Cell type 22 Cell name 23 Number of inputs 24 Input terminal information storage start position 25 Output number 26 Output terminal information storage start position 27 Cell XY coordinates 28 Cell width 29 Cell height S 30 Terminal information storage unit 31 Input / output classification 32 Applicable cell information storage position 33 Previous terminal information storage position 34 Next terminal information storage position 35 Terminal XY coordinate 36 Applicable connection management information storage position 40 Connection information storage unit 41 Connection start XY position 42 Wiring end XY position 43 Wiring management information position 50 Wiring management information storage unit 51 Wiring information storage position 52 Point connection destination information 53 Start point connection destination terminal information storage position 54 Start point connection destination connection information storage position 55 End point connection destination information 56 End point connection destination terminal information storage position 57 End point connection destination connection information storage position 60 Addition (+) function cell 70 Cell of subtraction (-) function 80 Cell of operand "A" 90 Cell of operand "B" 100 Cell of operand "C" 201, 202, 301, 401 Connection (straight line) 501 Connection (diagonal line) 600 External Device 600a Program (data) 700 Portable storage medium 710 CD-ROM 710a Program (data) 720 Floppy disk 720a Program (data) 800 Information processing device 810 Main body 820 Medium drive 830 Storage device 830a Program (data) 900 Line

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 プログラマブルコントローラを動作させ
るプログラムを、表示画面上で図形シンボル及び該図形
シンボルの端子間を結線して成る図示表現で作成させる
プログラミング装置において、 表示されている第1及び第2の図形シンボルの端子間を
結線する為に、該結線の始点、終点の位置を指定する指
定手段と、 該指定手段により指定された結線の始点、終点の位置に
存在する前記第1及び第2の図形シンボルの端子を検出
する検出手段と、 該検出手段により検出された各端子の端子情報に基づい
て、該各端子が入力/出力の組合せであるか否かを判定
する判定手段と、 該判定手段で各端子が入力/出力の組合せであると判定
された場合、前記各端子間を結線する結線手段と、 を有することを特徴とするプログラミング装置。
1. A programming device for creating a program for operating a programmable controller in a graphical representation on a display screen by connecting graphic symbols and terminals of the graphic symbols, the first and second displayed programs being displayed. Designating means for designating the start and end points of the connection in order to connect the terminals of the graphic symbol; and the first and second positions existing at the start and end positions of the connection designated by the designating means Detecting means for detecting a terminal of a graphic symbol; determining means for determining whether each terminal is a combination of input / output based on terminal information of each terminal detected by the detecting means; A connection means for connecting between the terminals when the means determines that each terminal is a combination of input / output.
【請求項2】 前記結線手段は、指定に応じて前記端子
間を水平線、垂直線または斜め線で結線することを特徴
とする請求項1記載のプログラミング装置。
2. The programming device according to claim 1, wherein said connection means connects the terminals with a horizontal line, a vertical line, or an oblique line as specified.
【請求項3】 プログラマブルコントローラを動作させ
るプログラムを表示画面上で図示表現で作成させるプロ
グラミング装置において画面表示される第1及び第2の
図形シンボルの端子間を結線する結線方法であって、 指定された結線の始点位置及び終点位置に存在する前記
第1及び第2の図形シンボルの端子を検出し、 該検出した各端子の端子情報に基づいて該各端子が入力
/出力の組合せであるか否かを判定し、 該各端子が入力/出力の組合せである場合は、前記各端
子間を結線することを特徴とする結線方法。
3. A connection method for connecting terminals of first and second graphic symbols displayed on a screen in a programming device for creating a program for operating a programmable controller on a display screen in a graphical representation, the method comprising: Detecting the terminals of the first and second graphic symbols present at the start point and the end point of the connection, and determining whether or not each terminal is a combination of input / output based on the detected terminal information of each terminal. Determining whether each of the terminals is a combination of input / output, and connecting the terminals.
【請求項4】 プログラマブルコントローラを動作させ
るプログラムを図示表現で作成させる情報処理装置にお
いて実行されたとき、 結線の始点位置及び終点位置を指定させる機能と、 該指定された始点位置、終点位置に存在する第1及び第
2の図形シンボルの端子を検出する機能と、 該検出された各端子の端子情報に基づいて各端子が入力
/出力の組合せであるか否かを判定する機能と、 該各端子が入力/出力の組合せである場合は、前記始点
と終点の間を結線する機能と、 を実現するプログラムを前記情報処理装置が読取可能な
形式で記録した記録媒体。
4. A function for designating a start point position and an end point position of a connection when the program for operating a programmable controller is executed in an information processing device for creating a graphical representation, and a program which exists at the designated start point position and end point position. A function of detecting terminals of the first and second graphic symbols to be performed, a function of determining whether or not each terminal is a combination of input / output based on the detected terminal information of each terminal; When the terminal is a combination of input / output, a function of connecting the start point and the end point, and a program for realizing the following are recorded in a format readable by the information processing apparatus.
JP25965497A 1997-09-25 1997-09-25 Programming device for programmable controller, connection method and storage medium Pending JPH1195819A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25965497A JPH1195819A (en) 1997-09-25 1997-09-25 Programming device for programmable controller, connection method and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25965497A JPH1195819A (en) 1997-09-25 1997-09-25 Programming device for programmable controller, connection method and storage medium

Publications (1)

Publication Number Publication Date
JPH1195819A true JPH1195819A (en) 1999-04-09

Family

ID=17337062

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25965497A Pending JPH1195819A (en) 1997-09-25 1997-09-25 Programming device for programmable controller, connection method and storage medium

Country Status (1)

Country Link
JP (1) JPH1195819A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2002079886A1 (en) * 2001-03-29 2004-07-22 三菱電機株式会社 Programming tool
JP2007504570A (en) * 2003-06-12 2007-03-01 ザ・ビーオーシー・グループ・インコーポレーテッド Configurable PLC and SCADA based control system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2002079886A1 (en) * 2001-03-29 2004-07-22 三菱電機株式会社 Programming tool
US7340683B2 (en) 2001-03-29 2008-03-04 Mitsubishi Denki Kabushiki Kaisha Programming tool
JP2007504570A (en) * 2003-06-12 2007-03-01 ザ・ビーオーシー・グループ・インコーポレーテッド Configurable PLC and SCADA based control system
JP4908219B2 (en) * 2003-06-12 2012-04-04 エアー・リキッド・エレクトロニクス・ユー.エス.・エルピー Configurable PLC and SCADA based control system and method

Similar Documents

Publication Publication Date Title
JPH04181423A (en) Version control system
EP1278162A1 (en) CAD system, design-support program for CAD system, and design methods
JPH1195819A (en) Programming device for programmable controller, connection method and storage medium
JP3677985B2 (en) PROGRAMMING CONTROLLER PROGRAMMING DEVICE, CONFIGURATION / CONNECTION METHOD, AND RECORDING MEDIUM
JP2002268711A (en) Programmable display unit and plotting program for the same and recording medium with its plotting program recorded
JP4854332B2 (en) Graphic display program and graphic display method
JP3305682B2 (en) Vehicle part display system and vehicle repair estimation system using the same
JPH10247142A (en) System and method for programming process control program
JP3000319B2 (en) Window display control system
JP2001195432A (en) Cad system
JPH01255937A (en) Method for setting execution control conditions
JP2007079954A (en) Information processing method and device, recording medium and program
JPH10221129A (en) Analyzer
JP3781923B2 (en) Line drawing apparatus, line drawing method, and computer-readable recording medium recording line drawing program
JP3979414B2 (en) Related drawing Print control processing device
JPH0811073A (en) Robot controller
JPH11203031A (en) Data input device and its control method and storage medium
JPH1196040A (en) Process execution system and recording medium
JPS63256987A (en) Cursor display system
JP3688796B2 (en) Image display device and input device
JPH06337741A (en) Computer system
JP5028644B2 (en) Electronic computer and computer control program
JP2686167B2 (en) Circuit drawing display device
JP2008077322A (en) Document editing method
JPH02270044A (en) Visualization processing circuit

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20040218

A977 Report on retrieval

Effective date: 20041208

Free format text: JAPANESE INTERMEDIATE CODE: A971007

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20041214

A02 Decision of refusal

Effective date: 20050607

Free format text: JAPANESE INTERMEDIATE CODE: A02