摘要 |
PROBLEM TO BE SOLVED: To eliminate an error in command position by calculating an acceleration/ deceleration curve for a command speed in consideration of previously specified acceleration and change in the rate of acceleration and regarding acceleration/deceleration command positions, calculated by every sample time according to the acceleration/ deceleration curve, as command positions. SOLUTION: An NC command part 1 analyzes an NC program inputted thereto and generates data of a moving block such as a target position and a target speed. When a current moving block in execution is completed, a position command part 2 receives data of a next moving block from an NC command part 1 and an acceleration/deceleration process part 3 in the position command part 2 calculates command position by every sample time in consideration of a command speed. Then the position command part 2 calculates the acceleration/deceleration curve in consideration of speed acceleration and deceleration by bringing the previously specified acceleration and the time required for arriving at the acceleration, i.e., change in the rate of acceleration in consideration and regards as command positions the acceleration/ deceleration command positions by every sample time calculated according to the acceleration/deceleration curve.
|