KR100331443B1 - Apparatus and method for generating control program using graphic - Google Patents

Apparatus and method for generating control program using graphic Download PDF

Info

Publication number
KR100331443B1
KR100331443B1 KR1019960029499A KR19960029499A KR100331443B1 KR 100331443 B1 KR100331443 B1 KR 100331443B1 KR 1019960029499 A KR1019960029499 A KR 1019960029499A KR 19960029499 A KR19960029499 A KR 19960029499A KR 100331443 B1 KR100331443 B1 KR 100331443B1
Authority
KR
South Korea
Prior art keywords
function
control program
graphic
text
data
Prior art date
Application number
KR1019960029499A
Other languages
Korean (ko)
Other versions
KR980013166A (en
Inventor
허우정
김응석
김문철
신경봉
조영조
Original Assignee
한국과학기술연구원
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 한국과학기술연구원 filed Critical 한국과학기술연구원
Priority to KR1019960029499A priority Critical patent/KR100331443B1/en
Publication of KR980013166A publication Critical patent/KR980013166A/en
Application granted granted Critical
Publication of KR100331443B1 publication Critical patent/KR100331443B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication

Abstract

PURPOSE: An apparatus and a method for generating a control program using a graphic are provided to reduce the development time by preventing a program error generation through an intuitive coding. CONSTITUTION: A function database(100) stores function information provided from a text, which represents a control program. A graphic user interface unit(110) outputs the function stored in the function database(100) as a graphical representation by the selection of a user and provides a way for representing the outputted function and a function interrelation as the graphical representation. A data storing unit(120) stores data inputted though the graphic user interface unit(110). A program converting unit(130) converts the data stored in the data storing unit(120) into a text control program. A file storing unit(140) stores the text control program converted by a file through the program converting unit(130).

Description

그래픽을 이용한 제어 프로그램 생성장치 및 방법Apparatus and method for generating a control program using graphics

본 발명은 그래픽을 이용한 프로그래밍 장치 및 방법에 관한 것으로서, 특히 그래픽 화면을 나타낼 수 있는 화면표시장치를 구비한 컴퓨터상에서의 그래픽을 이용한 제어프로그램 생성장치 및 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a programming device and method using graphics, and more particularly, to an apparatus and method for generating a control program using graphics on a computer having a display device capable of displaying a graphic screen.

일반적으로 제어프로그램은 텍스트(text)를 이용하여 설계된다. 이와같이 텍스트를 이용한 제어 프로그래밍 (programming)은 사용자에게 많은 부담을 안겨준다. 명령어 및 문법을 사용자가 미리 암기하고 있거나 사용자 설명서를 옆에 두고 항상 참고하면서 명령어와 문법을 써야하는 불편함이 있다. 그리고 많은 양의 글자를 타이핑(typing)해야 하므로 에러가 발생할 빈도도 높다. 또한 프로그램이 방대해졌을 경우에는 한눈에 알아보기도 어렵다.In general, control programs are designed using text. Such textual control programming places a heavy burden on the user. The user may memorize commands and grammars in advance, or the inconvenience of having to write commands and grammars while always referring to the user's manual. In addition, since a large amount of characters must be typed, an error occurs frequently. It's also hard to see at a glance when the program is massive.

본 발명은 상술한 문제점을 해결하기 위해서 창출된 것으로서, 텍스트를 이용하는 종래의 제어 프로그램 설계를 그래픽을 이용하여 프로그래밍하게 함으로써 사용자의 편리성 및 프로그램의 제작, 수정, 및 에러수정이 용이하도록 한 그래픽을 이용한 제어프로그램 생성장치 및 방법를 제공함에 그 목적이 있다.SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems, and it is possible to program a conventional control program design using text by using a graphic to make the user's convenience and the program easier to manufacture, modify, and correct errors. It is an object of the present invention to provide an apparatus and method for generating a control program.

도1은 본 발명에 따른 그래픽 화면을 나타낼 수 있는 화면표시장치를 구비한 컴퓨터 상에서의 그래픽을 이용한 제어프로그램 생성장치의 구성을 블록도로 도시한 것이다.1 is a block diagram showing the configuration of a control program generating apparatus using graphics on a computer having a screen display device capable of displaying a graphic screen according to the present invention.

도2는 본 발명이 적용되는 컴퓨터 시스템의 구성도를 도시한 것이다.2 is a block diagram of a computer system to which the present invention is applied.

도3은 본 발명에 따른 그래픽을 이용한 제어프로그램 생성 방법을 흐름도로 도시한 것이다.3 is a flowchart illustrating a control program generation method using a graphic according to the present invention.

도4는 그래픽 사용자 인터페이스의 일예를 도시한 것이다.4 illustrates an example of a graphical user interface.

도5는 입/출력포트 속성을 검사하여 선으로 연결하는 보다 상세한 과정을 흐름도로 도시한 것이다.5 is a flowchart illustrating a more detailed process of checking input / output port attributes and connecting them with lines.

상기의 목적을 달성하기 위한 본 발명에 따른, 그래픽 화면을 나타낼 수 있는 화면표시장치를 구비한 컴퓨터 상에서의 그래픽을 이용한 제어프로그램 생성장치는According to the present invention for achieving the above object, a control program generating apparatus using a graphic on a computer having a screen display device capable of displaying a graphic screen is

제어프로그램을 나타내는, 텍스트에서 제공하는 함수정보를 저장하는 함수데이터베이스;A function database for storing function information provided by text representing a control program;

상기 함수데이터베이스에 저장된 함수를 사용자의 선택에 의해 그래픽으로 출력하고, 상기 출력된 함수 및 함수상호관계성를 그래픽으로 나타내는 수단을 제공하는 그래픽 사용자 인터페이스부;A graphical user interface unit for graphically outputting a function stored in the function database according to a user's selection, and providing a means for graphically displaying the outputted function and function correlation;

상기 그래픽 사용자 인터페이스부를 통해 입력된 데이터를 저장하는 데이터저장부;A data storage unit for storing data input through the graphic user interface unit;

상기 데이터 저장부에 저장된 데이터를 텍스트 제어프로그램으로 변환하는 프로그램변환부; 및A program converter converting the data stored in the data storage into a text control program; And

상기 프로그램 변환부를 통해 변환된 텍스트 제어프로그램을 화일로 저장하는 화일저장부를 포함함이 바람직하다.It is preferable to include a file storage unit for storing the text control program converted by the program conversion unit as a file.

본 발명의 다른 목적을 달성하기 위한 본 발명에 따른, 그래픽 화면을 나타낼 수 있는 화면표시장치를 구비한 컴퓨터 상에서의 그래픽을 이용한 제어프로그램 생성방법은According to the present invention for achieving another object of the present invention, a control program generation method using a graphic on a computer having a display device capable of displaying a graphic screen is

제어프로그램을 나타내는 텍스트에서 제공하는 함수정보를 저장하는 함수데이터베이스를 구축하는 단계;Constructing a function database that stores function information provided by text representing a control program;

상기 그래픽 인터페이스 환경에서 함수를 선택하는 단계;Selecting a function in the graphical interface environment;

상기 선택한 함수의 정보를 상기 함수데이터베이스에서 읽어들여 화면에 블록으로 표시하는 단계;Reading information on the selected function from the function database and displaying the information on the screen as a block;

상기 블록의 데이터를 저장하는 단계;Storing data of the block;

상기 블록의 입출력관계 및 상기 블록 상호관계를 화면상에서 선의 연결관계로 표시하는 단계;Displaying the input / output relations of the blocks and the interrelationships of the blocks with a line connection relation on a screen;

상기 블록 데이터를 텍스트 제어프로그램으로 생성하는 단계: 및Generating the block data with a text control program: and

상기 생성된 텍스트 제어프로그램을 화일로 저장하는 단계를 포함함이 바람직하다.And storing the generated text control program as a file.

이하에서 첨부된 도면을 참조하여 본 발명을 상세히 설명하기로 한다. 도1은 본 발명에 따른 그래픽 화면을 나타낼 수 있는 화면표시장치를 구비한 컴퓨터 상에서의 그래픽을 이용한 제어프로그램 생성장치의 구성을 블록도로 도시한 것으로서, 함수데이터베이스(100), 그래픽사용자 인터페이스부(110), 데이터저장부(120), 프로그램 변환부 (130), 파일저장부(140)로 이루어진다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings. 1 is a block diagram showing the configuration of a control program generating apparatus using a graphic on a computer having a display device capable of displaying a graphic screen according to the present invention. The function database 100 and the graphic user interface unit 110 are shown in FIG. ), A data storage unit 120, a program converter 130, and a file storage unit 140.

