# Safety Switches on an Enclosure

**URL:** <https://forum.avidcnc.com/t/safety-switches-on-an-enclosure/2687>\
**Category:** General Chat\
**Created:** [November 29, 2023, 10:01pm UTC](https://forum.avidcnc.com/t/safety-switches-on-an-enclosure/2687 "2023-11-29T22:01:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wes](https://avatars.discourse-cdn.com/v4/letter/w/e9c0ed/32.png) [@Wes](https://forum.avidcnc.com/u/Wes)\
**Post date:** [November 29, 2023, 10:01pm UTC](https://forum.avidcnc.com/t/safety-switches-on-an-enclosure/2687/1 "2023-11-29T22:01:58Z")

</div>

Hi, I have a couple of Avid CNC routers in my Industrial Arts classroom. I have a custom built enclosure around the machine to stop students from putting there hands where they do not belong. I am wanting to put switches on the door so that it will stop the machine if someone opens it during use. I was going to just wire them in as E-Stop switches, but I realized that I could not jog the machine with the doors open this way. I would also be asked to re-home before running any G-Code if the doors have been opened after it was homed. Any suggestions? Is there a “Soft Stop” that would stop a program, but not stop jogging if a door is opened?  
Thanks!
