KR910009239B1 - Method making data of numerical controller - Google Patents

Method making data of numerical controller Download PDF

Info

Publication number
KR910009239B1
KR910009239B1 KR1019890008201A KR890008201A KR910009239B1 KR 910009239 B1 KR910009239 B1 KR 910009239B1 KR 1019890008201 A KR1019890008201 A KR 1019890008201A KR 890008201 A KR890008201 A KR 890008201A KR 910009239 B1 KR910009239 B1 KR 910009239B1
Authority
KR
South Korea
Prior art keywords
data
processing
input
screen
machining
Prior art date
Application number
KR1019890008201A
Other languages
Korean (ko)
Other versions
KR910001508A (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 KR1019890008201A priority Critical patent/KR910009239B1/en
Publication of KR910001508A publication Critical patent/KR910001508A/en
Application granted granted Critical
Publication of KR910009239B1 publication Critical patent/KR910009239B1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Numerical Control (AREA)

Abstract

내용 없음.No content.

Description

수치제어 장치의 가공데이타 작성방법How to create processing data of numerical control device

제1도는 본 발명에 있어서, 데이타의 입력과 처리절차의 개요를 도시한 순서도.1 is a flowchart showing an outline of data input and processing procedures in the present invention.

제2도는 본 발명의 천공패턴 선택화면을 도시한 도면.2 is a view showing a punching pattern selection screen of the present invention.

제3a,b도는 본 발명의 가공패턴 정의화면(A)를 도시한 도면.3A and 3B show the processing pattern definition screen A of the present invention.

제4도는 본 발명의 가공패턴 정의화면(B)를 도시한 도면.4 is a diagram showing a processing pattern definition screen (B) of the present invention.

제5a도는 본 발명에 의한 입력형식의 예를 일반적인 데이타 명을 사용하여 테이블을 형성한 도면.5A is a diagram showing a table using common data names as an example of the input format according to the present invention.

제5b도는 제5a도의 입력형식을 평면상으로 도시한 도면.FIG. 5B is a plan view showing the input format of FIG. 5A. FIG.

제6a, b, c도는 본 발명의 가공점 연산의 개요를 도시한 순서도.6a, b, and c are flowcharts showing an outline of a machining point calculation of the present invention.

제7a도는 본 발명에 의한 데이타 입력방법을 설명하기 위한 가공예를 도시한 평면도.Fig. 7A is a plan view showing a processing example for explaining a data input method according to the present invention.

제7b도는 제7a도 부분에서 선 A-A로 자른 단면도.FIG. 7B is a cross-sectional view taken along the line A-A in the portion of FIG. 7A.

제8a~제8d도는 다른 데이타 입력방법을 설명하기 위한 가공예를 도시한 평면도로서, 제8a도는 가공된 모든 구멍을 도시한 주도면, 제8b~제8d도는 2개의 가공된 구멍을 각각 도시한 도면.8A to 8D are plan views showing processing examples for explaining different data input methods, and FIG. 8A is a main surface showing all the processed holes, and FIGS. 8B to 8D show two processed holes, respectively. drawing.

제9도는 종래의 데이타 입력처리 방법의 개요를 도시한 순서도.9 is a flowchart showing an outline of a conventional data input processing method.

제10도는 CRT에 의한 데이타 설정과 표시부를 도시한 도면.10 is a diagram showing data setting and display by CRT.

제11도는 가공정의 개시화면을 도시한 도면.11 is a view showing a start screen of a processed tablet;

제12도는 가공형상 선택화면을 도시한 도면.12 is a view showing a machining shape selection screen;

제13도는 천공형상 선택화면을 도시한 도면.13 is a view showing a perforated shape selection screen;

제14도는 천공형성 정의화면을 도시한 도면.14 is a view showing a puncturing definition screen.

제15도는 종래의 천공패턴 선택화면을 도시한 도면.15 is a view showing a conventional punching pattern selection screen.

제16도는 종래의 천공(호)패턴 정의화면을 도시한 도면.16 is a view showing a conventional puncturing (arc) pattern definition screen;

제17도는 종래의 천공(볼트구멍호)패턴 정의화면을 도시한 도면.Fig. 17 is a diagram showing a conventional puncturing (bolt hole) pattern definition screen.

제18도는 가공공저 리스트 화면을 도시한 도면.18 is a view showing a processing cooperation list screen;

제19도는 NC 데이타 출력화면을 도시한 도면.19 is a diagram showing an NC data output screen.

제20a도는 중심위치의 연산을 설명하기 위한 순서도.20A is a flowchart for explaining the calculation of the center position.

제20b도는 X-Y 좌표입력의 1예를 도시한 도면.FIG. 20B is a diagram showing an example of X-Y coordinate input. FIG.

제20c도는 R-θ 좌표입력의 1예를 도시한 도면.FIG. 20C is a diagram showing an example of R-θ coordinate input. FIG.

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

1 : CRT 표시부 2 : 조작부1: CRT display part 2: operation part

3 : 데이타 입력부 11 : 각종 데이타 표시부3: data input section 11: various data display section

12 : 반향데이타 표시부 13 : 설명과 경보정보부12: echo data display unit 13: description and alarm information unit

201~208 : 반향스위치부 210 : 표시부201 to 208: echo switch unit 210: display unit

211 : 파라미터 212 : NC 보조211: Parameter 212: NC Auxiliary

213 : 자동프로그램 214 : 상하교체 스위치213: automatic program 214: up and down switch

301 : 영자, 수자 데이타 키 302 : 입력조작 키301: alphanumeric, numeric data keys 302: input operation keys

304 : 입력키 305 : 자동프로그램 그래픽 키304: Input Key 305: Auto Program Graphic Key

310 : LED 1231~1238 : 각각의 반향데이타310: LED 1231 ~ 1238: Each reflection data

3201 : 다음 화면키 3022 : 커서키3201: Next screen key 3022: Cursor key

본 발명은 공작기계, 로보트, 레이저 가공기, 용접기 및 접착재 도포장치에 적용되는 수치제어 장치의 자동프로그램에 대한 가공데이타 작성방법에 관한 것이다.The present invention relates to a processing data generation method for an automatic program of a numerical control device applied to a machine tool, a robot, a laser processing machine, a welding machine, and an adhesive coating device.

종래의 수치제어 장치의 자동프로그램에 대한 데이타 입력 및 그 처리방법은 다음과 같다.The data input for the automatic program of the conventional numerical control device and its processing method are as follows.

제9도는 종래의 가공데이타 작성방법의 개요를 도시한 순서도이고, 제10도는 오퍼레이터가 자동프로그램 스위치, 표시 스위치, 파라미터 스위치, NC 보조 스위치 등을 조작하여 대화식으로 데이타를 입력할 때의 데이타 설정과 표시부를 도시한 설명도로서, 표시부에 표시된 데이타를 관찰한다.FIG. 9 is a flow chart showing an outline of a conventional processing data generation method. FIG. 10 shows data settings when an operator interactively inputs data by operating an automatic program switch, a display switch, a parameter switch, an NC auxiliary switch, and the like. As explanatory drawing which shows the display part, the data displayed on the display part is observed.

제10도 도시한 것과 같이, 14인치 컬러 CRT와 같은 CRT 표시부는 각종 데이타 표시부(11), 반향데이타 표시부(12) 및 설문, 경보정보 표시부(3)를 갖는다. 이하의 설명에서 인용부(″) 속의 내용은 키 스위치의 명칭이다.As shown in FIG. 10, a CRT display unit such as a 14-inch color CRT has various data display units 11, echo data display units 12, and questionnaires and alarm information display units 3. As shown in FIG. In the following description, the content in quotation marks (″) is the name of the key switch.

조작부분(2)는 반향스위치군(201)~(208), ″표시″스위치(210), ″파라미터″스위치(211), ″NC 보조″스위치(212), ″자동프로그램″스위치(213) 및 ″상하전환″스위치(214)를 포함한다.The operation part 2 includes the reverberation switch group 201 to 208, the ″ indication ″ switch 210, the ″ parameter ″ switch 211, the ″ NC auxiliary ″ switch 212, the ″ automatic program ″ switch 213 And a ″ up and down ″ switch 214.

데이타 입력부(3)은 영자, 수자키등 각종의 데이타키군, 입력조작키군(302) (″↑″ ″→″ ″↓″ 및 ″→″커서키(3022), ″다음 화면″키(3021), ″자동프로 그래픽″키(305), 입력키(304) 등을 포함) 및 조작준비와 NC 경보 표시의 LED(310)을 포함한다.The data input unit 3 includes various data key groups, such as alphabetic and digital keys, an input operation key group 302 (″ ↑ ″ ″ → ″ ″ ↓ ″ and ″ → ″ cursor keys 3022, and ″ next screen ″ keys 3021). , An " automatic graphics " key 305, input keys 304, etc.) and LEDs 310 for operation readiness and NC alarm indication.

