Patent ID: 11402822

Abstract:
To provide a numerical controller that can detect a position in a machining program at which a speed control abnormality is likely to occur due to an insufficient look-ahead blocks that are used to determine an acceleration/deceleration operation, and start a look-ahead processing function from the position in parallel with looking ahead at the machining program from the start of the machining program. A numerical controller includes a program execution unit that executes a machining program, a program look-ahead unit that simultaneously looks ahead at the machining program from different blocks in the machining program in parallel with execution of the machining program and that includes a first program look-ahead unit and a second program look-ahead unit, and a look-ahead allocation unit that divides a storage unit into at least a first region and a second region and instructs the first program look-ahead unit to perform a look-ahead action of storing look-ahead blocks in the first region and instructs the second program look-ahead unit to perform a look-ahead action of storing look-ahead blocks in the second region.