Control system, and control method and program for control system
AssigneeOMRON Corporation
InventorHiroshi Sawaragi
Life of this patent
Estimating the term…
Abstract
A PLC system includes a displacement sensor, drives, and a PLC. When an unmeasurable condition is detected at a data obtaining position, the PLC system moves the displacement sensor back to the position at which the unmeasurable condition is detected, and again performs measurement. When an unmeasurable condition is detected again in the measurement, the PLC system SYS moves the stage to the next data obtaining position, and again performs measurement.
Claims12
A control system, comprising:
- a measurement device configured to obtain one-dimensional information about an object;
- a drive configured to change a relative position of the measurement device relative to the object;
- and
- a controller configured to control the measurement device and the drive to obtain information about a two-dimensional shape or a three-dimensional shape of the object based on the one-dimensional information obtained by the measurement device,
- the controller comprising a processor configured with a program to perform operations comprising:
- operation as a measurement data obtaining unit configured to perform a data obtaining process for obtaining the one-dimensional information from the measurement device and positional information from the drive as measurement data while changing the relative position;
- and
- operation as a shape data generation unit configured to perform a data generation process for generating two-dimensional shape data or three-dimensional shape data based on the measurement data obtained by the measurement data obtaining unit,
- wherein the processor is configured with the program such that:
- the measurement data obtaining unit performs the data obtaining process in response to the relative position changing to a data obtaining position that is in accordance with a defined measurement interval;
- and
- in response to the data obtaining process failing, after the measurement data obtaining unit retracts the measurement device to a position in a height direction of the object at which the measurement device is not in contact with the object, the measurement data obtaining unit changes the relative position along a breadth direction of the object back to the data obtaining position at which the data obtaining process has failed, and performs the data obtaining process again at the data obtaining position to which the relative position has been changed.
A control method used by a controller for controlling a measurement device configured to obtain one-dimensional information about an object, and a drive configured to be controlled to change a relative position of the measurement device relative to the object to obtain information about a two-dimensional shape or a three-dimensional shape of the object based on the one-dimensional information obtained by the measurement device, the method comprising:
- performing a data obtaining process for obtaining the one-dimensional information from the measurement device and positional information from the drive as measurement data while changing the relative position;
- and
- performing a data generation process for generating two-dimensional shape data or three-dimensional shape data based on the measurement data, wherein:
- performing the data obtaining process comprises performing the data obtaining process in response to the relative position changing to a data obtaining position that is in accordance with a defined measurement interval;
- and
- performing the data obtaining process comprises, in response to the data obtaining process failing, after retracting the measurement device to a position in a height direction of the object at which the measurement device is not in contact with the object, changing the relative position along a breadth direction of the object back to the data obtaining position at which the data obtaining process has failed, and performing the data obtaining process again at the data obtaining position to which the relative position has been changed.
A non-transitory computer-readable recording medium storing a program for a controller that controls a measurement device configured to obtain one-dimensional information about an object, and a drive configured to be controlled to change a relative position of the measurement device relative to the object to obtain information about a two-dimensional shape or a three-dimensional shape of the object based on the one-dimensional information obtained by the measurement device, the program causing a processor included in the controller to perform operations comprising:
- performing a data obtaining process for obtaining the one-dimensional information from the measurement device and positional information from the drive as measurement data while changing the relative position;
- and
- performing a data generation process for generating two-dimensional shape data or three-dimensional shape data based on the measurement data, wherein:
- performing the data obtaining process comprises performing the data obtaining process in response to the relative position changing to a data obtaining position that is in accordance with a defined measurement interval;
- and
- performing the data obtaining process comprises, in response to the data obtaining process failing, after retracting the measurement device to a position in a height direction of the object at which the measurement device is not in contact with the object, changing the relative position along a breadth direction of the object back to the data obtaining position at which the data obtaining process has failed, and performing the data obtaining process again at the data obtaining position to which the relative position has been changed.
Dependencies are inferred from the claim text.