zero position return operation

In this operation, a motor moves up to the position where the current position counter value becomes zero.
The number of output pulses is calculated and determined before starting.