Patent attributes
A machine tool system is disclosed which can shorten time required for generating a robot program even for a machine tool user who has no experience in using a robot. A machine tool controller includes an operation panel and an interactive program generator, and sets an operation parameter of the robot using a template screen prepared for each stylized operation of the robot. The interactive program generator generates a robot preprogram using the set operation parameter, reads the robot preprogram during execution of a machine tool program, and transfers the program to a robot preprocessor. The robot preprocessor interprets the robot preprogram and outputs a control command to a robot controller.