摘要 |
PURPOSE:To synchronize the drawing of a diagram and a moving position of a moving part of a machine tool by drawing the diagram on a CRT based on data of residual distance stored in a residual distance register. CONSTITUTION:A position control section 7 recognizes a moving distance of a command block of a memory 4 as an object moving distance and calculates the return distance by a return pulse inputted from position coders 5,6, and the calculation of 'object moving distance - returned distance at each sampling = residual distance' at each sampling of the returned pulse is executed and the said residual distance is written sequentially in a residual distance register 12. On the other hand, an operation display section 3 subtracts the residual distance Sn+1 of this time from the residual distance Sn of the preceding time based on the residual distance aread sequentially from the residual distance register 12 to calculate the real moving distance, gives a command to an LSI11 based on the moving shape of the present execution command block and the real moving distance to draw the diagram on the screen of the CRT10. |