상기 함수데이터베이스(100)는 제어프로그램을 나타내는, 텍스트 에서 제공하는 함수의 구성요소를 정의한 함수정보를 저장한다. 상기 함수정보는 입출력포트 속성, 함수의 입출력포트 갯수, 함수이름을 포함한다. 상기 그래픽사용자 인터페이스부(110)는 상기 함수데이터 베이스(100)에 저장된 함수를 사용자의 선택 또는 입력(150)에 의해 그래픽으로 화면(160)에 출력하고, 상기 출력된 함수 및 함수 상호 관계성를 그래픽으로 나타낸다. 데이터저장부(120)는 상기 그래픽 사용자 인터페이스부(110)를 통해 입력된 데이터를 저장한다. 상기 프로그램 변환부(130)는 상기 데이터저장부(120)에 저장된 데이터를 텍스트로 된 제어프로그램으로 변환한다. 상기 파일저장부(140)는 상기 프로그램 변환부(130)를 통해 변환된 텍스트 제어프로그램을 화일로 저장한다.The function database 100 stores the function information defining the components of the function provided by the text representing the control program. The function information includes an input / output port property, the number of input / output ports of a function, and a function name. The graphic user interface 110 outputs a function stored in the function database 100 to the screen 160 graphically by a user's selection or input 150, and graphically outputs the output function and function correlation. Represented by The data storage unit 120 stores data input through the graphic user interface unit 110. The program conversion unit 130 converts the data stored in the data storage unit 120 into a control program in text. The file storage unit 140 stores the text control program converted by the program conversion unit 130 as a file.

