Upgraded K40 to monport GRBL, stepper erratic from move window

I’ve just replaced my OMTech smoothieware board with a Monport GRBL, so still trying to figure out the new settings.

K40 does not have machine move buttons, I have to use light burn. When I click to move any direction (X or Y) the head moves, then bounces back almost to its original position. I can also position the head by hand with no resistance. With the old board, I couldn’t move the head by hand unless the machine was powered off or in an error state.

Belts are tensioned and it cuts well, so no issues moving while receiving commands.

Any ideas what I need to set?

Bump for visibility!

How much were you trying to move it in a step?

Type $$ then enter key in the console and copy/paste the output here.

Congrats and welcome, glad you found Lightburn and this forum.
If I am understanding your issue…

Maybe try $1 = 255

It’s set to move 20mm, but the distance doesn’t make a difference.

Changing $1 to 255 didn’t help

Sorry, I wasn’t able to get to my machine earlier.

$$

$0=10

$1=255

$2=0

$3=1

$4=0

$5=0

$6=0

$10=1

$11=0.010

$12=0.002

$13=0

$20=0

$21=1

$22=1

$23=3

$24=25.000

$25=3500.000

$26=250

$27=5.000

$30=1000

$31=0

$32=1

$33=1

$34=1

$35=0

$36=0

$37=1

$39=1

$100=160.000

$101=160.000

$102=160.000

$110=4000.000

$111=4000.000

$112=100.000

$120=1000.000

$121=1000.000

$122=20.000

$130=300.000

$131=200.000

$132=200.000

ok

Your video isn’t working. It just spins and says “Your video will be ready soon”.

What’s interesting is someone else has very similar symptoms with their K40. The Y axis doesn’t respond properly, it bounces back on small moves. They found if they try to move more than 6mm, it will move but anything less than that and it bounces right back to home position. Can you confirm this behavior with yours as well?

Here is the other thread.

Video works now, it just hadn’t finished uploading.

It doesn’t matter how large the step, it always bounces back, and it’s not the full distance, just something random. Gets worse the farther it is from home though.

Ok, I just read through the entire other thread and it sounds like my problem could be similar/related, but isn’t the same. I’ll answer the main questions from that thread here:

  1. The X stepper motor itself is new, belt clean and tight.
  2. This problem also happens on the Y axis, but that motor was not replaced.
  3. It does not matter how large or small the step is, the head always bounces, both X & Y. I’ve tried 5mm and 20mm.
  4. This problem never occurred until I upgraded the board, so I believe it must be settings/software or the board itself.

Unfortunately, I’m out of ideas for you, sorry. Hopefully someone else will see this thread and be able to help.

Recheck the motors connections, identify the coils of the stepper motors with a voltmeter at the plug terminals, the plugs may be connected incorrectly.

Example of a board install to get you going with the checks:
https://awesome.tech/installing-mg-type1/

Ok, so my husband had a chance to throw his engineering brain at my problem this evening, and I think at least opened up a new avenue of questions.

He discovered that the machine will cut an accurate distance (50mm for example) but won’t jump there via the arrow buttons. He tested this by manually writing the gcode for each command. G0 commands produced an INaccurate jump, while G1 commands were dimensionally accurate.

; this program makes a 50mm line, and it works
M4
G1 X50S300F1320
M2

; this program tries to move the X axis 50mm, but is inaccurate
G0 X50

To test further, he changed the max move speed to an extremely slow 3mm/sec, and got G0 to produce an accurate jump.

So, we conclude that the G0 commands might use the ‘default’ max settings, whereas the programs sent to do a specific cut obey line settings.

Does anyone have any ideas along these lines that might help me continue to diagnose?

ALSO: the head still bounces at the slow speed, but it bounces BACK to the correct distance, ie: it moves forward 51mm, then comes back to 50mm exactly. I assume that this is still a strange behavior, right? It’s not supposed to overshoot then come back?

ALSO: Should I start a new topic with this new line of questioning, or keep this here?

I’ve been working on the other Topic with similar symptoms. If indeed G0 running at rapid speeds shows the symptom while G1 running at cut speeds does not then this reinforce my current theory that this is an issue with torque and current levels set by the driver.

Let’s try to validate this. GRBL Configurations $110-112 set the max speed of axes for X, Y, and Z respective in mm/min. $120-122 set the max acceleration for X-Z in mm/s^2.

Here are your current settings:

$110=4000.000
$111=4000.000
$112=100.000
$120=1000.000
$121=1000.000
$122=20.000

In reality, both acceleration and speed should be tuned but since we know that G1 moves seem to be working we can assume that acceleration can work at least up to the speed you’re using for cutting. Try setting $110 and $111 to the same speed as your cut speed making sure you’re using the equivalent speed in mm/min.

Example, if you wanted to set max speed to 2000 mm/min (33.3 mm/s) then do this:

$110=2000
$111=2000

Then retest. If this works then you have a few options:

  1. Continue operating this way
  2. Tune the acceleration and maximum speed values empirically until optimum values are reached
  3. Tune the current on the stepper driver to see if you can get stable performance at higher speeds. I don’t know what the ratings are for your driver and motors but there’s a risk of over-driving these components
  4. return to seller

If this doesn’t remediate the symptoms then back to square 1.

The you very much for your input. I’ll try to implement today or tomorrow and report back.

Hopefully these ideas are working on the other guy’s problem as well!

Incidentally: would these issues be linked to an ‘broken’ motherboard? Would replacing it possibly be the right solution?

If this does prove to be a torque/current issue and this is the board that shipped with the machine then yes, this is likely a board issue. But more broadly this is either a design or QC issue. Either the board is inappropriate for the hardware (stepper motors) on the machine or some of the boards are not behaving as they should.

Note that there are a set of potentiometers on the board that control current levels to the motor that may work to remedy this but I wouldn’t expect this for a machine sold as a unit.

Well, this is an upgraded board and did not ship with the machine, so your suggestions are very helpful!

How can I adjust the potentiometer current in light burn?

This is not something done in LightBurn. There will be two potentiometers on the board near the stepper drivers, one per axis. See red circled parts here:

Current is adjusted by turning those potentiometers. If you go down this route, I’d suggest marking the current location of the pots so that you can go back to current position if required.

Take a look through this:
https://all3dp.com/2/vref-calculator-tmc2209-tmc2208-a4988/

Also, were you able to test changing of rapid speeds to see if that remedied the problem?

Ha, my computer decided not to detect the controller last night when I went to test the changes. Brand new cable, nothing has moved, never had this problem before… If my husband can’t see something I missed, i might have to return the new board anyway.