vlachoudis / bCNC

GRBL CNC command sender, autoleveler and g-code editor
GNU General Public License v2.0
1.57k stars 533 forks source link

How can I setup bCNC the first time? Complete noob, first time CNC. #1178

Closed warrenbocphet closed 5 years ago

warrenbocphet commented 5 years ago

Hi, so I have a XY core plotter and want to use bCNC to control it. Now if I understand this correctly (after reading about grbl), I need to do all sort of configurations. The most important ones are, for example, [X,Y,Z] steps/mm. What else you guys think I should config, and how would I do that?

Thanks a lot.

Harvie commented 5 years ago

You need to manualy compile GRBL to support CoreXY setup, you can't change that once it's flashed in arduino. This is bCNC support, but you are asking about GRBL, which is here: https://github.com/gnea/grbl/

warrenbocphet commented 5 years ago

Thanks for the quick reply. Do you know how I can use bCNC for corexy?

Harvie commented 5 years ago

bCNC does not care if you run CoreXY or not. It only sends the coordinates. It's GRBL's duty to get the machine to that coordinates, no matter what kind of mechanical setup you have. From bCNC's viewpoint the CoreXY is CNC machine just like any other...

Harvie commented 5 years ago

GRBL source code has following line in config.h: // #define COREXY // Default disabled. Uncomment to enable. https://github.com/gnea/grbl/blob/master/grbl/config.h#L189

I've never tried that, perhaps it will need you to setup few other settings, but there are some hints in the file aswell. I don't know this stuff. You get proper support at grbl project.

warrenbocphet commented 5 years ago

Thanks, I just asked a question on GRBL. So, what about the [X,Y,Z] steps/mm setup? Do we also do that from the Gcode file or somewhere else in bCNC?

Harvie commented 5 years ago

Again... bCNC does not care about mechanical setup. You have to set this up in GRBL: https://github.com/gnea/grbl/wiki/Grbl-v1.1-Configuration#grbls-xval-settings-and-what-they-mean

But this can be done after GRBL was installed on arduino and yes, you can do it using bCNC in "Terminal" tab. But the settings are stored in Arduino/GRBL.

I think you should go through the GRBL wiki and read all available documentation on GRBL.

warrenbocphet commented 5 years ago

Hi, thanks for your patience. Things are making more sense now as I read more and more. One thing though, after play around with bCNC, I realized that every time I tried to move on X, Y direction (using the arrow keys), the machine would move diagonally instead. And when I tried to move diagonally, it would move along X and Y axis. Can you see any obvious mistake I'm making? Thanks.

Harvie commented 5 years ago

And when I tried to move diagonally, it would move along X and Y axis.

Have you compiled and flashed GRBL with CoreXY enabled?

warrenbocphet commented 5 years ago

Thanks, works now haha.