Page 1 of 2

Door safety switch

Posted: Sun May 09, 2021 12:27 pm
by LenelyWolf
Hi again
I’m trying to hook up door safety switch. I expect from the cnc12 to do exactly what door safety switch should do on any other machines which is with door open
- disable cycle start with some message
- disable spindle in all modes (mdi, auto and handle)
- enable manual axis movements
I thought one of the two options in programable inputs will do exactly what it should (“SafetDoorSwitchClosed” or SafetyDoorLockConfirmed”) but they don’t. I was able to run programs and spindle with the door open in all 2 options. Does it mean that this thing must be manually programmed?

Re: Door safety switch

Posted: Sun May 09, 2021 4:23 pm
by cncsnw
Documentation on these features is a little thin. So is consensus on what, exactly, should be allowed and prohibited while the door is open.

See https://www.centroidcnc.com/centroid_di ... ctions.pdf, and try different values of Parameter 985.

Re: Door safety switch

Posted: Mon May 10, 2021 12:45 pm
by cnckeith
please post a fresh report.zip so we can see your settings. thanks,

the wizard screen shot you posted is missing the input for SafetyDoorSwitch closed.
( "SafetyDoorLockConfirmed" is a lock confirmation switch provided by the switch to confirm that the door lock is actually locked for use with a switch that provides such an function. these types of safety switches has two switches one that senses the door is open or closed the other that confirms that the lock is actually locked. example of a door lock safety switch. https://www.mscdirect.com/product/details/49794548)

what type of safety switch are you using? (there are hundreds)

Re: Door safety switch

Posted: Mon May 10, 2021 5:10 pm
by cnckeith
schematics for two common door safety switch setups have been attached to the post above. :D

one is for a simple door open switch the other is for a locking door safety switch.

Re: Door safety switch

Posted: Mon May 10, 2021 5:39 pm
by cnckeith
i think you are trying to install a simple door switch so here is how...

Acorn CNC Door Safety Interlock functionality.

Included with free with all Acorn CNC software are pre-programmed safety inputs and CNC machine tool logic. These safety functions available in the Acorn Wizard are provided as a convenience for the DIY user and are typical for use with milling machines, lathes and routers. It is the users/integrator’s responsibility to both install and test for proper operation before placing the machine tool in service, if you disagree please return the Acorn CNC control kit for a full refund.

There are two main methods for setting up safety devices on the Acorn equipped CNC machine tool.

1.) Make use of the pre-programmed safety device inputs and logic.

2.) Customize the CNC control machine tool PLC program to meet your requirements (unlimited customization is possible, door switches, light curtains, hand and foot switches and many other types of safety devices are supported with Centroid PLC logic, its up to you to configure the PLC logic to meet the machine tool safety requirements)

1.) Using the Acorn Wizard to setup safety devices. The Acorn Wizard is used to define which inputs and outputs are used for safety devices and the integrator chooses which type of typical safety logic to employ.

There are two pre-programmed methods to setup a door safety switch using the Acorn Wizard.

Door Safety Method 1: Simple switch on the door or guard of a machine tool that triggers when door is opened. This uses a single input and triggers the door safety switch PLC logic.

Door Safety Method 2: Use a combination door safety switch and interlock (won’t allow door to open when machine is in operation) such as this unit. https://www.mscdirect.com/product/details/49794548

Door Safety Method 1: Installation of a simple door safety switch and activation of Door Safety Logic.

- Wire the switch according to Acorn schematic #S190918 and use the Wizard Input menu to define that input location. Note: any unused input on the Acorn or the Ether1616 can be used wire the switch according to the schematics.

- Define the Door Safety Switch input using the Acorn Wizard Input menu. "SafetyDoorSwitchClosed"

- Test the switch action by observing the Input(s) and forcing the output ON using the CNC12 PLC diagnostic screen. More information on how to use the PLC diagnostic menu inside of CNC12 is here.
https://www.centroidcnc.com/centroid_di ... screen.pdf