CRT 표시부(1)은 후술하는 본 발명의 설명에 필요한 가공정의 개시화면(제11도), 가공형상 선택화면(제12도), 천공형상 선택화면(제13도), 천공가공 정의화면(제14도), 천공패턴 선택화면(제15도), 천공(호)패턴 정의화면(제16도), 천공(볼트구멍, 원)패턴 정의화면(제17도), 가공공정 리스트화면(제18도) 및 NC 데이타 출력화면(제19도)와 같이 70개 이상의 화면을 표시한다.The CRT display unit 1 is a start screen (Fig. 11), a shape selection screen (Fig. 12), a shape selection screen (Fig. 13), a perforation shape definition screen (Fig. 14 degrees), perforation pattern selection screen (Fig. 15), perforation (arc) pattern definition screen (Fig. 16), perforation (bolt hole, circle) pattern definition screen (Fig. 17), machining process list screen (Fig. 18) And 70 or more screens are displayed as shown in FIG.

자동프로그램을 갖는 종래의 입력처리방법을 제7a,b도에 도시한 바와같이 천공가공의 입력절차에 의해 설명한다.A conventional input processing method having an automatic program will be explained by the input processing for punching as shown in Figs. 7A and 7B.

제7a도는 가공물에 천공된 구멍의 위치를 도시한 평면도이고, 제7b도는 제7a도의 A-A 단면도로서 높이방향의 크기를 도시한 것이다.FIG. 7A is a plan view showing the positions of the holes drilled in the workpiece, and FIG. 7B is a sectional view taken along the line A-A in FIG. 7A, showing the size in the height direction.

입력동작은 제9도의 순서도에 의해 실행된다.The input operation is executed by the flowchart of FIG.

설명을 간단하게 하기 위해서, 본 발명에 직접 관련되지 않은 스텝 1(자동프로그램개시)에서 스텝 6(그래픽 표시)까지는 종료되었다고 가정하여 스텝 7에서부터 설명한다.For the sake of simplicity, the description will be made from step 7 assuming that steps 1 (automatic program start) to step 6 (graphical display) which are not directly related to the present invention are completed.

스텝 6이 종료된 단계에서 ″다음 화면″키(3021)(제10도)를 누르면 현재의 화면은 가공정의 개시화면(제11도)로 교체된다. 반향데이타 표시부(12)(제10도)의 ″1. 가공정의 개시″에 대응하는 반향스위치(201)(제10도)을 누르면 화면이 가공형상 선택화면(제12도)로 교체된다.If the "Next Screen" key 3021 (FIG. 10) is pressed at the end of step 6, the current screen is replaced with the start screen of the processing well (FIG. 11). ″ 1. of echo data display section 12 (FIG. 10). Pressing the echo switch 201 (FIG. 10) corresponding to "Starting of the machining well" replaces the screen with the machining shape selection screen (FIG. 12).

제7도는 천공가공에 대한 것으로서 ″1. 천공″(1211)(제12도)에 대응하는 반향스위치(201)(제10도)를 누르며, 화면은 천공형상 선택화면(제13도)로 교체되고, ″1. 천공″에 대응하는 반향스위치(201)(제10도)를 누르면, 화면은 천공형상 정의화면(제14도)로 교체된다.7 is for drilling, ″ 1. Pressing the echo switch 201 (FIG. 10) corresponding to the puncturing " 1211 (FIG. 12), the screen is replaced with the puncturing shape selection screen (FIG. 13), and " 1. When the echo switch 201 (FIG. 10) corresponding to the puncturing " is pressed, the screen is replaced with the puncturing shape definition screen (FIG. 14).

설문부(13)(제10도 및 제14도)에 표시된 데이타에 따라서 데이타 키(301)(제10도)와, ″입력″키(304)(제10도)가 동작하여 설문이 연속적으로 표시된다. 상기 표시된 설문에 의해서 대응하는 데이타를 상기 키로 입력하여 필요한 데이타의 설정을 완료한다.According to the data displayed in the questionnaire section 13 (FIGS. 10 and 14), the data key 301 (FIG. 10) and the ″ input ″ key 304 (FIG. 10) operate to continuously answer the questionnaire. Is displayed. According to the displayed questionnaire, corresponding data is inputted with the key to complete setting of necessary data.

즉, 상기 가공형상 정의(제9도의 스텝 7)가 완료된다. 이러한 조건에서, ″다음 화면″키(3021)(제10도)를 누르면 화면이 스텝 8의 가공위치 패턴정의에 대응하는 천공패턴 선택화면(제15도)로 교체된다. 제7도의 천공위치는 표시화면(11)(제15도)의 ″1. 호″패턴에 대응하고, 따라서 표시화면(11)(제15도)의 ″1. 호″패턴(1231)에 대응하는 반향스위치(201)(제10도)를 누르면 화면은 천공(호)패턴 정의화면(제16도)로 교체된다. 제16도에 도시한 화면에 의해서 데이타의 입력을 시작한다.That is, the processing shape definition (step 7 of FIG. 9) is completed. Under these conditions, pressing the " next screen " key 3021 (FIG. 10) replaces the screen with the punching pattern selection screen (FIG. 15) corresponding to the machining position pattern definition in step 8. FIG. The punching position in FIG. 7 is set to " 1. " on the display screen 11 (FIG. 15). ″ 1. of the display screen 11 (FIG. 15). When the echo switch 201 (FIG. 10) corresponding to the arc " pattern 1231 is pressed, the screen is replaced with the perforated (arc) pattern definition screen (FIG. 16). The input of data is started by the screen shown in FIG.

데이타 표시부(11)의 설문군의 ″1. 중심위치 X=( ), Y=( )″에 관해서, 화면(제7도)에는 중심위치(a, b)가 지정되어 있지 않기 때문에 오퍼레이터가 최대 약 10분간의 시간을 사용하여 직접 또는 전자 탁상계산기를 이용하여 중심위치(a, b)를 연산한다.″ 1. of the questionnaire group of the data display unit 11. As for the center position X = (), Y = () ″, the center position (a, b) is not specified in the screen (Fig. 7), so that the operator can directly or electronically Calculate the center position (a, b) using a calculator.

중심위치의 연산처리의 1예를 제20도 a~c에 의해 설명한다. 먼저, 제20b도에 도시한 것과 같이 가공시점(Xs, Ys), 가공종점(Xe, Ye) 및 반경 Rn이 입력된 경우에 있어서는 제20a도의 순서도에 따라 설명한다.An example of arithmetic processing of a center position is demonstrated by FIG. 20 a-c. First, as shown in FIG. 20B, when the processing time points Xs, Ys, the processing end points Xe, Ye, and the radius Rn are input, it demonstrates according to the flowchart of FIG. 20a.

