KR960015956B1 - Method for external controlling velocity of spindle and servo motor - Google Patents

Method for external controlling velocity of spindle and servo motor Download PDF

Info

Publication number
KR960015956B1
KR960015956B1 KR1019930030401A KR930030401A KR960015956B1 KR 960015956 B1 KR960015956 B1 KR 960015956B1 KR 1019930030401 A KR1019930030401 A KR 1019930030401A KR 930030401 A KR930030401 A KR 930030401A KR 960015956 B1 KR960015956 B1 KR 960015956B1
Authority
KR
South Korea
Prior art keywords
spindle
speed
external
code
servo motor
Prior art date
Application number
KR1019930030401A
Other languages
Korean (ko)
Other versions
KR950017090A (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 KR1019930030401A priority Critical patent/KR960015956B1/en
Publication of KR950017090A publication Critical patent/KR950017090A/en
Application granted granted Critical
Publication of KR960015956B1 publication Critical patent/KR960015956B1/en

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23QDETAILS, COMPONENTS, OR ACCESSORIES FOR MACHINE TOOLS, e.g. ARRANGEMENTS FOR COPYING OR CONTROLLING; MACHINE TOOLS IN GENERAL CHARACTERISED BY THE CONSTRUCTION OF PARTICULAR DETAILS OR COMPONENTS; COMBINATIONS OR ASSOCIATIONS OF METAL-WORKING MACHINES, NOT DIRECTED TO A PARTICULAR RESULT
    • B23Q15/00Automatic control or regulation of feed movement, cutting velocity or position of tool or work
    • B23Q15/007Automatic control or regulation of feed movement, cutting velocity or position of tool or work while the tool acts upon the workpiece
    • B23Q15/08Control or regulation of cutting velocity

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Numerical Control (AREA)
  • Control Of Electric Motors In General (AREA)

Abstract

(S1) ordering an M-code in order to control the speed of a spindle and a servo motor by using a computer; (S2) judging the completion of the M-code; (S3) switching the current mode to an external speed control mode to transmit BIT information to an NC by the external control apparatus if the M-code is completed; and (S4) controlling the speed of the spindle and the servo motor.

Description

스핀들 및 서보모터 속도의 외부제어방법External control method of spindle and servo motor speed

제1도는 본 발명의 스핀들 및 서보모터 속도의 외부제어장치의 구성을 도시하는 블록도.1 is a block diagram showing the configuration of an external control device for the spindle and servomotor speed of the present invention.

제2도는 본 발명의 스핀들 및 서보모터 속도의 외부제어방법을 도시하는 플로우차트.2 is a flowchart showing an external control method of the spindle and servomotor speed of the present invention.

제3도는 본 발명의 스핀들 및 서보모터 속도의 외부제어방법의 공정 순서도.3 is a process flowchart of the external control method of the spindle and servomotor speed of the present invention.

제4도는 본 발명의 스핀들 속도제어 비트정보를 도시하는 도표.4 is a table showing spindle speed control bit information of the present invention.

제5도는 본 발명의 서보모터 속도제어 비트정보를 도시하는 도표.5 is a table showing the servo motor speed control bit information of the present invention.

* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings

1 : NC 유니트 2 : 스핀들 모터1: NC unit 2: Spindle motor

3 : 서보모터 4 : 외부제어기3: servomotor 4: external controller

본 발명은 공작기계의 DNC 운영을 위한 스핀들 및 서보모터의 속도를 컴퓨터를 이용하여 외부에서 제어하는 외부제어방법에 관한 것이다.The present invention relates to an external control method for controlling the speed of the spindle and servomotor for the DNC operation of a machine tool from the outside using a computer.

NC 유니트에 스핀들 모터와 서보모터가 연결되어 구성된 종래의 공작기계는, 스핀들 및 서보모터의 속도를 기계본체의 조작반에서만 제어 가능하여 조작반에서 멀리 떨어져 있는 외부기기를 이용하는 경우, 가공소재의 재질과 특성을 작업자가 알 수 없기 때문에 속도제어에 불편한 점이 있었다.In the conventional machine tool configured by connecting the spindle motor and the servo motor to the NC unit, the speed and speed of the spindle and servo motor can be controlled only from the control panel of the machine body. There was an inconvenience in speed control because the operator could not know the speed.

본 발명의 목적은 상기와 같은 단점을 제거하기 위하여 안출된 것으로서, 공작기계 외부의 외부제어기기를 연결하여 가공소재의 재질과 특성에 따라 스핀들 및 서보모터의 속도를 외부제어기기에서 제어할 수 있는 스핀들 및 서보모터 속도의 제어방법을 제공하고자 하는 것이다.An object of the present invention was devised to eliminate the above disadvantages, by connecting an external control device external to the machine tool to control the speed of the spindle and servomotor from the external control device according to the material and properties of the processing material It is to provide a method of controlling spindle and servomotor speeds.

위의 목적을 달성하기 위한 본 발명의 스핀들 및 서보모터 속도의 외부제어방법은 연결된 외부제어기기, 예컨데 컴퓨터를 이용하여 스핀들 및 서보모터의 속도를 제어하기 위해 M-코드를 지령하는 단계(S1), M-코드의 완료를 판단하는 단계(S2), 상기 단계(S2)에서 M-코드가 완료된 것으로 판단되면, 외부속도제어모드로 전환되며, 외부제어기기는 비트(BIT) 정보를 출력하여 NC로 전송하는 단계(S3), 스핀들 및 서보모터의 속도가 제어되는 단계(S4)로 구성된 것을 특징으로 한다.The external control method of the spindle and servomotor speed of the present invention for achieving the above object is a step of commanding the M-code to control the speed of the spindle and the servomotor by using an external controller connected, for example, a computer (S1). In step S2 of determining the completion of the M-code, if it is determined in step S2 that the M-code is completed, the control unit enters the external speed control mode, and the external control device outputs bit information to the NC. Step (S3), the speed of the spindle and the servo motor is controlled, characterized in that consisting of a step (S4).

이하, 본 발명을 첨부된 도면들을 참조하여 상세히 설명한다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

제1도에는 본 발명의 스핀들 및 서보모터 속도의 외부제어장치가 도시되어 있는데, NC 유니트(1)에는 스핀들 모터(2)와 서보모터(3)가 연결되어 있으며, NC 유니트(1)에는 외부제어기기(4)와 입출력이 서로 연결되어 있다.1 shows an external control device of the spindle and servomotor speed of the present invention. The NC unit 1 is connected to the spindle motor 2 and the servomotor 3, and the NC unit 1 is externally connected. The controller 4 and the input / output are connected to each other.

제2도에는 본 발명의 스핀들 및 서보모터 속도의 외부제어방법의 플로우차트이다.2 is a flowchart of the external control method of the spindle and servomotor speed of the present invention.

제2도에 도시된 바대로, 본 발명의 스핀들 및 서보모터 속도의 외부제어방법은 연결된 외부제어기기, 예컨대 컴퓨터를 이용하여 스핀들 및 서보모터의 속도를 제어하기 위해 M-코드를 지령하는 단계(S1), M-코드의 완료를 판단하는 단계(S2), 상기 단계(S2)에서 M-코드가 완료된 것으로 판단되면, 외부속도 제어모드로 전환되며, 외부제어기기는 비트(BIT) 정보를 출력하여 NC로 전송하는 단계(S3), 스핀들 및 서보모터의 속도가 제어되는 단계(S4)로 구성된다.As shown in FIG. 2, the external control method of the spindle and servomotor speed of the present invention includes the step of commanding an M-code to control the speed of the spindle and the servomotor using an external controller connected, for example, a computer ( S1), in step S2 of determining completion of the M-code, and in the step S2, when it is determined that the M-code is completed, the external control device switches to the external speed control mode, and the external control device outputs bit information. It is composed of a step (S3) for transmitting to the NC, the step (S4) to control the speed of the spindle and servo motor.

부연 설명하자면, 기계와 연결된 외부제어기기, 예컨데 컴퓨터를 이용하여 스핀들 및 서보모터의 속도를 제어하려면 M-코드를 지령하고, M-코드가 완료되면, 외부속도 제어모드로 전환되며, 외부제어기기는 비트(BIT) 정보를 출력하여 NC로 전송함으로써, 스핀들 및 서보모터의 속도가 제어된다.In other words, to control the speed of the spindle and servomotor using an external control device connected to the machine, for example, a computer, an M-code is commanded, and when the M-code is completed, the external control device is switched to the external speed control mode. Outputs the bit information and transmits it to the NC, whereby the speed of the spindle and servomotor is controlled.

외부속도 제어모드는 전환된 후에는 기계의 전원이 꺼지기 전까지는 계속 유효하며, 외부속도 제어모드를 해제하고자 할 경우에는, 해제 M-코드를 지령하여 해제시킨다.After the external speed control mode is switched, it remains valid until the machine is turned off. If you want to cancel the external speed control mode, command the release M-code to release it.

제3도에는 본 발명의 외부제어방법의 공정 순서도가 도시되어 있는데, M-코드(M32)를 지령하면, 외부속도 제어모드로 전환되며 외부제어기기로부터 비트정보(X8.0, X8.1, X8.2, X8.3)가 입력되면, 스핀들 모터속도가 제어됨을 알 수 있다.3 shows a process flow chart of the external control method of the present invention. When the M-code (M32) is commanded, the external speed control mode is switched and bit information (X8.0, X8.1, If X8.2, X8.3) are input, it can be seen that the spindle motor speed is controlled.

예를들어, 스핀들 모터속도를 외부제어기기를 통하여 제어하려면 M32 코드를 지령하고, 스핀들 모터속도를 50%로 하려면, 외부제어기기를 통하여 비트정보 X8.0을 출력하면, 스핀들 모터의 속도는 제어된다.For example, to control the spindle motor speed through an external control device, command M32. To set the spindle motor speed to 50%, output bit information X8.0 through the external control device. do.

제4도 및 제5도에는 본 발명의 스핀들 및 서보모터의 속도 제어에 대한 비트정보의 예가 도시되며, 서보모터 속도제어는 제3도에는 도시되지 않았지만 M34 코드를 지령하고, 비트정보 X8.4, X8.5, X8.6 및 X8.7를 출력하면 스핀들 모터속도 제어와 같이 제어가 가능하다.4 and 5 show examples of the bit information for the speed control of the spindle and the servomotor of the present invention, the servomotor speed control commanding M34 code although not shown in FIG. 3, and the bit information X8.4 Outputs X8.5, X8.6 and X8.7 to control the spindle motor speed.

상기와 같은 본 발명의 스핀들 및 서보모터 속도의 외부제어방법은 외부제어기기에서 기계의 운전 및 프로그램 전송은 물론, 가감속을 제어할 수 있어 기계의 가공효율을 극대화시키는 효과를 제공한다.The external control method of the spindle and servomotor speed of the present invention as described above can control the acceleration and deceleration as well as the operation and program transmission of the machine in the external control device provides the effect of maximizing the processing efficiency of the machine.

Claims (1)

연결된 외부제어기기, 예컨데 컴퓨터를 이용하여 스핀들 및 서보모터의 속도를 제어하기 위해 M-코드를 지령하는 단계(S1), M-코드의 완료를 판단하는 단계(S2), 상기 단계(S2)에서 M-코드가 완료된 것으로 판단되면, 외부속도 제어모드로 전환되며, 외부제어기기는 비트(BIT) 정보를 출력하여 NC로 전송하는 단계(S3), 스핀들 및 서보모터의 속도가 제어되는 단계(S4)로 구성된 스핀들 및 서보모터 속도의 외부제어방법.In the step S1 of commanding the M-code to control the speed of the spindle and the servomotor using a connected external control device, for example, a computer, determining the completion of the M-code in step S2, and in the step S2. When it is determined that the M-code is completed, the mode is switched to the external speed control mode, and the external controller outputs the bit information and transmits it to the NC (S3), and the speed of the spindle and the servo motor is controlled (S4). External control method of spindle and servo motor speed
KR1019930030401A 1993-12-28 1993-12-28 Method for external controlling velocity of spindle and servo motor KR960015956B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019930030401A KR960015956B1 (en) 1993-12-28 1993-12-28 Method for external controlling velocity of spindle and servo motor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019930030401A KR960015956B1 (en) 1993-12-28 1993-12-28 Method for external controlling velocity of spindle and servo motor

Publications (2)

Publication Number Publication Date
KR950017090A KR950017090A (en) 1995-07-20
KR960015956B1 true KR960015956B1 (en) 1996-11-25

Family

ID=19373406

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019930030401A KR960015956B1 (en) 1993-12-28 1993-12-28 Method for external controlling velocity of spindle and servo motor

Country Status (1)

Country Link
KR (1) KR960015956B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115446397B (en) * 2022-11-09 2023-01-17 安徽明腾永磁机电设备有限公司 Permanent-magnet machine end cover tapping device that punches

Also Published As

Publication number Publication date
KR950017090A (en) 1995-07-20

Similar Documents

Publication Publication Date Title
KR920004080B1 (en) Numerical control device
US4737919A (en) Numerical control sequential translator
KR960015956B1 (en) Method for external controlling velocity of spindle and servo motor
US4954980A (en) High speed input/output module and programmable logic control device
US5485069A (en) Numerical control apparatus
US7136718B2 (en) Numerical control apparatus
US5475602A (en) Acceleration constant switching apparatus
KR100188683B1 (en) Direct numerical control system for machine tools
KR970009980A (en) Work area control method of machine tool
JPH02151909A (en) Control device for industrial machine
JP2831700B2 (en) Manual operation control device for pulse motor
JPH05274021A (en) Machining system
JPH05241637A (en) Work system
JPH01112406A (en) Numerical controller
US5184052A (en) Cooperative operation system for numberical control apparatus
KR960013715B1 (en) Controlling device for automatic tool changer and b-axis indexer simultaneously
JPH07230312A (en) Cnc system
JPS61260304A (en) Numerical controller
JPH08211918A (en) Position control system of cnc
KR100191491B1 (en) Signal transmitter of numeric controller
JPS62221007A (en) Numerical controller capable of changing distribution cycle
JPS62246451A (en) Control panel circuit for nc machine tool
JPH05274020A (en) Method and device for tool offset shape data input type numerical control
JP2694638B2 (en) Numerical control unit
JPH0236404A (en) Nc command system

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
LAPS Lapse due to unpaid annual fee