[0017]It is preferred that the at least one switching signal is electronically settable. The switching signals can be electronically set for different positions. No repositioning of the sensor on the pneumatic cylinder is necessary. Instead, the piston is simply moved to a desired position. A group of signal values and therewith the position switching signal for that position can be electronically set and stored.