X, Y 데이타의 유무(스텝 2000) : 유인 경우 다음과 같은 연산을 수행한다.Existence of X and Y data (Step 2000): If yes, the following operation is performed.

Figure kpo00001
Figure kpo00001

Figure kpo00002
Figure kpo00002

|XL|이 0 또는 2Rn? (스텝 2002) : NO면 0〈|XL|〈2Rn으로 유지되고(스텝 2003), YES면 중심위치(a, b)는 가공시점(Xs, Ys), 가공종점(Xe, Ye) 및 반경 Rn을 다음과 같은 식에 대입하여 구한다(스텝 2004) :| XL | is 0 or 2Rn? (Step 2002): NO surface 0 <| XL | <2Rn is maintained (step 2003), YES surface center positions a and b are machining start points (Xs and Ys), machining end points (Xe and Ye) and radius Rn. Is obtained by substituting for the following equation (step 2004):

Figure kpo00003
Figure kpo00003

Figure kpo00004
Figure kpo00004

상기 스텝(2002)에서 |XL|이 0으로 결정된 후, |YL|이 결정된다(스텝 2006). |YL|을 0〈|YL|〈2Rn로 하면 스텝(2004)로 이동한다. 즉, 상기 연산을 행하여 중심위치(a, b)를 구한다. 스텝(2006)에서 |YL|=2Rn으로 결정되면 YL이 0보다 크거나 작게 결정된다(스텝 2008). YL〉0이면, 중심위치(a, b)는 다음의 식에 의해 구한다(스텝 2009) :After | XL | is determined to be zero in step 2002, | YL | is determined (step 2006). If | YL | is 0 <| YL | <2Rn, it moves to step 2004. That is, the above calculation is performed to find the center positions a and b. If | YL | = 2Rn is determined in step 2006, YL is determined to be greater than or less than zero (step 2008). If YL> 0, the center positions a and b are obtained by the following equation (step 2009):

Figure kpo00005
Figure kpo00005

Figure kpo00006
Figure kpo00006

YL〈0이면, 중심위치(a, b)는 다음이 식에 의해 구한다(스텝 2010) :If YL <0, the center positions a and b are obtained by the following equation (step 2010):

Figure kpo00007
Figure kpo00007

Figure kpo00008
Figure kpo00008

스텝(2002)에서 |XL|=2Rn으로 결정되면 XL이 0보다 크거나 작게 결정된다(스텝 2011). YL〉0이면 중심위치(a, b)는 다음의 식에 의해서 구해진다(스텝 2012) :If | XL | = 2Rn is determined in step 2002, XL is determined to be greater than or less than zero (step 2011). If YL> 0, the center positions a and b are obtained by the following equation (step 2012):

Figure kpo00009
Figure kpo00009

Figure kpo00010
Figure kpo00010

XL〈0이면, 중심위치(a, b)는 다음의 식에 의해서 구한다(스텝 2013) :If XL <0, the center positions a and b are obtained by the following equation (step 2013):

Figure kpo00011
Figure kpo00011

Figure kpo00012
Figure kpo00012

상기 연산중 스텝(2003)에서 |XL|〉2Rn으로 결정한 경우와 스텝(2006)에서 |YL|〉2Rn으로 결정한 경우의 조건은 성립되지 않으므로 에러가 발생한다(스텝 2005와 2007).An error occurs because the conditions in the case where | XL |> 2Rn is determined in step 2003 and | YL |> 2Rn in step 2006 are not satisfied during the calculation (steps 2005 and 2007).

제20c도는 시점좌표 및 종점좌표를 각각 원점에서의 거리 Rs, Re 및 각도 θs, θe를 사용하여 표시한 경우이다. X, Y 데이타의 어느 하나의 결정이 유효함에 있어서 (스텝 2000), ″NO″이면 R, θ 데이타의 어느 하나가 유효하다고 결정하고(스텝 2014), X, Y 데이타는 R, θ 데이타를 사용한 다음 식에 의해 계산된다(스텝 2015).20C illustrates a case where the starting point coordinates and the ending point coordinates are displayed using distances Rs, Re, and angles θ s and θ e from the origin, respectively. If any one of the X and Y data is valid (step 2000), if ″ NO ″, it is determined that either of the R and θ data is valid (step 2014), and the X and Y data uses R and θ data. It is calculated by the following equation (step 2015).

Figure kpo00013
Figure kpo00013

Figure kpo00014
Figure kpo00014

Figure kpo00015
Figure kpo00015

Figure kpo00016
Figure kpo00016

연산 후 스텝(2001)로 이동되어 X, Y 데이타의 경우와 같이 처리된다. 스텝(2014)에서 R, θ 데이타가 없다고 결정되면, X, Y 데이타 및 R, θ 데이타만 처리하므로 에러가 발생한다.After the operation, the process moves to step 2001 and the processing is performed as in the case of the X and Y data. If it is determined in step 2014 that there is no R,? Data, an error occurs since only the X, Y data and the R,? Data are processed.

제20a도의 연산에 의해서 얻어지는 상기 중심위치 좌표(a, b)가 데이타 키(301)(제10도)로써 입력되고 ″입력″키(304)(제10도)로써 설정한다.The center position coordinates a and b obtained by the operation of FIG. 20A are inputted as the data key 301 (FIG. 10) and set as the &quot; input &quot; key 304 (FIG. 10).

설정 후, 데이타 표시부(11)에 있어서, 상기 의문부는 내부에 리스트된 순서에 따라 연속적으로 마련된다. 마련된 각 의문부에 대한 데이타는 상기 경우와 같이 데이타 키(301)(제10도)을 사용하여 입력하고 ″입력″키(304)(제10도)로써 설정한다.After setting, in the data display section 11, the question section is provided continuously in the order listed therein. The data for each question portion provided is input using the data key 301 (Fig. 10) and set by the &quot; input &quot; key 304 (Fig. 10).

최후의 설문 ″9. 복귀위치의 설문″에 대한 데이타 입력 및 설정이 종료된 후, ″자동프로그램 그래픽″키(305)(제10도)를 누르면 가공패턴 그래프가 표시된다.Final survey ″ 9. After the data input and setting for the questionnaire of the return position ″ are finished, the ″ automatic program graphic ″ key 305 (FIG. 10) is pressed to display a machining pattern graph.

다음에는, 표시된 화면상의 도면과 제7도를 비교하여 에러를 찾는다. 그리고 포함된 에러가 없음을 확인한 후, ″다음 화면″키(3021)(제10도)를 누르면 천공패턴 선택화면(제15도)가 다시 표시된다(제9도의 스텝 91).Next, an error is found by comparing FIG. 7 with the displayed screen. Then, after confirming that there is no error included, when the &quot; next screen &quot; key 3021 (FIG. 10) is pressed, the puncturing pattern selection screen (FIG. 15) is displayed again (step 91 in FIG. 9).

데이타가 입력, 설정되므로써, ″8. 정의종료″(1238)에 대응하는 반향스위치(208)(제10도)를 누르면 가공정의 리스트가 데이타 표시부(11)에 표시되는 동안 가공정의 시작화면(제11도)이 다시 표시된다. 리스트와 도면(제7도)을 비교하여 에러를 조사한다. 에러가 없음을 확인한 후, ″8. 가공정의 종료″(1208)에 대응하는 반향키(208)(제10도)을 누른다. 결국 스텝 71과 스텝 10(제9도)이 차례로 실행되어 화면이 가공스텝 리스트 화면(제18도)로 교체된다.As data is entered and set, ″ 8. When the echo switch 208 (FIG. 10) corresponding to the definition end &quot; 1238 is pressed, the processing definition start screen (FIG. 11) is displayed again while the definition definition list is displayed on the data display section 11. FIG. Check the error by comparing the list with the drawing (Fig. 7). After confirming there are no errors, see ″ 8. The echo key 208 (FIG. 10) corresponding to the end of the processing definition "1208 is pressed. As a result, step 71 and step 10 (FIG. 9) are executed in sequence to replace the screen with the machining step list screen (FIG. 18).

