KR100568620B1 - Motion Control Command Queuing Device - Google Patents
Motion Control Command Queuing Device Download PDFInfo
- Publication number
- KR100568620B1 KR100568620B1 KR1020030101501A KR20030101501A KR100568620B1 KR 100568620 B1 KR100568620 B1 KR 100568620B1 KR 1020030101501 A KR1020030101501 A KR 1020030101501A KR 20030101501 A KR20030101501 A KR 20030101501A KR 100568620 B1 KR100568620 B1 KR 100568620B1
- Authority
- KR
- South Korea
- Prior art keywords
- control command
- error
- motion control
- motion
- terminal device
- Prior art date
Links
- 238000000034 method Methods 0.000 claims abstract description 7
- 230000004913 activation Effects 0.000 claims description 11
- 230000003213 activating effect Effects 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 3
- 125000004122 cyclic group Chemical group 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/30—Arrangements for executing machine instructions, e.g. instruction decode
- G06F9/38—Concurrent instruction execution, e.g. pipeline or look ahead
- G06F9/3854—Instruction completion, e.g. retiring, committing or graduating
- G06F9/3856—Reordering of instructions, e.g. using queues or age tags
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F5/00—Methods or arrangements for data conversion without changing the order or content of the data handled
- G06F5/06—Methods or arrangements for data conversion without changing the order or content of the data handled for changing the speed of data flow, i.e. speed regularising or timing, e.g. delay lines, FIFO buffers; over- or underrun control therefor
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Multi Processors (AREA)
- Debugging And Monitoring (AREA)
Abstract
본 발명은 모션제어명령 큐잉 장치 및 방법에 관한 것으로서, 응용프로그램을 포함하며, 운용자로부터의 모션제어명령을 입력받는 단말기(210)와, 상기 단말기(210)로부터 상기 모션제어명령을 입력받는 모션제어기(260)와, 상기 모션제어기(260)의 제어를 받고 상기 모션제어명령에 의해 동작하는 단말장치(270)로 구성되는 모션제어명령 큐잉 장치에 있어서, 상기 단말기(210)로부터 모션제어명령을 입력받아 타단으로 전송하며, 상기 단말장치(270)가 오류 또는 비지인 경우 상기 모션제어기(260)는 상기 단말장치가 오류 또는 비지임을 인지하여 오류신호를 생성하고, 이를 소정의 FIFO(250)를 통해 수신하여 단말기(210)에 단말장치(270)가 오류 또는 비지 상태임을 알리는 메인 스레드(220)와, 상기 메인 스레드(220)로부터 모션제어명령을 수신하는 큐(230)와, 상기 큐(230)로부터 모션제어명령를 수신하는 큐스레드(240)와, 상기 모션제어기(260)로부터 오류, 비지, 활성화 상태 등의 이벤트 정보를 상기 FIFO(250)를 통해 수신하여 모션제어기(260) 또는 단말장치(270)가 오류상태, 대기상태 또는 활성화 상태임을 알리는 이벤트 신호를 수신하고 이를 제어하는 이벤트 스레드(280)로 구성되며, 실질적으로 동작을 수행하는 단말장치, 예컨대 모터등의 장치가 오류 또는 대기 중에 전송되어 유실되는 모션제어명령을 유실하지 않고 재동작시에 다시 오류 또는 대기 이후의 다음의 동작을 단말장치가 활성화 상태 또는 오류를 수정한 상태 이후에 수행할 수 있도록 한 효과가 있다. The present invention relates to a motion control command queuing apparatus and method, comprising an application program, a terminal 210 receiving a motion control command from an operator, and a motion controller receiving the motion control command from the terminal 210. 260 and a terminal device 270 that is controlled by the motion controller 260 and operates by the motion control command, the motion control command queuing device comprising: inputting a motion control command from the terminal 210; Receives and transmits to the other end, when the terminal device 270 is an error or busy, the motion controller 260 recognizes that the terminal device is an error or busy, generates an error signal, and through the predetermined FIFO 250 A main thread 220 for receiving and informing the terminal 210 that the terminal device 270 is in an error or busy state, a queue 230 for receiving a motion control command from the main thread 220, and the Queue thread 240 for receiving a motion control command from the 230, and event information, such as error, busy, active state, etc. from the motion controller 260 through the FIFO 250 to the motion controller 260 or the terminal The device 270 is configured with an event thread 280 that receives and controls an event signal indicating that the device 270 is in an error state, a standby state, or an active state, and a device such as a terminal device, such as a motor, that performs an operation is in error or standby. There is an effect that the terminal device can perform the next operation after the error or the waiting state after the error state or the error corrected state at the time of re-operation without losing the motion control command transmitted and lost during the operation.
모션, 모터, 드레스, 명령, FIFOMotion, motor, dress, command, FIFO
Description
도 1은 종래 기술에 따른 모션제어명령 큐잉 장치를 가략하게 나타낸 블록 구성도. 1 is a block diagram schematically showing a motion control command queuing apparatus according to the prior art;
도 2는 본 발명에 따른 모션제어 명령 큐잉 장치의 일실시예를 간략하게 나타낸 블록 구성도. 2 is a block diagram schematically illustrating an embodiment of a motion control command queuing apparatus according to the present invention;
<도면의 주요부분에 대한 부호의 간단한 설명><Brief description of symbols for the main parts of the drawings>
210 : 단말기 220 : 메인 스레드210: terminal 220: main thread
230 : 큐 240 : 큐스레드230: queue 240: queue thread
250, 252, 254, 256 : FIFO 260 : 모션제어기250, 252, 254, 256: FIFO 260: Motion controller
270 : 단말장치 280 : 이벤트 스레드270: terminal device 280: event thread
본 발명은 모션제어명령 큐잉 장치 및 방법에 관한 것으로서, 특히 기계적인 동작 및 기타 명령을 수행하는 단말장치 등에 오류가 발생한 경우, 모션제어명령을 큐에 저장하였다가 단말장치가 동작하는 경우 모센제어명령을 단말장치로 전송하여 단말장치가 재동작하는 데에 있어서 이전 동작명령에 따라 바르게 동작할 수 있도록 하는 제어하는 모션제어명령 큐잉 장치 및 방법에 관한 것이다. The present invention relates to an apparatus and method for queuing a motion control command. In particular, when an error occurs in a terminal device that performs a mechanical operation or other command, the motion control command is stored in a queue and a mossen control command is operated. The present invention relates to a motion control command queuing apparatus and method for controlling a terminal device to correctly operate according to a previous operation command when the terminal device is reoperated.
종래의 기술에 있어서, 단말기(110)에 구성된 응용프로그램을 통해 전달된 모션제어명령은 메인 스레드(Main Thread)(120)를 통해 명령제어 FIFO(130)로 전달되고 명령제어 FIFO(130)로부터 모션제어명령을 받은 모션제어기(140)는 단말장치, 예컨대 모터(150)를 제어하게 된다. In the related art, the motion control command transmitted through the application program configured in the
그러나, 이와 같은 모션제어명령은 모터(150)가 정상동작을 할 때의 경우이며, 만약, 모터(150)가 오동작하거나, 비지(busy) 상태에 있다면 이와 같은 모션제어명령은 명령제어 FIFO(130) 또는 에크놀러지(acknowledge) FIFO(160)에 저장된 상태로 순차적으로 유실되어 버리게 된다. However, this motion control command is the case when the
또한, 이와 같은 모션제어명령입력이 FIFO(130, 160)에서 유실되거나, 혹은 비지상태에 있게 되면, 운영자는 에크놀러지 FIFO(160)를 통해 메인스레드(120)를 통해 전송된 모터(150)의 오류 또는 비지 상태에 있음을 알리는 오류 이벤트 정보에 따라 모터(150)가 오류상태 또는 비지상태인 것을 알게 되지만, 에크놀러지 FIFO(160)에 저장된 명령의 시행이 불가능하게 되고, 명령제어 FIFO(130)에 있는 정보도 일부 유실되기 때문에 이와 같이 단말기(110)의 응용프로그램으로 리턴된 모션제어명령들은 전술한 바와 같이 무시되어 버리고 사라지게 되는 문제점이 있다. In addition, when such a motion control command input is lost in the
또한, 전달된 모션제어명령이 유실되어 버리는 경우 모터(150)가 동작가능하게 되어 재동작하는 경우, 비지 또는 오류 상태에서 수신한 모션제어명령을 무시한 채 동작하기 때문에 모터(150) 등이 활성화되어 재동작하는 경우 운영자가 원하지 않는 동작을 하게 되는 경우가 발생하는 문제점이 있다. In addition, when the transmitted motion control command is lost, the
본 발명은 기계적인 동작 및 기타 명령을 수행하는 단말장치 등에 오류가 발생한 경우, 모션제어명령을 큐에 저장하였다가 단말장치가 동작하는 경우 모션제어명령을 단말장치로 전송하여 단말장치가 재동작하는 데에 있어서 이전 동작명령에 따라 바르게 동작할 수 있도록 할 수 있는 모션제어명령 큐잉 장치 및 방법을 제공하는 데에 그 목적이 있다.
According to the present invention, when an error occurs in a terminal device that performs a mechanical operation or other command, the motion control command is stored in a queue, and when the terminal device is operated, the terminal device operates again by transmitting a motion control command to the terminal device. It is an object of the present invention to provide a motion control command queuing apparatus and method that can be properly operated according to the previous operation command.
본 발명은 응용프로그램을 포함하며, 운용자로부터의 모션제어명령을 입력받는 단말기(210)와, 상기 단말기(210)로부터 상기 모션제어명령을 입력받는 모션제어기(260)와, 상기 모션제어기(260)의 제어를 받고 상기 모션제어명령에 의해 동작하는 단말장치(270)로 구성되는 모션제어명령 큐잉 장치에 있어서, 상기 단말기(210)로부터 모션제어명령을 입력받아 타단으로 전송하며, 상기 단말장치(270)가 오류 또는 비지인 경우 상기 모션제어기(260)는 상기 단말장치가 오류 또는 비지임을 인지하여 오류신호를 생성하고, 이를 소정의 FIFO(250)를 통해 수신하여 단말기(210)에 단말장치(270)가 오류 또는 비지 상태임을 알리는 메인 스레드(220)와, 상기 메인 스레드(220)로부터 모션제어명령을 수신하는 큐(230)와, 상기 큐(230)로부터 모션제어명령를 수신하는 큐스레드(240)와, 상기 모션제어기(260)로부터 오류, 비지, 활성화 상태 등의 이벤트 정보를 상기 FIFO(250)를 통해 수신하여 모션제어기(260) 또는 단말장치(270)가 오류상태, 대기상태 또는 활성화 상태임을 알리는 이벤트 신호를 수신하고 이를 제어하는 이벤트 스레드(280)로 구성된다. The present invention includes an application program, the
또한, 상기 FIFO(250)는, 상기 모션제어기(260)에서 발생한 오류 또는 비지 신호를 상기 메인 스레드(220)로 전송하는 에크놀러지 FIFO(254)와, 상기 상기 큐스레드(240)의 제어에 의해 모션제어기로 모션제어명령을 전송하거나, 상기 큐(230)에 대기명령이 활성화되어 있는 경우에는 모션제어명령을 순차적으로 저장하는 명령제어 FIFO(250)와, 상기 단말장치(270)에서 발생한 오류, 비지 및 활성화 상태 등의 정보를 상기 이벤트 스레드를 통해 큐(230)로 전송하는 이벤트 FIFO(256)로 구성된다. In addition, the FIFO 250 is controlled by the
또한, 상기 큐(230)는, 메인 스레드(220)를 통해 전송된 상기 모션제어명령을 수신하며, 오류 또는 비지신호가 발생한 경우 대기명령을 활성화시키고 상기 모션제어명령을 상기 명령제어 FIFO(252)에 저장하는 명령제어큐(232)와, 상기 단말장치(270)에서 발생한 오류, 비지 또는 활성화 이벤트 정보에 따라 상기 단말장치(270), 상기 FIFO(250), 이벤트 스레드(280)를 통해 오류, 비지 또는 활성화 이벤트 정보를 저장하며, 활성화 이벤트 정보를 수신하면, 큐스레드(240)로 명령실행 명령을 전송하여 큐스레드(240)로 하여금 상기 명령제어 FIFO(252)에 저장되어 있던 명령을 모션제어기(260)로 전송하여 모션제어기(260)로 하여금 단말장치(270)를 동작시키도록 하는 이벤트 큐(230)로 구성된다. In addition, the
이하 본 발명의 구성에 대하여 다음의 도면을 참조하여 상세하게 설명한다. 도 2는 본 발명에 따른 모션제어 명령 큐잉 장치의 일실시예를 간략하게 나타낸 블록 구성도이다. EMBODIMENT OF THE INVENTION Hereinafter, the structure of this invention is described in detail with reference to the following drawings. 2 is a block diagram schematically illustrating an embodiment of a motion control command queuing apparatus according to the present invention.
도 2를 참조하여 보면, 단말기(210)에 구성된 응용프로그램을 통해 전달된 모션제어명령은 메인 스레드(220)를 통해 큐(230)로 전송된다. 특히, 모션제어명령은 큐(230) 중 명령제어큐(232)로 전송된다. 모션제어명령을 수신한 명령제어큐(232)는 큐스레드(240)를 통해 명령제어 FIFO(252)로 전송하고, 그 순차에 따라 모션제어명령이 모션제어기(260)로 전송되면 모션제어기(260)는 단말장치(270), 예컨대 모터 등의 장치를 제어하여 동작시키거나 또는 일정시간 정지시키게 되는 등의 모터 제어동작을 수행한다. Referring to FIG. 2, the motion control command transmitted through the application program configured in the
만약 이때, 이때, 모션제어기(260) 또는 단말장치(270)가 오류상태이거나, 비지상태가 발생하는 경우, 이벤트 FIFO(256) 및 에크놀러지 FIFO(254)를 통해 오류가 발생하였음을 알린다. 이 때, 오류가 발생하였음을 메인 스레드(220)에 알리는 것은 에크놀러지 FIFO(254)이며, 이벤트 FIFO(256)를 통해 모션제어기(260) 또는 단말장치(270)가 오류상태 또는 대기상태임을 알리는 오류신호를 이벤트 스레드(280)를 통해 큐(230)로 전송하면, 큐(234)에는 대기 명령이 활성화된다. 즉, 오류 상태 또는 비지상태에서 모션제어명령이 단말기(210)의 응용프로그램을 통해 입력되면, 큐(230) 특히 이벤트큐(234)는 메인 스레드(220)를 통해 대기명령이 활성화되어 있음을 인지하고 큐스레드(240)로 모션제어명령을 전송한다. 큐스레드(240)는 대기명령이 활성화된 상태에서 입력된 모션제어명령임을 인지하여 명령 제어 FIFO(252)에 모션제어명령을 저장한다. In this case, if the
이와 같은 모션제어명령들은 단말장치(270) 및 모션제어기(260)가 재동작하거나, 비지상태를 벗어나게 될 때까지 큐스레드(240)의 제어를 통해 명령제어 FIFO(252)에 저장된다. Such motion control commands are stored in the command control FIFO 252 through the control of the
이 때, 단말장치(270)를 감시하던 모션제어기(260)로부터 단말장치(270)가 활성화되었다는 신호가 입력되며, 활성화되었음을 알리는 활성화 이벤트 신호가 이벤트 FIFO(256) 및 이벤트 스레드(280)를 거쳐 큐(230)로 전송된다. 특히 큐(230)중 이벤트 큐(234)는 활성화 이벤트 신호를 수신하여 대기명령을 해제시킨다. At this time, a signal indicating that the
대기명령이 해제되면, 큐(230)는 큐스레드(240)로 모션제어명령을 실행할 것을 알리는 명령을 전송한다. 큐스레드(240)는 명령제어 FIFO(52)에 저장되어 있던 모션제어명령을 모션제어기(260)로 전송하고 모션제어기(260)로 하여금 단말장치(270)를 동작시키도록 한다. When the wait command is released, the
본 발명은 실질적으로 동작을 수행하는 단말장치, 예컨대 모터등의 장치가 오류 또는 대기 중에 전송되어 유실되는 모션제어명령을 유실하지 않고 재동작시에 다시 오류 또는 대기 이후의 다음의 동작을 단말장치가 활성화 상태 또는 오류를 수정한 상태 이후에 수행할 수 있도록 한 효과가 있다. According to the present invention, a terminal apparatus which performs an operation, for example, a motor or the like, does not lose a motion control command that is lost due to an error or waiting to be transmitted. There is an effect that can be performed after the activation state or the error has been corrected.
또한, 에크놀러지 FIFO, 이벤트 FIFO 및 명령제어 FIFO를 각각 구성함으로써, 각각의 역할에 따라 오류, 비지 정보, 이벤트 정보 및 모션제어명령을 각각 처 리하므로 처리 속도가 빠르며, FIFO에 누적되는 정보가 분산되어 처리되므로 분실의 우려가 감소하는 효과가 있다. In addition, by configuring the cyclic FIFO, the event FIFO and the command control FIFO, it processes errors, busy information, event information, and motion control commands according to their respective roles, so that the processing speed is fast and the information accumulated in the FIFO Since it is distributed and processed, there is an effect of reducing the risk of loss.
Claims (3)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020030101501A KR100568620B1 (en) | 2003-12-31 | 2003-12-31 | Motion Control Command Queuing Device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020030101501A KR100568620B1 (en) | 2003-12-31 | 2003-12-31 | Motion Control Command Queuing Device |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20050069419A KR20050069419A (en) | 2005-07-05 |
KR100568620B1 true KR100568620B1 (en) | 2006-04-07 |
Family
ID=37259833
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020030101501A KR100568620B1 (en) | 2003-12-31 | 2003-12-31 | Motion Control Command Queuing Device |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100568620B1 (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000276629A (en) | 1999-03-26 | 2000-10-06 | Oki Electric Ind Co Ltd | Automatic transaction equipment |
JP2001235992A (en) | 2000-02-18 | 2001-08-31 | Toshiba Tec Corp | Image forming apparatus and image forming method |
KR20030081370A (en) * | 2000-12-28 | 2003-10-17 | 로보틱 워크스페이스 테크놀로지스, 인크. | Versatile robot control system |
-
2003
- 2003-12-31 KR KR1020030101501A patent/KR100568620B1/en active IP Right Grant
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000276629A (en) | 1999-03-26 | 2000-10-06 | Oki Electric Ind Co Ltd | Automatic transaction equipment |
JP2001235992A (en) | 2000-02-18 | 2001-08-31 | Toshiba Tec Corp | Image forming apparatus and image forming method |
KR20030081370A (en) * | 2000-12-28 | 2003-10-17 | 로보틱 워크스페이스 테크놀로지스, 인크. | Versatile robot control system |
Also Published As
Publication number | Publication date |
---|---|
KR20050069419A (en) | 2005-07-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6075912B2 (en) | Image processing apparatus and image processing method | |
JP2002136652A5 (en) | ||
US9614939B2 (en) | Network timeouts using intentionally delayed transmissions | |
WO2006081735A1 (en) | A watch dog control method | |
JP2009163658A (en) | I / O control device and firmware update method thereof | |
KR100568620B1 (en) | Motion Control Command Queuing Device | |
KR20090077822A (en) | Test apparatus and control method | |
JP5244082B2 (en) | Real-time distributed control system, real-time distributed control method, and robot | |
CN110856933A (en) | Control device, robot system, and control method | |
JP2002318780A (en) | Real-time control system | |
CN111752638A (en) | Automatic control platform and automatic platform control method | |
US11036204B2 (en) | Numerical controller | |
CN101639725A (en) | Device and method for processing instruction and executive control device used by same | |
US20100180279A1 (en) | Field control device and field control method | |
JP2010214503A (en) | Robot, unit controller and cooperative control method between control units | |
JP7130405B2 (en) | Programmable controller and programmable controller system | |
JP2008146527A (en) | Command processing method | |
JP4556493B2 (en) | Information processing device | |
JP2013142949A (en) | Device and method for processing image | |
JP2003330501A (en) | Program controller | |
EP1593040A1 (en) | Asynchronous communications technique | |
JP2011008495A (en) | Voice guide system for system malfunction | |
CN113965561A (en) | Airborne file transmission system based on asynchronous event driving | |
JP2006119982A (en) | Computer system | |
JPH06242970A (en) | Real-time multitask system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
PA0109 | Patent application |
Patent event code: PA01091R01D Comment text: Patent Application Patent event date: 20031231 |
|
PA0201 | Request for examination | ||
PG1501 | Laying open of application | ||
E701 | Decision to grant or registration of patent right | ||
PE0701 | Decision of registration |
Patent event code: PE07011S01D Comment text: Decision to Grant Registration Patent event date: 20060127 |
|
GRNT | Written decision to grant | ||
PR0701 | Registration of establishment |
Comment text: Registration of Establishment Patent event date: 20060331 Patent event code: PR07011E01D |
|
PR1002 | Payment of registration fee |
Payment date: 20060403 End annual number: 3 Start annual number: 1 |
|
PG1601 | Publication of registration | ||
PR1001 | Payment of annual fee |
Payment date: 20090327 Start annual number: 4 End annual number: 4 |
|
PR1001 | Payment of annual fee |
Payment date: 20100317 Start annual number: 5 End annual number: 5 |
|
PR1001 | Payment of annual fee |
Payment date: 20110302 Start annual number: 6 End annual number: 6 |
|
PR1001 | Payment of annual fee |
Payment date: 20120305 Start annual number: 7 End annual number: 7 |
|
FPAY | Annual fee payment |
Payment date: 20130304 Year of fee payment: 8 |
|
PR1001 | Payment of annual fee |
Payment date: 20130304 Start annual number: 8 End annual number: 8 |
|
FPAY | Annual fee payment |
Payment date: 20140303 Year of fee payment: 9 |
|
PR1001 | Payment of annual fee |
Payment date: 20140303 Start annual number: 9 End annual number: 9 |
|
FPAY | Annual fee payment |
Payment date: 20150302 Year of fee payment: 10 |
|
PR1001 | Payment of annual fee |
Payment date: 20150302 Start annual number: 10 End annual number: 10 |
|
PC1903 | Unpaid annual fee |
Termination category: Default of registration fee Termination date: 20220111 |