I'm looking to design a basic system that I believe requires a solenoid interlock.
The basis of the system is a swinging gate. The gate has two positions, as you might expect - open and closed. There is a process that will be run which will only run when the gate is closed and locked. A microprocessor ties together the whole control system.
So, when the process is initiated (via a button), I want the system to check whether the gate is closed. If the gate is closed, I want it to be automatically locked. Otherwise I do not want the process to run. Once the process is finished, I want the gate to be unlocked.
A part solution to this problem is the use of a limit switch or hall effect sensor, however, this doesn't help with the locking part. As far as I'm aware there are products on the market which provide both functions in one.
My first thought of a device to use is some sort of locking solenoid switch. As far as I'm aware, these can be used to detect proximity (i.e. if the gate is closed) and then used as a lock. I'm not entirely what to search for. Some products I have found seem to only be compatible with some sort of proprietary safety controllers.
In terms of compatibility, I guess what I'm looking for is a device that acts like a switch. In my head, I'm imagining that when the gate is in the closed position a contact that is NO becomes closed. Furthermore, my thoughts for the lock is that it is a solenoid controlled by a contactor or similar.
What suggestions do you have for setting up a system like this? Is there is particular type of component I should be looking for?