커서키(3022)(제10도)를 조작하여 설문부(13)에 리스트의 최후의 가공데이타가 표시되는 동안 ″다음 화면″키(3021)(제10도)를 누르면 스텝 11(제9도)를 실행하여 화면이 NC 데이타 형성화면(제19도)로 교체된다. 그리고 필요한 프로그램 명칭, 프로그램 수 및 ″NC 데이타 화면 ?″에 대한 ″YES″가 입력된다. 결국 NC 데이타가 작동적으로 형성되고 ″NC 데이타 작성완료″가 설문부(13)(제10도)에 표시되어 조작이 완료된다. 다음 작업을 위해서 ″다음 화면″키(3021)을 누르면 스텝 12에서 제1스텝 0으로 복귀된다.Step 11 (Fig. 9) is pressed when the ″ Next Screen ″ key 3021 (Fig. 10) is pressed while the final processing data of the list is displayed on the questionnaire section 13 by operating the cursor key 3022 (Fig. 10). ) Screen is replaced with the NC data forming screen (Fig. 19). Then the required program name, number of programs and ″ YES ″ for ″ NC data screen? ″ Are entered. As a result, NC data is operatively formed, and &quot; NC data creation complete &quot; is displayed on the questionnaire 13 (Fig. 10) to complete the operation. Pressing the &quot; next screen &quot; key 3021 for the next operation returns to first step 0 in step 12.

구멍의 피치 또는 각도가 불규칙한 간격으로 천공되는 경우, 이전까지는 데이타가 다음과 같이 입력, 설정되었다. 즉 천공(호)패턴정의 화면(제16도)에 의해서 상기 제1, 2가공점은 제1군(제8b도)으로 할당되고, 제3, 4가공점은 제2군(제8c도)으로 할당되며, 제5, 6가공점은 제3군(제8d도)으로 할당된다.If the pitch or angle of the holes were drilled at irregular intervals, the data was previously entered and set as follows. That is, the first and second machining points are allocated to the first group (Fig. 8b) by the screen of the pattern definition (perspective) (Fig. 16), and the third and fourth processing points are the second group (Fig. 8c). The fifth and sixth processing points are assigned to the third group (Fig. 8d).

데이타의 입력, 설정방법에 있어서, 가공점의 제1군 데이타는 상술한 방법(제9도)에 의해 가공형상정의(스텝 7), 가공위치 패턴정의(스텝 8) 및 그래픽 표시(스텝 9)를 차례로 실행하므로서 입력, 설정된다. 그리고 스텝 91을 거쳐서 스텝 8로 동작이 복귀되어 가공점의 제2군(제8c도)에 대한 데이타 입력, 설정이 시작된다. 또 가공위치 패턴정의(스텝 8)과 그래픽 표시(스텝 9)가 실행되고, 스텝 91에서 스텝 8로 동작이 복귀되어 가공점의 제3군(제8d도)에 대한 데이타 입력, 설정이 시작된다. 그리고 가공위치 패턴정의(스텝 8), 그래픽 표시(스텝 9), 스텝(9)이 다시 실행되어 가공점의 모든 군에 대한 데이타 입력, 설정이 이러한 방식으로 완료된다. 스텝 81과 71이 실행되고 상술의 경우와 같이 스텝 10, 11 및 12가 실행되어 동작이 완료된다.In the data input and setting method, the first group data of the machining point is defined by the above-described method (Fig. 9), the machining shape definition (step 7), the machining position pattern definition (step 8), and the graphic display (step 9). It is entered and set by executing. The operation is returned to step 8 via step 91, and data input and setting for the second group (Fig. 8C) of the machining point are started. Further, the machining position pattern definition (step 8) and the graphic display (step 9) are executed, and the operation returns to step 8 in step 91, and data input and setting for the third group of machining points (Fig. 8d) are started. . Then, the machining position pattern definition (step 8), graphic display (step 9), and step 9 are executed again, and data input and setting for all groups of machining points are completed in this manner. Steps 81 and 71 are executed and steps 10, 11 and 12 are executed as in the case described above to complete the operation.

상술한 경우는 스텝 8, 9 및 91이 데이타의 입력, 설정을 위해 3번 반복실행된다. 즉, 지름과 깊이가 같은 천공구멍에 있어서, 가공위치 패턴이 메뉴에 포함되지 않으면 지름과 깊이에 대한 데이타를 분할하여 입력할 필요가 있다. 따라서 분할의 수만큼 스텝 8, 9 및 91을 반복할 필요가 있다.In the case described above, steps 8, 9 and 91 are repeated three times for data input and setting. That is, in the drilled hole having the same diameter and depth, if the machining position pattern is not included in the menu, it is necessary to divide and input data on the diameter and depth. Therefore, it is necessary to repeat steps 8, 9 and 91 by the number of divisions.

종래의 수치제어 장치의 입력형식은 상술한 바와같이 구성되어 있다. 따라서, 중심위치가 도면에 표시되지 않은 경우, 오퍼레이터는 도면에 표시된 설치위치와 치수에 의해 미지의 데이타를 연산하여 입력하거나, 구멍의 피치 또는 각의 간격이 불규칙적으로 천공되어 위치한 경우, 구멍은 데이타를 입력하기 위한 다수의 군으로 할당된다. 따라서, 데이타 입력과 설정조작에 문제가 되었다.The input format of the conventional numerical controller is configured as described above. Therefore, when the center position is not shown in the drawing, the operator calculates and inputs unknown data based on the installation position and dimensions shown in the drawing, or when the pitch or angle interval of the hole is irregularly located, Is assigned to a number of groups for entering. Therefore, there is a problem in data input and setting operation.

따라서, 프로그램 입력조작의 효율이 낮다. 또한 가공동작이 완료되어도 연산된 데이타가 입력되면 가공 동작은 수치연산이 완료될 때까지 중지된다.Therefore, the efficiency of program input operation is low. In addition, even if the machining operation is completed, if the calculated data is input, the machining operation is stopped until the numerical operation is completed.

본 발명의 목적은 상술한 종래의 수치제어장치에 있어서의 데이타 입력 설정방법에 따른 문제점을 제거하여, 호 또는 원주상에 배열된 가공점의 데이타를 입력하는데 있어서 수동계산을 할 필요가 없고 가공점을 다수의 군으로 분할할 필요없이 데이타를 간단한 형식으로 입력할 수 있는 수치제어 장치의 가공데이타 작성방법을 제공하기 위한 것이다.The object of the present invention is to eliminate the problems caused by the data input setting method in the conventional numerical control apparatus described above, and to eliminate the need for manual calculation in inputting data of machining points arranged on an arc or circumference, and without processing. It is an object of the present invention to provide a method for creating a processing data of a numerical control device that can input data in a simple format without dividing the data into a plurality of groups.

본 발명에 따른 수치제어 장치의 가공데이타 작성방법은, 가공데이타를 표시장치와 대화식으로 입력하고, 시점과 종점좌표를 입력하는 설문부를 포함하는 화면을 마련하고, 입력된 시점과 종점좌표에 따라서 중심좌표를 연산한다.According to the present invention, there is provided a processing data generation method of a numerical control device, comprising: a screen including a questionnaire for inputting processing data interactively with a display device, inputting a starting point and end point coordinates, and a center according to the inputted starting point and end point coordinates. Calculate the coordinates.

또한 본 발명의 방법에 있어서, 호 또는 원주상의 가공점을 입력하기 위해서는 임의의 피치각을 입력하기 위한 설문부를 포함하는 화면을 마련하여 가공점 좌표을 입력된 피치각에 의해 연산하고 ″볼트 구멍의 호, 원″패턴을 천공패턴 화면에 포함시킨다.In addition, in the method of the present invention, in order to input an arc or a circumferential machining point, a screen including a questionnaire for inputting an arbitrary pitch angle is provided to calculate a machining point coordinate by the input pitch angle, Includes an arc and circle pattern on the punched pattern screen.

