Claims
- 1. A numerical control device for controlling an object (7) by a numerical control system, comprising:
- means for inputting in a single flow a machining program including NC language instructions and general purpose high level language instructions;
- control section means (3') for interpreting said instructions inputted by said inputting means and setting NC instruction data as an NC data table in the order the instructions are inputted; and
- output section means (6) for applying said NC instruction data set by said control section to said object under control;
- wherein said control section means comprises:
- language discriminating section means receiving said instructions (31) for discriminating languages used for forming said program;
- NC language interpreting means coupled to said language discriminating section means (33) for interpreting and processing machine programs of NC language instructions which are discriminated by language by said language discriminating section and for forming NC instruction data;
- high level language interpreting means coupled to said language discriminating section means (32) for interpreting and processing a machining program of high level language instructions which are discriminated by language by said language discriminating means and for forming said NC language data; and
- NC data table forming means coupled to said NC language interpreting means and said high level language interpreting means (34) for forming said NC instruction data formed by said NC interpreting means and said NC instruction data formed by said high level language interpreting means into NC instruction data in the form of a data table in the order in which said language instructions are inputted.
- 2. A numerical control device as claimed in claim 1, wherein said language discriminating means in said control means comprises means for determining whether high level language processing is being effected, and for determining whether an inputted machining program comprises a high level language start delimiter instruction and for determining whether said inputted machine program comprises a high level language end delimiter instruction, said high level language start and end delimiter instructions bracketing a set of a selected number of said higher level language instructions in said flow of said inputted machining program and wherein said NC and high level language interpreting means do not interpret nor process said high level language start and end delimiter instructions.
- 3. A numerical control device as claimed in claim 2, wherein said control means determines whether high level language processing is being effected according to the state of a high level language processing flag within said control means.
- 4. A numerical control device as claimed in claim 3, wherein said determining means in said language discriminating means determine whether said inputted machining program input comprises said high level language end delimiter instruction only when said high level language processing is being effected.
- 5. A numerical control device as claimed in claim 4, wherein said language discriminating means comprises means for turning off said high level language processing flag in response to a high level language end delimiter instruction.
- 6. A numerical control device as claimed in claim 5, wherein said language discriminating means comprises means for controlling said high level language interpreting means to operate when a machining program inputted is not a high level language end delimiter instruction.
- 7. A numerical control device as claimed in claim 3, wherein said determining means in said language discriminating means determines whether a machining program inputted is a high level language start delimiter instruction only when said high level language processing is not being effected.
- 8. A numerical control device as claimed in claim 7, wherein said language discriminating means comprises means for turning on said high level language processing flag when a machining program is a high level language start delimiter instruction.
- 9. A numerical control device as claimed in claim 8, wherein said language discriminating means comprises means for controlling said NC language interpreting means to operate when a machining program is not a high level language start delimiter instruction.
- 10. A numerical control device as claimed in claim 1 wherein said object is a machine tool.
- 11. A numerical control device as claimed in claim 1, wherein said high level language is a BASIC language.
- 12. A numerical control device as claimed in claim 1, wherein at least some of said high level language instructions include an operator, a variable operand and a constant operand.
Priority Claims (1)
Number |
Date |
Country |
Kind |
58-47475 |
Mar 1983 |
JPX |
|
Parent Case Info
This is a continuation of application Ser. No. 592,491 filed Mar. 22, 1984, now abandoned.
US Referenced Citations (9)
Foreign Referenced Citations (1)
Number |
Date |
Country |
0086843 |
|
EPX |
Continuations (1)
|
Number |
Date |
Country |
Parent |
592491 |
Mar 1984 |
|