Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 22:29 21 Nov 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Other Stuff : CNC ATC Problem

Author Message
OA47

Guru

Joined: 11/04/2012
Location: Australia
Posts: 924
Posted: 02:09am 13 Jul 2024
Copy link to clipboard 
Print this post

I have a homebuilt 40cm X 30cm CNC machine and I would like to implement an Automatic Tool Changing sequence. I am using an ER16 tool holder on an 850W spindle controlled by a 3 Axis CNC GRBL 1.1 Controller Board. I have a working GCODE macro to load an empty spindle with 1 of 4 tools by moving to the appropriate location lowering to the tool and at low speed spinning the spindle to thread on the ER16 collet.

The issue I have is in the tool release macro as the controller does not support reverse direction of the spindle to release the ER16 collet.

Can anyone come up with an idea of how I can get the spindle to reverse in code without having to change out the Controller Board.

Hoping this all makes sense.
0A47
 
SimpleSafeName

Guru

Joined: 28/07/2019
Location: United States
Posts: 319
Posted: 05:04am 13 Jul 2024
Copy link to clipboard 
Print this post

There's probably an easier way to do this, but reversing the spindle amounts to swapping two wires (be it AC, DC, or a stepper). You can do this using an output from your controller to an external relay or two.
 
OA47

Guru

Joined: 11/04/2012
Location: Australia
Posts: 924
Posted: 05:34am 13 Jul 2024
Copy link to clipboard 
Print this post

SimpleSafeName, the gcode M3 M4 & M5 are normally used to operate the spindle CW , ACW and STOP but the dc output from the controller does not invert. I use this output to operate a relay which in turn operates the 120V DC supply to the spindle.

0A47
Edited 2024-07-13 16:27 by OA47
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024