Rope arranging device and method based on programmable automatic controller

The invention discloses a rope-aligning device based on a programmable automatic controller and a rope-aligning thereof, which is realized by a rope-aligning device based on a programmable automatic controller. The invention includes the following steps: a rope-aligning motor rotates to help a rope-aligning roller to have linear movement on a guiding element; a reel rotation speed encoder obtains the pulse number of the represented real rotation speed; the rope-aligning motor rotation speed encoder obtains the pulse number Y of the rope-aligning motor rotation speed; now, the pulse number Y of the rope-aligning motor rotation speed represented in the theory: Y'=(M2*N*A*X)/(M1*L); the Y is compared with the Y'; when the Y is less than the Y', the rotation speed of the rope-aligning motor is increased; if the Y is more than the Y', the rotation speed of the rope-aligning motor is reduced.