Numerical controller which can call program described in script language
AssigneeOkuma Corporation
InventorsHiroshi Oyama, Osamu Kuzuya, Yukinori Ootsubo
Life of this patent
Estimating the term…
Abstract
A program interpreter which interprets and executes a numerical control program can recognize predetermined mnemonics (script mnemonics) prepared for instructions for setting, loading, and executing script programs. When the program interpreter recognizes the script mnemonic during interpretation and execution of the numerical control program, the program interpreter instructs execution of the script program (instance) indicated in the parameter of the mnemonic to a script engine. The script engine executes the instructed script program.
Claims11
A numerical controller which controls a machine tool based on a numerical control program, the numerical controller comprising:
- a numerical control program execution section which interprets and executes the numerical control program on a per block basis, wherein:
- the numerical control program execution section comprises:
- a function-generation calculation section which calculates, when a block of the numerical control program is a movement instruction, a function generation mode, and transmits the calculated function generation mode to a function generator;
- a script calling section which calls, when a block of the numerical control program is a script calling command, a script program described in a script language corresponding the script calling command;
- and
- a script execution section which loads and executes the script program called by the script calling section.
Dependencies are inferred from the claim text.