또한 가공순서를 지정하기 위한 본 발명의 방법에 있어서, 위치결정 방향을 입력하기 위한 설문부를 포함하는 화면을 마련하여, 가공순서를 입력된 위치방향에 의해 결정하거나 또는 가공점을 지정하기 위해서 시점가공의 유무를 입력하는 설문부를 포함하는 화면을 마련하여 입력된 시점가공의 유무에 따라 가공점을 연산한다.In addition, in the method of the present invention for designating the machining order, a screen including a questionnaire for inputting the positioning direction is provided to determine the machining order according to the input position direction or to designate a machining point. Prepare a screen including a questionnaire to enter the presence or absence of the processing point is calculated according to the presence of the input viewpoint processing.

본 발명의 방법에 있어서, 중심위치는 중심좌표가 입력되지 않은 경우에도 시점 및 종점의 좌표에 의해서 자동적으로 얻어진다. 그리고 임의의 피치각이 주어져도 좌표는 각도에 따라 자동적으로 개선하였다.In the method of the present invention, the center position is automatically obtained by the coordinates of the start point and the end point even when no center coordinate is input. And even if an arbitrary pitch angle is given, the coordinates are automatically improved according to the angle.

제2도는 제15도(종래의 방법)에 ″7. 볼트구멍 호/원″패턴을 추가하여 얻어진 천공패턴 선택화면을 도시한 것이다. 천공패턴 선택화면에 관한 방향 데이타 표시부(12)(제10도)에 부가적인 표시 ″7. 볼트구멍 호/원″(1237)을 추가하여 반향스위치(207)을 작동시킨다.FIG. 2 is in FIG. 15 (conventional method). The punching pattern selection screen obtained by adding the bolt hole arc / circle pattern is shown. Additional display on the direction data display unit 12 (FIG. 10) regarding the puncturing pattern selection screen ″ 7. Activate echo switch 207 by adding a bolt hole arc / circle 1237.

제3a도 및 (b)도는 천공(볼트구멍 호/원) 패턴정의 화면(A)를 도시한 것으로써 제16도(종래의 방법)에 ″2. 위치결정방향 CW/CCW″, ″3. 시점좌표″ , ″4. 종점좌표″, ″5. 등가분할 가공점수/등가분할각″, ″5a. 피치각″, ″6. 시점가공의 유무″ 및 ″8. 중점좌표의 방향″을 추가하여 얻는다.3A and 3B show a perforation (bolt hole arc / circle) pattern definition screen A, which is shown in FIG. 16 (conventional method). Positioning direction CW / CCW ″, ″ 3. View coordinates ″, ″ 4. End point coordinate ″, ″ 5. Equivalent Split Points / Equivalent Split Angle ″, ″ 5a. Pitch angle ″, ″ 6. Whether there is a point of time processing ″ and ″ 8. This is obtained by adding the direction of the center coordinate.

제4도는 가공패턴 정의화면(B)를 도시한 것으로써, 제17도(종래의 방법)에 ″2. 위치결정방향″ 및 ″5. 피치각″을 추가하여 얻는다.4 shows the processing pattern definition screen B, which is shown in FIG. 17 (conventional method). Positioning direction ″ and ″ 5. It is obtained by adding the pitch angle.

제4도는 제3a도 및 (b)도의 부화면으로 마련된다. 제3a도 및 (b)도의 제3의 설문 ″3. 시점좌표″입력을 스킵하면 부분화면 제3a도 및 (b)도가 제4도로 교체되고 설명 1 및 2의 데이타는 제3도의 나머지 부분에 의해 입력되고 나머지 설문부는 교체된다.4 is provided with sub-screens of FIGS. 3A and 3B. Third Questionnaire of Figures 3a and (b) ″ 3. By skipping the viewpoint coordinate &quot; input, the partial screens 3a and 3b are replaced with the fourth degree, and the data of the explanations 1 and 2 are input by the rest of FIG.

제3a도의 제5설문 ″5. 등가분할 가공점수/등가분할각″을 입력하는 것을 스킵하면 화면은 ″5a. 피치각″으로 교체되어 피치각이 자유로이 입력된다.The fifth question of FIG. 3a ″ 5. Skip typing Equivalent Split Points / Equivalent Splitting Angles and the screen will display ″ 5a. Pitch angle &quot; and the pitch angle is freely input.

제5a도는 일반적인 데이타명을 갖는 입력형식의 예를 나타낸 표이고, 제5b도는 제5a도의 입력형식의 예를 평면상에 도시한 개요도이다.FIG. 5A is a table showing an example of an input format having a general data name, and FIG. 5B is a schematic diagram showing an example of the input format of FIG. 5A on a plane.

제6a,b도 및 (c)도는 제1도의 스텝 11에 있어서 데이타의 연산순서를 도시한 순서도이다.6A, 6B and 6C are flowcharts showing the operation procedure of data in step 11 of FIG.

본 발명의 실시예를 제7도에 도시한 것과 같이 천공동작을 위한 데이타 입력순서에 의해 설명한다.An embodiment of the present invention will be described by the data input procedure for the puncturing operation as shown in FIG.

제1도는 실시예의 데이타 입력 및 처리방법의 개요를 도시한 순서도이다. 설명을 간단히 하기 위해서, 스텝 1(자동프로그램 기동) 및 스텝 6(그래픽 표시)는 처리순서에 의해 달성된다고 가정한다.1 is a flowchart showing an outline of a data input and processing method of the embodiment. For simplicity of explanation, it is assumed that step 1 (automatic program start) and step 6 (graphical display) are achieved by the processing procedure.

스텝 7은 상술한 종래의 입력방법과 같다. 스텝 8에서 가공위치 패턴정의가 실행된다.Step 7 is the same as the conventional input method described above. In step 8, the machining position pattern definition is executed.

″다음 화면″키를 누르면 화면은 제2도에 도시한 천공패턴 선택화면으로 교체된다. 제7도의 천공동작은 제2도의 ″7. 볼트구멍 호/원″에 대응한다. 따라서 반향 표시부(12)의 ″7. 볼트구멍 호/원″에 대응하는 반향 키(207)(제10도)를 누르면 화면은 제3a도와 같이 천공패턴 정의화면(A)로 교체된다. 화면에 의해 제7도의 천공 데이타의 입력을 시작한다.Pressing the "Next Screen" key changes the screen to the punching pattern selection screen shown in FIG. The drilling operation of FIG. 7 is referred to as &quot; 7. Corresponds to the bolt hole arc / circle. Therefore, ″ 7. When the echo key 207 (Fig. 10) corresponding to the bolt hole arc / circle &quot; is pressed, the screen is replaced with the perforation pattern definition screen A as shown in Fig. 3A. The screen starts inputting the puncturing data shown in FIG.

제7도의 경우는 ″(1) 중심위치″의 좌표데이타가 없으므로 ″(2) 위치결정방향″의 데이타 입력이 개시된다. 데이타 입력순서는 상술한 종래의 방법과 같다.In the case of Fig. 7, since there is no coordinate data of &quot; (1) center position &quot;, data input in &quot; (2) Positioning direction &quot; is started. The data input order is the same as the conventional method described above.

(2) 위치결정방향-----″CCW″를 입력(2) Positioning direction ----- Enter "CCW"

(3) 시점좌표-----Xs, Ys를 입력(3) Viewing coordinates ----- Input Xs, Ys

(4) 종점좌표-----Xe, Ye를 입력(4) End point coordinates ----- Enter Xe, Ye

(5) 등가분할 가공점수/등가분할각-----구멍의 수만 표시(5) Equivalent split processing score / Equivalent split angle ----- Display only the number of holes