도2는 본 발명이 적용되는 컴퓨터 시스템의 구성도를 도시한 것으로서, 운영체제(Operating System:O/S, 202)와 컴퓨터에서 전기적 신호를 이용하여 신호를 내보내는 인터페이스장치(204)를 갖는 컴퓨터(200)와 그래픽 화면을 나타낼 수 있는 화면표시장치(210) 및 사용자 입력이 가능한 키보드(220)와 마우스(230) 등의 입력장치로 구성된다. 도3는 본 발명에 따른 그래픽을 이용한 제어프로그램 생성 방법을 흐름도로 도시한 것으로서, 상기 도1 내지 도3를 참조하여 본 발명의 동작을 설명한다.FIG. 2 is a block diagram of a computer system to which the present invention is applied and includes a computer 200 having an operating system (O / S) 202 and an interface device 204 for outputting signals using electrical signals from a computer. ) And a display device 210 capable of displaying a graphic screen, and an input device such as a keyboard 220 and a mouse 230 capable of user input. 3 is a flowchart illustrating a method for generating a control program using graphics according to the present invention, and the operation of the present invention will be described with reference to FIGS.

먼저 제어프로그램을 나타내는 텍스트에서 제공하는 함수정보를 저장하는 함수데이터베이스(100)를 구축한다.(300단계) 사용하고자 하는 함수를 그래픽 사용자 인터페이스(110)에서 제공하는 함수를 선택하는 창(window)에서 선택한다.(310단계) 그리고 나서 상기 선택된 함수를 상기 함수데이터베이스(100)에서 찾아 함수의 입력/출력 포트 속성, 입력/출력 포트 개수, 함수 이름 등에 대한 정보를 읽어 들인다. 다음에는 함수의 정보를 이용하여 화면에 나타날 데이터를 생성한다. 마우스(230)로 화면상에 함수를 놓고자하는 위치를 지정하면, 상기 생성된 데이터를 이용하여 상기 함수를 블록으로 표시하고, 그곳에 상기 함수데이터베이스(100)에서 읽은 정보를 이용하여 함수의 입/출력 포트, 함수이름 등을 표시한다.(320단계) 그리고 상기 블록으로 표시된 데이터를 이중 링크된 리스트(double linked list) 데이터 구조(structrue)를 갖는 데이터저장부(120)에 저장하여 데이터를 관리한다.(330단계)First, a function database 100 for storing function information provided by text representing a control program is constructed. (Step 300) In a window for selecting a function provided by the graphic user interface 110 for a function to be used. In operation 310, the selected function is found in the function database 100, and information about an input / output port attribute, an input / output port number, a function name, and the like of the function is read. Next, create data to be displayed on the screen by using the information of the function. When the position to which the function is to be placed on the screen is designated by the mouse 230, the function is displayed as a block by using the generated data, and the input / output of the function is performed using the information read from the function database 100 there. The output port, function name, etc. are displayed (step 320). The data represented by the block is stored in the data storage unit 120 having a double linked list data structure to manage the data. (Step 330)

