K40 settings

Machine: K40

Board: Cohesion3D
Firmware: This is a new board with the firmware that came with it.

Problem/ Question: I have a new K40 that I immediately swapped to the Cohesion3D board. It ran fine in testing but last night while doing a few raster tests on some tiles I started to get layer shifts. I heard a “bump” in the machine and saw the shifts. My initial reaction was the belts so I adjusted them a bit but it shifted again.
This morning I read about the updated “cluster” firmware which I plan to update to tonight. My question is, does this sound like the issue or because of the bump, it is a machine specific problem?
Also, I have read where alot of people have lowered their Acceleration and upped the amps to the steppers. I figured I would ask here if there are any specific values I should use as a starting point for the K40. I know I will have to tweak them but didn’t know if anything should be set specific to the K40 right off the bat.


The steppers in the K40 can be a number of different units depending on what’s cheap in china at the time your machine was produced.

Acceleration, a good rule of thumb, should be decreased in 500mm/sec^2 increments until you get good performance. But first, try tuning the motor current.

Read the model number of your motor off the side of it and put that into your search engine of choice. With luck, you’ll reveal the manufacturer’s recommended peak current value. Multiply that by 0.707 and use the resultant value for current on that particular axis (the stepper drivers on the Laserboard are tuned in RMS current, not peak current as most motors are specified. If your manufacturer actually does list an RMS current value, use that instead).

For the X axis, start at 0.6A and increase this by 0.2A at a time until the skipping goes away (use 0.9A and 0.1A for Y). Be careful, though, not to overcurrent your motor. It’s OK for them to be a little warm, but they should not be hot and definitely not too hot to touch. If they are, allow them to cool, back the current way off, and try again in half increments until they are just warm to the touch after operation. Other ways to tell a motor is over-current is that it’ll possibly groan and strain, make crunching or grinding noises under fast moves, emit smoke, etc. (if you get to the smoke point, your motor’s probably toast).

If tuning the current has little or no effect, start messing with the acceleration values as above. 500mm/sec^2 increments until it stops skipping, then play around with increasing it smaller numbers until you can just barely get it to skip, then back off by 100. (I’ve found that a regular 5-pointed star outline is really good at getting the machine to skip when the speed is set high enough - 200-250mm/sec is a good starting point).

Realistically, due to differences in machine condition and tolerances, you’ll likely be doing a combination of the two (motor currents plus acceleration). It can be a finnicky process. Make sure the belts are tight (but not too tight), rollers are lubricated, and the gantry is square as part of this process.

Thank you so much for your detailed response. I cannot get to a label on my motors but will tweak and feel :slight_smile:
This is a good starting point for me.

Thanks again,

To simplify a bit and get you a better starting point, just bump up each motor current (X is alpha and Y is beta) by 0.2 at a time and decrease the acceleration by 500 at a time until you get less jittery responses when running jogs.

I set the values in the stock config file to be “zippy and quiet” as much as possible, but you may need to adjust the above to tune better for your machine. Realistically you should be able to set the motors to 0.8 or 1.0 amps and as long as they don’t get too hot to touch, all is ok.

1 Like

Great, thanks you!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.