하기 때문에 N : 4를 입력한다(30°의 등가분할각을 나타내는 경우, A ; 30°가 입력된다).Therefore, N: 4 is inputted (when an equivalent dividing angle of 30 ° is indicated, A; 30 ° is input).

(6) 시점가공의 유무-----유이면 ″1″을 입력(6) presence or absence of viewpoint processing ----- Enter ″ 1 ″

(7) 반경-----″Rn″을 입력(7) Radius ---- Enter ″ Rn ″

(8) 중심좌표 방향-----″↓″를 입력(8) Enter the center coordinate direction ----- ″ ↓ ″

(9) 표면의 높이-----″Zn″을 입력(9) Enter the height of the surface ----- "Zn"

(10) R점의 높이-----″RZn″을 입력(10) Input height ----- "RZn" of R point

(11) 최초의 높이-----″IZn″을 입력(11) input the first height ----- "IZn"

(12) 복귀높이-----″2=R점 높이″를 입력(12) Return height ----- Enter 2 = R point height

따라서 가공위치 패턴정의(스텝 8)이 달성된다.Thus, the machining position pattern definition (step 8) is achieved.

″자동프로그램 그래픽″키(305)(제10도)를 누르면 가공패턴이 표시된다. 오퍼레이터는 도면(제7도)에 대해 표시된 패턴을 직접 눈으로 검사하여 에러를 조사한다. 모든 데이타가 정확하게 입력되었는지 확인한 후 오퍼레이터가 ″다음 화면″키(3021)(제10도)를 누르면 제2도에 도시한 천공패턴 선택화면이 다시 표시된다.Pressing the &quot; automatic program graphics &quot; key 305 (Fig. 10) displays the machining pattern. The operator examines the error by visually inspecting the displayed pattern directly with respect to the figure (Fig. 7). After confirming that all data has been entered correctly, the operator presses the &quot; next screen &quot; key 3021 (FIG. 10), and the punch pattern selection screen shown in FIG. 2 is displayed again.

이러한 조건하에서, ″8. 정의종료″(1238)에 대응하는 반향스위치(208)(제10도)를 누르면 제11도에 도시한 가공정의 개시화면이 다시 표시되고, 동시에 가공정의 리스트(110)이 데이타 표시부(11)에 표시된다. 따라서 제7도의 천공데이타 입력연산이 완료되어 ″8. 가공정의종료″(1208)에 대응하는 반향키(208)(제10도)를 누르면 (제1도의 스텝 71) 제1도의 스텝 10이 실행되어 화면이 가공공정 리스트 화면(제18도)로 교체된다. 커서키(3022)(제10도)에 의하여 최종가공 공정데이타가 설문데이타부(13)에 표시되도록 ″다음 화면″키(3021)(제10도)를 누르면 스텝 11(제1도)이 실행되어 NC 데이타의 작성이 시작되고 화면이 NC 데이타 출력화면(제19도)로 교체된다.Under these conditions, ″ 8. Pressing the echo switch 208 (Fig. 10) corresponding to End of Definition &quot; 1238 again displays the processing definition start screen shown in Fig. 11 and simultaneously displays the definition definition list 110 on the data display section 11. Is displayed. Therefore, input operation of punched data in Fig. 7 is completed. Pressing the echo key 208 (FIG. 10) corresponding to END OF PROCESSING DEFINITION "(1208) (step 71 in FIG. 1) executes step 10 in FIG. 1 and replaces the screen with the machining process list screen (FIG. 18). do. Step 11 (FIG. 1) is executed by pressing the "Next Screen" key 3021 (FIG. 10) so that the final processing process data is displayed on the questionnaire data section 13 by the cursor key 3022 (FIG. 10). NC data creation is started and the screen is replaced with the NC data output screen (Fig. 19).

화면에서, 제7도에 관한 천공데이타의 입력에 초기 설정된 프로그램 명칭 및 프로그램의 번호, 그리고 NC 데이타 작성 OK를 입력하면 NC 데이타의 작성이 시작된다.On the screen, when the program name and program number initially set in the input of the punching data according to FIG. 7 and the NC data creation OK are input, the creation of the NC data is started.

NC 데이타의 작성에 있어서는 실시예에서 종래의 방법과 다른 데이타 입력을 요구하기 때문에 종래의 방법과 다른 방식의 데이타를 처리해야 한다. 따라서, 종래의 방법에 의해 처리(본 발명과 직접 관계가 없으므로 설명을 생략한다)하기 전에 좌표연산이 실행된다(제6도).In the generation of NC data, since the embodiment requires data input different from the conventional method, data of a method different from the conventional method must be processed. Therefore, the coordinate calculation is executed before the processing (the description is omitted since it is not directly related to the present invention) by the conventional method (Fig. 6).

제7도에 의해 입력된 데이타는 제6a~c도에 도시한 순서도에 의해 다음과 같이 처리된다. 다음의 설명에 있어서, 괄호안의 숫자는 순서도의 스텝번호와 경로번호를 표시한다.The data input by FIG. 7 is processed as follows by the flowchart shown in FIGS. 6A to 6C. In the following description, numbers in parentheses indicate step numbers and path numbers in the flowchart.

시작(100)--중심위치 입력(101) : 무(10102)--시점과 종점데이타(1011) : 유(10103)--X, Y 데이타(1012) : YES(10107)--위치결정 방향(1016) : 유(10111)--등가분할 가공점수/등가분할각(105) : 유(10501)--시점가공(106) : 유(10601)--시점가공시의 데이타 처리(107)--반경(108) : 유(10801)--중심위치의 방향(109) : 유(10901)--중심위치 연산 서브루틴(110)--가공점좌표 연산 서브루틴(111)--종래 방식의 처리 흐름과 같은 방식으로 연산이 수행된다.Start (100)-Enter center position (101): No (10102)-Start and end data (1011): Yes (10103)-X, Y data (1012): YES (10107)-Positioning direction (1016): Oil (10111)-Equivalent Split Processing Points / Equivalent Split Angle (105): Oil (10501)-View Processing (106): Play (10601)-Data Processing at Start Processing (107)- Radius 108: U (10801)-Direction of center position (109): U (10901)-Center position calculation subroutine (110)-Machining point coordinate calculation subroutine (111)-Conventional method The operation is performed in the same way as the processing flow.

따라서, 중심위치와 가공점 좌표는 수치제어 장치의 소프트웨어로 처리될 수 있다. 따라서 종래의 수동계산에 의한 중심위치 연산은 생략될 수 있다. 중심위치 연산처리 순서의 예는 소프트웨어로 마련되어 중심위치 연산 서브루틴(110)에 결합되어 있다.Therefore, the center position and the machining point coordinates can be processed by the software of the numerical control device. Therefore, the center position calculation by the conventional manual calculation can be omitted. An example of the center position calculation processing sequence is provided in software and coupled to the center position calculation subroutine 110.

본 발명의 다른 실시예로서, 제8a도에 도시한 것과 같이 가공구멍을 위한 데이타 입력과 그 처리 방법을 설명한다. 처리의 흐름은 제1도에 도시한 것과 거의 같다. 상술의 경우와 같이 데이터 처리의 연산은 종래의 방법과 같은 방식으로 스텝 7 이전에 달성된다고 가정하여, 연산은 스텝 8의 가공위치 패턴정의에서 부터 설명한다.As another embodiment of the present invention, data input for a processing hole and a processing method thereof will be described as shown in FIG. 8A. The flow of processing is almost the same as shown in FIG. As in the case described above, assuming that the calculation of the data processing is accomplished before step 7 in the same manner as in the conventional method, the calculation is explained from the machining position pattern definition in step 8.