- Choose the safety logic desired. Set parameter #985 to choose which type of safety logic for CNC12 to employ in conjunction with the door safety switch. In CNC12 navigate to the CNC control parameters menu. F1 setup, F3 config (enter password 137), F3 Parameters, navigate to P985 and choose a value of 1 or 2.



I'll be posting shortly more DIY details on the specifics of the Acorn Centroid provided methods here in this thread...


if you require something other than the stock safety functionality...

Centroid CNC controls can be installed on a wide variety automated equipment that require different safety devices and functionality of the CNC software. Centroid has made available the ability to accommodate and equally wide variety of safety devices and functionality. The provided Acorn pre-programmed safety functions available in the Acorn Wizard are provided as a convenience for the DIY user and are typical for use with milling machines, lathes and routers. However, it is the user/integrator’s responsibility to install and configure the safety equipment and logic to meet safety requirements and routinely test the functionality and keep a log of such testing. The Centroid CNC system is very flexible and can be made to meet most any special requirements for safety. If the machine tool safety functionality is desired to be different than the standard pre programmed logic the integrator has several choices. 1.) Edit the machine PLC program to meet their requirements.(free video series, manual and examples are available on the website) 2.) have a 3rd party edit the machine PLC program to meet their requirements 3.) have Centroid create custom machine PLC program. With all these options, a clear definition of the machine tool safety requirements is necessary.

Centroid’s PLC programming language, tools, documentation and how to videos are provided for free and are available on the website, free tech support is also available through the use of the Centroid Tech Support forum. Here are some important links.

All Acorn documentation (including this document, Acorn safety hook up schematics, PLC diagnostic menu user guide and much more.) viewtopic.php?f=60&t=3397

and for those that want to customize the safety features of their machine tool these free tools are available.

PLC programming manual https://www.centroidcnc.com/centroid_di ... manual.pdf
PLC programming video series
PLC detective tool https://www.centroidcnc.com/downloads/c ... kstart.pdf
Safety Switch PLC customization example. https://www.centroidcnc.com/dealersuppo ... ds/314.pdf

Re: Door safety switch

Posted: Tue May 11, 2021 5:47 am
by LenelyWolf
Thank you for detailed explanation. I’ve got simple switch setting on my machine without lock so now the two option makes sense. I’ve already chosen SafetyDoorSwitchClosed and changed the parameter 985 to 1 which does exactly what safety switch suppose to do without customising plc. There is just one little thing which I noticed. When the door is open and i try to run a loaded program then the machine runs it for first maybe 0.5 or 1 second before it triggers the alarm and stops everything. It doesn’t bother me on my diy machine .. just out of curiosity why is that and can it be fixed?
I will post a video of it and my latest setting report if necessary later because i do some rewiring on my machine so I don’t want to turn it on now

Re: Door safety switch

Posted: Tue May 11, 2021 1:48 pm
by cnckeith
great, please post a fresh report.zip file so we can 'see' your machine tool settings and then we can help out.

Re: Door safety switch

Posted: Tue May 11, 2021 2:55 pm
by cnckeith
a consolidated Acorn Door Safety Switch write up has been posted in the "All Acorn Documentation" thread.
viewtopic.php?f=60&t=3397
safe.PNG

Re: Door safety switch

Posted: Sat May 15, 2021 10:09 am
by LenelyWolf
Hi... so here is the video showing that the machine actually run first second then it trigger the alarm or pause while door open
https://www.dropbox.com/s/m3xlec3wwud5q ... 2.mov?dl=0

and here is my report.zip as requested
https://www.dropbox.com/s/3pxd4pwg0swbo ... 5.zip?dl=0

Re: Door safety switch

Posted: Mon May 17, 2021 2:19 pm
by Allin1Chris
Hi LenelyWolf,

Attached is a modified version of your PLC, that should resolve the delay issue. Let us know how it works!

To Install, Extract the contents of the .zip directly into your C:\cncm folder and overwrite files. Powercycle your acorn after installing the files and restart the software.