The sensor on the cylinder is the cylinder magnetic induction switch (the magnetic ring must be installed on the cylinder piston ring).
The cylinder magnetic induction switch determines the number and installation position based on the need to control the cylinder and the detection signal. Magnetic induction switches are typically mounted at both ends of the cylinder stroke.
The magnetic switch is installed on one cylinder, which is to obtain the detection signal at the middle of the stroke, so that the cylinder stops at this time, or turns to slow speed, or immediately, or the detection signal is transmitted to other actuators. Perform other actions, or other use signals, etc. to control the need. It doesn't have to be that there is action on your cylinder.
The magnetic switch setting is also available (only one detection signal is required), and there are also several (more positions are needed to detect the sensing signal).