I am trying to find a safety sensor for a machine. The sensor should be safety rated as it will be used to detect if a cover is removed and will shut down robotics and uvc bulbs which is harmful to the service engineer (users will not have access to remove covers).
My issue is that I need one that is compact and small and also isn't ridiculously expensive as 4 of these are used per machine.
I had looked at limit switches though my main concern with them is that the contacts could fuse together over time as the switch will be pressed in the down position for about a year before a service engineer will be removing the covers.
Another type I had looked at was magnetic switches, however I was haviing issues finding one small enough. I also looked at inductive sensors.
Does anyone have any recommendations? Or any experience in safety sensor systems who can advise on the best types of sensors for my application?