摘要 |
PROBLEM TO BE SOLVED: To provide a numerical control unit enabling an NC program to change a plurality of parameters on the basis of a machine configuration identified by conditions such as a combination of parameters.SOLUTION: A numerical control unit 1 comprises: a parameter change unit 12 changing parameters stored in a parameter storage unit 30 on the basis of operator's parameter change operation; and a parameter change monitoring unit 22 monitoring parameter change by the parameter change unit 12, and instructing an NC program execution unit 24 to start a parameter change NC program on the basis of the parameter change. In the NC program execution unit 24, a macro sentence instruction processing unit 26 analyzes the parameter change NC program, and a parameter rewrite instruction processing unit 28 processes a parameter rewrite instruction generated on the basis of an analysis result, thereby performing parameter setting such that the parameters stored in the parameter storage unit 30 are adapted to a machine configuration.SELECTED DRAWING: Figure 1 |