摘要 |
<p>A machine having a function for adjusting the position of mechanical origin of a moving part (10) that is driven by a servo motor equipped with a position detector, comprising a reference counter (16) for counting the value detected by the position detector, a storage unit (17) for storing the capacity of the reference counter of when the moving part is moved in a predetermined direction and is positioned at the position of mechanical origin, a reference counter reading unit (18) for reading the value of the reference counter of when the moving part is positioned, a counter capacity reading unit (19) for reading the counter capacity of the reference counter, and an adjustment amount calculation unit (20) for calculating the amount of adjusting the position of mechanical origin based on the value of the reference counter and on the capacity of the reference counter.</p> |