그리고 나서 블록의 입/출력 포트를 선택하면, 상기 블록의 입/출력 포트의 속성을 검사하여 속성이 일치하는 경우만 연결하여 선으로 연결관계를 표시한다.(340단계) 도4는 상기 과정들을 나타내는, 상기 그래픽 사용자 인터페이스(110)의 일예를 도시한 것이다.Then, when the input / output port of the block is selected, the attributes of the input / output port of the block are examined and connected only when the attributes match, and the connection relationship is indicated by a line (step 340). An example of the graphical user interface 110 is shown.

도5는 상기 입/출력포트 속성을 검사하여 선으로 연결하는 보다 상세한 과정을 흐름도로 도시한 것으로서, 이를 설명하면 다음과 같다. 먼저 라인연결 모드이면(500단계), 시작점이 함수의 출력포트인지 검사하여(510단계), 출력포트이면(520단계), 끝점이 함수의 입력포트인지 검사하여(530단계), 유효한 입력포트이면(540단계), 시작점과 끝점 사이를 연결한다.(550단계) 그리고나서 블록을 저장하는 이중링크 리스트에 상기 연결관계에 관한 데이터를 저장한다.(560단계)FIG. 5 is a flowchart illustrating a more detailed process of inspecting the input / output port attributes and connecting them with lines. First, in the line connection mode (step 500), check whether the starting point is the output port of the function (step 510), if the output port (step 520), check whether the endpoint is the input port of the function (step 530), (Step 540), the connection between the start point and the end point (step 550). Then, the data related to the connection is stored in the dual link list storing the block (step 560).

한편 상기 이중링크리스트 구조로 저장된 데이터 저장부(120)에서 데이터를 읽어들인다. 그리고 상기 읽어들인 서로 연결된 함수들의 정보를 이용하여 프로그램변환부(130)를 통해 상기 그래픽으로된 제어 프로그램이 텍스트로 이루어진 프로그래밍 파일로 변환되고(350단계), 이를 상기 화일저장부(140)에 저장한다.(360단계)Meanwhile, data is read from the data storage unit 120 stored in the dual link list structure. In addition, the graphic control program is converted into a programming file composed of texts through the program converter 130 using the information of the functions connected to each other (step 350), and stored in the file storage 140. (Step 360)

본 발명에 의하면 제어 프로그램 작성시 직관적으로 코딩(coding)할 수 있어, 프로그램 작성시간의 향상 및 오류 발생 소지를 사전에 막아 전체적인 개발시간을 단축할 수 있다.According to the present invention, the control program can be intuitively coded, and the overall development time can be shortened by improving the program creation time and preventing the occurrence of errors in advance.

Claims (3)

그래픽 화면을 나타낼 수 있는 화면표시장치를 구비한 컴퓨터 상에서의 그래픽을 이용한 제어프로그램 생성장치에 있어서,A control program generating device using graphics on a computer having a display device capable of displaying a graphic screen, 제어프로그램을 나타내는, 텍스트에서 제공하는 함수정보를 저장하는 함수데이터베이스;A function database for storing function information provided by text representing a control program; 상기 함수데이터베이스에 저장된 함수를 사용자의 선택에 의해 그래픽으로 출력하고, 상기 출력된 함수 및 함수상호관계성를 그래픽으로 나타내는 수단을 제공하는 그래픽 사용자 인터페이스부;A graphical user interface unit for graphically outputting a function stored in the function database according to a user's selection, and providing a means for graphically displaying the outputted function and function correlation; 상기 그래픽 사용자 인터페이스부를 통해 입력된 데이터를 저장하는 데이터 저장부;A data storage unit for storing data input through the graphic user interface unit; 상기 데이터 저장부에 저장된 데이터를 텍스트 제어프로그램으로 변환하는 프로그램변환부; 및A program converter converting the data stored in the data storage into a text control program; And 상기 프로그램 변환부를 통해 변환된 텍스트 제어프로그램을 화일로 저장하는 화일저장부를 포함함을 특징으로 하는 그래픽을 이용한 제어프로그램 생성장치.And a file storage unit for storing the text control program converted by the program converting unit as a file. 제1항에 있어서, 상기 함수정보는The method of claim 1, wherein the function information 입출력포트 속성, 함수의 입출력포트 갯수, 함수이름을 포함함을 특징으로 하는 그래픽을 이용한 제어프로그램 생성장치.A control program generating device using graphics, which includes input / output port properties, number of input / output ports of a function, and function name. 그래픽 화면을 나타낼 수 있는 화면표시장치를 구비한 컴퓨터 상에서의 그래픽을 이용한 제어프로그램 생성방법에 있어서,In the control program generation method using a graphic on a computer having a display device capable of displaying a graphic screen, 제어프로그램을 나타내는 텍스트에서 제공하는 함수정보를 저장하는 함수데이터베이스를 구축하는 단계;Constructing a function database that stores function information provided by text representing a control program; 상기 그래픽 인터페이스 환경에서 함수를 선택하는 단계;Selecting a function in the graphical interface environment; 상기 선택한 함수의 정보를 상기 함수데이터베이스에서 읽어들여 화면에 블록으로 표시하는 단계;Reading information on the selected function from the function database and displaying the information on the screen as a block; 상기 블록의 데이터를 저장하는 단계;Storing data of the block; 상기 블록의 입출력관계 및 상기 블록 상호관계를 화면상에서 선의 연결관계로 표시하는 단계;Displaying the input / output relations of the blocks and the interrelationships of the blocks with a line connection relation on a screen; 상기 블록 데이터를 텍스트 제어프로그램으로 생성하는 단계: 및Generating the block data with a text control program: and 상기 생성된 텍스트 제어프로그램을 화일로 저장하는 단계를 포함함을 특징으로 하는 그래픽을 이용한 제어프로그램 생성방법.And storing the generated text control program as a file.
KR1019960029499A 1996-07-20 1996-07-20 Apparatus and method for generating control program using graphic KR100331443B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960029499A KR100331443B1 (en) 1996-07-20 1996-07-20 Apparatus and method for generating control program using graphic

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960029499A KR100331443B1 (en) 1996-07-20 1996-07-20 Apparatus and method for generating control program using graphic

