KR920003747B1 - Nc control method - Google Patents
Nc control method Download PDFInfo
- Publication number
- KR920003747B1 KR920003747B1 KR1019890011394A KR890011394A KR920003747B1 KR 920003747 B1 KR920003747 B1 KR 920003747B1 KR 1019890011394 A KR1019890011394 A KR 1019890011394A KR 890011394 A KR890011394 A KR 890011394A KR 920003747 B1 KR920003747 B1 KR 920003747B1
- Authority
- KR
- South Korea
- Prior art keywords
- input
- plc
- output
- command
- control
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/18—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/05—Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Human Computer Interaction (AREA)
- Manufacturing & Machinery (AREA)
- Numerical Control (AREA)
- Programmable Controllers (AREA)
Abstract
Description
제 1 도 및 제 2 도는 종래의 NC 제어에 대한 블럭도.1 and 2 are block diagrams of conventional NC control.
제 3 도는 본 발명 NC 제어에 대한 블럭도.3 is a block diagram of the present invention NC control.
제 4 도는 본 발명 NC 제어에 대한 신호 흐름도.4 is a signal flow diagram for the present invention NC control.
* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings
1 : 주변기계 2 : 입출력부1: Peripheral Machine 2: Input / Output Unit
3 : 중앙 처리부 4 : 타이머3: central processing unit 4: timer
5 : 메모리 6 : 서보인터페이스부5: Memory 6: Servo Interface Unit
7 : 서보앰프 8 : 모터7: Servo Amplifier 8: Motor
본 발명은 NC(Numerical Conroller) 제어에 관한 것으로, 특히 PLC(Programmable Logic Controll)제어용 프로그램으로 입출력 접점을 정의하여 소형 NC 제어에 적당하도록 한 PLC형 입출력 접점을 갖는 NC 제어방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to NC (Numerical Conroller) control, and more particularly, to an NC control method having a PLC type I / O contact that is defined to be suitable for small NC control by defining an I / O contact with a PLC (Programmable Logic Control) control program.
일반적으로 NC 주변기계와의 인터페이스는 전용 PLC를 부착한 대형 NC의 경우가 있고, 전용 PLC를 부착하지 않고 외부 PLC를 마련한 소형 NC의 경우가 있다.In general, the interface with the NC peripheral machine is a large NC with a dedicated PLC, and a small NC with an external PLC without a dedicated PLC.
여기서, 소형 NC의 경우는 제 1 도에 도시한 바와 같이, 외부에 설치된 PLC(32)에 의해 주변기계(31)를 제어하고, 물리적인 인터페이스 접점을 통해 NC와의 정보를 교환하여 서보계(34)를 통한 모터(35)의 상태를 읽는다.Here, in the case of a small NC, as shown in FIG. 1, the
그런데 상기와 같은 소형 NC의 경우에 있어서는 별도의 PLC가 필요하게 되므로 구성이 복잡해질 뿐아니라 NC 물리적 접점수의 한계로 인해 PLC가 NC의 상태를 충분히 감지하지 못하고, PLC가 주체로 주변기계를 제어하므로 PLC 프로그램이 어렵게 되는 문제점이 있었다.However, in the case of the small NC as described above, since a separate PLC is required, the configuration is not only complicated, but due to the limitation of the number of NC physical contacts, the PLC does not sufficiently detect the state of the NC, and the PLC mainly controls peripheral devices. Therefore, there was a problem that the PLC program is difficult.
또한, 대형 NC의 경우는 제 2 도에 도시한 바와 같이, 전용적인 PLC 중앙 처리부(13)가 메모리(14)의 프로그램을 수행하여 입출력부(12)를 통해 주변기계(11)를 제어하며, 메인중앙 처리부(18)가 서보인터페이스(19), 서보앰프(20)를 통해 모터(21)의 상태를 읽어 메모리(17)에 저장하고, 통신링크로 접속된 통신인터페이스(15)(16)를 통해 PLC 중앙 처리부(13)를 제어하게 된다.In addition, in the case of a large NC, as shown in FIG. 2, a dedicated PLC
그런데, 상기와 같이 대형 NC 경우에 있어서는 이중적인 중앙 처리부에 의해 주변기계를 제어하므로 인터페이스 제어과정이 복잡하게 되고, PLC 중앙 처리부가 주체로 되어 주변기계를 제어하므로 PLC프로그램이 어렵게 되는 문제점이 있었다.However, in the case of the large NC as described above, the interface control process is complicated because the peripheral machine is controlled by the dual central processing unit, and the PLC central processing unit is mainly used to control the peripheral machine.
본 발명은 이와 같은 종래의 문제점을 해결하기 위해서 중앙 처리부의 기능을 단일화하여 PLC 프로그램을 통해 소형 NC에 적용되는 입출력 접점을 정의함으로써 인터페이스의 범용성을 높히도록 한 PLC형 입출력 접점을 갖는 NC 제어방법을 창안한 것으로, 이를 첨부한 도면을 참조하여 상세히 설명하면 다음과 같다.The present invention provides a NC control method having a PLC type input and output contact to increase the generality of the interface by defining the input and output contacts applied to the small NC through the PLC program by unifying the function of the central processing unit to solve such a conventional problem. The invention is described in detail with reference to the accompanying drawings as follows.
제 3 도는 본 발명 NC 제어에 대한 블록도로서 이에 도시한 바와 같이, 중앙 처리부(3)에서 타이머(4)로부터 인터럽트신호를 제공받고, 메모리(5)의 프로그램을 수행하여 입출력부(2)를 통해 주변기계(1)를 제어하며, 또한 서보인터페이스(6), 서보앰프(7)를 통해 모터(8)의 상태를 점검하게 구성한다.3 is a block diagram of the NC control of the present invention, as shown therein, the
이와 같이 구성된 본 발명의 NC 제어기능을 신호 흐름도인 제 4 도에 의해 설명한다.The NC control function of the present invention configured as described above will be explained with reference to FIG.
우선 NC 제어명령을 채취(fetch)하여 NC 명령을 해석한 후 입력 또는 출력의 필요성을 판별하며, 이때 입력의 필요성으로 판별되면 소프트 접점에서 입력하고, 출력의 필요성으로 판별되면 소프트 접점에 출력하며, 입력 및 출력의 필요성이 판별되지 않게 되면 해석한 NC 명령을 수행한 후 타이머(4)로부터의 인터럽트를 대기한다.First, the NC control command is fetched to interpret the NC command, and then the necessity of input or output is determined. At this time, if it is determined that the input is necessary, the input is made at the soft contact. If the necessity of input and output cannot be determined, the interpreted NC instruction is executed and then the interrupt from the
이와 같이하여 타이머(4)에 의한 인터럽트가 걸리면 주별기계(1)의 제어에 대한 PLC 제어가 완료되지 않은 상태에서 PLC 명령을 채취한 후 해석하여 수행하고, 이후 소프트 접점에서의 출력 및 입력 명령을 판별한다.In this way, when an interrupt by the
이때 소프트 접점에서 출력 명령이 판별되거나, 소프트 접점에서의 입력 명령이 판별되면 소프트 접점에 출력하거나, 소프트 접점에서 입력하여, PLC 제어의 완료되지 않은 상태에서 PLC 명령을 수행한다.At this time, when the output command is determined at the soft contact or the input command at the soft contact is determined, the output command is output to the soft contact or input at the soft contact, and the PLC command is executed in a state in which PLC control is not completed.
또한, 실제 접점에서의 입력 명령이 판별되면, 주변기계(1)의 제어에 대한 하드웨어 실제 접점으로부터 입력을 수용하고, 실제 접점에서의 출력 명령이 판별되면, 하드웨어 실제 접점에 출력 명령을 전송한다. 여기서 PLC 제어기능이 완료되면 처음부터 되돌아가 다음 NC 명령을 수행한다.Further, if the input command at the actual contact is determined, the input is received from the hardware actual contact for control of the peripheral machine 1, and if the output command at the actual contact is determined, the output command is sent to the hardware actual contact. Here, if PLC control function is completed, go back to the beginning and execute next NC command.
따라서 소프트웨어적인 접점과 실제 접점과의 관계를 중앙 처리부(3)에서 메모리(5)의 PLC 프로그램에 의하여 정의함으로써 소형 시스템의 범용화를 꾀할 수 있고, NC 소프트웨어와 독립으로 주변기계(1)를 제어하게 되는 것이다.Therefore, by defining the relationship between the software contact point and the actual contact point by the PLC program of the memory 5 in the
이상에서 상세히 설명한 바와 같이 본 발명의 외부 PLC 또는 전용 PLC를 사용하지 않고, 중앙 처리부의 프로그램 수행에 의해 NC, PLC 명령들을 수행하게 되고, 이에 따라 전용 PLC가 부착되기 힘든 소형 NC의 범용성을 높여 종래 전용기의 복잡성을 띤 범용 NC의 개발을 가능하게 하므로 범용적인 단일설계에 의해 자동화의 비용을 절감시킬 수 있는 효과가 있다.As described in detail above, without using an external PLC or a dedicated PLC of the present invention, NC and PLC commands are executed by executing a program of the central processing unit, thereby increasing the versatility of a small NC that is difficult to attach a dedicated PLC to. Since it is possible to develop general purpose NC with the complexity of special machine, it is possible to reduce the cost of automation by general purpose single design.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019890011394A KR920003747B1 (en) | 1989-08-10 | 1989-08-10 | Nc control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019890011394A KR920003747B1 (en) | 1989-08-10 | 1989-08-10 | Nc control method |
Publications (2)
Publication Number | Publication Date |
---|---|
KR910005122A KR910005122A (en) | 1991-03-30 |
KR920003747B1 true KR920003747B1 (en) | 1992-05-09 |
Family
ID=19288819
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019890011394A KR920003747B1 (en) | 1989-08-10 | 1989-08-10 | Nc control method |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR920003747B1 (en) |
-
1989
- 1989-08-10 KR KR1019890011394A patent/KR920003747B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR910005122A (en) | 1991-03-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6356795B1 (en) | Synchronization method | |
KR890000734B1 (en) | Method of and apparatus for controlling automated device | |
KR900700936A (en) | High speed press control system | |
US20080147206A1 (en) | Control system for Real Time Applications for Cooperative Industrial Robots | |
US4648068A (en) | Memory-programmable controller | |
US4158226A (en) | Programmable controller with limit detection | |
US4627025A (en) | Memory programmable controller with word and bit processors | |
KR880000253B1 (en) | Data carrying system | |
KR920003747B1 (en) | Nc control method | |
JP2982187B2 (en) | Programmable controller | |
EP0407612B1 (en) | External extension type programmable controller | |
JPH09230913A (en) | Programming tool for programmable controller | |
JP3460747B2 (en) | Numerical control unit | |
JPS62266605A (en) | Numerical control system | |
KR0170281B1 (en) | Plc | |
KR100191491B1 (en) | Signal transmitter of numeric controller | |
KR0154438B1 (en) | Data communication apparatus and method for robot controller | |
SU732813A1 (en) | Numerical programmed control system for machine tool | |
JP2000250779A (en) | Programmable controller | |
JPS62262105A (en) | Programmable controller | |
JPH11134010A (en) | Program executing method of programmable controller | |
JPS6247706A (en) | Numerical controller | |
JPS63284604A (en) | Programmable controller | |
JPH02159605A (en) | Numerical controller | |
KR20010011683A (en) | Central Processing Unit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
G160 | Decision to publish patent application | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 19971227 Year of fee payment: 7 |
|
LAPS | Lapse due to unpaid annual fee |