distance to speed converter 51 on the other hand a function of distance s vs speed command value v shown in fig6 generally v u221a 2 u03b1s where u03b1 represents a deceleration is stored in the converter 51 and a binary number corresponding to the speed command value v 1 is outputted from its data line the d a converter 52 converts the binary number into an analog amount and sets it to the terminating deceleration command value v s v 1 when the cage 11 is continuously ascending and the detector 16 is engaged with the cam 13 at a time t 1 in fig7 its contact 16b closes accordingly the and gate 45 is opened and its output becomes a pulse 44a thus a pulse is substracted from the distance s 1 of the binary number thus preset in the counter and the counted value is delivered to the address line of the converter 51 the converter 51 extracts the speed command value corresponding to its value every time the counted value of the counter 50 is altered the speed command value is outputted through the converter 52 and the terminating deceleration command value v s starts decreasing as shown in fig7 when the cage 11 further ascends and the detector 17 is engaged with the cam 13 at a time t 2 in fig7 its contact 17b closes since the contact 18a is closed at this time the output of the osm 462 becomes 34 h 34 for a predetermined short time thus the mpx 492 and the or gate 47 similarly operate and the content of the memory 482 is transfered to the counter 50 since the binary number.