Publications (2)

Publication Number Publication Date
KR980013166A KR980013166A (en) 1998-04-30
KR100331443B1 true KR100331443B1 (en) 2002-11-04

Family

ID=37479345

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960029499A KR100331443B1 (en) 1996-07-20 1996-07-20 Apparatus and method for generating control program using graphic

Country Status (1)

Country Link
KR (1) KR100331443B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7937172B2 (en) 2004-07-28 2011-05-03 Mitsubishi Electric Corporation Program creating device for programmable controller, program creating method for programmable controller, and recording medium having program recorded thereon

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100557137B1 (en) * 1998-07-22 2006-05-30 삼성전자주식회사 How to automatically convert ilog files

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7937172B2 (en) 2004-07-28 2011-05-03 Mitsubishi Electric Corporation Program creating device for programmable controller, program creating method for programmable controller, and recording medium having program recorded thereon

Also Published As

Publication number Publication date
KR980013166A (en) 1998-04-30

Similar Documents

Publication Publication Date Title
US8244541B2 (en) Content creation system, content creation method, computer executable program for executing the same content creation method, computer readable storage medium having stored the same program, graphical user interface system and display control method
AU2005202293A1 (en) Method and apparatus for viewing and interacting with a spreadsheet from within a Web browser
JP2013020410A (en) Mathematical expression output computer, mathematical expression output method, mathematical expression output program, and computer-readable recording medium having mathematical expression output program recorded therein
US20040027379A1 (en) Integrated visual development system for creating computer-implemented dialog scripts
JPS60263256A (en) Computer provided with skill degree function
CA2050160A1 (en) Icon based query system
KR100331443B1 (en) Apparatus and method for generating control program using graphic
JP2007219218A (en) Electronic equipment for language learning and translation reproducing method
US20030033332A1 (en) Control/display unit page builder software tool
CN110764853B (en) Web interface display method between multiple electronic medical records and single document defects
JPH01280866A (en) Japanese word processing system
KR100588729B1 (en) Apparatus and method for providing user screen in character type online service
JPH0484260A (en) Document processor
JPH05313872A (en) Simple language programming system
JP3482903B2 (en) Visual development tool evaluation system, evaluation method, and recording medium
JPS60100226A (en) Test processor for tree structure chart
JP2000172498A (en) Data output device
JP2728341B2 (en) Information processing device
JP2729996B2 (en) Document processing apparatus and method
Carey et al. Modular specification methods for user interfaces
JPH0317740A (en) Program editing support system
JPH02297150A (en) Text processor
JPH03231335A (en) Display system for error message
JPH05150924A (en) Device for generating network monitor screen text file
Wahlster An Intelligent Multimodal Interface.

Legal Events

Date Code Title Description
N231 Notification of change of applicant
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20060320

Year of fee payment: 5

LAPS Lapse due to unpaid annual fee