A linear motor, including • a stator and • at least one rotor, • wherein the stator includes at least two stator modules (11, 11), • wherein each stator module - includes a coil arrangement, which, when seen in longitudinal extension of the respective stator module, is formed from a row of consecutively disposed coils, which are wired with winding wire and connected to each other according to a wiring diagram, and - when seen in longitudinal extension of the respective stator module, includes a displacement sensor at least at one end, - wherein the coil arrangement and the at least one displacement sensor are disposed one after the other, - is disposed along a displacement path of the rotor in an area of the displacement path, • wherein each displacement sensor has a detection range, within which it can detect the rotor, as long as a portion of the at least one rotor is located in the respective detection range, • wherein each coil arrangement (13, 13) has an interaction range, within which, in case of energizing, the coil arrangement reaches interaction with the rotor and urges the latter in a driving direction, as long as a portion of the at least one rotor is located in the interaction range, • wherein the at least two stator modules (11, 11) and the at least one rotor are disposed and configured such that, at all times, a portion of the at least one rotor is located at least in the detection range of a displacement sensor and another portion of the at least one rotor is located at least in the interaction range of a coil arrangement, • wherein two directly adjacently disposed stator modules (11, 11) of the at least two stator modules (11, 11), with regard to an orientation of their displacement sensors to each other, are disposed with regard to the respective other directly adjacently disposed stator module, according to a length of the at least one rotor, according to a displacement path of the at least one rotor and according to a predetermined characteristic course of a driving force of the linear motor depending on a displacement path distance (s) of the rotor, • wherein the at least two directly adjacently disposed stator modules (11, 11) are disposed with displacement sensors facing each other. • a stator and • at least one rotor, • wherein the stator includes at least two stator modules (11, 11), • wherein each stator module - includes a coil arrangement, which, when seen in longitudinal extension of the respective stator module, is formed from a row of consecutively disposed coils, which are wired with winding wire and connected to each other according to a wiring diagram, and - when seen in longitudinal extension of the respective stator module, includes a displacement sensor at least at one end, - wherein the coil arrangement and the at least one displacement sensor are disposed one after the other, - is disposed along a displacement path of the rotor in an area of the displacement path, - includes a coil arrangement, which, when seen in longitudinal extension of the respective stator module, is formed from a row of consecutively disposed coils, which are wired with winding wire and connected to each other according to a wiring diagram, and - when seen in longitudinal extension of the respective stator module, includes a displacement sensor at least at one end, - wherein the coil arrangement and the at least one displacement sensor are disposed one after the other, - is disposed along a displacement path of the rotor in an area of the displacement path, • wherein each displacement sensor has a detection range, within which it can detect the rotor, as long as a portion of the at least one rotor is located in the respective detection range, • wherein each coil arrangement (13, 13) has an interaction range, within which, in case of energizing, the coil arrangement reaches interaction with the rotor and urges the latter in a driving direction, as long as a portion of the at least one rotor is located in the interaction range, • wherein the at least two stator modules (11, 11) and the at least one rotor are disposed and configured such that, at all times, a portion of the at least one rotor is located at least in the detection range of a displacement sensor and another portion of the at least one rotor is located at least in the interaction range of a coil arrangement, • wherein two directly adjacently disposed stator modules (11, 11) of the at least two stator modules (11, 11), with regard to an orientation of their displacement sensors to each other, are disposed with regard to the respective other directly adjacently disposed stator module, according to a length of the at least one rotor, according to a displacement path of the at least one rotor and according to a predetermined characteristic course of a driving force of the linear motor depending on a displacement path distance (s) of the rotor, • wherein the at least two directly adjacently disposed stator modules (11, 11) are disposed with displacement sensors facing each other.