A method for controlling the movement path of a storage and retrieval device with at least two movement axes (5, x, y) which can be controlled independently of one another and are operated by electric motors, in order to carry out a movement from a starting point (3) to a target point (4) in a rack storage system (1), wherein the movement sequences, necessary for a movement from the starting point (3) to the target point (4), of the individual movement axes (x, y) are pre-calculated and coordinated with one another, and the motors of the movement axes (x, y) are actuated in such a way that the storage and retrieval device carries out the movement on a pre-calculated movement path (6) which is based on a set of movement sequences, coordinated with one another, of the individual movement axes (x, y), comprising
- calculating a quantity with a plurality of sets of movement sequences which are coordinated with one another, said quantity contains at least a first set with the movement sequences which are optimized with respect to a speed of the movement, for a high-speed operating mode, and a second set with the movement sequences which are optimized or at least partially optimized with respect to a consumption of electrical energy, for an economical operating mode, and selecting the set with the movement sequences from the calculated quantity on the basis of operation parameters of the rack storage system (1) in order to actuate the motors of the movement axes (x, y) and carrying out the movement path (6).