Bcnc 0.9.14-der linux PY 3.92/ configuation cnc machine

hello.

Got it, working. here is the proper wiring diagram.

Stepper drivers GND’s go to power supply. And ENBL to CNC shield. The EBNL- (EBN) also power supply. Not to the cnc shield GND.

1 Like

Your signal ground should be the same ground that the signal generator is using… I would not go to the power supply with THAT ground.

Your controller should have the same ground as the power supply unless you are powering it with a different power supply. Again, then the signal ground should be the controller ground.

Also, Isn’t the power to the stepper motor driver, the high power connections using also using the Power supply ground?

Thanks, for reply.

I when with Stepper Drivers LongMotors DM542A, They’re mush better then TB6600 drivers. I got everything working.

Some photos.

You probably notice on the photos, The power supply Im using 24v@5A to drive Stepper Driver. I order a 24v@10A 350W.

If you don’t mind me asking some questions.

Do I need configure bCNC software for the Stepper Motor in configuration setup.

My stepper motor=> Longsmotor Model: 23HS9430B 3.0A(u) 1.8deg/step. On Dip switchs are set to Pulse/rev 2000 & 2.89A @24v

Best regard

Andriel

did you understand what I said about the ground wires?

As far as bCNC goes, it send GCode to your controller… the GCode commands are like this:
G1 X200 Y100 F1000 where the controller is commanded to move 200 mm in the positive X direction and 100 mm in the positive Y direction at as speed of 1000.

So it’s a nice looking build but you really should stop and start reading about what is going on both electrically and on the control side.

Yes, i did understand about ground wire, That’s all set. Thanks

Got this far from reading and doing research online and youtube video. it just software! I need to learn about it.

So here is a sample of a run.
IMG_1008

1 Like

thanks for the help.

So i change $100=2000,$101=2000,$102=2000 in the controller setting.

$,? the value to change 200*8 / 5=320 ?

thanks

You can calculate the needed steps/mm like this:

  • {axis steps/mm} = {motor steps/rev} * {driver microsteps/step} / {ballscrew mm/rev)

The DM542 stepper driver dip-switches set steps/rev for 1.8° motors (which you use), so your calculation would just be: 2000 steps/rev / 5 mm/rev = 400 steps/mm

So set $100…$102 to 400 and check if a 100mm move (G0 X100) realy moves 100mm

ok, just a little confuse!

$100 X step/mm ? 400
$101 Y step/mm ? 400
$102 Z step/mm ? 400

$110=X max rate[mm/min] ?
$111=Y max rate[mm/min] ?
$112=Z max rate[mm/min] ?

$120 X acceleration[mm/sec^2] ?
$121 Y acceleration[mm/sec^2] ?
$122 Z acceleration[mm/sec^2] ?

what i have set now below, moving very slow

G0 X100 Yes it did 100mm, but slow. after changing from 2000 to 400

$100 X 400 when from 2000 down to 400
$101 Y 400 when from 2000 down to 400
$102 Z 400 when from 2000 down to 400

$110=X 400
$111=Y 400
$112=Z 400

$120 =X 10
$121 =Y 10
$122 =Z 10

The values for feed and accelleration are dependant on your machine.
I would suggest to start with 2000 for $110…$112 and 1000 for $120…$122.

1 Like

he ONLY mentioned changing $100, $101, $102 to 400 so why are you setting the other settings to 400 also?

hi,

i did’t mean any disrespect to anybody on this forums. Just need help.

I didn’t make any changes to the controller settings it was the original setting for Nema 17 motors Stephen motors.

$100=1600
$110=400
$120=10

So like he said, change from 1600 to 400.

So that you understand what going on.
My work area X 400mm / Y 200mm / Z 200mm

With the original setting, when do G0 X100,
It started to move, from -X to +X, instead of reading 400mm at end across, it read 64mm.

So my stepper motors are 23 Nema 1.8/4.5A 425oz. On the stepper driver dip switches are set to 2.8A @ 2000 Pulse/rev
The ballscrew are 1605/0.5
Stepper motor specification: look pics.
IMG_1013

So doing some research and reading some information about the software bcnc, I understand that everything has to be entered manually. because the software does not know the type of machine you’re using, nor does it have any way to tell it what type of machine you’re using.

I did a couple of changes to controller setting.

Try this numbers,
$100=400
$110=800
$120=10

And this time, Z moved from Z- to Z+, got a reading of 300mm
Theses settings came from my old cnc 6030 Mach3 setting.

So now that you understand was going on.
What I need is to get the correct parameters to enter in a controller settings so the stepper motors move correctly.

Thanks,

If you do what the people who are trying to help you ask you to do we can move you forward. If you keep changing other things and talk about other problems it will be a very long road to finding solutions and you might lose some help here.

If you set your controller settings to what they were when you took the picture of your screen (here-Bcnc 0.9.14-der linux PY 3.92/ configuation cnc machine - #14 by lloxley016 ) and then change only $100, $101, $102 to 400 then restart your machine/controller.
Next jog the machine to a spot where you can measure 100mm distance in the X axis.
Now send the command, G0 X100 and physically measure who far the head moved and report back what happened.

1 Like

DIY CNC 101: Intro to the process:

Bcnc is mostly a ‘GCode Sender’ and that means it’s primary function is to send GCode files, as a stream of lines in the GCode text files, to the controller at the other end of the “wire”(USB, RS232, wireless, etc ). So yes, you have to tell Bcnc a bit about your machine size but that’s mostly it.

Some other software generates the GCode files and that is generally called the CAM software. The CAM software is where you load up some design( DXF, STL, SVG, etc ) and in that software you also tell it a little bit about your preferred origin, maybe the work area max size, etc. You also tell it what controller will be receiving the GCode so it can generate the correct syntax of GCode since some differences like what’s the standard spindle speed command format, special “M” codes etc.

Once you have your design saved as GCode files( also called toolpaths in CNC industry ) you use a GCode Sender like Bcnc to load the GCode and sometimes render a display showing the design. You might use it to set your origin X, Y and Z and a few other things but it’s main task is to send those GCode commands down to your controller / machine to create the desired product.

1 Like

Thanks for info., good to no

i set $100 X400, G0 X100

This is what got. But it ran rough, not smooth. Pictures


what do you mean you set $100 to X400? it should be set to 400

Can you do what is mentioned above?

$100=400 in command line., because it was at X100=2000

Given the pictures you are showing I don’t think you are understanding what it means to send the command “G0 X100” to the controller otherwise there would have been some proof you did this in the pictures.

Do you see the little text box at the bottom left of your Bcnc windows where it says “Command:” next to it? There is where you type in “G0 X100”. note: do use capital letters and don’t seen the quotation marks.

I don’t know why you keep putting and “X” in front of things which are not supposed to have it but please take your time and post correct responses. $100 is not the same as X100 and since we’re not playing horseshoes, ‘close enough’ does not count and yes it does matter if we are to understand what you are doing and why things are not working as you expect them to be working.

sorry type O., my mistake

changing $100,$101,$102 like he siad do, than G0 X100, in the command line

[cprezzi]

You can calculate the needed steps/mm like this:

  • {axis steps/mm} = {motor steps/rev} * {driver microsteps/step} / {ballscrew mm/rev)

The DM542 stepper driver dip-switches set steps/rev for 1.8° motors (which you use), so your calculation would just be: 2000 steps/rev / 5 mm/rev = 400 steps/mm

So set $100…$102 to 400 and check if a 100mm move (G0 X100) realy moves 100mm
]]