Control device, measurement system, and measurement method
A user manually operates the probe of a machine tool to move toward a workpiece. A movement history of the user's manual operation is recorded. The positional relationship between a workpiece and the probe is estimated based on the history of movement of the probe by the manual operation. The controller presents a candidate for the direction of the probe to be moved in the automatic measurement of the workpiece. The user inputs the movement direction of the probe with reference to content of the presentation.
1. A control device for an industrial machine configured to control a probe to measure the position of a workpiece, the control device comprising:
a manual operation unit configured to accept a manual operation of the probe from a user;
a movement history recording unit configured to record the history of movement of the probe by the manual operation;
a measurement program creation unit configured to create a measurement program for the workpiece;
a movement direction presentation unit configured to estimate a candidate for the movement direction of the probe based on the history of movement of the probe by the manual operation and present the user with the candidate of the movement direction of the probe to be used in the creation of the measurement program for the workpiece; and
an input unit configured to accept the user's input including the movement direction,
the measurement program creation unit being configured to create the measurement program for the workpiece using the user's input including the moving direction.
2. The control device according to claim 1 , wherein the movement history recording unit records the movement history of the manual operation as the probe is moved to a measurement start position for the workpiece.
3. The control device according to claim 1 , wherein the industrial machine has a plurality of axes, the movement history recording unit records a movement history for each of the axes, and the movement direction presentation unit presents a candidate for the movement direction for each axis to the user.
4. The control device according to claim 1 , wherein the movement direction presentation unit presents the candidate for the movement direction of the probe to the user based on the last or final-stage movement direction in the movement history.
5. The control device according to claim 1 , wherein the movement direction presentation unit presents the candidate for the movement direction of the probe to the user based on the amount of movement of the probe in the movement history.
6. The control device according to claim 1 , wherein the movement history recording unit records the amount of movement of the probe, and the movement direction presentation unit uses only movement histories with large enough amounts of movement for estimation of the movement direction.
7. A measurement system configured to control a probe to measure a workpiece, the measurement system comprising:
a manual operation unit configured to accept a manual operation of the probe from a user;
a movement history recording unit configured to record the history of movement of the probe by the manual operation;
a measurement program creation unit configured to create a measurement program for the workpiece;
a movement direction presentation unit configured to estimate a candidate for the movement direction of the probe based on the history of movement of the probe by the manual operation and present the user with the candidate of the movement direction of the probe to be used in the creation of the measurement program for the workpiece; and
an input unit configured to accept the user's input including the movement direction, the measurement program creation unit being configured to create the measurement program for the workpiece using the user's input including the movement direction.
8. A measurement method for controlling a probe to measure a workpiece, the measurement method comprising:
accepting a manual operation of the probe from a user;
recording the history of movement of the probe by the manual operation;
estimating a candidate for the movement direction of the probe based on the movement history of the probe;
presenting the user with the candidate of the movement direction of the probe to be used in the creation of the measurement program for the workpiece;
accepting the user's input including the movement direction; and
creating the measurement program for the workpiece using the user's input including the movement direction.