Numerical control method
AssigneeFanuc Corporation
InventorsRyoichiro Nozawa, Hideaki Kawamura, Mitsuto Miyata
Life of this patent
Estimating the term…
Abstract
A numerical control method for a numerical control device which executes processing based on a machining program composed of multiple items of numerical control command data such as numerical command data and G-code data. Each item of the G-code data is expressed in the form of an alphabetic character G, a numerical value following G, and a code following the numerical value. The method includes inserting the items of G-code data in the machining program at suitable locations, subsequently discriminating the G-code data, and causing the numerical control device to execute processing specified by the discriminated G-code data.
Claims5
A method for a numerical control device which executes numerical control processing based on a machining program composed of multiple items of numerical control command data such as numerical command data and G-code data which are stored in a machining program memory in blocks, comprising the steps of:
- (a) inserting the G-code data in the machining program at appropriate locations, each item of the G-code data comprising an alphabetic character G, a first code following the alphabetic character G, and a second code following the first code, the first code defining one of several groups of items of G-code data, a storage area being provided for each group, and the first and second codes specifying a type of processing;
- (b) executing numerical control processing upon reading the machining program out of the machining program memory one block at a time;
- (c) discriminating whether read numerical control command data in the machining program is G-code data;
- (d) discriminating one of the items of G-code data;
- (e) executing, using the numerical control device, processing specified by the discriminated item of G-code data until another one of the items of G-code data belonging to the same group is discriminated;
- (f) specifying the storage area by the first code following the character G;
- (g) designating a bit position in the specified storage area by the second code;
- (h) assigning, when an item of G-code data is discriminated, only the bit position of the storage area designated by the item of G-code data a logical value of "1";
- and
- (i) assigning all other bit positions of the storage area a logical value of "0".
A numerical control method using a processor and a G-code memory to execute numerical control instructions including G-code instructions having a G-code label, a numerical value and a code, said method comprising the steps of:
- (a) reading the numerical control instructions one at a time;
- (b) determining whether the numerical control instruction is a G-code instruction;
- (c) accessing a memory location in the G-code memory designated by the numerical value if the numerical control instruction is a G-code instruction;
- (d) changing a bit designated by the code at the memory location to a first logical value if the numerical control instruction is a G-code instruction;
- (e) changing all other bits at the memory location to a second logical value if the numerical control instruction is a G-code instruction;
- and
- (f) executing numerical control processing in dependence upon the contents of the G-code memory.
Dependencies are inferred from the claim text.