A control unit for a moveable barrier, such as a garage door, includes a microcontroller
connected to a motor speed detector, motor current sensor or a sensor for determining
forces exerted on or by the barrier. A user interface includes user actuatable
switches for setting a first maximum force value to be exerted on or by the barrier
when moving in one direction and the microcontroller automatically sets the value
of a second maximum force to be exerted on or by the barrier when moving in the
opposite direction. The second force value may be based on the force value set
by the user or the second force value may be a preset value. Both force limits
may be automatically set as a function of a maximum force exerted on said barrier
during movement thereof, during a force learning operation.