Here is what I plan to do -
That power tail has a relay or SSR, right?
Yes I believe it’s a relay.
I plan on having a emergency Stomp switch away from the work area. I have no desire to run toward something possibly flailing like an octopus on land. Just my thought.
Thank you
I plan to put a master shutoff switch next to the door out of the shop, hit it on the way out. Still need to figure out what that is, those mushroom eStop switches aren’t beefy enough and I’d prefer not to have an always energized relay. Wouldn’t trust one that only got powered at crisis time. Maybe a rope tied to the main circuit breaker handle with a red knob on the end?
I think 3 & 4 turn the spindle on, 2, 5, 6 & 30 turn it off
It will be in next week’s release, or you can download the .zip if you’re impatient like me .
That’s awesome! I hadn’t realized you had implemented those! Now I just have to solder a header on the board so I can use the M codes
@skiz gets the credit here! He jumped right on it, and very thorough, too.
awesome! 123456789012
I just tried this with the new firmware and 98 build. The Aux 1 signal output seems to pulse and is not constant. I setup Macro 1 & 2 for on and off.I first hooked up a meter to the output and got a varying DC voltage. I then hooked up a AC/DC control relay from IORelay.com. (Its like the Power Tail). The control relay takes dc from 3.3 to 100v or ac for the control signal. The light I plugged into the Normally open outlet would flicker when set to spindle on. It would go off on spindle off. The voltage I am connecting to the relay is Signal and ground of Aux 1.
Any Ideas
What voltage do you see? Do you have an oscilloscope?
Thank you
It is hard to say what the voltage was since it jumped around so much. Unfortunately I don’t have my oscilloscope here and will not be able to get it for a week or so.
Do you have the ability to wire up a led with a drop resistor and test with it?
Ok, I will try that. I will not be able to get to it until tomorrow morning Thanks for the help.
I think there’s a setting in Advanced that affects this. I’m not in a location to look, though .
I wired up ;the Led/resistor for a test. A spindle on lights the Led on a low light level then it gets brighter, then off after about 15 seconds. A spindle off produces kind of the same sequence but then goes off faster. I do wish I had my scope to see what is going on.
I was wrong about the setting in Advanced, it hasn’t been merged yet.
The firmware is waiting for a parameter ‘Y’ to the B12 opcode to choose the mode you want, Y0 is the stepper control (servo moves a standard toggle switch) mode you see and Y1 is the mode you’re looking for. In the mean time, you could try [this version of main.py](main-spindle-automation.py.zip (6.0 KB)). Depending which OS you’re using, go into the GroundControl directory where main.py lives and unzip this file to produce main-spindle-automation.py . Run it with ‘python main-spindle-automation.py’ and look in the Settings pane for ‘Spindle automation’ near the center of the list.
Excellent, thanks so much for your help. I will give it a try.
Let us know what you find.
It works fine now after changing the new setting.
To review my setup:
- Added 3 pin header to Aux 1 on the Maslow driver board.
- Connected 6 foot cable to Signal and Ground of the header
- Connected cable to control input of the AC/DC Control Relay from IOTRelay.
- Plugged in the router to the NC outlet on the Control Relay.
- Created Macros 1 & 2 for M03 and M02 for spindle on and off.
- Changed the new setting to turn on the spindle on/off mode rather then the default servo/stepper mode.
Thanks again