So I eluded to a wiring diagram in this thread and thought that some people may be curious. In the interest of not hijacking the thread, I’ve made a new one here. Feel free to discuss aux pin uses and other wiring topics below, this can definitely be a free-flow discussion.
Disclaimer, I’m not an electrical engineer and I’ve been known to make mistakes. If anyone sees anything wrong, please let me know. I’d like to know now before I wire everything up and fry the arduino/motor shield/router
This is very basic, and really only shows the connections from the motor controller to various components of the machine. I really just wanted to wrap my head around a couple of different features that I want to add to my machine. I am planning an electronics upgrade at some point in the relatively near future. If need be, I may make a cleaner, not hand drawn version at some point.
After I get through triangular kinematic tests, a new electrical cabinet with all these features is a top priority of mine. Once I get to that point I will do a build log.
I’d put the eStop on the 12V DC side in this diagram, switching the AC side will take longer since you need to wait for the power supply capacitance, etc, to run down.
I plan to switch the router with an SSR controlled by aux1 (moose, like SSRs, are cheap) and subject to experimental verification expect that dropping 12V will also kill the power to the router. If not it’ll take another relay to kill that. I’ve been unable to find out if shorting the router’s AC leads will make it stop faster without damaging the electronic speed control, but that’s a possible benefit of using a mechanical relay. Haven’t priced a replacement yet…
Thanks Moose! This is one of the reasons why I posted the diagram.
That makes sense that the capacitors would keep power to the shield in the configuration I have drawn. I would also like to know if dropping the 12v to the SSR will cut power to the router, we’ll have to test that out. When you say it would take another relay to shut the router down, would it simply be another SSR?
As far as hardware, are you refering to one of these? I’m still a bit new to all the different electronic components.
Yes, that’s what I meant, although I got mine from fleabay quite a bit cheaper - and slower and warranty free.
I haven’t been able to find a lot of information on how to quickly stop an AC universal motor, and it’s been so long since I studied motors and power that I don’t remember, but I think shorting their input will work. I’m sure there must be a non-electronified universal motor powered tool somewhere around here to test with that the swamp rats didn’t hide
So if i understand correctly, only aux 1 and 4 have a function right now? I’m about to start soldering the connectors, setting the z manually is starting to annoy me.
SpindlePowerControlPin = aux1; // output for controlling spindle power
LaserPowerPin = aux2; // output for controlling a laser diode
ProbePin = aux4; // use this input for zeroing zAxis with G38.2 gcode
You really don’t want to add separate components for those headers - very, very much will break. This is a part that will populatge all the AUX holes (9 x 3) See if you can just tell the board house to install this in the board without altering the PCB layout.
Estop (we would probably not rely on the arduino, but have the estops connected to a relay that shuts power to router/spindle and maslow control board/motors
Spindle on/off (this has been implemented)
Laser on/off (I would use this for laser X-hairs). For true lasercutter control we would want to implement spindle speed control so we can control laser power
Estop (we would probably not rely on the arduino, but have the estops connected to a relay that shuts power to router/spindle and maslow control board/motors
Laser on/off (I would use this for laser X-hairs). For true lasercutter control we would want to implement spindle speed control so we can control laser power
there is sufficient interest, please do implement this
Z- limit switch
6)Z+ limit switch
7/8) limit switches for chains (e.g. to detect chain wrapped around sprocket, or sled pulled against sprocket
re: limit switches, most CNC machines that I have seen use the same pin for both
limit switches on an axis, it depends on knowing what direction it was moving to
know what switch it triggered (and generally back off just enough to not trigger
the switch so that it doesn’t start up with an unknown limit switch triggered)
limit switches for the chain are very hard to do given the wide range of angles
that the chain can have. The utility of such switches is also somewhat murky,
you can’t use them for homing, and it’s not clear how much a limit switch can
protect you from chain wrap or other problems.
those would be nice features, however hardly anyone is using a spindle. the 500/600 Chinese ones are not that powerfull, require a new z axis set up and use power suppliest that require high voltage wiring something not everyone is comfortable working with.
I would be interested in the Z axis limit switches. One could simply dethread the top and bottom parts of the lead screw so it physically couldn’t ram the router too far down or up.