KR100221487B1 - Method for input program to robot controller - Google Patents
Method for input program to robot controller Download PDFInfo
- Publication number
- KR100221487B1 KR100221487B1 KR1019920009368A KR920009368A KR100221487B1 KR 100221487 B1 KR100221487 B1 KR 100221487B1 KR 1019920009368 A KR1019920009368 A KR 1019920009368A KR 920009368 A KR920009368 A KR 920009368A KR 100221487 B1 KR100221487 B1 KR 100221487B1
- Authority
- KR
- South Korea
- Prior art keywords
- position increment
- robot controller
- controller
- transfer
- user program
- Prior art date
Links
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B25—HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
- B25J—MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
- B25J9/00—Programme-controlled manipulators
- B25J9/16—Programme controls
Landscapes
- Engineering & Computer Science (AREA)
- Robotics (AREA)
- Mechanical Engineering (AREA)
- Numerical Control (AREA)
Abstract
본 발명은 산업용 로보트 제어기의 데이타 입력방법에 관한 것이다.The present invention relates to a data input method of an industrial robot controller.
종래에는 사용자 프로그램의 수행과 주변장치에의 데이타 입력을 순차적으로 처리하여 이동경로 산출이 끝난후에는 위치 증분량의 전달이 끝났는지만을 체크하면서 많은 시간을 소요하게되는 문제점이 발생되는바, 본 발명에 의하면 메인루프에서 위치 증분량의 전달이 끝나기만을 체크하는 대신에 위치 증분량을 계산하고 결과를 버퍼에 저장한후 다음의 명령을 실행함으로써 즉, 병렬처리를 이용하여 사용자 프로그램 및 로보트 동작에 소요되는 시간이 줄어들게되고 동일한 시간에 더욱 많은 량의 작업을 할수있게된 발명인 것이다.Conventionally, since a user program and a data input to a peripheral device are sequentially processed, a problem that takes a lot of time is generated after checking the completion of the transfer of the position increment after the calculation of the movement path. According to the main loop, instead of only checking the completion of the position increment transfer, the position increment is calculated, the result is stored in the buffer, and the following command is executed. That is, the parallel processing is used for user program and robot operation. It is an invention that reduces the time and allows more work at the same time.
Description
제1도는 본 발명의 개략적인 블록구성도.1 is a schematic block diagram of the present invention.
제2a, b도는 본 발명의 동작흐름도로써, 제2a도는 사용자 프로그램의 실행흐름도, 제2b도는 일정시간마다 발생하는 H/W 인터럽트의 수행루틴 흐름도.Figure 2a, b is a flow chart of the present invention, Figure 2a is a flow diagram of the execution of the user program, Figure 2b is a flow chart of the execution routine of the H / W interrupt that occurs every time.
제3도는 종래기술에 따른 동작흐름도.3 is a flow chart of operation according to the prior art.
* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings
10 : 주제어부 20 : 보조제어부10: main control unit 20: auxiliary control unit
30 : 모터 11 : ROM30: motor 11: ROM
12 : RAM 13 : 터미널12: RAM 13: Terminal
14 : 외부입출력신호부14: external input / output signal unit
본 발명은 산업용 로보트 제어기의 프로그램 입력방법에 관한 것으로, 특히 사용자 프로그램의 실행과 주변장치에의 데이타 전달을 병렬로 처리하도록하여 로봇동작에 소요되는 시간을 단축시키게된 산업용 로보트 제어기의 프로그램 입력방법에 관한것이다.The present invention relates to a program input method of the industrial robot controller, and more particularly, to a program input method of the industrial robot controller to reduce the time required for the robot operation by processing the execution of the user program and the data transfer to the peripheral device in parallel. It's about.
종래의 경우, 사용자 프로그램의 수행과 주변장치에의 데이타 전달을 순차적으로 처리하였다.In the conventional case, the execution of the user program and the data transfer to the peripheral device were sequentially processed.
즉, 도면 제3도에서 보는 바와 같이 제어기는 메인루프(Main Loop)에서 이동경로산출(Trajectory Planning)이 끝난후에는 위치증분량의 전달이 끝났는지만을 체크하면서 시간을 소비하게되는 문제점이 발생되었다.That is, as shown in FIG. 3, the controller spends time checking that only the transfer of the position increment is finished after the trajectory planning is completed in the main loop. .
따라서 본 발명에서는 상술한 바와 같은 종래기술의 문제점을 개선키위해 안출된 것으로, 제어기가 메인루프에서 위치 증분량의 전달이 끝났는지만을 체크하는 부분에 다음의 명령어를 처리하도록 함으로써, 즉, 병렬처리를 이용하여 사용자 프로그램의 수행시간을 단축시켜서 로봇의 성능을 개선하도록한 산업용 로보트 제어기의 데이타 입력 방법을 제공함에 그 목적이 있는것이다.Therefore, the present invention has been made to improve the problems of the prior art as described above, by causing the controller to process the following instruction in the part that checks that the transfer of the position increment in the main loop is finished, that is, parallel processing The purpose is to provide a data input method of the industrial robot controller to improve the performance of the robot by reducing the execution time of the user program.
이하 첨부된 도면을 참조하여 본 발명의 목적을 달성하기 위한 기술적 구성 및 작용효과를 상세히 설명하면 다음과 같다.Hereinafter, with reference to the accompanying drawings will be described in detail the technical configuration and effect for achieving the object of the present invention.
로보트의 각종제어 및 인터페이스를 위한 프로그램이 내장된 롬(11)과, 위치데이타 사용자 프로그램 등의 각종 데이타를 갖는 램(12)과 사용자가 사용할 프로그램 등의 각종 데이타를 설정하는 터미널부(13) 주변장치와의 신호전달용 접점인 외부입출력 신호부(14), 제어부(10)로부터 데이타를 받아서 모터(30)를 제어하도록된 보조제어기(20)로 구성된 것이다.Around the ROM 11 in which programs for various controls and interfaces of the robot are embedded, the RAM 12 having various data such as location data user program, and the terminal unit 13 for setting various data such as programs to be used by the user. The external input / output signal unit 14, which is a signal transmission contact point with the device, and the auxiliary controller 20 configured to control the motor 30 by receiving data from the control unit 10.
이상과 같이 구성된 본 발명의 작용 및 효과를 설명하면 다음과 같다.Referring to the operation and effects of the present invention configured as described above are as follows.
도면 제2a도에서 보는 바와 같이 사용자 프로그램의 명령어를 해석하고(101)로보트의 동작명령인지를 체크하여(102) 동작명령일경우 목표위치까지의 이동경로를 산출(103)한다.As shown in FIG. 2A, the command of the user program is interpreted (101) and the robot is an operation command (102). In the case of the operation command, the movement path to the target position is calculated (103).
이어서 이동경로 산출의 데이타를 토대로 매 인터럽트마다 전달할 위치 증분량을 계산(104)하고, 위치 증분량 계산값을 버퍼에 저장(105)하고 그 버퍼에 내용이 있음을 표시한다.Subsequently, the position increment amount to be delivered for each interrupt is calculated 104 based on the data of the movement route calculation, the position increment amount calculated value is stored 105 in the buffer, and the content is present in the buffer.
상기의 과정에서 로보트의 동작명령이 아닐경우 해당된 명령어를 실행하고(106) 사용자 프로그램의 수행이 끝났는지를 체크(107)하여 끝이면 프로그램의 수행을 종료하고 아니면 명령어 해석(101)의 단계로 다시 재수행토록 한다.In the above process, if it is not the operation command of the robot, execute the corresponding command (106) and check whether the execution of the user program is finished (107), and if it is finished, terminate the execution of the program, or return to the step of command interpretation (101). Try to do it again.
또한, 도면 제1b도에서 보는 바와 같은 인터럽트루틴에서의 동작은 보조제어기(20)와 모터(30)의 상태를 검사하고(201) 그의 여상여부를 체크하여(202) 이상이 없는경우 위치증분량을 버퍼에 저장(105)하는 단계에서의 버퍼가 비어있는지를 체크(203)하고, 내용이 있는경우 버퍼의 내용을 주변장치에 전달(204)한다.In addition, the operation in the interrupt routine as shown in FIG. 1B is performed by checking the state of the auxiliary controller 20 and the motor 30 (201) and checking the state of the filter (202). In step 105 of storing the data in the buffer, it is checked whether the buffer is empty (203), and if there is content, the content of the buffer is transmitted to the peripheral device (204).
또한 보조제어기(20)의 상태에 이상이 있는 경우 또는 버퍼가 비어 있는 경우에는 바로 인터럽트 루틴 수행을 종료(205)한다.If the auxiliary controller 20 has an abnormal state or the buffer is empty, execution of the interrupt routine is immediately terminated (205).
이상에서 본 바와 같이 본 발명은 메인로프에서 위치 증분량의 전달이 끝나기만을 체크하는 정래의 방식에서 벗어나 위치 증분량을 계산하여 결과를 버퍼에 저장한후 다음의 명령을 실행함으로서 사용자 프로그램의 수행시간을 단축시켜서 로보트의 성능을 향상시킬 수 있게된 방법인 것이다.As described above, the present invention deviates from the conventional method of checking only the completion of the position increment transfer in the main rope, calculates the position increment amount, stores the result in the buffer, and executes the following command to execute the execution time of the user program. It is a way to shorten and improve the performance of the robot.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019920009368A KR100221487B1 (en) | 1992-05-30 | 1992-05-30 | Method for input program to robot controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019920009368A KR100221487B1 (en) | 1992-05-30 | 1992-05-30 | Method for input program to robot controller |
Publications (2)
Publication Number | Publication Date |
---|---|
KR930023118A KR930023118A (en) | 1993-12-18 |
KR100221487B1 true KR100221487B1 (en) | 1999-09-15 |
Family
ID=19333934
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019920009368A KR100221487B1 (en) | 1992-05-30 | 1992-05-30 | Method for input program to robot controller |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100221487B1 (en) |
-
1992
- 1992-05-30 KR KR1019920009368A patent/KR100221487B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR930023118A (en) | 1993-12-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0709777B1 (en) | Method of and apparatus for debugging multitask programs | |
US4912623A (en) | Multiple processor communications system | |
US5659759A (en) | Data processing device having improved interrupt controller to process interrupts of different priority levels | |
JP2526688B2 (en) | Programmable controller and partial execution method of sequence program | |
EP0060893B1 (en) | Loading system for a numerical control unit | |
US5386499A (en) | Controller and process for effecting a shorter path trajectory in robot movement | |
JPS60117338A (en) | Interrupt vectoring apparatus and method | |
JPS63250702A (en) | Sequence controller | |
KR100221487B1 (en) | Method for input program to robot controller | |
JPH0766286B2 (en) | Processing method of NC device | |
US5124620A (en) | Control method for robots | |
EP0614148B1 (en) | Data processing apparatus | |
KR0150471B1 (en) | The interrupting method of external input signal in control system | |
EP0422246A1 (en) | Programmable controller | |
JPH07121226A (en) | Robot controller | |
JPS61267137A (en) | System for controlling interrupting action | |
JP2680647B2 (en) | Industrial robot with position detector | |
US20040049622A1 (en) | Programming tool | |
JPH0259829A (en) | Microcomputer | |
JPS63138407A (en) | Numerical controller | |
JPS63305449A (en) | Microprocessor system | |
JPS62248005A (en) | Sequence program executing system | |
JPH0326481A (en) | Control device for industrial robot | |
JPS63109507A (en) | Numerical controller | |
JPH02136927A (en) | Language process program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20070530 Year of fee payment: 9 |
|
LAPS | Lapse due to unpaid annual fee |