Patent ID: 8098030

Claim:
A method of operating a drive unit for a door or a gate, said drive unit comprising an electric motor, a detection unit for detecting the position of said door or gate, said detection unit being coupled to said motor and providing an identical pulse sequence with every rotation of said motor, wherein the duration of one of the pulses in said sequence is different from the duration of the other pulses in said sequence which have the same duration, a non-volatile memory in which all detected pulses are stored, and an electronic control and regulating circuit including an output stage for the electric motor and at least one memory, in which an operational program is stored, said program providing a programmable learning procedure for an opening and closing movement of said door or gate based on said pulses provided by said detection unit, said program for a programmable learning procedure for an opening and closing movement of the door or gate comprising the steps of: detecting data regarding a first sequence of movement along an overall travel distance between final points “gate closed” and “gate open” of the movement of said door or gate in said detection unit, and memorizing said data regarding said first sequence of movement in said non-volatile memory.