摘要 |
PURPOSE:To obtain immediately an accurate moving amount by providing a storage means storing a feeding speed, an acceleration/deceleration time constant, a servo time constant and a delay time of the reception system of a skip signal so as to correct automatically measuring error due to a delay in acceleration/deceleration or a servo mechanism. CONSTITUTION:A tool is moved toward the axis X in a feeding sped Fm. A position counter 24 counts an output of a distribution circuit 17 to revise the position of a reference point 0 viewed from from the numerical 17 to revise the position of a reference point 0 viewed from the numerical controller. The content of the position counter 24 does not accurately represent the position of the reference point 0 during the movement. When the tip of the tool 1 is pressed into contact with a touch sensor 3, a CPU reads a position Px when viewed from the numerical controller of the reference point 0. Since some delay time exists, the read Px does not represent the actual position Px' but gives a value subjected to some lead. The CPU 10 obtains the moving amount P of the reference position 0 viewed from the numerical controller by subtracting the P0 from the Px to calculate the actual movement Pn. Since the Pn is added with the correction for moving sped of the tool, the Pn is very close to the actual moving amount P'. |