The invention relates to a method for controlling at least one
linear motor (2, 14) for a
transport system (1), the at least one
linear motor (2, 14) having a plurality of coils (5a, 5b, 5c, 15a, 15b, 15c), and the
transport system (1) having a transport slide (4) having a plurality of magnets (7a, 7b, 7c, 7d) on at least one side (6a), the at least two magnets (7a, 7b, 7c, 7d) having different magnetic polarities from each other, the transport slide has a return element (8), in particular a back iron element, and wherein the control device (3) controls the at least one
linear motor (2, 14) in such a way that a longitudinal force (12b, 13b, F1L, F2L) is applied to the transport slide (4) in the longitudinal direction of the linear motor (2, 14) in order to cause a linear movement (L) of the transport slide (4) in the longitudinal direction. The method is characterized in that the control device (3) controls the at least one linear motor (2, 14) in such a way that a
transverse force (12a, 13a, F1Q, F2Q) perpendicular to the longitudinal force (12b, 13b, F1L, F2L) is applied to the transport slide (4) in order to cause a transverse movement of the transport slide (4) towards the coil (5a, 5b, 5c, 15a, 15b, 15c) or away from the coil (5a, 5b, 5c, 15a, 15b, 15c), the field change current (IQ) having a value of zero when the transverse movement of the transport slide (4) is caused.