When the block is started by a positive edge at the “EXECUTE” input, the number of pulses required to reach the target position is calculated on the basis of the current position and the target position. If possible, the motor is then accelerated to the specified velocity and a decelerated stop is performed at the target position.