″다음 화면″키(3021)(제10도)를 누르면 화면이 제2도에 도시한 천공패턴 선택화면으로 교체되고, 제8a도의 천공연산은 제2도의 ″7. 볼트구멍 호/원″에 해당한다. 따라서, 반향키(207)(제10도)는 반향데이타 표시부(12)의 ″7. 볼트구멍 호/원″에 해당하므로 화면은 제3a도에 도시한 천공패턴 정의화면(A)로 교체된다. 화면에 의해서 제8a도에 표시된 천공 데이타가 입력된다. 데이타 입력순서는 상술한 종래의 방법과 같다.Pressing the &quot; Next Screen &quot; key 3021 (FIG. 10) replaces the screen with the punching pattern selection screen shown in FIG. 2, and the puncturing operation of FIG. Corresponds to a bolt hole arc / circle ". Therefore, the echo key 207 (FIG. 10) is set to &quot; 7. &quot; Bolt hole arc / circle &quot;, the screen is replaced with the punching pattern definition screen A shown in Fig. 3A. The perforation data shown in Fig. 8A is input by the screen. The data input order is the same as the conventional method described above.

(1) 중심위치--Xa, Yb를 입력(1) Center position--Enter Xa, Yb

(2) 위치결정방향--CCW를 입력(2) Positioning direction-input CCW

[(3) 시점좌표--무, 따라서 스킵되고, 화면은 제4도에 도시한 천공패턴 정의화면(B)로 교체된다.]((3) Viewing coordinates--no, and therefore skipped, the screen is replaced with the puncturing pattern definition screen B shown in FIG. 4.]

(3)반경--Rn을 입력(3) Radius--Enter Rn

(4) 시작각도--S을 입력(4) Start angle--Enter S

(5) 피치각도--임의의 V를 입력, 제1도의 스텝 83과 8의 루프가 실행되고 P1, P2, P3, P4, P5및 P6가 입력된다.(5) Pitch angle-Input arbitrary V, loops of steps 83 and 8 of FIG. 1 are executed, and P 1 , P 2 , P 3 , P 4 , P 5 and P 6 are input.

(6) 계수--″6″을 입력(또는 입력을 스킵)(6) coefficient--enter ″ 6 ″ (or skip input)

(7) 표면높이--Zn을 입력(7) Surface height--Enter Zn

(8) R점 높이--RZn을 입력(8) R point height--Enter RZn

(9) 최초의 높이--IZn을 입력(9) Initial Height--Enter IZn

(10) 복귀높이--2=R점 높이를 입력한다.(10) Return height --2 = Enter the R point height.

따라서 스텝 8의 가공위치 패턴정의가 완료된다.Therefore, the machining position pattern definition of step 8 is completed.

″자동프로그램 그래픽″키(305)(제10도)를 누르면 가공패턴이 표시되므로 오퍼레이터는 제8a도 부분에 대해 패턴을 검사하여 데이타의 입력연산에 있어서의 에러를 조사한다. 모든 데이타가 정확히 입력된 것을 확인한 후 오퍼레이터는 ″다음 화면″키(3021)(제10도)를 누름으로서 천공패턴 선택화면이 다시 표시된다. 스텝 10까지의 처리순서는 상술한 실시예와 같다.When the &quot; automatic program graphics &quot; key 305 (Fig. 10) is pressed, the machining pattern is displayed, so the operator checks the pattern for the part of Fig. 8A to check for errors in the data input operation. After confirming that all data has been correctly input, the operator presses the ″ Next screen ″ key 3021 (FIG. 10) to display the punching pattern selection screen again. The procedure up to step 10 is the same as in the above-described embodiment.

NC 데이타 출력화면(제19도)에 있어서, 제8a도의 천공데이타를 입력하기 위해 초기 설정(제1도의 스텝 2)된 프로그램 명, 프로그램 라벨 번호 및 NC 데이타 작성 OK가 입력되어서 NC 데이타의 작성이 시작된다.On the NC data output screen (FIG. 19), the program name, program label number, and NC data creation OK, which are initially set (step 2 in FIG. 1), are inputted to input the punch data of FIG. Begins.

NC 데이타의 작성은 종래의 방법과는 다른 데이타 연산을 요구한다. 따라서, 종래 방식의 처리 흐름이 전(본 발명에 직접 관련되지 않으므로 설명을 생략한다)에 좌표연산이 실행된다(제6도).The creation of NC data requires a data operation different from the conventional method. Therefore, the coordinate calculation is performed before the conventional process flow (omit the description since it is not directly related to the present invention) (Fig. 6).

제8a도에 관해서 입력된 데이타는 제6도의 순서도에 의해 다음과 같이 처리된다. 즉 시작(100)--중심위치 입력(101) : 유(10101)--위치결정방향(102) : 유(10201)--시점좌표(103) : 무(10302)--반경(1031) : 유(10303)--시작각도(1032) : 유(10304)--피치각도 C ? (1033) : NO(10310)--피치각도 V ? (1038) : YES(103111)--P1~Pn(1039) : 유(10312)--가공점 연산 서브루틴(1040)--스텝(10313 및 11101)의 방식으로 좌표를 연산한다.The data entered with respect to FIG. 8A is processed as follows by the flowchart of FIG. That is, start (100)-center position input (101): existence (10101)-positioning direction (102): existence (10201)-view coordinate (103): nothing (10302)-radius (1031): U (10303)-Start Angle (1032): U (10304)-Pitch Angle C? (1033): NO (10310)-Pitch angle V? (1038): YES (103111)-P 1 to P n (1039): existence (10312)-process point calculation subroutine 1040--steps 10313 and 11101 to calculate coordinates.

따라서, 이전까지 데이타 분할모드로 세 번 반복했던 데이타 입력연산을 한 번에 완료할 수 있다.Therefore, the data input operation that has been repeated three times in the data division mode before can be completed at once.

중심위치의 입력을 생략한 테이블형 데이타 입력방법의 상기 예(제5a도의 (a)에 해당)에 부가하여 제5a도의 (b)~(h)로 표시한 것과 같이 여러 가지 예를 이용할 수 있다.In addition to the above example (corresponding to (a) of FIG. 5A) of the tabular data input method in which the center position is omitted, various examples can be used as indicated by (b) to (h) of FIG. 5A. .

이러한 예에 있어서, 다음의 데이타는 상술한 실시예와 같은 방식으로 공동 입력된다.In this example, the following data is jointly input in the same manner as in the above-described embodiment.

위치 방향 : CW/CCWLocation direction: CW / CCW

시점 좌표 : Xs, Ys/θs, Rs, 종점 좌표 : Xe, Ye/θe, Re, 가공점수/등가분할각 : Nn/An, 시점가공의 유무 : I/O, 반경 : Rn, 중심방향 : ←/→/↓/↑Start Coordinates: Xs, Ys / θ s , R s , End Coordinates: Xe, Ye / θ e , R e , Machining Points / Equivalent Dividing Angle: Nn / An, With or without Machining: I / O, Radius: Rn, Direction: ← / → / ↓ / ↑

실시예에 있어서, X-Y 좌표계가 사용되었으나, X-Y 좌표계 대신 Y-Z 좌표계의 X-Z 좌표계를 사용해도 좋다. 또 ″가공점수/등가분할각″ 대신 ″임의의 피치각″을 입력할 수 있는 상술한 나중의 예와 같이 제6도의 순서도에 의해 처리가 실행된다.In the embodiment, although the X-Y coordinate system is used, the X-Z coordinate system of the Y-Z coordinate system may be used instead of the X-Y coordinate system. The processing is executed by the flowchart shown in FIG. 6 as in the later example described above in which ″ any pitch angle ″ can be entered instead of ″ processing score / equivalent division angle ″.

중심위치가 입력되지 않은 경우에 천공정의 화면(A)(제3a도)의 ″5. 등가분할 가공점수/등가분할각″이 스킵되면 제3b도에 도시한 화면이 표시되어 임의의 피치각이 입력된다.″ 5. of screen A (Fig. 3a) of the cloth process when the center position is not entered. If the equivalent division processing score / equivalent division angle &quot; is skipped, the screen shown in Fig. 3B is displayed and an arbitrary pitch angle is input.

