Based on this product's specifications, here are some alternatives and similar models
Panasonic L-Type PM-L45-P Photoelectric Slot Sensor Light-On Dark-On 5 - 24 V/DC
Summary description:
Panasonic L-Type PM-L45-P photoelectric slot sensor featuring light-on and dark-on switching modes. Operates on a voltage range of 5 to 24 V/DC. Designed for precise industrial automation, object detection, positioning, and counting applications requiring reliable optical sensing performance.