Horizontal and vertical upward
Vertical downward
[nmax,0] = min-1
Maximum permitted operating speed of the brakemotor