본 발명의 상기 실시예에서는 표시장치가 CRT(음극선관)로 구성되나 CRT 대신에 도트 매트릭스형 표시장치를 사용해도 좋다.In the above embodiment of the present invention, the display device is composed of a CRT (cathode ray tube), but a dot matrix display device may be used instead of the CRT.

본 발명의 방법은 공작기계, 로보트 및 레이저 가공장치 뿐만 아니라 스포트 용접기, 아크 용접기, 플러그 용접기, 가스 용단기 및 접착재 도포기에도 적용할 수 있다. 예를들면 스포트 용접기에 있어서, 본 발명의 상기 실시예는 용접점을 가공위치로 생각하여 적용할 수 있고 접착제 도표장치의 경우에 있어서는 도표 위치를 가공위치로 생각할 수 있다.The method of the present invention is applicable not only to machine tools, robots and laser processing apparatuses, but also to spot welders, arc welders, plug welders, gas blowers and adhesive applicators. For example, in a spot welding machine, the above embodiment of the present invention can be applied by considering a welding point as a machining position, and in the case of an adhesive table apparatus, a table position can be considered as a machining position.

이상과 같이 본 발명에 의하면 수치제어 장치를 위한 대화식 입력형식에 있어서, 중심위치가 생략되고 호 또는 원주상의 임의의 분할각점에 구멍을 뚫기 위한 데이타가 입력될 수 있다. 따라서 중심위치를 수동계산 할 필요가 없고 분할방식으로 데이타를 입력할 필요도 없다. 결국 대화식 데이타의 입력스텝의 수가 감소되어 프로그램 입력능력이 향상된다. 또 프로그램하는 동안 가공연산의 정지 빈도수가 줄어들어 공작기계 등의 가동능률이 향상된다.As described above, according to the present invention, in the interactive input format for the numerical control device, the center position is omitted, and data for drilling a hole at an arbitrary division angle on the arc or the circumference can be input. Therefore, there is no need to manually calculate the center position, and there is no need to enter data in a split method. As a result, the number of interactive data input steps is reduced, thereby improving program input capability. It also reduces the frequency of machining operations during programming, which improves the operational efficiency of machine tools.

Claims (6)

가공데이타를 표시부와 대화식으로 입력하는 가공데이타 작성방법에 있어서, 가공점상의 호 또는 원주에 관한 다수의 설문부를 상기 표시부에 연속적으로 표시하기 위한 수단과 상기 표시부의 호 또는 원주상에 가공점을 표시하는 설문부에 응답하여 입력된 데이타에 의해 상기 호 또는 원주의 중심좌표를 마련하기 위한 수단으로 구성되고, 상기 입력데이타는 적어도 가공점의 시점과 종점의 좌표를 포함하는 수치제어 장치의 가공데이타 작성방법.A processing data preparation method for interactively inputting processing data into a display unit, the method comprising: means for continuously displaying a plurality of questionnaire sections relating to arcs or circumferences on a processing point and the processing points on the arcs or circumferences of the display unit; Means for arranging the center coordinates of the arc or the circumference based on the data input in response to the questionnaire, wherein the input data includes at least machining coordinates of the numerical control device including coordinates of the starting point and the ending point of the machining point. Way. 가공데이타를 표시부와 대화식으로 입력하는 가공데이타 작성방법에 있어서, 가공점상의 호 도는 원주에 관한 다수의 설문부를 상기 표시부에 연속적으로 표시하기 위한 수단과 상기 표시부의 호 또는 원주상에 상기 가공점을 표시하는 설문부에 응답하여 입력된 데이타에 의해 호 또는 원주의 중심위치의 좌표를 마련하기 위한 수단으로 구성되고 상기 입력데이타는 적어도 임의의 피치각을 포함하는 수치제어 장치의 가공데이타 작성방법.In a processing data preparation method for inputting processing data interactively with a display unit, arcing on a processing point means means for continuously displaying a plurality of questionnaire sections about a circumference on the display unit, and the processing point on the arc or circumference of the display unit. And means for providing coordinates of the center position of the arc or the circumference by the data input in response to the questionnaire to be displayed, wherein the input data comprises at least an arbitrary pitch angle. 특허청구의 범위 제1항에 있어서, 상기 입력데이타는 적어도 위치 결정 방향을 포함하고 가공순서는 입력된 상기 위치결정 방향에 의해 연산되는 수치제어장치의 가공데이타 작성방법.The method according to claim 1, wherein the input data includes at least a positioning direction and the processing order is calculated by the inputted positioning direction. 특허청구의 범위 제2항에 있어서, 상기 입력데이타는 위치결정 방향을 포함하고, 가공순서는 입력된 상기 위치결정 방향에 의해 연산되는 수치제어장치의 가공데이타 작성방법.The method according to claim 2, wherein the input data includes a positioning direction, and the processing order is calculated by the inputted positioning direction. 특허청구의 범위 제1항에 있어서, 가공점을 지정하기 위해서 상기 입력데이타는 시점가공의 유무를 입력하기 위한 데이타를 포함하는 수치제어장치의 가공데이타 작성방법.The method of claim 1, wherein the input data includes data for inputting the presence or absence of viewpoint processing in order to designate a machining point. 특허청구의 범위 제2항에 있어서, 상기 입력데이타는 가공점을 지정하기 위해서 시점가공의 유무를 입력하기 위한 데이타를 포함하는 수치제어장치의 가공데이타 작성방법.The method according to claim 2, wherein said input data includes data for inputting the presence or absence of viewpoint processing in order to designate a machining point.
KR1019890008201A 1989-06-14 1989-06-14 Method making data of numerical controller KR910009239B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019890008201A KR910009239B1 (en) 1989-06-14 1989-06-14 Method making data of numerical controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019890008201A KR910009239B1 (en) 1989-06-14 1989-06-14 Method making data of numerical controller

Publications (2)

Publication Number Publication Date
KR910001508A KR910001508A (en) 1991-01-31
KR910009239B1 true KR910009239B1 (en) 1991-11-07

Family

ID=19287107

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019890008201A KR910009239B1 (en) 1989-06-14 1989-06-14 Method making data of numerical controller

Country Status (1)

Country Link
KR (1) KR910009239B1 (en)

Also Published As

Publication number Publication date
KR910001508A (en) 1991-01-31

Similar Documents

Publication Publication Date Title
US4788636A (en) Interactive device for entering graphic data
US4979128A (en) Method of deciding robot layout
JPH07111646B2 (en) Part shape input method
EP0348522B1 (en) Method of inputting part profile
US4978901A (en) Machining data forming system for numerical control device
JPS63250707A (en) Method for inputting part shape
KR910009239B1 (en) Method making data of numerical controller
EP0355166B1 (en) Picture element correction method
US5146402A (en) Profile definition method
US5043865A (en) Profile revising method
KR20190082118A (en) Method of designing perforation of building materials with steel structure
JPH01200413A (en) Production of analogous part program
JPH01162904A (en) Automatic programming device
US5065332A (en) Figure element revising method
US5072398A (en) Figure definition method in automatic programming
JPH06202721A (en) Numerical control information generating device
JPS61136103A (en) Numerical controller for machine tool
EP0332703A1 (en) Data input system
JP3977458B2 (en) Interactive automatic programming device
JPH1091228A (en) Method for preparing machining data of numerical control device
JP3437218B2 (en) Method and device for confirming and editing machining data in automatic programming device
EP0345355A1 (en) Interactive nc apparatus
JPH07334696A (en) Table preparation system
JP3615230B2 (en) CAD system
JPH039808B2 (en)

Legal Events

Date Code Title Description
A201 Request for examination
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: 19981020

Year of fee payment: 8

LAPS Lapse due to unpaid annual fee