Supplier of pneumatic cylinders are typically made of aluminum, so sensors can indicate end-of-stroke from outside the tube. A magnet installed internally on the piston during manufacturing allows an external magnetic field sensor to detect the motion of the piston. The magnetic detector can be placed anywhere along the length of the professional cylinder to read end-of-stroke.