Onefinity CNC Auto on/off

Thank’s to Barry for shooting this video!

7 Likes

No problem, any questions just let me know. Probable make a document with all the steps and changes needed at some point.

6 Likes

Man, dust collection and router controlled with the computer - fancy :wink:

Did you put a pause in the gcode to let the router come up to full speed? Might just be post processor thing.

-Tom

1 Like

The pause was already in the post processor, I kept it as a sanity/second check. With as fast as this thing moves around, I like having it there.

1 Like

@CruversWorkshop I’d love to know how you did this - is it triggered with custom GCode, or something else?

1 Like

Hello Josh,

It’s a combination of hardware (breakout board, IoT Relay and some wire), software configuration via the UI and a small tweak to the post processor. I use VCarve Pro by Vectric, but this will work on any of the Vectric software. Not sure what this looks like for other software but imagine it can be done as well. Then any toolpaths you save out of your project in VCarve will automatically have this feature in the GCode. I plan on putting a blog post together for the steps needed. Currently standing up a website now. But if you have any additional questions don’t hesitate to ask in the meantime.

3 Likes

What about using a BitRunner from Carbide? It has a connector with these signals:

Left pin column Right pin column
24V RESERVED
PWM RESET
RESERVED GND

and this is the G-code:

The BitRunner power switch has three (3) positions (see Figure 8):

  1. Left (Forward): Auto On/Off, the LED is green or red. The G-code (or absence thereof) determines when BitRunner cuts or supplies power to the router. If there is no G-code/.nc file being executed in Carbide Motion, then no power is supplied to the router. When G-code is being executed in Carbide Motion, the commands will determine if power is on or off.
  2. An M3 S command of 1000 or greater
    (1000 is the RPM) automatically turns
    the router on. M3 S2800 is an example M3 S command. Alternately, you might see commands written like this: M3S2800.
  3. An M5 command turns the router off.
  4. An M6 command indicates a tool change.
  5. Middle: Always Off, the LED is red. Power is cut to the router.
  6. Right (Rear): Always On, the LED is green. Power is supplied to the router.

If I haven’t mentioned it yet, I am a near newbie to CNC, and a complete luddite when it comes to electronics…I can fumble my way through some things, but it’s probably best to treat me like an idiot when talking about this :slight_smile:

Tom

Hey Tom,

Seems like there is a possibility it would work, and using the same GCode commands. Though when I searched BitRunner from Carbide Create, it looks like they are discontinuing the product., which would be a concern for me.

The breakout board and IoT relay from Amazon would work out to be cheaper and give you the ability to power items like the router and shop-vac.

1 Like

Barry, thank you for responding!

Well, I already own the BitRunner, so no cost there. As for being able to run the spindle and the vac at the same time, I plug the BitRunner into my festool vac accessory plug and they both come on when needed. It’s pretty slick. I’m hoping it can be done.

1 Like

Hopefully that works out for you, it’s a great feature that I can’t live without. I’d checkout the buildbotics forum. That’s where I found enough information to get mine to work. Currently with the way I have mine setup the breakout board sends 3.3v, which triggers the relay. I see in the information you posted that it might need 24v? I do recall a post on how to jumper on the breakout board to get more, or you might need to leverage the L1/L0 ports to get that high. I’m far from an electrical engineer, just know enough to get myself in trouble most times. :slight_smile:

Definitely implementing this not only for convenience but also safety. When I hit the e-stop plunger on the controller, I want the router to stop spinning too. Looks like your IOT relay from Amazon would support this by using the normally off plugs.

2 Likes

Great stuff wondering have you got the blog up I’d like to learn from it

1 Like

I’ll get that up in the next few days. Sorry for the delay

That’ll be Great appreciated a lot

Good evening, I have ordered the IOT Relay and breakout board. I was looking at the post processor files and found the code to start the spindle. Can you be more specific on what “tweak” needs to be made and what software configuration needs to be made in the UI. Any help is greatly appreciated.